summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-08Add screen state parameterandroid-cts-4.1_r4android-cts-4.1_r2android-cts-4.1_r1jb-devGlenn Kasten
Change-Id: Iead23e0d91dac34d40e9e55f525916b73c31bcb5
2012-06-04audio HAL: add definitions for capabilities queryEric Laurent
Added definitions for querying supported channel masks, sampling rates and format with out_get_parameters(). Change-Id: Icb28fcef504c7e0a0b2daeb1bc7e704d20d3b738
2012-05-13split hwcomposer.hMathias Agopian
hwcomposer_defs.h now contains enums, which are essentially names. This won't change when we rev the h/w composer API (new ones will be added instead). we do this to avoid having to abstract all these constants in higher level APIs; instead hwcomposer_defs.h can be included without exposing the hwcomposer's data structures (which are a lot more fragile wrt. backward compatibility) Change-Id: Ifb514f64de02a599fdd2d31c188327209ccb0ffc
2012-05-03remove triggering suspend from power halColin Cross
PowerManagerService will trigger suspend after calling into the power hal, remove it from here. Change-Id: I98cc096413bd5c9e39a28b2bfc376d3d30544193
2012-05-03hardware: Power HAL: Add POWER_HINT_INTERACTIONTodd Poynor
Change-Id: I9b2c29eadc60e2bea2f01b3925ad6a8539ec2655
2012-04-30hwcomposer: clarify vsync timestamp meaningJamie Gennis
This change clarifies the meaning of the HWC vsync timestamp to specify that the timestamp must be relative to the system monotonic clock. Change-Id: I4386ce90511fd5b8f8e988917da637d84d86f026
2012-04-26add version number to power HALMathias Agopian
Change-Id: I6acf4523b5878565035ea6c85bddd58f9b20ef1b
2012-04-25hardware: libhardware: Power HAL add power hints -- DO NOT MERGETodd Poynor
Change-Id: I8ab0376e4f5d8ef09d5b1062cbfbb30c30c5bb96 Signed-off-by: Todd Poynor <toddpoynor@google.com>
2012-04-24Merge "Update USB audio HAL to use API"Mike Lockwood
2012-04-24Update USB audio HAL to use APIMike Lockwood
Also don't clear card and device when out_set_parameters is called to set other parameters. Change-Id: I4feda9f6a2e76cb45bbc8a8f8256bb1760302707 Signed-off-by: Mike Lockwood <lockwood@google.com>
2012-04-24fix typo in documentationMathias Agopian
Change-Id: I2c55034c25edd466180cd9c5718c2ad568aeedff
2012-04-18rename audio policy output flags.Eric Laurent
Change-Id: I965fa9bcba45f223f2f2cbc4adccfb5491414c8b
2012-04-17audio: updated audio HAL device APIEric Laurent
Modified open output and input stream functions to add new parameters needed by audio HAL. Also grouped parameters in a config structure for clarity. Change-Id: I60832d8e5b5e4a48f209a6d83f5ca9c044be61f1
2012-04-17Merge "Revise camera HAL 2, and add unit test skeleton."Eino-Ville Talvala
2012-04-12usbaudio: add initial usbaudio default HALSimon Wilson
Change-Id: I6e93b2512883f3697683a74cadb9a29113966bc0
2012-04-11Revise camera HAL 2, and add unit test skeleton.Eino-Ville Talvala
- Add missing method in stream_ops (set_buffers_geometry) - Remove extra method in stream_ops (set_swap_interval) - Document metadata queue protocol - Change metadata queue methods to be set/get through function calls only, instead of a struct member in the HAL device ops. - Change vendor extension tag query methods to be retrieved by a get call, instead of a struct member in the HAL device ops. - Add basic gtest unit test skeleton, which currently just returns static info from all camera devices. Change-Id: I94117097b0243023ad60638070cc7f0cefec18e6
2012-04-10improve hwc VSYNC documentationMathias Agopian
Change-Id: I5820d8fa183701ebbc0a825cf27bd0004b47d62e
2012-04-03audio policy: load audio hw modules.Eric Laurent
Added methods to audio_policy_service_ops to load an audio hw module. Added methods to open an output or input stream on a particualr module. Change-Id: Ia0618053bec9978c1b7d2a5f6c02b78209557256
2012-04-03Merge "add support for VSYNC events in h/w composer HAL"Mathias Agopian
2012-04-03Merge "audio: added definitions for audio HAL modules"Eric Laurent
2012-04-03audio: added definitions for audio HAL modulesEric Laurent
Change-Id: I16f8b42ab5de503d38086413b83e934ac9aa1f24
2012-04-03add support for VSYNC events in h/w composer HALMathias Agopian
Change-Id: Ic19a41ae522a236f45957e50c792934d987b116a
2012-04-01Update commentsGlenn Kasten
Change-Id: I123d9baeceda13608cc01eda6a19e13822258dc0
2012-03-30Merge "hardware: add some guidance on providing version defines"Dima Zavin
2012-03-27Merge "Add specific version number constants to Camera HAL."Eino-Ville Talvala
2012-03-27Add specific version number constants to Camera HAL.Eino-Ville Talvala
These constants should be used by HAL implementations to indicate which versions of the module and device APIs they support. Change-Id: I4b6eae278481545694e6a1827833b5958c26720c
2012-03-26hardware: add some guidance on providing version definesDima Zavin
Change-Id: I456cb209bc5d5eb739b6fd2e2f3e869caa363ff0 Signed-off-by: Dima Zavin <dima@android.com>
2012-03-26Merge "Fixed an incorrect path for the include header file in a comment"James Dong
2012-03-26Merge "keymaster: add flags for keymaster features"Kenny Root
2012-03-26Fixed an incorrect path for the include header file in a commentJames Dong
Change-Id: I9c6f76279b54c2de66a31f751afc9222c345eb47
2012-03-26keymaster: add flags for keymaster featuresKenny Root
The first flag is something for the default implementation to use to indicate that its keys are importable to hardware keymasters. This allows easy migration from the default software implementation to hardware implementations as they become available. Change-Id: Ideb26a4b1ac91ca8c330a4fe4df323f028b2f855
2012-03-26Merge "Add delete_all to keymaster API"Kenny Root
2012-03-26Add delete_all to keymaster APIKenny Root
In order to aid keymasters erase their memory efficiently, introduce new delete_all API to tell keymasters to forget everything. This will be triggered when keystore itself is told to reset. Change-Id: I730375f1f32cd1ea0bf1fa38d5b1bec2f81ba492
2012-03-25improve HWC versioningMathias Agopian
Change-Id: Ieb50629f23c0d2b7af12c5541a8278a0979d2ee4
2012-03-24add support for setting the background colorMathias Agopian
this is a revision of the h/w composer API. This change is binary backward compatible. Change-Id: Id4cf43447594db9049f7e2c44ea08157ca725129
2012-03-22Use frameworks/native copy of UniquePtr.hKenny Root
Change-Id: Idfe46c057699b5f019f84e588bb8a9697e48236c
2012-03-22Fix camera2.h header.Eino-Ville Talvala
Change-Id: Ibcc93279da2180743d7bbe2561f2bf10879ae08e
2012-03-22Merge "Reorganize camera HAL, and add versioning support."Eino-Ville Talvala
2012-03-21Merge remote-tracking branch 'goog/ics-aah-exp'Mike Lockwood
empty -s ours merge Change-Id: Idccc5a540d4d50ad529fe8d08a49fe55556dd9a8
2012-03-21Reorganize camera HAL, and add versioning support.Eino-Ville Talvala
Includes a draft of camera device HAL 2. Change-Id: I5f56a8c54a33d0ca039360185822a9c22436cab8
2012-03-21hardware: add hardware_device_api_version() macroDima Zavin
Change-Id: I79c4d65f6bab227364d5f271df9bd7bc565857c2 Signed-off-by: Dima Zavin <dima@android.com>
2012-03-21Merge "libhardware: add current HAL version and a module version macro"Dima Zavin
2012-03-20libhardware: add current HAL version and a module version macroDima Zavin
Change-Id: I30c67a6c5231f8b270b57f78bd6322c201b90859 Signed-off-by: Dima Zavin <dima@android.com>
2012-03-20Merge changes Ie543d3a9,I3e33e5a9Dima Zavin
* changes: hardware: provide temp version defines for source compatibility hardware: rename version_major/minor to module/hal api version
2012-03-20hardware: provide temp version defines for source compatibilityDima Zavin
This allows all the existing modules to have source level compatibility until they are fixed to use the new field names. Since the binary compatibility has not been altered, we do not need to force all the implementors to rev their version numbers. This change should be reverted when all the clients have been updated. Change-Id: Ie543d3a972d8abe03ca5123e3000966f048d1771 Signed-off-by: Dima Zavin <dima@android.com>
2012-03-20hardware: rename version_major/minor to module/hal api versionDima Zavin
The previous names and documentation were not clear as to how the version fields should be used. As a result, they were often either unused or used improperly. It became clear that there were two version fields necessary. One to version the implementing module and the other to version the hw_module_t interface itself. This change renames version_major and version_minor members of hw_module_t to module_api_version and hal_api_version. It also provides in-depth descriptions for all the fields and clarifies the purpose of the version field in hw_device_t structure. Change-Id: I3e33e5a922cdc17c5e3b1c30a00e211394f18e86 Signed-off-by: Dima Zavin <dima@android.com>
2012-03-19Add tests for keymaster APIKenny Root
This adds unit tests for implementors of the keymaster API. It can be compiled and run as a stand-alone executable. Change-Id: Id5bb8f4533b744c254b52e07df66a8d158dfda0d
2012-03-13Merge "Update keymaster API to final signing spec"Kenny Root
2012-03-13Update keymaster API to final signing specKenny Root
Switch from unspecified encoding for import of keys to PKCS#8 (Java standard encoding). Add function for obtaining the public key from a keypair. Add fields for RSA key generation that indicate modulus size and desired public exponent. Add in placeholder fields for possible digest and padding types for signatures. Currently the only thing supported is "none" and "none" respectively. Change-Id: I19ee02cf35321aee859e2460a963c7213791414b
2012-03-09am 6d2bc4fc: am 4cbd62c2: add i2c_device_address member to nfc_pn544_device_tRakesh Goyal
* commit '6d2bc4fc11ca04326eaf982f97d13d6410a73af2': add i2c_device_address member to nfc_pn544_device_t