summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix security vulnerability: potential OOB write in audioserverrago2017-03-131-0/+3
| | | | | | | | | Bug: 32705438 Bug: 32703959 Test: cts security test Change-Id: I920a74cb0a809c623ddf802f3d2808f0f1bd537c (cherry picked from commit 3f9a6d3bd97966999fa35b9423b8c0042c8198b3) (cherry picked from commit 8a1906a6b573af10cb6a5f0424f0dbe787280f95)
* hardware: power: Remove POWER_HINT_AUDIOZhao Wei Liew2017-02-181-2/+1
| | | | | | We have not used this in a long time. Change-Id: I17936bd4d83af9fb8f1f91e841c30f03a7b36f6a
* keymaster: Add SOTER tags and API definationsMao Li2016-08-192-0/+70
| | | | | | | Add SOTER tags and API definations according to SOTER specification. Change-Id: I20ba0f51d8825a326b51f47ef4d2a3e4f60e2172
* Merge remote-tracking branch 'remotes/android-6.0.1_r52' into HEADJessica Wagantall2016-07-071-1/+1
|\ | | | | | | | | | | Ticket: CYNGNOS-3020 Change-Id: I1dd9d12d2131710416ee570e4b12e9cfad1f3ab4
| * Add guest mode functionality (1/3)Ajay Panicker2016-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | Add a flag to enable() to start Bluetooth in restricted mode. In restricted mode, all devices that are paired during restricted mode are deleted upon leaving restricted mode. Right now restricted mode is only entered while a guest user is active Bug: 27410683 Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428
* | hardware: Add definition for launch boost infoSteve Kondik2016-05-061-1/+9
| | | | | | | | Change-Id: I43e556d5a2c7e44eaa377636b8c9456b0acc30a0
* | Merge tag 'android-6.0.1_r30' into HEADJessica Wagantall2016-04-181-0/+12
|\ \ | |/ | | | | | | | | | | Ticket: RM-234 Android 6.0.1 release 30 Change-Id: I16c7a3b94750adee3d2524f79ea3867c4735a970
| * DO NOT MERGE Add ability to add interop entries dynamically (1/2)Andre Eisenbach2016-02-241-0/+11
| | | | | | | | | | | | | | | | | | Add ability and interface for adding dynamic entries to the interop workaround database. Bug: 26548845 Change-Id: I17f8cbdf1e63c316aa52903be7ec526c9b1376bb (cherry picked from commit 9cacd60df4d3a6cfe5af687177b478bc9855130f)
* | amplifier: Fix compilation warningEthan Chen2016-01-151-0/+2
| | | | | | | | | | | | * Forward declare str_parms Change-Id: Iafb0ad8e4b0696807cfe568d0f89ce5dad6bcade
* | Revert "Revert "libhardware: Only support tertiary display in QTI_BSP is ↵Abhisek Devkota2016-01-091-0/+9
| | | | | | | | | | | | | | | | defined"" This reverts commit 2a6aac596191c08d957a2d0f0dbe5ed6caac1ca5. Change-Id: Ibca901e9f3939b333c767e5cbe6f7849757675f3
* | hardware/libhw: Add display_defs.h to declare custom enums/flagsArun Kumar K.R2016-01-081-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hwcomposer: Add HWC_BLIT compositiontype value - HWC_BLIT this layer will be handled in the HWC, using a blit engine - setting this will inform Surfaceflinger to flip FB_TARGET change-Id: I25d19ec41b57863d451c3e390109c912faf1381c libhardware: Disable rotation animation on External - Added two new flags to used to inform HWC about rotation and roation animation to HWC - This is used to disable rotation animation on external change-Id: I05a9796781dcda088ae6cd64481cd4e581d5cf9e Change-Id: Idbc7e43d4fa8ec2299b4c7ee8378a1afd710cdf1
* | Revert "libhardware: Only support tertiary display in QTI_BSP is defined"Abhisek Devkota2016-01-071-9/+0
| | | | | | | | | | | | This reverts commit 18396d486dfc07119706370f6e3256bc6de88d30. Change-Id: I8468f31c4c8a9dc8dc23d2190441d635c9ed0f44
* | libhardware: Only support tertiary display in QTI_BSP is definedAbhisek Devkota2015-12-171-0/+9
| | | | | | | | | | | | Non-caf display hals crap out with this Change-Id: I85390a818ee074dd4bdf637976a3c010a67764ac
* | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-081-1/+1
|\ \ | |/ | | | | | | | | | | | | https://android.googlesource.com/platform/hardware/libhardware into HEAD Android 6.0.1 release 3 Change-Id: I8d2fae05954594f003fc2506fc123147e70c3602
| * Merge "Fix DATA_INJECTION flag in sensors.h" into mnc-dr-devAravind Akella2015-10-141-1/+1
| |\
| | * Fix DATA_INJECTION flag in sensors.hAravind Akella2015-09-111-1/+1
| | | | | | | | | | | | | | | Bug: 24001171 Change-Id: Ia42934a97566f0ebe8d324e065351a3d9ed55621
* | | Sensors: Set proper data injection flagsAnanda Kishore2015-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | correct the value for data injection flags to be inalign with sensor service. Change-Id: Id3978e132cdec16909401f64f3f43892d720c9c0
* | | audio: add set_parameters for listen hal (fix)Ramjee Singh2015-12-081-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | -Add listen hal specific set parameters function so that Listen service can call Listen hal directly, by passing audio hal. This is needed since set_parameters call in audio hal does not guarantee the correct return value is returned for any parameters set. Change-Id: I55357c60c9856990e6c5ff0c5cb53b3f0e70d6b4
* | | Merge branch 'LA.BF64.1.2.2_rb4.7' of ↵Steve Kondik2015-11-161-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | git://codeaurora.org/platform/hardware/libhardware into cm-13.0 Change-Id: I06f5b4bcaf8267a639dc806403c5917dafc07b84
| * | | power: Add support for camera preview in powerHALDilip Gudlur2015-11-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change adds support for camera preview hint detection in powerHAL. Change-Id: I0fff8c99f05d69db15e512c0adc84d612e343d2f
* | | | audio: add set_parameters for listen halKiran Kandi2015-11-111-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add listen hal specific set parameters function so that Listen service can call Listen hal directly, by passing audio hal. This is needed since set_parameters call in audio hal does not guarantee the correct return value is returned for any parameters set. Change-Id: I647b9e7f841c8157e4eb597655166ea863a00925
* | | | Merge tag 'android-6.0.0_r26' into cm-13.0Ricardo Cerqueira2015-11-052-1/+6
|\ \ \ \ | | |/ / | |/| | | | | | Android 6.0.0 release 26
| * | | Define the data parameter for POWER_HINT_INTERACTION.Michael Wright2015-09-161-1/+2
| | | | | | | | | | | | | | | | Change-Id: I86857c1ea92082de109c612080e47c9c9835726b
| * | | HWC: Add a color transform attribute per displayDan Stoza2015-08-311-0/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a color transform option to the queryable display attributes, which allows a different vendor-specific color transform (e.g., wide gamut, sRGB, etc.) per display configuration. This does not increase the HWC version, and is considered a part of HWC 1.5, though if getDisplayAttributes returns an error code as a result of being passed an unsupported attribute, the call will be retried without the new color transform option. Bug: 20853317 Change-Id: Iab1605bc073ed4caa780e55ddf396efeeff3aff1
* | | hardware: Add new getFeature() function to Power HALSteve Kondik2015-11-031-1/+8
| | | | | | | | | | | | | | | | | | | | | * The current use case for this is to query the power HAL for the number of supported profiles. Change-Id: I0b4137dda8d98d167d9c6446072bdbe1245ae2f5
* | | LEDs Brightness: Update the comment indicationsAdrianDC2015-10-271-1/+1
| | | | | | | | | | | | | | | Change-Id: I019450d67fb4e01ba142d1ecd4d1a67cbc2298f6 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* | | LEDs Brightness: Add the libhardware comment indicationsAdrianDC2015-10-261-0/+3
| | | | | | | | | | | | | | | Change-Id: I6fe45707c53ff182d103dd03cf79dd453597e9a7 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* | | Multiple LEDs [1/3]: Illumination Bars supportAdrianDC2015-10-261-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the support of a multiple LEDs settings. The setting is deactivated by default and will be ignored by the unimplemented phones. Current LibLights will simply not use the new variable. Changes includes : frameworks/base hardware/libhardware packages/Apps/Settings Change-Id: I5242d1999f351909d284b88a8f14accaeb24ba49 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* | | Merge branch 'm' of git://codeaurora.org/platform/hardware/libhardware into ↵Steve Kondik2015-10-212-0/+14
|\ \ \ | | |/ | |/| | | | cm-13.0
| * | Merge "Bluetooth: A2DP Sink add interfaces for focus request and update"Linux Build Service Account2015-10-151-0/+11
| |\ \
| | * | Bluetooth: A2DP Sink add interfaces for focus request and updateAnubhavGupta2015-10-091-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | - add interfaces for focus request and focus update Change-Id: I068aee137eeffa960ef71f92907a2bbda2c35b0b
| * | | tv_input: Add buffer count supportDomi Papoi2015-10-061-0/+3
| |/ / | | | | | | | | | | | | | | | | | | Buffer producer thread only works on one buffer at a time, we need to be able to configure number of buffers allocated for datapath. Change-Id: I6165d87e7a5e0fe1c7dc0456d05ee9ab1f67201d
* | | lights: Adding keypad alt/shift LED light IDsJason Parker2015-10-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | in conjunction with the keyboard light patch for frameworks/base: http://review.cyanogenmod.org/77945 Change-Id: Ie97a80d398d474950340cba60c48ba5904978ec5
* | | Add Nfc HAL module ID for NXP NCI PN54x chipsJizhou Liao2015-10-161-0/+1
| | | | | | | | | | | | Change-Id: I4164cbb123050ba44758eb8ac26e6c22df34b8b9
* | | gralloc: added exynos4 specific usage bitsDaniel Hillenbrand2015-10-151-0/+17
| | | | | | | | | | | | Change-Id: I9252c8a8b8b7122afc9f196aa2e0c6b3829b4b1f
* | | amplifier: add set_parameters methodScott Mertz2015-10-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | - audio hal should pass the audio_device parameters to the amplifier to allow the amplifier to make decisions based on the additional parameters. For example, we may want to change settings for DTS TrueMedia use case. Change-Id: Iccf6ef7ced2abd2e12e857eea8e580cda15eec04
* | | audio: Notify amplifier HAL of device enable/disableEthan Chen2015-10-131-0/+16
| | | | | | | | | | | | Change-Id: I34ec900c9850e8ed3edecf2b92e12801bdbd4fe5
* | | audio: Add audio amplifier HALEthan Chen2015-10-131-0/+120
| | | | | | | | | | | | Change-Id: Iad42bcc183dda7dba62a67959fb793e089c5d46e
* | | power: Add new power hintsSteve Kondik2015-10-121-1/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New hint to support CPU boosting with a duration. Change-Id: I79b5a33814f2dbeaa033c950264d430876505175 libhardware: Add audio power hint Change-Id: I5b03cc060356da23b6941c5937ef217c70dbf6dd libhardware: Add power hint to set profile * A PowerHAL can implement support for this hint to receive power profile changes from the framework. Change-Id: Ie1e9e3b827c731cf5a817a0491677e3451fe8678 libhardware: Add POWER_HINT_LAUNCH_BOOST for PowerHAL Change-Id: I9f2387ad273a376da77f9360f1e620f4cd9f861c
* | libhardware: add support for tertiary displayVinu Deokaran2015-10-061-3/+5
| | | | | | | | | | | | | | The legacy HWC header only supports Primary and External, we need to support Tertiary display for automotive project. Change-Id: I37637bf6c3ec341b9174a9f488b8bf06e0011733
* | Bluetooth: Header file changes to add new APIs for Test APKSrinu Jella2015-10-061-0/+9
| | | | | | | | | | | | | | | | New APIs added to send to test commands and recevie events from bluedroid stack Change-Id: Ibb161b09ef602a6c4e27d38a4c27a45331e1d381 CRs-Fixed: 598650
* | Bluetooth: Support for AVRCP 1.3 Controller.AnubhavGupta2015-10-061-2/+74
| | | | | | | | | | | | - new interface apis added for AVRCP 1.3 implementation Change-Id: I5438cc18b7cdf9fc8edfa578ab840ca74afd89df
* | BT:[2/3] Send VSC to SOC for VOIP connectivity network type.Sumit Bajpai2015-10-061-0/+15
| | | | | | | | | | | | | | - Add interface for passing voip network wifi type info to btif. CRs-Fixed: 821566 Change-Id: Ie790415f181184cc79cf700c2faceeb0a2981d7b
* | Bluetooth: Add support for AT+CGMI and AT+CGMMSatish Kodishala2015-10-061-0/+12
| | | | | | | | | | | | | | | | | | Added new APIs to be able to upstream the manufactrer identification and manufacturer model from BT stack to HF client state machine. CRs-fixed: 844824 Change-Id: I0bc61e429930468fba71d7edd7efe54bfe7729b3
* | Bluetooth: Enable SSR.Kiran Kelageri2015-10-061-0/+3
| | | | | | | | | | | | Enabling SSR feature. Change-Id: Ifa66c479e48aba1542997c5f68753815630b1f9e
* | audio: add parameter for device shutdown notificationPreetam Singh Ranawat2015-10-061-0/+3
| | | | | | | | | | | | - Add new define to receive device shutdown notification Change-Id: I387b40af5119fa43d2e36e3ee19cbca526e49c2a
* | Bluetooth: BT_L2CAP_stack_certificationSrinu Jella2015-10-061-0/+2
| | | | | | | | | | | | | | | | | | Stack certification changes for L2CAP. Conflicts: include/hardware/bluetooth.h Change-Id: Idc54af2b19c7e421bde044f205842d6ca30b8187
* | Bluetooth: A2dp soft hands-off supportGaurav Asati2015-10-062-40/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds A2dp soft hands-off support in HAL.Adds bd_addr parameter for callbacks from stack. Change-Id: I0eee74fb094f00218a8e7ce342284cd9f7d2e791 Bluetooth: Add callback for A2dp multicast. - Change method signature to enable/disable multicast - Add callback to update apps for A2dp multicast state Change-Id: Iaae8bab1bde3e565163002271cde89a012ee8be7 BT: Introduce Callback to update Avrcp on connection state change Introduce Callback to update Avrcp TG App on connection state change. CRs-Fixed: 843335 Change-Id: I154d26b5dc9fa7d2cd646d51c0851b87b5cca9d9 Bluetooth: Add interface to fetch active device in Handoff scenario Add interface to fetch active device in Handoff scenario. CRs-Fixed: 856063 Change-Id: I1a2d7725d7a999acd7a0f0890fc9a335afeb27b0
* | AVRCP 1.5 Implementation.Ayan Ghosh2015-10-061-2/+137
| | | | | | | | | | | | AVRCP 1.5 Implementation Change-Id: Ib3435429c58a70ba7235a20712e6d73de62a147e
* | Bluetooth-Wipower: Enable WiPower feature.Kiran Kelageri2015-10-062-0/+120
| | | | | | | | | | | | | | | | Enabling WiPower feature on lastest PL, this feature enables wireless charging capablity on the target. Change-Id: I2796fe487f73f567a1de5047bccbb9577b0f3c50