summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* am 32ebaf57: am e80c6f49: Merge "Add multi-sim support to ThrottleService." ↵Robert Greenwalt2010-04-151-1/+70
|\ | | | | | | | | | | | | | | | | into froyo Merge commit '32ebaf57d8646542b80e848441830a5ef834aed3' into kraken * commit '32ebaf57d8646542b80e848441830a5ef834aed3': Add multi-sim support to ThrottleService.
| * am e80c6f49: Merge "Add multi-sim support to ThrottleService." into froyoRobert Greenwalt2010-04-151-1/+70
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'e80c6f49d5055e299b7ada91b5967feab66e467b' into froyo-plus-aosp * commit 'e80c6f49d5055e299b7ada91b5967feab66e467b': Add multi-sim support to ThrottleService.
| | * Merge "Add multi-sim support to ThrottleService." into froyoRobert Greenwalt2010-04-151-1/+70
| | |\
| | | * Add multi-sim support to ThrottleService.Robert Greenwalt2010-04-151-1/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses the last used data until the SIM is available (if ever). Supports data from several SIMs for all the world travelers out there. bug: 2576057 Change-Id: I70e34a51f1c2ccda41a480652b0233b68ff3f538
* | | | am 7a4b22f6: am 4f99e3c2: Remove native binaries when an updated system ↵David 'Digit' Turner2010-04-151-14/+66
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | application is upgraded through OTA. Merge commit '7a4b22f6293c7dce2dd667b7ebd171af2eff91a9' into kraken * commit '7a4b22f6293c7dce2dd667b7ebd171af2eff91a9': Remove native binaries when an updated system application is upgraded through OTA.
| * | | am 4f99e3c2: Remove native binaries when an updated system application is ↵David 'Digit' Turner2010-04-151-14/+66
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | upgraded through OTA. Merge commit '4f99e3c28449833b10ee23c538246847fdb6a498' into froyo-plus-aosp * commit '4f99e3c28449833b10ee23c538246847fdb6a498': Remove native binaries when an updated system application is upgraded through OTA.
| | * | Remove native binaries when an updated system application is upgraded ↵David 'Digit' Turner2010-04-151-14/+66
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | through OTA. The point of this patch is to deal with the following case: - A system application exists in the system partition. As such its native code lies under /system/lib - An upgrade for it is installed through Market and overrides the version on the system partition. This places its native libraries under /data/data/<pkgname>/lib/ - Finally, the system is upgraded through an OTA, with an even more recent of the system application. We thus must remove the Market package as well as the native libraries that are in <dataDir>/lib since the new versions in /system/lib will be more recent. The patch itself removes the files in <dataDir>/lib when such a situation is detected. Note that this directory is created by the PackageManager service and owned by the 'system' userID. The application cannot create files there so simply erasing the content of the directory is enough (and avoids reparsing the market package file to list the installed binaries). The patch also fixes a different issue which can be reproduced with: - have system app installed on /system partition - install an update (e.g. adb install -r Term.apk) - uninstall the update (e.g. adb uninstall com.android.term) the logcat shows that the PackageManager will unpack the native libraries from the original /system/app/Term.apk into <dataDir>/lib, while they already are in /system/lib. The patch fixes that too. Change-Id: I5dfe27b91b6b31972e9cd4c196d15c3692732127
* | | am f5a886d5: am 93597ed1: Merge "Fix wakelock leak in ↵Mike Lockwood2010-04-151-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | PowerManagerService.sendNotificationLocked()" into froyo Merge commit 'f5a886d5210320724236ce6efde926e0a3c24997' into kraken * commit 'f5a886d5210320724236ce6efde926e0a3c24997': Fix wakelock leak in PowerManagerService.sendNotificationLocked()
| * | am 93597ed1: Merge "Fix wakelock leak in ↵Mike Lockwood2010-04-151-0/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | PowerManagerService.sendNotificationLocked()" into froyo Merge commit '93597ed1839de164c81f83832d4c2373ea32ac8f' into froyo-plus-aosp * commit '93597ed1839de164c81f83832d4c2373ea32ac8f': Fix wakelock leak in PowerManagerService.sendNotificationLocked()
| | * Merge "Fix wakelock leak in PowerManagerService.sendNotificationLocked()" ↵Mike Lockwood2010-04-151-0/+2
| | |\ | | | | | | | | | | | | into froyo
| | | * Fix wakelock leak in PowerManagerService.sendNotificationLocked()Mike Lockwood2010-04-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia5f814fe81413dc5350faaf4c79cff47de62d0ed BUG: 2592894 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am 1424d1d2: am 8090edae: Merge "Sholes mobile iface comes/goes - handle the ↵Robert Greenwalt2010-04-141-0/+12
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | reset" into froyo Merge commit '1424d1d22e199c716c5d248611e58ce7c3f15c7e' into kraken * commit '1424d1d22e199c716c5d248611e58ce7c3f15c7e': Sholes mobile iface comes/goes - handle the reset
| * | | am 8090edae: Merge "Sholes mobile iface comes/goes - handle the reset" into ↵Robert Greenwalt2010-04-141-0/+12
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | froyo Merge commit '8090edae9ed1228e8cbaa14dd94c6ce885a0b729' into froyo-plus-aosp * commit '8090edae9ed1228e8cbaa14dd94c6ce885a0b729': Sholes mobile iface comes/goes - handle the reset
| | * | Merge "Sholes mobile iface comes/goes - handle the reset" into froyoRobert Greenwalt2010-04-141-0/+12
| | |\ \
| | | * | Sholes mobile iface comes/goes - handle the resetRobert Greenwalt2010-04-141-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The byte counter for the iface goes to zero when it comes back. Catch that and do the complex math to correct. Also add a log entry telling us our desired throttle index. Lastly, reset the sec/msec part of our reset time so that one calc will == another and not be off by little bits. bug:25494925 Change-Id: I99525b72a76316a8e601ceb457ca202fae040bae
* | | | | am 0751d1ea: am deb69370: Revert "Add ordered broadcast when removing ↵Suchi Amalapurapu2010-04-141-29/+27
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages." Couple of cosmetic fixes as well. Merge commit '0751d1eaad55603eaeb0f035a55935f713ab0476' into kraken * commit '0751d1eaad55603eaeb0f035a55935f713ab0476': Revert "Add ordered broadcast when removing packages."
| * | | | am deb69370: Revert "Add ordered broadcast when removing packages." Couple ↵Suchi Amalapurapu2010-04-141-29/+27
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of cosmetic fixes as well. Merge commit 'deb69370ef9a786940ae49411ba657410361b4f1' into froyo-plus-aosp * commit 'deb69370ef9a786940ae49411ba657410361b4f1': Revert "Add ordered broadcast when removing packages."
| | * | | Revert "Add ordered broadcast when removing packages."Suchi Amalapurapu2010-04-141-29/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Couple of cosmetic fixes as well. This reverts commit 0c1285fa979e8b8c170f31d0ef1b4e5d9ddcf6b1. Conflicts: services/java/com/android/server/PackageManagerService.java Change-Id: Ife0f9f80525f4a41b1f8c12ffc2de62e061e7d5b
* | | | | am 68ca59e9: am b0ef1442: Merge "Fix issue #258640: Automatic propagation of ↵Dianne Hackborn2010-04-141-2/+11
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET" into froyo Merge commit '68ca59e9e69ab4c997987fb0390382a2461386eb' into kraken * commit '68ca59e9e69ab4c997987fb0390382a2461386eb': Fix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
| * | | | am b0ef1442: Merge "Fix issue #258640: Automatic propagation of ↵Dianne Hackborn2010-04-141-2/+11
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET" into froyo Merge commit 'b0ef1442866ec52a772e6edfab732a2c987bbee0' into froyo-plus-aosp * commit 'b0ef1442866ec52a772e6edfab732a2c987bbee0': Fix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
| | * | | Merge "Fix issue #258640: Automatic propagation of ↵Dianne Hackborn2010-04-141-2/+11
| | |\ \ \ | | | | | | | | | | | | | | | | | | FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET" into froyo
| | | * | | Fix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESETDianne Hackborn2010-04-141-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure, if an activity is started with clear task when reset, if that activity is finished in the middle of a stack that the behavior is retained by propagating it to the next activity. Change-Id: Ie31b8f968558b0e64e0ef7efa55950a722c6afa5
* | | | | | am 2ef6e442: am 28b2fdc5: Merge "Dont fall back to installing on sdcard when ↵Suchi Amalapurapu2010-04-141-1/+0
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal storage is filled up when the install location is set to internal only. Similary if install location is set to external only(via adb), dont fall back to installing on internal storag Merge commit '2ef6e44269ba3c9f6b5d22352461555ebab33b73' into kraken * commit '2ef6e44269ba3c9f6b5d22352461555ebab33b73': Dont fall back to installing on sdcard when internal storage is filled up
| * | | | | am 28b2fdc5: Merge "Dont fall back to installing on sdcard when internal ↵Suchi Amalapurapu2010-04-141-1/+0
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | storage is filled up when the install location is set to internal only. Similary if install location is set to external only(via adb), dont fall back to installing on internal storage if sdcard i Merge commit '28b2fdc5ee0ad75a476b825e3657b1decd0a2b7c' into froyo-plus-aosp * commit '28b2fdc5ee0ad75a476b825e3657b1decd0a2b7c': Dont fall back to installing on sdcard when internal storage is filled up
| | * | | | Dont fall back to installing on sdcard when internal storage is filled upSuchi Amalapurapu2010-04-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the install location is set to internal only. Similary if install location is set to external only(via adb), dont fall back to installing on internal storage if sdcard is filled up. If nothing is specified ie install location is set to let system decide, we just check on internal storage. Fix tests Change-Id: I7400ccc131782d9c45284bd9ebd0dee43a3b412b
* | | | | | am 1e21ec92: am 40b6996a: Merge "Add ordered broadcast when removing ↵Suchi Amalapurapu2010-04-141-28/+31
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages." into froyo Merge commit '1e21ec923404a000c46590e4a87ae9ebe87e628e' into kraken * commit '1e21ec923404a000c46590e4a87ae9ebe87e628e': Add ordered broadcast when removing packages.
| * | | | | am 40b6996a: Merge "Add ordered broadcast when removing packages." into froyoSuchi Amalapurapu2010-04-141-28/+31
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '40b6996a8fb7da131e8b91453b08e292723662be' into froyo-plus-aosp * commit '40b6996a8fb7da131e8b91453b08e292723662be': Add ordered broadcast when removing packages.
| | * | | | Add ordered broadcast when removing packages.Suchi Amalapurapu2010-04-141-28/+31
| | |/ / / | | | | | | | | | | | | | | | Change-Id: I30a84068fa8f2b15564b0a164d339ac95f40e801
* | | | | clear calling identity in GpsLocationProvider.sendExtraCommand().Mike Lockwood2010-04-141-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes problems with wakelock permissions introduced in an earlier change. Change-Id: If0f4761ac27525d1eece0613c96be62f9e370a14 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | GPS: Support for GPS HAL managing its own schedulingMike Lockwood2010-04-142-33/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also update to support new position mode API. Change-Id: I00acc094d3e85bc5c0cd431af517064bfa8f2b1a Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | GpsLocationProvider: optimize wake lock usage.Mike Lockwood2010-04-141-48/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than holding a wake lock the entire time the GPS is active, we now hold it only when messages are pending for GpsLocationProvider's Handler and rely on the lower level implementation holding a wake lock when calling into the provider. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | Add wake lock utility functions for the GPS HAL.Mike Lockwood2010-04-141-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9071f31badee9628126c91cd4ce55acf41ee186f Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | am 11d7502b: am 8656145e: Merge "Fix issue #593153: Broadcast time out when ↵Dianne Hackborn2010-04-143-10/+16
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sending..." into froyo Merge commit '11d7502b35374da12168004e277bcc87f4f7bb50' into kraken * commit '11d7502b35374da12168004e277bcc87f4f7bb50': Fix issue #593153: Broadcast time out when sending...
| * | | | am 8656145e: Merge "Fix issue #593153: Broadcast time out when sending..." ↵Dianne Hackborn2010-04-143-10/+16
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into froyo Merge commit '8656145e2abe881caffa4181ee5c2e4e3dba1cee' into froyo-plus-aosp * commit '8656145e2abe881caffa4181ee5c2e4e3dba1cee': Fix issue #593153: Broadcast time out when sending...
| | * | | Fix issue #593153: Broadcast time out when sending...Dianne Hackborn2010-04-143-10/+16
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...ordered broadcast for ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE Turns out this was because the broadcast receiver for ContextImpl was not correctly being created, so when it received an ordered broadcast it would not tell the activity manager when it was done. This is now fixed, along with a ton of superficial changes to debug output to help track this down and a little cleanup of dealing with error cases in dispatching broadcasts. Also a fix for a NPE when dumping the broadcast state. Finally, a little fiddling with package manager to get rid of a lot of the noise when removing and re-adding packages on the SD card. Change-Id: I961c14836dc613d3ea8122b6e910ef866e7fcb25
* | | | am 57e60854: am 22b3644a: Update the datause icons.Robert Greenwalt2010-04-141-5/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '57e60854f3c7a64aad3c4178df210c6f3e98ee8b' into kraken * commit '57e60854f3c7a64aad3c4178df210c6f3e98ee8b': Update the datause icons.
| * | | am 22b3644a: Update the datause icons.Robert Greenwalt2010-04-141-5/+4
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '22b3644ac2027d055a6b187c979ef492ee6fb082' into froyo-plus-aosp * commit '22b3644ac2027d055a6b187c979ef492ee6fb082': Update the datause icons.
| | * | Update the datause icons.Robert Greenwalt2010-04-141-5/+4
| | | | | | | | | | | | | | | | | | | | bug:2576057 Change-Id: Idf57d59aecb9bcff635dafa1e77d90a8737a0c08
* | | | am b26c8dd4: am 9cb66e89: Merge "Perist Throttle data across reboots" into froyoRobert Greenwalt2010-04-141-21/+67
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'b26c8dd432bf0ea8042e04e63c57913c7bd4e3d4' into kraken * commit 'b26c8dd432bf0ea8042e04e63c57913c7bd4e3d4': Perist Throttle data across reboots
| * | | am 9cb66e89: Merge "Perist Throttle data across reboots" into froyoRobert Greenwalt2010-04-141-21/+67
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '9cb66e89cd0c4bfa8d77591719023b7153fee9b9' into froyo-plus-aosp * commit '9cb66e89cd0c4bfa8d77591719023b7153fee9b9': Perist Throttle data across reboots
| | * | Merge "Perist Throttle data across reboots" into froyoRobert Greenwalt2010-04-141-21/+67
| | |\ \
| | | * | Perist Throttle data across rebootsRobert Greenwalt2010-04-131-21/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Never got SharedPreferences working for this system service. Didn't really need it anyway. Using a straight up file now. bug:2576057 Change-Id: Idad926e8242a85e22718c25f3f6c03e5749badac
* | | | | am 7b16f95c: am 8e1f2f88: Merge "Fix issue #2555171: Switching to app ↵Dianne Hackborn2010-04-131-0/+21
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | immediately after unmounting..." into froyo Merge commit '7b16f95cd293cedd2b9204428088ea3e2f8399e5' into kraken * commit '7b16f95cd293cedd2b9204428088ea3e2f8399e5': Fix issue #2555171: Switching to app immediately after unmounting...
| * | | | am 8e1f2f88: Merge "Fix issue #2555171: Switching to app immediately after ↵Dianne Hackborn2010-04-131-0/+21
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unmounting..." into froyo Merge commit '8e1f2f8804a1f63c7a03a3eeced9ffdf6e6c3293' into froyo-plus-aosp * commit '8e1f2f8804a1f63c7a03a3eeced9ffdf6e6c3293': Fix issue #2555171: Switching to app immediately after unmounting...
| | * | | Merge "Fix issue #2555171: Switching to app immediately after unmounting..." ↵Dianne Hackborn2010-04-131-0/+21
| | |\ \ \ | | | | | | | | | | | | | | | | | | into froyo
| | | * | | Fix issue #2555171: Switching to app immediately after unmounting...Dianne Hackborn2010-04-131-0/+21
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...SD card causes reboot. Add option to not include temporarily unavailable recent tasks, for the recent tasks UI to not display them. Change-Id: I1495ca217b4292fd56f537459b44c0624262c292
* | | | | am cd616247: am ce73c1e5: Framework change for #2583442: Navigation dies ↵Dianne Hackborn2010-04-131-17/+27
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when night mode changes Merge commit 'cd616247db69bdae8ab781be1f1d646ac7abf755' into kraken * commit 'cd616247db69bdae8ab781be1f1d646ac7abf755': Framework change for #2583442: Navigation dies when night mode changes
| * | | | am ce73c1e5: Framework change for #2583442: Navigation dies when night mode ↵Dianne Hackborn2010-04-131-17/+27
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes Merge commit 'ce73c1e5bfd36154d21ee7b332cfdc6cea48812e' into froyo-plus-aosp * commit 'ce73c1e5bfd36154d21ee7b332cfdc6cea48812e': Framework change for #2583442: Navigation dies when night mode changes
| | * | | Framework change for #2583442: Navigation dies when night mode changesDianne Hackborn2010-04-131-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The window manager doesn't retain its keep screen on lock while in the process of destroying and creating new activity windows during a config change. Now it does. Unfortunately, this doesn't help maps, since it doesn't use our lovely KEEP_SCREEN_ON flag. :p Change-Id: Ida4bc0fcfe132cdff2bd4eeb7ba0ce9731504d14
* | | | | am fbd22f07: am ae8c2c71: Merge "Fix issue #2420340: if ↵Dianne Hackborn2010-04-131-4/+13
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FLAG_SHOW_WHEN_LOCKED, do not show keyguard..." into froyo Merge commit 'fbd22f072b48be4b465085fb5354890e2f10fd32' into kraken * commit 'fbd22f072b48be4b465085fb5354890e2f10fd32': Fix issue #2420340: if FLAG_SHOW_WHEN_LOCKED, do not show keyguard...