summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Notify IP address changes to interface observers." into klp-devLorenzo Colitti2013-08-212-0/+61
|\
| * Notify IP address changes to interface observers.Lorenzo Colitti2013-08-202-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add addressUpdated and addressRemoved methods to INetworkManagementEventObserver. (The -Updated method is not called -Added because it gets called for both adds and changes.) Update all its callers in the tree. 2. Make NetworkManagementService parse IP address notifications from NetlinkHandler and call the address{Removed,Updated} on its observers. Bug: 10232006 Change-Id: Ieb185dbba052bdbff03caafc0cf5397a7f04dc6d
* | Merge "Make BaseNetworkObserver available to core code" into klp-devLorenzo Colitti2013-08-212-63/+3
|\ \ | |/
| * Make BaseNetworkObserver available to core codeLorenzo Colitti2013-08-202-63/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently BaseNetworkObserver is in frameworks/base/services, but there is code in frameworks/base/core that could use it. This code typically extends INetworkManagementEventObserver.stub because BaseNetworkObserver is not available. Move BaseNetworkObserver to frameworks/base/core without changing its package name, and use it to simplify two callers. The third caller, Tethering, is much larger, and I'm not sure it's appropriate to change it. Bug: 10232006 Change-Id: Ifc0f2e619e3424e27e35730c048a1cc523df345e
* | Merge "Modify LinkProperties address update methods." into klp-devLorenzo Colitti2013-08-211-16/+2
|\ \ | |/
| * Modify LinkProperties address update methods.Lorenzo Colitti2013-08-201-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Make addLinkAddress a no-op if the address already exists. 2. Make addLinkAddress, addStackedLink and removeStackedLink return a boolean indicating whether something changed. 3. Add a removeLinkAddress method (currently there is no way of removing an address). 3. Move hasIPv6Address from ConnectivityService to LinkProperties, where it belongs. Bug: 9625448 Bug: 10232006 Change-Id: If641d0198432a7a505e358c059171f25bc9f13d5
* | Merge "Change PacProcessor to Android Service" into klp-devJason Monk2013-08-201-98/+132
|\ \
| * | Change PacProcessor to Android ServiceJason Monk2013-08-201-98/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This switches the PacProcessor over to an Android Service. The service is bound and unbound by the PacManager, which also adds it to the ServiceManager, allowing for Context-Free access by the PacProxySelector in all DVMs. bug:10182711 Change-Id: Id1ff7660be56e8976cdcccd76e041feb47a17a61
* | | Merge "Implemented advanced printer selection and API refactoring." into klp-devSvetoslav2013-08-203-79/+416
|\ \ \
| * | | Implemented advanced printer selection and API refactoring.Svetoslav2013-08-193-79/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added past printer history tracking and merging favorite printers with discovered printers. 2. Added save as PDF support. 3. Added all printers activity with search capability and optional add printers chooser (if any print service provides add printers activity) 4. Refactored the printer discovery session APIs. Now one session can have multiple window discovery windows and the session stores the printers found during past discovery periods. 5. Merged the print spooler and the print spooler service - much simpler and easier to maintain. Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
* | | | Merge "Add methods for managing CAs to DevicePolicyManager(Service)" into ↵Maggie Benthall2013-08-202-1/+87
|\ \ \ \ | |_|_|/ |/| | | | | | | klp-dev
| * | | Add methods for managing CAs to DevicePolicyManager(Service)Maggie Benthall2013-08-202-1/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guard install/uninstall by enforcing that the caller have the new system-only permission MANAGE_CA_CERTIFICATES. Also include API methods for asking whether there are any User CA certs installed, or if one by a particular name is installed in the keystore. CA certs will be installed via KeyChain into the TrustedCertificateStore. Bug: 8232670 Change-Id: I17b47a452e72eb4fe556dc6db823a46c6e854be8
* | | | Merge changes Id3815fe8,I90a85921 into klp-devJeff Brown2013-08-191-22/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Define AudioSource.REMOTE_SUBMIX. Remove setRemoteSubmixOn method.
| * | | | Remove setRemoteSubmixOn method.Jeff Brown2013-08-161-22/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | The submix will be controlled automatically from now on based on whether there is an active audio recorder. Bug: 10265163 Change-Id: I90a8592136c6507680e70f054243df70cc82efad
* | | | Merge "Notify ViewRootImpl when it's safe to modify Canvas." into klp-devCraig Mautner2013-08-191-4/+8
|\ \ \ \ | |_|_|/ |/| | |
| * | | Notify ViewRootImpl when it's safe to modify Canvas.Craig Mautner2013-08-191-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Activity.convert{To|From}Translucent() is called the ViewRootImpl is now notified when it is safe to convert the Canvas from translucent to opaque and back to translucent. This will make it possible to save resources when compositing opaque layers. Fixes bug 10349536. Change-Id: I7282aee1d54601fb00611d20be204bf164d873f6
* | | | Merge "Allow for more than one home app." into klp-devCraig Mautner2013-08-193-30/+41
|\ \ \ \ | |_|/ / |/| | |
| * | | Allow for more than one home app.Craig Mautner2013-08-173-30/+41
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having a single mHomeProcess in ActivityManagerService ignores the possibility of multiple processes serving as home. Particularly when we have a home activity that only serves to launch the true home activity. Fixes bug b10296766 Change-Id: I9e5c9c955c64f4b3df856b6bc66d6a0d93f85aab
* | | Merge "Use pending.xml to persist sync ops." into klp-devMatthew Williams2013-08-163-227/+234
|\ \ \
| * | | Use pending.xml to persist sync ops.Matthew Williams2013-08-163-227/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support pending ops by producing badly formed xml. fixed bug that stopped alarm manager from updating if the next alarm time is in the past. Use new AlarmManager API for old AM behaviour - to set exact alarms. Change-Id: I57090f9c7155996298be7ec968a88f17ac1938a7
* | | | Merge "Modify wifi BatchedScan." into klp-devRobert Greenwalt2013-08-161-0/+6
|\ \ \ \ | |_|_|/ |/| | |
| * | | Modify wifi BatchedScan.Robert Greenwalt2013-08-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add pollBatchedScan API to allow forced retrieval. Modified driver API, adding MSCAN, removing nextCount and making the results look more like normal manual scan results. bug:9301872 Change-Id: I58bce0624c36e2ad8d3c3f5defcb4d4e155dc8f9
* | | | Merge "Bound touch and tool axes lengths below at 0" into klp-devMichael Wright2013-08-151-0/+3
|\ \ \ \ | |_|/ / |/| | |
| * | | Bound touch and tool axes lengths below at 0Michael Wright2013-08-141-0/+3
| | | | | | | | | | | | | | | | Change-Id: I75ca196312201773cfabb74ee5b28a7d80f6ba60
* | | | Merge "Add GIDs to packages.list, update SD card perms." into klp-devJeff Sharkey2013-08-143-59/+25
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add GIDs to packages.list, update SD card perms.Jeff Sharkey2013-08-123-59/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Write supplementary GIDs to packages.list for lower-level system components to parse. WRITE_EXTERNAL_STORAGE also implies sdcard_r GID. Switch to always enforce READ_EXTERNAL_STORAGE permission. Update permission docs to mention new behavior. Change-Id: I316ba4b21beebb387ac05c80980ae9b38235b37d
* | | | Normalize dream service dump check with other services.John Spurlock2013-08-141-1/+7
| |/ / |/| | | | | | | | | | | Bug:10310128 Change-Id: Ieeeccc01832b569cf7fb3d1633d7dde60fceb7b2
* | | Merge "Partial implementation for the favorite and available printer ↵Svetoslav2013-08-141-0/+1
|\ \ \ | | | | | | | | | | | | tracking." into klp-dev
| * | | Partial implementation for the favorite and available printer tracking.Svetoslav2013-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Added a dedicated class that keeps track of the user's favorite printers based on past usage. We keep the last 50 uses and assign a decreasing weight to older historical use records. The printer whose records' sum is the largest is considered the favorite for the user and so on. 2. Factored out the printer discovery logic from the print job config activity into a separate available printers provider class. It encapsulates all the logic to communicated with the remote print services to discover printers, keep track of added, updated, and removed printers. 3. Preliminary scetch of the printer chooser acitivty that will show all the printers. Change-Id: I5524665f2a9a565f186db85214d5e41a44f4812e
* | | | Merge "Update location AppOp monitoring to respect settings. If a provider ↵David Christie2013-08-141-12/+38
|\ \ \ \ | | | | | | | | | | | | | | | is disabled, we don't mark an app as actively using location just because it's requested that provider. Also updates the concept of high power to support third party custom providers (doesn't hard code gps but looks at the provider's actual stated power requirement)." into klp-dev
| * | | | Update location AppOp monitoring to respect settings.David Christie2013-08-131-12/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a provider is disabled, we don't mark an app as actively using location just because it's requested that provider. Also updates the concept of high power to support third party custom providers (doesn't hard code gps but looks at the provider's actual stated power requirement). Change-Id: Ie01243bf04d7301962ea9cdb25fb7d8d97566e02
* | | | | Merge "Add support in the platform for Flp Geofencing." into klp-devdestradaa2013-08-135-82/+325
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Add support in the platform for Flp Geofencing.destradaa2013-08-135-82/+325
| | | | | | | | | | | | | | | | | | | | Change-Id: I0fb0e276d3a06322697bb5d46323779aca1f78c5
* | | | | Merge "Add support for batched wifi scans." into klp-devRobert Greenwalt2013-08-131-10/+154
|\ \ \ \ \
| * | | | | Add support for batched wifi scans.Robert Greenwalt2013-08-131-10/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:9301872 Change-Id: I5a7edfdbd2b78a65119d11acad491eae350c0870
* | | | | | Merge "In isMobileOk don't execute finally if mobile data is not supported." ↵Wink Saville2013-08-131-6/+6
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | into klp-dev
| * | | | | In isMobileOk don't execute finally if mobile data is not supported.Wink Saville2013-08-131-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the early return outside the try {} finally so we don't call setEnableFailFastMobileData(DctContants.DISABLED). Otherwise referencing counting is wrong and an exception is thrown in DcTrackerBase. Bug: 10304904 Change-Id: I5ba5121e473bada9f3daa8d6f3d3577cec8212fc
* | | | | | Fix NPE in ActivityManagerServiceAdam Skory2013-08-131-4/+2
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | Bug: 10294281 Change-Id: Iaf608ae099b90fac8ad726285652b5c3e74e1632
* | | | | Merge "fix race condition when a new display is added" into klp-devkeunyoung2013-08-131-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | fix race condition when a new display is addedkeunyoung2013-08-121-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When a new display is added, display add event triggers handleDisplayAddedLocked in WindowManagerService asynchronously. - After creating virtual display, application can move on and call addWindow before handleDisplayAddedLock is called. - Application's addWindow leads into creating a new DisplayContent, and a window will be added there. - But when handleDisplayAddedLocked is called later, it will create a new DisplayContent for the display, and the window added by the application will be lost. - This CL tries to fix the issue by checking the presence of DisplayContent before creating a new one. bug: 9975297 Change-Id: I9fac7ffb57c3e1effa8f0e950539cfae73e7e1c6
* | | | Merge "Remove incorrect warning." into klp-devCraig Mautner2013-08-121-3/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove incorrect warning.Craig Mautner2013-08-121-3/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The warning about an ActivityRecord not being assigned a task was incorrect in the location modified by this fix. In this case an existing ActivityRecord is relaunched so it is not necessary to assign the task to the passed ActivityRecord. Addresses the warning associated with bug 10181389. Change-Id: I76d5066c320bf9da2663bc34bcaca801ad4953bc
* | | Merge "API to discover granted Uri permissions." into klp-devJeff Sharkey2013-08-121-9/+55
|\ \ \
| * | | API to discover granted Uri permissions.Jeff Sharkey2013-08-111-9/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that granted Uri permissions can be persisted across reboots, offer APIs to discover them. Returns incoming or outgoing grants matching the requested flags and mask. Add helper method to discover "open" documents using this new API and filtering for non-documents. Require that callers own at least of the filtering packages to avoid exposing all grants. Switch internal grant tracking to use ArrayMap. Change-Id: I0a755f221d0d160b411f8d3cfc48279b64345733
* | | | Merge "APIs for multiple external storage devices." into klp-devJeff Sharkey2013-08-123-46/+45
|\ \ \ \ | |/ / /
| * | | APIs for multiple external storage devices.Jeff Sharkey2013-08-113-46/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide developer APIs to discover application-specific paths on secondary external storage devices. Covers files, cache, and OBB directories. Apps will not have write access outside their package- specific directories on secondary devices, so only primary storage is exposed through Environment. Creation of .nomedia files will be handled by FUSE daemon in future change. Change-Id: Ifcce6201a686d80269d7285adb597c008cf8fa7c
* | | | Merge "Refinement of the print service APIs." into klp-devSvetoslav Ganov2013-08-113-158/+44
|\ \ \ \ | | |_|/ | |/| |
| * | | Refinement of the print service APIs.Svetoslav Ganov2013-08-113-158/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Factored out the printer discovery APIs of a print service in a dedicated session object that is created by the print service on demand. This ensures that added/removed/updated printers from one session do not interfere with another session. 2. Updated the app facing APIs to pass in a document info along with a printed file. Also exposed the print file adapter so apps that create a temporary file for printing can intercept when it is read by the system so the file can be deleted. 3. Updated the print service documentation. Change-Id: I3473d586c26d8bda1cf7e2bdacb441aa9df982ed
* | | | Merge "Put animation background behind visible wallpaper" into klp-devCraig Mautner2013-08-102-15/+8
|\ \ \ \
| * | | | Put animation background behind visible wallpaperCraig Mautner2013-08-102-15/+8
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new wallpaper positioning associated with multiple activity stacks put animation backgrounds in front of the wallpaper. This caused hideous jank. Testing for visible wallpaper and moving the background behind it fixes the jank. Fixes bug 10078282. Possibly fixes bug 10247094. Change-Id: I3f4e07accd7276d59725192081904b791f77781f