summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* MountService: Move boot-time mount to a thread - avoids ANR at bootSan Mehat2010-02-191-6/+16
| | | | Signed-off-by: San Mehat <san@google.com>
* Merge "Add USB RNDIS enable/disable control"Robert Greenwalt2010-02-181-0/+31
|\
| * Add USB RNDIS enable/disable controlRobert Greenwalt2010-02-181-0/+31
| |
* | Merge "Fixing bug 2453467 - In case of a dead process while disabling ↵Dianne Hackborn2010-02-181-0/+1
|\ \ | | | | | | | | | Accessibility some processes keep sending AccessibilityEvents"
| * | Fixing bug 2453467 - In case of a dead process while disabling Accessibility ↵Svetoslav Ganov2010-02-181-0/+1
| | | | | | | | | | | | some processes keep sending AccessibilityEvents
* | | Work on issue #2263557: PMF3000 showing hybrid of portrait and landscape modesDianne Hackborn2010-02-182-183/+243
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bunch of reworking of how configuration changes are handled: - When orientation is changing (for whatever reason), the window manager no longer tries to pre-emptively compute a new configuration. Instead, it just determines change is happening and tells the window manager. - The activity manager is now responsible for giving the window manager the final configuration it is using. This is both so it knows whem the activity manager is done with its configuration updates, and so the window manager can use the "real" configuration. - When an orientation or other configuration change is happening, freeze the screen and keep it frozen until the activity manager has given us the final configuration. - The window manager can now send new configurations to its clients during its layout pass, as part of a resize, if it has determined that it has changed. This allows for a new View.onConfigurationChanged() API for any view to easily find out when the configuration has changed. - ViewRoot now also works with the activity thread to make sure the process's current resources are updated to the new configuration when it receives one from a window. This ensures that at the time onConfigurationChanged() and other view callbacks are happening, the correct configuration is in force. - There is now a sequence number associated with Configuration, which ActivityThread uses to avoid using stale configurations. This is needed now that it can receive configurations asynchronously from both the window manager and activity manager. - The hack for keeping the locale has been removed, and underlying problem fixed by having Configuration initialize its locale to "unknown" instead of a valid default value.
* | Fix 2363699 - Make notification shade animate closed when disabledJoe Onorato2010-02-181-13/+17
| | | | | | | | | | The animation was removed to fix 2298803 because if the windowshade was tracking when this happened, it would get stuck.
* | Make MountService work in the simulator.Marco Nelissen2010-02-181-9/+18
| |
* | framework: storage: Add 'force' option to unmount/destroy storage apis, and ↵San Mehat2010-02-181-13/+26
| | | | | | | | | | | | | | | | update callsites. Also adds additional storage unit tests Signed-off-by: San Mehat <san@google.com>
* | Show car mode notification in status bar.Tobias Haamel2010-02-181-17/+57
|/ | | | The notification is an ongoing event and can be used to get out of car mode.
* Merge "Make the simulator boot again."Marco Nelissen2010-02-181-0/+5
|\
| * Make the simulator boot again.Marco Nelissen2010-02-181-0/+5
| |
* | am 6371a2d3: am ee3bbefd: Merge "Don\'t crash the system process when apps ↵Joe Onorato2010-02-181-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | give us a bad foreground service notification." into eclair Merge commit '6371a2d31f30b473e91be9cced64a2527c086af1' * commit '6371a2d31f30b473e91be9cced64a2527c086af1': Don't crash the system process when apps give us a bad foreground service notification.
| * \ am ee3bbefd: Merge "Don\'t crash the system process when apps give us a bad ↵Joe Onorato2010-02-181-0/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | foreground service notification." into eclair Merge commit 'ee3bbefd34fd5330ebbc59175a328197ab7526af' into eclair-plus-aosp * commit 'ee3bbefd34fd5330ebbc59175a328197ab7526af': Don't crash the system process when apps give us a bad foreground service notification.
| | * | Don't crash the system process when apps give us a bad foreground service ↵Joe Onorato2010-02-181-0/+7
| | | | | | | | | | | | | | | | notification.
| * | | am 5d72a8dd: cherry pick d60e29009c1049a9776e6630e9489e1ef3f83491android-build SharedAccount2010-02-161-13/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '5d72a8dda22cdb0c8e1ded1ca5e5122b0c25bcc7' into eclair-plus-aosp * commit '5d72a8dda22cdb0c8e1ded1ca5e5122b0c25bcc7': cherry pick d60e29009c1049a9776e6630e9489e1ef3f83491
| | * | cherry pick d60e29009c1049a9776e6630e9489e1ef3f83491android-build SharedAccount2010-02-161-13/+0
| | | | | | | | | | | | | | | | | | | | Revert "Add null checks when scanning a package." This reverts commit 9e7ac3ba8405f22c11629091449ff35a06b72055.
* | | | Merge "Fixing bug 2451615 - Accessibility services are started upon system ↵Dianne Hackborn2010-02-181-12/+13
|\ \ \ \ | |_|_|/ |/| | | | | | | reboot while accessibility is disabled"
| * | | Fixing bug 2451615 - Accessibility services are started upon system reboot ↵Svetoslav Ganov2010-02-171-12/+13
| | | | | | | | | | | | | | | | while accessibility is disabled
* | | | Merge "Add Java hookup to netd interface notifications."Robert Greenwalt2010-02-181-2/+29
|\ \ \ \
| * | | | Add Java hookup to netd interface notifications.Robert Greenwalt2010-02-181-2/+29
| | | | |
* | | | | Merge "Fix formatting of ANRs."Eric Rowe2010-02-181-2/+3
|\ \ \ \ \
| * | | | | Fix formatting of ANRs.Eric Rowe2010-02-171-2/+3
| | |/ / / | |/| | | | | | | | | | | | | Fix for cases where an extra newline would be added and/or a newline at the end of a line would be ommited.
* | | | | Don't return passive location provider unless app has fine permissions.Bryan Mawhinney2010-02-181-1/+2
|/ / / /
* | | | Add passive location provider.Mike Lockwood2010-02-171-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The passive location provider allows receiving location updates without actually triggering them. This allows an application to receive location updates that are being generated due to other clients of the location manager. Change-Id: Ibf7a96b089c56875d4f62d3210252ae8d9f32768 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | Tone down a non-error log message about lack of ancestral dataset trackingChristopher Tate2010-02-171-0/+4
| | | | | | | | | | | | | | | | Change-Id: I2e5e48c9b695d6225016365907fe8edc73ab2c8e
* | | | Fix permission exception thrown on exit car mode.Tobias Haamel2010-02-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing the status bar behavior requires special permission. Since disableCarMode is called out of a context that might not have this permission, the calling identity is cleared before changing the status bar behavior.
* | | | Merge "Add the automatic handling of night/notnight UI modes."Mike Cleron2010-02-172-79/+452
|\ \ \ \
| * | | | Add the automatic handling of night/notnight UI modes.Bernd Holzhey2010-02-162-79/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The automatic switching between night/notnight is based on the calulcation of the civil twilight of the current location. The location is mainly retrieved from the NetworkLocationProvider. Automatic switching will only be available, when 1) the device is in UI_MODE_TYPE_CAR 2) the setting for the UI mode are set to 'automatic' If mode is set to automatic, the next twilight is caluclated and an alarm is set that timestamp. The alarm will trigger a new calculation of the twilight and sets the UI_MODE_NIGHT to the appropriate value. modified: services/java/com/android/server/DockObserver.java new file: services/java/com/android/server/TwilightCalculator.java
* | | | | Merge "Fix issue #2420412: API review: DeviceAdmin API changes"Dianne Hackborn2010-02-171-7/+7
|\ \ \ \ \
| * | | | | Fix issue #2420412: API review: DeviceAdmin API changesDianne Hackborn2010-02-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note in docs that callbacks are on main thread. Rename to DeviceAdminReceiver? Document resetPassword is the device's password. Also hide android.R.attr.neverEncrypt.
* | | | | | NativeDaemonConnector: Improve bad list IPC diagnosticsSan Mehat2010-02-171-2/+6
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | | | Fix null pointer exception in connectivity service broadcast receiver.Mike Lockwood2010-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I80c7175ffd1a323a02201395ff6092e2ab0fdd1c Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | Merge "Detect system-wide safe mode and configure the VM accordingly."Ben Cheng2010-02-162-2/+12
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Detect system-wide safe mode and configure the VM accordingly.Ben Cheng2010-02-162-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the system server process, do the disableJitCompilation/startJitCompilation callbacks depending on whether the system is in safe mode or not. In addition, if the system is found to be in safe mode, a flag will be set in the Zygote class which will be used to launch subsequent apps in VM safe mode. Bug: 2267590
* | | | | Merge "MountService: Add API call for getting a list of pids currently using ↵San Mehat2010-02-161-0/+26
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | the specified mountpoint"
| * | | | | MountService: Add API call for getting a list of pids currently using the ↵San Mehat2010-02-161-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified mountpoint Signed-off-by: San Mehat <san@google.com>
* | | | | | Merge "Update Tethering."Robert Greenwalt2010-02-162-186/+1215
|\ \ \ \ \ \
| * | | | | | Update Tethering.Robert Greenwalt2010-02-162-186/+1215
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds telephony support, async model, multiple tethered iface suport, better notifications, device config. bug:2413855
* | | | | | Merge "API CHANGE: expose backup/restore to the SDK"Chris Tate2010-02-161-8/+0
|\ \ \ \ \ \
| * | | | | | API CHANGE: expose backup/restore to the SDKChristopher Tate2010-02-161-8/+0
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The core backup/restore classes [BackupManager, BackupAgent, RestoreSession, and RestoreObserver] are now published for 3rd party developers, as well as the suite of helper classes that exist so far to aid authorship of backup/restore agents. In conjunction with the API change, the restore-time automatic data wipe has now been removed: applications are responsible for managing the logic of wipe vs merge themselves. If the app's agent onRestore() callback throws, the data is presumed to be incoherent and a wipe is issued via the Activity Manager; otherwise, no automatic action is ever taken. Change-Id: I0b3418b829d4689b58b88be3d9c4ace37a8583a9
* | | | | | Merge "Move mount service wrapper calls to PackageHelper"Suchi Amalapurapu2010-02-161-215/+33
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Move mount service wrapper calls to PackageHelperSuchi Amalapurapu2010-02-161-215/+33
| | | | | | | | | | | | | | | | | | | | | | | | Fix bug related to forward locked apps.
* | | | | | Switch from REMOTE_INTENT to the new push messaging, add the required ↵Costin Manolache2010-02-161-1/+1
| |/ / / / |/| | | | | | | | | | | | | | permission.
* | | | | Fix dumpsys activity service <name>Kenny Root2010-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring of the dumpsys framework introduced a comparison that always made the action dump all the services. Change-Id: I1f3ac2bd903e39e2a6e8632e8cbb23a982dfe0c6
* | | | | Small oom_adj tweaks.Dianne Hackborn2010-02-161-1/+20
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include a proper name for processes that are in the background with running services that have been running for a long time (instead of showing them as bg-empty). Batch together multiple processes into the same background bin when there are significantly more processes than bins. Arguably this should be smarter and base the binning on the number of background/empty processes instead of the total count, but this should be good enough for now.
* | | | Merge "Include install location preference when installing packages. Changes ↵Suchi Amalapurapu2010-02-161-61/+107
|\ \ \ \ | |/ / / |/| | | | | | | include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests"
| * | | Include install location preference when installing packages.Suchi Amalapurapu2010-02-121-61/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests DefaultContainerService first parses the file uri(if content uri is specified it returns a default install internal only value) and returns a recommended location. Based on which the temporary id is determined either a file name or a container id and the file is copied there. This is then later renamed during install. Todo's light weight parsing of package when determining location since we just need the install location attribute only when finding out recomended location. This will also enable to move the check for updated system apps(cannot be on sdcard) prior to copying.
* | | | Remove all traces of the old checkin service (and its associated parentalDan Egnor2010-02-132-61/+0
| | | | | | | | | | | | | | | | control interfaces) from the framework.
* | | | New user interface sound effects:Daniel Sandler2010-02-122-6/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Low battery. (http://b/2320026) - Dock/undock events. - Keyguard lock/unlock events. New system settings have been created to turn these on/off and to specify the relevant sound files. [Production notes: The provided low battery sound and dock sounds were synthesized; the lock screen sounds are processed samples of a ballpoint pen click mechanism.] Bug: 2320026 Change-Id: I374285b0f94f59c7555bb8816580f5a8c802e90d