summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Add carrier/mcc factors to wifi-channel decision.Robert Greenwalt2009-05-221-5/+10
| | | | | | Uses ro.carrier and MCC when available to try to set (non-persistingly) the number of allowed wifi channels. Part of the fix for 1625953.
* am 8c690ea9: Merge change 2182 into donutAndroid (Google) Code Review2009-05-211-29/+8
|\ | | | | | | | | | | | | Merge commit '8c690ea9976d644db3c96eddbbbd2d50eac56913' * commit '8c690ea9976d644db3c96eddbbbd2d50eac56913': location: Replace ILocationCollector interface with new ILocationProvider method
| * location: Replace ILocationCollector interface with new ILocationProvider methodMike Lockwood2009-05-211-29/+8
| | | | | | | | | | | | | | | | | | | | | | | | This change replaces ILocationCollector with a more general mechanism that passes locations received from a provider to all other providers. The network location provider now uses this to implement the location collector. In the future, this could be used to inject network locations to the GPS as aiding data. This change also removes the now obsolete permission INSTALL_LOCATION_COLLECTOR. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-202-4/+4
| |
* | am e2914615: Merge change 2099 into donutAndroid (Google) Code Review2009-05-201-6/+15
|\ \ | |/ | | | | | | | | | | Merge commit 'e29146158b6048936671decc060d398a68333fc0' * commit 'e29146158b6048936671decc060d398a68333fc0': Hook up the backup data writer, and add a utility to read the backup data files.
| * Hook up the backup data writer, and add a utility to read the backup data files.Joe Onorato2009-05-201-6/+15
| |
* | am a5ca3425: Merge change 2017 into donutAndroid (Google) Code Review2009-05-201-14/+14
|\ \ | |/ | | | | | | | | | | Merge commit 'a5ca3425f9cbb930dc62559893590432ed29c961' * commit 'a5ca3425f9cbb930dc62559893590432ed29c961': Increment BatteryStatsImpl's VERSION.
| * Merge change 2017 into donutAndroid (Google) Code Review2009-05-201-14/+14
| |\ | | | | | | | | | | | | * changes: Increment BatteryStatsImpl's VERSION. That'll make it stop trying to interpret older records with the new format. Also applied other comments involving name changes to remove un-needed 'Wifi' labels in WifiManager API, etc.
| | * Increment BatteryStatsImpl's VERSION.Robert Greenwalt2009-05-191-14/+14
| | | | | | | | | | | | | | | That'll make it stop trying to interpret older records with the new format. Also applied other comments involving name changes to remove un-needed 'Wifi' labels in WifiManager API, etc.
* | | am 97dd7ac8: Merge change 1860 into donutAndroid (Google) Code Review2009-05-204-11/+184
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '97dd7ac8ede4eec057977dd579f236519782be7c' * commit '97dd7ac8ede4eec057977dd579f236519782be7c': ActivityManagerService sends bug reports on crashes and ANRs
| * | ActivityManagerService sends bug reports on crashes and ANRsJacek Surazski2009-05-204-11/+184
| | | | | | | | | | | | | | | | | | | | | If an installerPackageName was specified when the app was installed, looks for a receiver of ACTION_APP_ERROR in that package. If found, this is the bug report receiver and the crash/ANR dialog will get a "Report" button. If pressed, a bug report will be delivered.
* | | am 95fc68f2: Fix issue where apps could prevent the user from going home.Dianne Hackborn2009-05-203-28/+254
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '95fc68f24a2a93e5664e2234abcfe479d385cc05' * commit '95fc68f24a2a93e5664e2234abcfe479d385cc05': Fix issue where apps could prevent the user from going home.
| * | Fix issue where apps could prevent the user from going home.Dianne Hackborn2009-05-193-28/+254
| |/ | | | | | | | | | | | | | | | | | | Now we have a 5-second time after home is pressed, during which only the home app (and the status bar) can switch to another app. After that time, any start activity requests that occurred will be executed, to allow things like alarms to be displayed. Also if during that time the user launches another app, the pending starts will be executed without resuming their activities and the one they started placed at the top and executed.
* | am ac61f6bc: Telephony: Allow getCellLocation() if client has permission ↵Mike Lockwood2009-05-191-3/+7
|\ \ | |/ | | | | | | | | | | | | | | ACCESS_FINE_LOCATION Merge commit 'ac61f6bc2b24f7ab03cdb0089c67c4034ea8549c' * commit 'ac61f6bc2b24f7ab03cdb0089c67c4034ea8549c': Telephony: Allow getCellLocation() if client has permission ACCESS_FINE_LOCATION
| * Telephony: Allow getCellLocation() if client has permission ACCESS_FINE_LOCATIONMike Lockwood2009-05-191-3/+7
| | | | | | | | | | | | | | ACCESS_FINE_LOCATION should imply ACCESS_COARSE_LOCATION, so either of these permissions should be sufficient to allow TelephonyManager.getCellLocation(). Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Throttle one last user activity call to 1/sec that was missed last timeMichael Chan2009-05-191-2/+16
| | | | | | | | modified: services/java/com/android/server/WindowManagerService.java
* | am c3320dbe: Minor performance improvement when filtering intents by package.Mihai Preda2009-05-191-1/+6
|\ \ | |/ | | | | | | | | | | Merge commit 'c3320dbe1c7acf040a3ec895129d8aae09c570ea' * commit 'c3320dbe1c7acf040a3ec895129d8aae09c570ea': Minor performance improvement when filtering intents by package.
| * Minor performance improvement when filtering intents by package.Mihai Preda2009-05-191-1/+6
| | | | | | | | Don't consider the activities that have no intent filters.
* | am 2f11599e: Merge change 1579 into donutAndroid (Google) Code Review2009-05-193-184/+461
|\ \ | |/ | | | | | | | | | | Merge commit '2f11599eb317887a8cca14d8e66bfc485e5169e7' * commit '2f11599eb317887a8cca14d8e66bfc485e5169e7': Teleca 2b changes
| * Merge change 1579 into donutAndroid (Google) Code Review2009-05-183-184/+461
| |\ | | | | | | | | | | | | * changes: Teleca 2b changes
| | * Teleca 2b changesWink Saville2009-05-183-184/+461
| | |
* | | am 7e4c3432: Merge change 1881 into donutAndroid (Google) Code Review2009-05-181-2/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '7e4c34329c98fc4279d658387b65ef4d041872a8' * commit '7e4c34329c98fc4279d658387b65ef4d041872a8': WifiService: Wifi power management change
| * | Merge change 1881 into donutAndroid (Google) Code Review2009-05-181-2/+14
| |\ \ | | | | | | | | | | | | | | | | * changes: WifiService: Wifi power management change
| | * | WifiService: Wifi power management changeMike Lockwood2009-05-181-2/+14
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Put Wifi into an idle state immediately if the screen is turned off and the Wifi interface has no IP address. We will continue to keep Wifi up for 15 minutes in the case where the screen is turned off when Wifi is fully connected. This will allow us to go into a low power mode faster when Wifi is not actively being used. It also avoids bringing up Wifi if the user just turns on the screen for a few seconds to check the clock, etc. Fixes bug b/1736920 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am d1a93373: Add a new window flag to display a window when keyguard is shown.Suchi Amalapurapu2009-05-181-3/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'd1a9337380cf9f40f1aa095457b11242d483295d' * commit 'd1a9337380cf9f40f1aa095457b11242d483295d': Add a new window flag to display a window when keyguard is shown.
| * | Add a new window flag to display a window when keyguard is shown.Suchi Amalapurapu2009-05-181-3/+0
| | |
* | | am 3a00d763: Merge change 1866 into donutAndroid (Google) Code Review2009-05-183-26/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '3a00d763dfb22982987e08f4c8751fe68451ed0d' * commit '3a00d763dfb22982987e08f4c8751fe68451ed0d': remove unused ContentResolver parameter from IntentResolver.queryIntent.
| * | remove unused ContentResolver parameter from IntentResolver.queryIntent.Mihai Preda2009-05-183-26/+14
| |/
| * Implement compatibility support for WRITE_SDCARD permission.Dianne Hackborn2009-05-151-1/+18
| | | | | | | | | | | | | | | | | | | | | | Now old applications will automatically be granted it. Also renamed it from SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions, and re-arranged how we do targetSdkVersion to actually be usuable for this kind of stuff. Note that right now this results in basically all apps being given the WRITE_SDCARD permission, because their targetSdkVersion is not set. I will be dealing with that in a future change.
* | Implement compatibility support for WRITE_SDCARD permission.Dianne Hackborn2009-05-151-1/+18
| | | | | | | | | | | | | | | | | | | | | | Now old applications will automatically be granted it. Also renamed it from SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions, and re-arranged how we do targetSdkVersion to actually be usuable for this kind of stuff. Note that right now this results in basically all apps being given the WRITE_SDCARD permission, because their targetSdkVersion is not set. I will be dealing with that in a future change.
* | Added LatencyTimer to ease latency measurementsMichael Chan2009-05-153-25/+76
| | | | | | | | | | | | | | | | | | new file: core/java/android/os/LatencyTimer.java modified: core/java/android/view/MotionEvent.java modified: core/java/android/view/ViewRoot.java modified: services/java/com/android/server/InputDevice.java modified: services/java/com/android/server/KeyInputQueue.java modified: services/java/com/android/server/WindowManagerService.java
* | If battery status is unknown don't send BATTERY_LOW intentRebecca Schultz Zavin2009-05-151-0/+1
| | | | | | | | Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* | am eae850ce: Allow intent resolution to be constrained by package name.Mihai Preda2009-05-152-4/+62
|\ \ | |/ | | | | | | | | | | Merge commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0' * commit 'eae850cefe7e149f396c9e8ca1f34ec02b20a3f0': Allow intent resolution to be constrained by package name.
| * Allow intent resolution to be constrained by package name.Mihai Preda2009-05-152-4/+62
| |
* | resolved conflicts w/ 75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec merge....svetoslavganov2009-05-153-10/+709
|\ \ | |/
| * Accessibility feature - framework changes (replacing 698, 699, 700, 701 and ↵svetoslavganov2009-05-143-10/+709
| | | | | | | | merging with the latest Donut)
* | am 2a5cfe51: Merge change 1590 into donutAndroid (Google) Code Review2009-05-142-18/+131
|\ \ | |/ | | | | | | | | | | Merge commit '2a5cfe519298702ef71ff8755b14f8daf6a92b2a' * commit '2a5cfe519298702ef71ff8755b14f8daf6a92b2a': Add wifi multicast filter api (enable/disable).
| * Merge change 1590 into donutAndroid (Google) Code Review2009-05-142-18/+131
| |\ | | | | | | | | | | | | * changes: Add wifi multicast filter api (enable/disable). Fixes 1833432. Automatically re-disables any request when the app exits/crashes. Also hooked into Battery Stats for power managment analysis.
| | * Add wifi multicast filter api (enable/disable).Robert Greenwalt2009-05-132-18/+131
| | | | | | | | | | | | | | | Fixes 1833432. Automatically re-disables any request when the app exits/crashes. Also hooked into Battery Stats for power managment analysis.
* | | am aa642c0c: Merge changes 1591,1596 into donutAndroid (Google) Code Review2009-05-142-5/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'aa642c0cc20293137376d44f8221876c121e5be9' * commit 'aa642c0cc20293137376d44f8221876c121e5be9': Get the backup calling through to the file backup helper. Fix typos. Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn(). Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build. Add Intent.ACTION_APP_ERROR
| * | Merge changes 1591,1596 into donutAndroid (Google) Code Review2009-05-141-5/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | * changes: Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn(). Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build.
| | * | Fixes #1836075. Adds consistency checks for the View hierarchy. To enable ↵Romain Guy2009-05-131-5/+3
| | | | | | | | | | | | | | | | them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build.
| * | | Get the backup calling through to the file backup helper.Joe Onorato2009-05-141-0/+3
| | | | | | | | | | | | | | | | | | | | This includes some cleanup to make the parameters match between BackupService.onBackup and FileBackupHelper.performBackup.
* | | | am b910811: am 5d6d773: AI 148824: Fix issue #1851541 (sharedUserId requDianne Hackborn2009-05-131-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'b91081113692acc87ae67f235956ae1cecab68cc' * commit 'b91081113692acc87ae67f235956ae1cecab68cc': AI 148824: Fix issue #1851541 (sharedUserId requests not being checked for matching signatures on .apk).
| * | | am 5d6d773: AI 148824: Fix issue #1851541 (sharedUserId requests not beiDianne Hackborn2009-05-131-0/+1
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Merge commit '5d6d773fab559fdc12e553d60d789f3991ac552c' into donut * commit '5d6d773fab559fdc12e553d60d789f3991ac552c': AI 148824: Fix issue #1851541 (sharedUserId requests not being checked for matching signatures on .apk).
| | * | AI 148824: Fix issue #1851541 (sharedUserId requests not being checked for ↵Dianne Hackborn2009-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matching signatures on .apk). To address issues where we could leave half-installed applications around if there was a failure during the install, we split getPackageLP() into two phases: the first would create the record, and only after doing all verification checks would we call insertPackageSettingLP() to do the remaining part of the original implementation and actually insert the record into the data structures. Unfortunately it was only in insertPackageSettingLP() that we would set the sharedUser field of the PackageSetting structure, so when before that we went to verify certificates, we didn't think it had requested a shared user ID, and let it through without checking. This fix simply sets the sharedUser field when the PackageSetting structure is first created, so we will actually check against its certs. We still also set this again in insertPackageSettingLP(), but there is no harm in this because the only time we call this function is in that big install func, which just passes in the same shared user that it had when first getting the package. BUG=1851541 Automated import of CL 148824
| | * | AI 144256: Need to show opt-in screen for location collection.Amith Yamasani2009-04-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a screen to the setup wizard, after login, to ask user to opt-in for location collection. Added a dialog to Settings when user turns on Network location. Fixed a security permission issue in LocationManagerService related to this change. BUG=1752566 Automated import of CL 144256
| | * | AI 143896: Fix issue #1748954 and #1737952:Dianne Hackborn2009-03-311-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden. To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big... actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway. #1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix. This involved a few things to clean up hiding/showing the status bar: - We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window. This required tweaking the layout API so the policy can request a second layout pass if needed. - When doing layout, we are now much more aggressive about skipping the layout of windows. Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen. The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct. BUG=1748954,1737952 Automated import of CL 143896
| | * | AI 143748: Fix issue #1743326 (More battery stats)Dianne Hackborn2009-03-315-33/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds stats for: - Number of raw user events that have happened in the system. - Number of times user activity has been reported, dividied by UID and type of activity. - Duration of screen brightness levels in 4 buckets. - Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them. BUG=1743326 Automated import of CL 143748
* | | | define Intent.ACTION_REMOTE_INTENT, which replaces the old GTalk data ↵Wei Huang2009-05-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | messaging intent "android.intent.action.GTALK_DATA_MESSAGE_RECEIVED". The remote intent concept shouldn't be limited to Google or GTalkService. It should be owned by the Android platform.