summaryrefslogtreecommitdiffstats
path: root/services/java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Wake screen from external HID peripherals.Jeff Brown2011-03-022-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added some plumbing to enable the policy to intercept motion events when the screen is off to handle wakeup if needed. Added a basic concept of an external device to limit the scope of the wakeup policy to external devices only. The wakeup policy for internal devices should be based on explicit rules such as policy flags in key layout files. Moved isTouchEvent to native. Ensure the dispatcher sends the right event type to userActivity for non-touch pointer events like HOVER_MOVE and SCROLL. Bug: 3193114 Change-Id: I15dbd48a16810dfaf226ff7ad117d46908ca4f86
* | | | Merge "Add system wide management of core settings"Svetoslav Ganov2011-03-022-1/+125
|\ \ \ \
| * | | | Add system wide management of core settingsSvetoslav Ganov2011-03-022-1/+125
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:3505060 Since we want to have some settings that are used very frequently by many applications (long-press timeout is one example) these should be managed efficiently to reduce lookups from different processes because in the case of a cache miss a disk I/O is performed. Now the system manages such core settings and propagates them to the application processes. Change-Id: Ie793211baf8770f2181ac8ba9d7c2609dfaa32a7
* | | | Merge "UsbService: Make sure the USB accessory function is disabled when we ↵Mike Lockwood2011-03-021-30/+20
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| disconnect"
| * | UsbService: Make sure the USB accessory function is disabled when we disconnectMike Lockwood2011-03-021-30/+20
| | | | | | | | | | | | | | | | | | | | | BUG: 3493041 Change-Id: I95a34742d4b670a13ba5717f0551f3ce40af3c24 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Merge "Fix issue #3400119: API to specify a black background behind a window ↵Dianne Hackborn2011-03-024-55/+197
|\ \ \ | |_|/ |/| | | | | transition"
| * | Fix issue #3400119: API to specify a black background behind a window transitionDianne Hackborn2011-03-024-55/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is now an API, which is used for task switching. Also improved how we handle rotation animation when we can't take a screen shot, to cleanly revert to the old freeze behavior. This removes the need to special case the emulator. Change-Id: I7227432a2309370437ec6ac78db02c6f1e7eedd5
* | | Fade out the mouse pointer after inactivity or other events.Jeff Brown2011-03-022-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fades out the mouse pointer: - after 15 seconds of inactivity normally - after 3 seconds of inactivity in lights out mode - after a non-modifier key down - after a touch down Extended the native Looper to support enqueuing time delayed messages. This is used by the PointerController to control pointer fade timing. Change-Id: I87792fea7dbe2d9376c78cf354fe3189a484d9da
* | | am 0e99d3bf: am df33b8c5: Merge "Check for NTP time as soon as WIFI is ↵Amith Yamasani2011-03-021-0/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | connected." into honeycomb * commit '0e99d3bfab99254cc187de127a7a4767f165cde8': Check for NTP time as soon as WIFI is connected.
| * \ \ am df33b8c5: Merge "Check for NTP time as soon as WIFI is connected." into ↵Amith Yamasani2011-03-011-0/+32
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | honeycomb * commit 'df33b8c51d431a7c0f7a89ead8dfacdd3660ff48': Check for NTP time as soon as WIFI is connected.
| | * \ \ Merge "Check for NTP time as soon as WIFI is connected." into honeycombAmith Yamasani2011-03-011-0/+32
| | |\ \ \
| | | * | | Check for NTP time as soon as WIFI is connected.Amith Yamasani2011-03-011-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Listen for connectivity changes. If WIFI is connected, check if we have recently checked for NTP time. If we haven't yet checked the time or it has been long enough (a day), then connect to the NTP server and get the latest time. Update the time if it is significantly out of sync. This doesn't poll the NTP server every time there is connectivity, only if it hasn't been checked since boot or has been a day. This fixes the problem that during SetupWizard, we try to contact the NTP server before there is connectivity and fail. Now, as soon as the user chooses a WiFi network to connect to, it will update the time before getting to the Date/Time step. Then as soon as the user corrects the TZ, the date/time should be correct. Bug: 3491920 Change-Id: I62664156616510b67ecd6a1c24dd838b98d5204f
| * | | | | am 0eb6af89: Merge "Fixing the write of BackgroundData setting, DO NOT ↵Wink Saville2011-02-281-7/+5
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MERGE." into honeycomb * commit '0eb6af892948ba23bf9de5c5a6172c6ec50f8f71': Fixing the write of BackgroundData setting, DO NOT MERGE.
| | * | | | Fixing the write of BackgroundData setting, DO NOT MERGE.Wink Saville2011-02-281-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I outsmarted myself trying to minimize writes and caused no writes to occur. bug:3485934 Change-Id: I43b6ebbed3f13277edfb2e28f09cf7b98ea66776
| * | | | | am 6aea1154: DO NOT MERGE: KeyguardManager: Add isKeyguardLocked() and ↵Mike Lockwood2011-02-261-0/+8
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isKeyguardSecure() * commit '6aea1154bae3a0935fdb9b09b2d91d9548232eb0': DO NOT MERGE: KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()
| | * | | | DO NOT MERGE: KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()Mike Lockwood2011-02-261-0/+8
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 3402847 Change-Id: I7cb199763e8d5386914b4c2173c9e1579b08674c Signed-off-by: Mike Lockwood <lockwood@android.com>
| * | | | am 5107eea6: Merge "DO NOT MERGE Add support for background scanning" into ↵Irfan Sheriff2011-02-231-0/+12
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | honeycomb * commit '5107eea64e46b0fffbbbcefa469a88044f309de6': DO NOT MERGE Add support for background scanning
| | * | | DO NOT MERGE Add support for background scanningIrfan Sheriff2011-02-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Background scanning (preferred network offload) allows us the host to sleep while the dongle monitors the presence of any preferred networks. This allows us for significant power savings since the system does not have to wake up often to initiate a scan Bug: 3453021 Change-Id: I73dcf4e1c9ab4de280c40b6df6147a74ac003123
* | | | | Merge "Start using NetworkUtils.numericToInetAddress."Robert Greenwalt2011-03-023-13/+14
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Start using NetworkUtils.numericToInetAddress.Robert Greenwalt2011-03-023-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generates InetAddresses without risking an accidental dns lookup. For use with supposedly numeric-only ip address strings. Change-Id: I694f3976ce1c6382854706f6557ea88a289add3a
* | | | | Merge "Fix issue #3431230: "am" debugging commands failing on -userdebug builds"Dianne Hackborn2011-03-021-4/+5
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Fix issue #3431230: "am" debugging commands failing on -userdebug buildsDianne Hackborn2011-03-011-4/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I6b5a8bf68d3bd76c7331ee97bab9a68b5033cb5a
* | | | | Merge "Switch to returnCode for IPackageDeleteObserver"Kenny Root2011-03-021-8/+9
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Switch to returnCode for IPackageDeleteObserverKenny Root2011-03-011-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the IPackageDeleteObserver only knew whether the deletion succeeded or failed, but not the reason why. Bug: 2520191 Change-Id: I1f0d7c04f06c539660b6e17e7e133defb0f61b5b
* | | | | Merge "Fix Issue 14340: Sticky Service killed with onDestroy not called, not ↵Dianne Hackborn2011-03-011-4/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | restarted."
| * | | | | Fix Issue 14340: Sticky Service killed with onDestroy not called, not restarted.Dianne Hackborn2011-03-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2804c49ad5669ca89744c6d92ead0c7d21ee31d5 http://code.google.com/p/android/issues/detail?id=14340
* | | | | | Merge "UsbDeviceSettingsManager: don't write settings file when not necessary"Mike Lockwood2011-03-011-8/+18
|\ \ \ \ \ \
| * | | | | | UsbDeviceSettingsManager: don't write settings file when not necessaryMike Lockwood2011-03-011-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I48772f71822e3489f9e6c640985055569a656124 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | | Merge "Fix UsbDeviceSettingsManager locking."Mike Lockwood2011-03-012-156/+181
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Fix UsbDeviceSettingsManager locking.Mike Lockwood2011-03-012-156/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I93117ce791de95b0ab95017601f5d90ed5dd7a6a Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | | Merge "Move USB framework support from android.hardware to ↵Mike Lockwood2011-03-015-17/+17
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | android.hardware.usb package"
| * | | | | | Move USB framework support from android.hardware to android.hardware.usb packageMike Lockwood2011-03-015-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | | Merge "Using AsyncChannel for wifi connectivity"Irfan Sheriff2011-03-011-37/+34
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Using AsyncChannel for wifi connectivityIrfan Sheriff2011-02-281-37/+34
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: Ieee5a3a1a739238d8a6659493684f1be0cbea691
* | | | | | Merge "Add platform features for USB host and USB accessory support."Mike Lockwood2011-02-281-3/+7
|\ \ \ \ \ \
| * | | | | | Add platform features for USB host and USB accessory support.Mike Lockwood2011-02-281-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also removed config_hasUsbHostSupport framework resource, which is now obsolete. Change-Id: I6f18cc1c4f68085de8b8363e1b5edff79aff404f Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | | Merge "UsbManager: Enhancements for managing USB devices and accessories"Mike Lockwood2011-02-284-36/+1088
|\ \ \ \ \ \ \ | |/ / / / / / | | | / / / / | |_|/ / / / |/| | | | |
| * | | | | UsbManager: Enhancements for managing USB devices and accessoriesMike Lockwood2011-02-284-36/+1088
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a USB device or accessory is connected, the UsbService now asks the user which application to associate with the device or accessory. Applications interested in devices or accessories must specify the devices they work with via meta-data attached to their manifest. Permission to communicate with the device is assigned when the user chooses the activity to use for the device. The user has the option of clicking the "always use this application" checkbox to make the assignment automatic in the future. The user may later clear this preference and revoke permission for an application to have permission to communicate with the device by clicking the "Clear defaults" button for the activity in the Manage Applications panel in Settings. Added class UsbResolveActivity (a subclass or ResolveActivity for choosing an activity for a USB device or accessory) Added UsbDeviceManager, which manages the mapping between USB devices/accessories and applications, including default applications for devices and accessories, and manages application permissions. Add interface to allow Settings to clear device and accessory preferences and permissions for an application. Remove obsolete ACCESS_USB permission. Add new signatureOrSystem MANAGE_USB permission to allow administrating preferences and permissions. Moved UsbService.java to a "usb" subdirectory, along with new classes UsbResolveActivity and UsbDeviceManager. Change-Id: I92554381e9779e68ce380daaee4e1401fb875703 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | Small change to AppWidgetProviderInfo public field name and docsAdam Cohen2011-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia799cfc1824ccee1f7fd041ae8ecaa1a0395c3f6
* | | | | You can now specify a custom display size as NxM.Dianne Hackborn2011-02-281-2/+1
|/ / / / | | | | | | | | | | | | Change-Id: Ieb6df51aab009689f0f19b8887025261c5ceb69f
* | | | Merge "Implement issue #3426299: Introduce application "stopped" state"Dianne Hackborn2011-02-254-37/+406
|\ \ \ \
| * | | | Implement issue #3426299: Introduce application "stopped" stateDianne Hackborn2011-02-254-37/+406
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package manager now keeps track of whether an application is stopped. There are new intent flags to control whether intent filters in a stopped application will match the intent. This is currently used in one place, sending broadcasts, so that stopped apps can not be launched due to background processes. The package manager during first init makes sure no applications are in the stopped state. When new applications are installed, that begin in the stopped state. When the activity manager is launching a component of an application, it ensures the application is taken out of the stopped state. The "force stop" button in manage applications will now put an application back in to the stopped state; it can't go back out of the stopped state until one of its components is launched by the activity manager. There will probably be a few more places where we need to filter stopped applications out of intent matches, but doing this for broadcast is a very big first step. This also introduces a new broadcast that is sent to an application after it is replaced with a new .apk. But only if the app is not in the stopped state. This makes it a lot easier for developers to implement code to get their application back in proper running shape after an upgrade. Finally another new broadcast is added that is sent to a package's installer at the first time it is launched. This allows the installer to tell the package about it being installed only when it is first actually used. Change-Id: I589c53ff0e0ece868fe734ace4439c0d202dca2d
* | | | | Merge "Adding framework support for resizable widgets"Adam Cohen2011-02-251-6/+9
|\ \ \ \ \
| * | | | | Adding framework support for resizable widgetsAdam Cohen2011-02-251-6/+9
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> Added resizeMode to the widget xml -> Fixed an unexposed bug in AppWidgetHost where minWidth and minHeight were never being converted from complex type to dp Change-Id: Ibbc4fc6542d095623ac2a40694b6a3dbfeb279ad
* | | | | Merge "Fixing the write of BackgroundData setting."Robert Greenwalt2011-02-251-7/+5
|\ \ \ \ \
| * | | | | Fixing the write of BackgroundData setting.Robert Greenwalt2011-02-251-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I outsmarted myself trying to minimize writes and caused no writes to occur. bug:3485934 Change-Id: I292e6837d29903a21abb6e001d25d96a4cdc18ec
* | | | | | Merge "Fixing build"Winson Chung2011-02-251-1/+1
|\ \ \ \ \ \
| * | | | | | Fixing buildWinson Chung2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3d60c115190a6e478777229d4851dedc78111c39
* | | | | | | Merge "Fixing issue where RemoteViewsService.onDestroy() was never being ↵Winson Chung2011-02-251-5/+81
|\ \ \ \ \ \ \ | |/ / / / / / | | | / / / / | |_|/ / / / |/| | | | | called."
| * | | | | Fixing issue where RemoteViewsService.onDestroy() was never being called.Winson Chung2011-02-251-5/+81
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I15ad04eee18bc3e09d4846c7f2f2d2d8d168e518