summaryrefslogtreecommitdiffstats
path: root/services/jni
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete hardware auto-brightness support.Mike Lockwood2009-11-031-13/+0
| | | | | Change-Id: Ibd0ef67f887254f26ce19faf0627f8b246ec0a18 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Fix issue #2149145: Safe Mode does not work on Sholes deviceDianne Hackborn2009-09-281-4/+4
| | | | | | | | | | | | | | | The APIs for checking whether keys are held down now also look at virtual keys. However it turns out there is less than a second between the time we start the input thread and check for safe mode, so there is not enough time to actually open all of the devices and get the data from them about the finger being down to determine if a virtual key is down. So now you can also hold DPAD center, trackball center, or s to enter safe mode. Also give some vibrator feedback. Change-Id: I55edce63bc0c375813bd3751766b8070beeb0153
* Add automatic lighting control frameworkDan Murphy2009-09-151-0/+13
| | | | | | | | | | | | | | | | | | Add changes to have the ability to turn on and off the automatic light sensing for the device. This is fully configurable and is by default not present. Vendors should override the ALS setting to enable the automatic lighting controls. These changes will add a check box to the Brightness settings menu to give control to the user to allow the device's display lighting to be controlled via the slide bar or the auto lighting system. If the user selects auto then the slide bar will become invisible. Manual mode will present the slide bar to the user. Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73 Signed-off-by: Dan Murphy <D.Murphy@motorola.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
* SensorService: call close_data_source when we have no more sensor clients.Mike Lockwood2009-08-301-0/+10
| | | | | Change-Id: I94accda4571c3f2cf6f8a5b6801e37c30c027fe1 Signed-off-by: Mike Lockwood <lockwood@android.com>
* BatteryService: Add support for new standard battery voltage and temperature ↵Mike Lockwood2009-08-171-20/+88
| | | | | | | | attributes. Plus some cleanup from the previous commit. Signed-off-by: Mike Lockwood <lockwood@android.com>
* BatteryService: Remove hard coded power supply names.Mike Lockwood2009-08-171-18/+69
| | | | | | | Search all subdirectories of /sys/class/power_supply and match on the power supply type instead. Signed-off-by: Mike Lockwood <lockwood@android.com>
* merge from open-source masterJean-Baptiste Queru2009-08-041-1/+1
|\
| * fix method table wrong in com_android_server_HardwareService.cppKenny2009-08-051-1/+1
| |
| * donut snapshotJean-Baptiste Queru2009-07-211-17/+60
| |
| * donut snapshotJean-Baptiste Queru2009-05-201-0/+3
| |
* | EventHub: Add support for excluding devices from being opened by as a keyboard.Mike Lockwood2009-07-161-0/+19
| | | | | | | | | | | | | | This will be used to avoid unnecessarily listening to data from sensors that function as event devices. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Implement virtual button support.Dianne Hackborn2009-07-141-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel can now publish a property describing the layout of virtual hardware buttons on the touchscreen. These outside of the display area (outside of the absolute x and y controller range the driver reports), and when the user presses on them a key event will be generated rather than a touch event. This also includes a number of tweaks to the absolute controller processing to make things work better on the new screens. For example, we now reject down events outside of the display area. Still left to be done is the ability to cancel a key down event, so the user can slide up from the virtual keys to the touch screen without causing a virtual key to execute.
* | am 270e87f7: Sensors: Use a native_handle for the data channel instead of a ↵Mike Lockwood2009-05-231-17/+60
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | single file descriptor. Merge commit '270e87f71abc2edf446dbec20c725c823e8c7f37' * commit '270e87f71abc2edf446dbec20c725c823e8c7f37': Sensors: Use a native_handle for the data channel instead of a single file descriptor.
| * | Sensors: Use a native_handle for the data channel instead of a single file ↵Mike Lockwood2009-05-231-17/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | descriptor. This eliminates the requirement that all sensors share a single file descriptor. This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | checkpoint: split libutils into libutils + libbinderMathias Agopian2009-05-202-4/+4
|/ /
* | If no battery stats are found, return status_unknownRebecca Schultz Zavin2009-05-051-0/+3
|/ | | | | | | | If the battery files can't be found return status_unkown instead of an error. On systems where we haven't brought up battery stats yet they assume the battery is dead and turn off as soon as the runtime starts Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-182-5/+99
|
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-098-0/+1039