summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Merge "LE: Add is_connected() function (1/3)"Andre Eisenbach2014-06-201-0/+7
|\ \ \ \ \ \
| * | | | | | LE: Add is_connected() function (1/3)Andre Eisenbach2014-06-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1b94ab0c8b0ff2e1026a4f5bbe95dca25be3d104
* | | | | | | Implement minimal buffer size for playbackPaul McLean2014-06-201-1/+26
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will enable low-latency playback in mixer/audioflinger. Change-Id: I415aa1b92e3c6f945a48be7b626527f0b02a82d7
* | | | | | Merge "Minor cleanup of HAL fingerprint API"Jim Miller2014-06-171-9/+9
|\ \ \ \ \ \
| * | | | | | Minor cleanup of HAL fingerprint APIJim Miller2014-06-161-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7a4b1caadfe499d2394c8645e45903759b672e8b
* | | | | | | Merge "usb audio: fix usb capture configuration"Eric Laurent2014-06-171-13/+18
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | usb audio: fix usb capture configurationEric Laurent2014-06-111-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Capture configuration was using cached_output_hardware_config instead of cached_input_hardware_config. Also enable mono capture by rejecting first attempt to open an input stream in mono with -EINVAL error: AudioFlinger will reopen in stereo and do the channel conversion. Change-Id: Ibdf53be4aa88d47091745bc71daa1dec002535f8
* | | | | | | Merge "tv_input: Add HDMI port ID"Wonsik Kim2014-06-101-11/+22
|\ \ \ \ \ \ \
| * | | | | | | tv_input: Add HDMI port IDWonsik Kim2014-06-131-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15570939 Change-Id: Id15ef9dbc79cd9c4f55be1eb114d66e08dfe923d
* | | | | | | | update struct-offset.cpp test for camera API 2.3Greg Hackmann2014-06-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2f63f9f5e567099ea9d0005317f7a745c5a63ca6 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | | | | | | | Merge "hardware: camera_common: add module open legacy device API"Zhijun He2014-06-102-2/+61
|\ \ \ \ \ \ \ \
| * | | | | | | | hardware: camera_common: add module open legacy device APIZhijun He2014-06-132-2/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the module API to open a camera device as lower HAL version legacy device. Change-Id: I6616aebc5ec0cef28f675e5dddb334dc6b5dfea9
* | | | | | | | | Use separate HAL interfaces for A2DP source and sink roles.Mike Lockwood2014-06-132-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both use the same structs for APIs and callbacks, but now source and sink mode can operate independently with separate Bluetooth profile services in the framework. An extra callback btav_audio_config_callback is used for reporting audio configuration for A2DP sink role Change-Id: I6e8172b66ff95e61721d1c35790609b7ae2be030
* | | | | | | | | Move AVRCP controller support to a different HAL interfaceMike Lockwood2014-06-132-10/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to add a new BluetoothProfile subclass for the AVRCP controller role independent of the existing AVRCP target support. Change-Id: I504bbf58a88808d1a884266992ae0c635c62aca1
* | | | | | | | | Add Support for AVRCP Controller FeatureHemant Gupta2014-06-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Provide support for AVRCP Controller CAT 1 and CAT 2 passthrough commands. Change-Id: If437a3bbd1e97d22e5ceddf0d052dbaad1093257
* | | | | | | | | Merge "Bluetooth: Add support for HFP Client role."Mike Lockwood2014-06-122-0/+364
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Bluetooth: Add support for HFP Client role.Hemant Gupta2014-06-122-0/+364
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation changes in HAL for HFP Client role. Include HFP Client Interface ID. Change-Id: I1117c6a0c53e7e7059e46711f7a26639d2bbaee3
* | | | | | | | | Merge "Add sensor flags for reportingMode."Aravind Akella2014-06-121-31/+54
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add sensor flags for reportingMode.Aravind Akella2014-06-121-31/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ife456dd13264bafa7cd50d72b8818526030d7a3e
* | | | | | | | | | Add callouts for bluedroid to acquire wake locks and set wake alarms.Sharvil Nanavati2014-06-120-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since bluedroid is running outside of system_server, it does not have the necessary Linux capabilities or filesystem permissions to access /sys/power/wake_* and /dev/alarm (or any other wake alarm). This change provides a mechanism by which bluedroid can call back up into Java code and use the standard Android APIs to get wake locks / wake alarms. Change-Id: I714fd394224d38da5ff0f82de5559599d522010b Conflicts: include/hardware/bluetooth.h
* | | | | | | | | | Add callouts for bluedroid to acquire wake locks and set wake alarms.Sharvil Nanavati2014-06-121-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since bluedroid is running outside of system_server, it does not have the necessary Linux capabilities or filesystem permissions to access /sys/power/wake_* and /dev/alarm (or any other wake alarm). This change provides a mechanism by which bluedroid can call back up into Java code and use the standard Android APIs to get wake locks / wake alarms. Change-Id: I714fd394224d38da5ff0f82de5559599d522010b Conflicts: include/hardware/bluetooth.h
* | | | | | | | | | Merge "hwcomposer: Add function pointer for setPowerMode() callback"Prashant Malani2014-06-102-12/+54
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | |
| * | | | | | | | | hwcomposer: Add function pointer for setPowerMode() callbackPrashant Malani2014-06-122-12/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The blank HWC call is being replaced by a setPowerMode() call. This incorporates all of the blank functionality, but provides added support for display low power modes, if they are available in hardware. Currently there are three supported modes: - HWC_POWER_MODE_OFF : Turn screen off. - HWC_POWER_MODE_DOZE : Put screen in low power mode. - HWC_POWER_MODE_NORMAL : Turn screen on, and exit low power mode (if display was previously in low power mode). Where applicable, the device driver is expected to retain and restore the low power mode state of the display during entry and exit from suspend, respectively. Bug: 13472578 Change-Id: I743ea3a2cb58247d14d7c47158b09a5309cca710 Signed-off-by: Prashant Malani <pmalani@google.com>
* | | | | | | | | | Add support for retrieving local LE features via get_adapter_propertiesGanesh Ganapathi Batta2014-06-121-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I337614aa96ec08f631667dc4a18b4e5c993a79b1
* | | | | | | | | | am aa13433c: am c384b186: Don\'t pass up bad sensor event packets to Sensor ↵Nick Vaccaro2014-06-111-2/+9
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Services * commit 'aa13433c89d720d4b707e2e14110688d8b733e35': Don't pass up bad sensor event packets to Sensor Services
| * | | | | | | | | am c384b186: Don\'t pass up bad sensor event packets to Sensor ServicesNick Vaccaro2014-06-111-2/+9
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c384b1863768d424116c1bcc7f26f5764c35c330': Don't pass up bad sensor event packets to Sensor Services
| | * | | | | | | | Don't pass up bad sensor event packets to Sensor ServicesNick Vaccaro2014-06-111-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an event packet is read containing an unknown sensor handle, don't pass it on to Sensor Services. Drop it on the floor instead as it's causing Sensor Services to crash. Moved read of queue size in sensors_poll_context_t::poll() to post queue mutex grab for safety. Bug: 15285345 Change-Id: I2ebc0f8591a1ae60f09bf9599b8321c5a3dfae69
* | | | | | | | | | Merge "HAL: Fingerprint: Incremental scan notification."Sasha Levitskiy2014-06-101-14/+29
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | HAL: Fingerprint: Incremental scan notification.Sasha Levitskiy2014-06-111-14/+29
| | |_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If943fe6b46a8261ca936e07a36e11c10c7e6d63a Signed-off-by: Sasha Levitskiy <sanek@google.com>
* | | | | | | | | | am 10f1a806: Fixed submix buffering when input and output stream formats differ.Stewart Miles2014-06-111-14/+31
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '10f1a806e6537835de7f71dbc05db1889436732e': Fixed submix buffering when input and output stream formats differ.
| * | | | | | | | | Fixed submix buffering when input and output stream formats differ.Stewart Miles2014-06-101-14/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When channel conversion is enabled and the pipe is opened with less channels (e.g 1) than the output stream's channels (e.g 2) the input stream's buffer size was calculated incorrectly which resulted in the input stream buffer size being larger than the output stream buffer size in terms of time. This changes the pipe size to take into the account maximum frame size so the output stream buffer size will be greater or equal to the input stream buffer size. In addition, if the pipe is created when the input stream is opened and the output stream is opened at a different sample rate (e.g input = 8KHz, output = 48Khz) the pipe will incorrectly rate limit writes to the pipe resulting in gaps of silence in the data read from the pipe by the input stream. Bug: 15291446 Change-Id: I01480edff7ef3a199f509866c1e95ecd4c437a92
* | | | | | | | | | IPv6 support for GPS HAL.destradaa2014-06-101-4/+86
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ieb5aead647c10ed42e50bef9c4d7cd558fe7160b
* | | | | | | | | Merge "hwcomposer: Correct padding for 32/64-bit"Dan Stoza2014-06-061-3/+12
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | hwcomposer: Correct padding for 32/64-bitDan Stoza2014-06-041-3/+12
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of hwc_layer_1_t varies depending on whether we're building for a 32- or 64-bit target. This change splits the padding into two sections so that we can add more fields without changing the overall size on either bitness. Change-Id: Ib7c960a9feb0061586dc6398211d7d3dc012d573
* | | | | | | | | Merge "sound trigger test/stub HAL - WIP"Eric Laurent2014-06-052-0/+328
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | sound trigger test/stub HAL - WIPEric Laurent2014-06-042-0/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie8120df144662b12bba41e2346bac3ce816f9838
* | | | | | | | | | Merge "added sound trigger HAL."Eric Laurent2014-06-051-0/+133
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | / / / / / / / / | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | added sound trigger HAL.Eric Laurent2014-06-041-0/+133
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Defined HAL for hardware voice and sound activity activity detection (sound trigger). Change-Id: I04f3c770c69a81245e8a15dd9e097e2c3f5ef069
* | | | | | | | Merge "Replace integer constants with strings in Activity Recognition HAL."Aravind Akella2014-06-031-26/+47
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Replace integer constants with strings in Activity Recognition HAL.Aravind Akella2014-06-031-26/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I67d543869f5870f9e771c36c0fe1d58e7495ca57
* | | | | | | | Merge "Header file for MHL HAL interface definition"Jinsuk Kim2014-05-310-0/+0
|\ \ \ \ \ \ \ \
| * | | | | | | | Header file for MHL HAL interface definitionJinsuk Kim2014-05-310-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added MHL(Mobile High-definition Link) HAL definition to provide interface between the hardware driver and the HdmiControlService which also talks to HDMI-CEC HAL. They are both based on HDMI signal specification. MHL version 2.0 and above is supported. Change-Id: Idcdfa1a61abfbf63bf838f6efe8b037fb32764ee
* | | | | | | | | Merge "Camera2: Build both 32 and 64 bit test binaries"Zhijun He2014-05-301-0/+3
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Camera2: Build both 32 and 64 bit test binariesZhijun He2014-05-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6efd201a52bb546efa59ff0a5178a25a040654b4
* | | | | | | | | | Merge "Rewording of tilt sensor"Etienne Le Grand2014-05-301-2/+2
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Rewording of tilt sensorEtienne Le Grand2014-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7bb0e63c3e1e6850359d7e690bfeea9e8c8fbcbf
* | | | | | | | | | | am ced2c37d: (-s ours) DO NOT MERGE: Add audio info to tv_inputWonsik Kim2014-05-290-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ced2c37d0579d9182c6b44fd50419209613c8c0a': DO NOT MERGE: Add audio info to tv_input
| * | | | | | | | | | DO NOT MERGE: Add audio info to tv_inputWonsik Kim2014-05-291-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15177175 Change-Id: I5d3d710753065f108a5346237fbb9a1880f7c08d (cherry picked from commit 8b5714fe2f3fbbab5bfc91db1a5c5018e6d4deab)
* | | | | | | | | | | Merge "Add audio info to tv_input"Wonsik Kim2014-05-291-1/+8
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Add audio info to tv_inputWonsik Kim2014-05-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15177175 Change-Id: I5d3d710753065f108a5346237fbb9a1880f7c08d