Commit graph

2352 commits

Author SHA1 Message Date
Jani Suonpera
332241f214 DO NOT MERGE ANYWHERE Add new interface for sensor physical data am: 4c690fc64e -s ours
am: 8e32a28508  -s ours

* commit '8e32a28508f063354d9991d74070b257c870409b':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data
2015-12-02 00:29:39 +00:00
Jani Suonpera
8e32a28508 DO NOT MERGE ANYWHERE Add new interface for sensor physical data
am: 4c690fc64e  -s ours

* commit '4c690fc64eba65e2a13ece82e6c81367a48a003a':
  DO NOT MERGE ANYWHERE Add new interface for sensor physical data
2015-12-02 00:25:42 +00:00
Jani Suonpera
4c690fc64e DO NOT MERGE ANYWHERE Add new interface for sensor physical data
This is spesical solution only for emerald branch.

Changes including new const char* value/interface for sensor physical data. Sensor service and manager does not take care of content, structure or other
details of string. Sensor HAL is taking care of parsing data from string and setting values to Sensor HW.

Change-Id: Iae69e04b71313fbcba46515d6787f3deef4e7346
Signed-off-by: Ben Fennema <fennema@google.com>
2015-11-30 21:22:06 -08:00
Rom Lemarchand
e43c086ee1 boot: Add a boot_control HAL
The purpose of the boot control HAL is to communicate with the
bootloader and set various flags letting the bootloader know which
partition to boot

Change-Id: I15178abaaf9ca208b1e5300c9207cedbb7950a88
2015-11-16 14:25:58 -08:00
Aravind Akella
29b0311870 am 1ce7fe6b: Merge "Fix DATA_INJECTION flag in sensors.h" into mnc-dr-dev
* commit '1ce7fe6b0a887edc6fad8e3386ab8e28a5f0d107':
  Fix DATA_INJECTION flag in sensors.h
2015-10-14 21:08:12 +00:00
Aravind Akella
1ce7fe6b0a Merge "Fix DATA_INJECTION flag in sensors.h" into mnc-dr-dev 2015-10-14 21:03:13 +00:00
Andy Hung
9a2f2ef14f am 419c27b9: Do not reset out_get_presentation_position() to 0 on standby
* commit '419c27b937b1628340985ac27f1d577e41b9a60e':
  Do not reset out_get_presentation_position() to 0 on standby
2015-10-14 01:18:31 +00:00
Andy Hung
419c27b937 Do not reset out_get_presentation_position() to 0 on standby
Bug: 21199150
Bug: 23080499
Change-Id: I749b331bfce8cfe27b16bb2fce14f23816fb48ce
2015-10-13 11:41:02 -07:00
Michael Wright
7009760593 am 147d5404: Define the data parameter for POWER_HINT_INTERACTION.
* commit '147d5404f5958133c291cc26adb5a781d7ac2ea8':
  Define the data parameter for POWER_HINT_INTERACTION.
2015-09-22 18:21:00 +00:00
Michael Wright
147d5404f5 Define the data parameter for POWER_HINT_INTERACTION.
Change-Id: I86857c1ea92082de109c612080e47c9c9835726b
2015-09-16 23:36:12 +01:00
Aravind Akella
2d6c8d7e90 Fix DATA_INJECTION flag in sensors.h
Bug: 24001171
Change-Id: Ia42934a97566f0ebe8d324e065351a3d9ed55621
2015-09-11 11:34:17 -07:00
Dan Stoza
5cdefc7b6f am 95f01799: HWC: Add a color transform attribute per display
* commit '95f017990ba70ba3ed22eac4f61c4f02cfc79045':
  HWC: Add a color transform attribute per display
2015-09-03 22:03:04 +00:00
Dan Stoza
95f017990b HWC: Add a color transform attribute per display
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
2015-08-31 13:36:06 -07:00
Glenn Kasten
aaf2d266f1 am 569737c6: Merge "Add USB out_get_presentation_position() for timestamps" into mnc-dev
* commit '569737c6b0301a1411bd02cc9eb59e9c64c8a7eb':
  Add USB out_get_presentation_position() for timestamps
2015-08-07 16:53:34 +00:00
Glenn Kasten
569737c6b0 Merge "Add USB out_get_presentation_position() for timestamps" into mnc-dev 2015-08-07 16:38:45 +00:00
Andy Hung
c9515ce60d Add USB out_get_presentation_position() for timestamps
Bug: 21196672
Change-Id: Ic509e91a9c0d3421b78371207d7e63425e895e71
2015-08-06 11:16:45 -07:00
Ajay Panicker
a7897020c3 am b3759712: Implement Bluetooth settings factory reset (4/5)
* commit 'b3759712b0ab4ae294731ee5889c2ebd131a156f':
  Implement Bluetooth settings factory reset (4/5)
2015-08-05 18:10:36 +00:00
Ajay Panicker
b3759712b0 Implement Bluetooth settings factory reset (4/5)
Implemented the factory reset function to be used to reset all bluetooth
settings on device to factory default

Bug: 16161518
Change-Id: I69358db95582ddd0f2f640f76cf0931f797d369b
2015-08-04 15:14:03 -07:00
Jim Miller
3fabfd8e4c am 929e0a19: Add better documentation to fingerprint.h
* commit '929e0a194ed989af9b9de62126a962ebf9d191cc':
  Add better documentation to fingerprint.h
2015-07-28 22:41:05 +00:00
Jim Miller
929e0a194e Add better documentation to fingerprint.h
Some vendors are confused by the use of errors vs acquired messages
This adds documentation on how they should be used.

Fixes bug 22728578

Change-Id: I5e6a8f7b159ec331a59202fa64b7320e43661429
2015-07-28 22:01:41 +00:00
Shawn Willden
afac8dd61e am 70335f3d: Correct keymaster1 documentation.
* commit '70335f3d30cf32a6f0352b75430aa6474821399d':
  Correct keymaster1 documentation.
2015-07-27 20:51:19 +00:00
Ching Tzung Lin
d4884e2f3c Merge "Fix compilation error on emerald-dev" into cw-e-dev 2015-07-23 22:57:03 +00:00
Shawn Willden
70335f3d30 Correct keymaster1 documentation.
Bug: 22291207
Change-Id: I130d2ab2110321dc2228d41a154750da3a3f0b75
2015-07-23 12:54:15 -06:00
Ching Tzung Lin
4fd217a1c6 Fix compilation error on emerald-dev
Change-Id: I324fb9b1b54e31610fe4fdce8edbb6979e666cbb
2015-07-23 10:18:06 -07:00
Alex Klyubin
f9df59a7ff Merge "Add KM_TAG_MIN_MAC_LENGTH." into mnc-dev 2015-07-22 15:24:28 +00:00
Shawn Willden
a3f0ab55a7 Add KM_TAG_MIN_MAC_LENGTH.
This allows the binding of minimum length for MACs or tags to HMAC keys
and AEAD symmetric keys.  Later attempts to use these keys with a
shorter MAC or tag specification (provided to begin() with
KM_TAG_MAC_LENGTH) will fail with KM_ERROR_INVALID_MAC_LENGTH.

Bug: 22337277
Change-Id: Ic5292ce01bdd6ecde25aad115e4b407aadc85f23
2015-07-15 10:07:59 -06:00
Eino-Ville Talvala
d95a340b9f Merge "Camera2 tests: Fix incorrect error code check" into mnc-dev 2015-07-11 00:32:27 +00:00
Eino-Ville Talvala
5ad8086ad7 Camera2 tests: Fix incorrect error code check
Bug:  22410279
Change-Id: Iad74e90d148908aafd39878608c10fe03c689b8a
2015-07-10 15:06:02 -07:00
Ruben Brunk
49f58811ea Remove out-of-date camera2 native tests.
Bug: 22410279
Change-Id: Ib4a39306115e05b8e430bdc8456ad940b3426a8e
2015-07-10 14:45:56 -07:00
Sasha Levitskiy
a36ffbe0bb Fingerprint: Add post_enroll() API, adapt struct for binary compatibility, doc change.
Change-Id: If7e5738f921b0e91e46efc813d9f3c4bd1502832
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-06-26 15:10:20 -07:00
Shawn Willden
12fff70fbd Merge "Revert "Revert "Rename keymaster tag types to clarify that integers are unsigned.""" into mnc-dev 2015-06-24 22:43:58 +00:00
Shawn Willden
fe6bcfa71d Revert "Revert "Rename keymaster tag types to clarify that integers are unsigned.""
This reverts commit 1fb6c227de.

Change-Id: Iccc8a7ff40a694b1e4420a5de4b847e62289ff42
2015-06-24 20:59:14 +00:00
Shawn Willden
f9232031b2 Merge "Revert "Rename keymaster tag types to clarify that integers are unsigned."" into mnc-dev 2015-06-24 20:53:20 +00:00
Shawn Willden
1fb6c227de Revert "Rename keymaster tag types to clarify that integers are unsigned."
This reverts commit 335920edae.

Change-Id: Ib65f744b93ad2b62d5848dcf743397124a08911b
2015-06-24 20:52:32 +00:00
Shawn Willden
6563afa40b Merge "Rename keymaster tag types to clarify that integers are unsigned." into mnc-dev 2015-06-24 20:28:38 +00:00
Shawn Willden
335920edae Rename keymaster tag types to clarify that integers are unsigned.
Bug: 22008538
Change-Id: I699a0f03aaf0f9f49a78b310763364fc2fb34c90
2015-06-24 13:26:52 -07:00
Andres Morales
f8b5a37ef9 Merge "hardware: gatekeeper: Add delete and delete_all api's" into mnc-dev 2015-06-24 18:06:19 +00:00
Aravind Akella
077d354252 Merge "Define a flag for whether a sensor supports data_injection mode or not." into mnc-dev 2015-06-23 22:24:38 +00:00
Naveen Ramaraj
76b43f9e41 hardware: gatekeeper: Add delete and delete_all api's
Add delete and delete_all api for gatekeeper.

Change-Id: I0511cb546ecba54b2a60692d6f704f24c55aa940
2015-06-23 13:18:52 -07:00
Aravind Akella
c7f54134ca Define a flag for whether a sensor supports data_injection mode or not.
Change-Id: I46373bbd2e10859b84428fe32b76679ac4292607
2015-06-22 18:26:54 -07:00
Eric Laurent
d6f50b4a46 Merge "audio HAL: reverse mutex locking order" into mnc-dev 2015-06-23 00:52:19 +00:00
Eric Laurent
703180998f audio HAL: reverse mutex locking order
Do not use main audio HAL mutex but a specific stream mutex when
preventing control thread starvation by playback or capture threads.
This will prevent systematic locking of main HAL mutex in read ot write
and avoid glitches.

Bug: 21880828.
Bug: 18489202.

Change-Id: I3054e0d93b823bd9d2fb84a49e9c5bbbe728262a
2015-06-19 17:50:00 -07:00
Shawn Willden
396d6cbce9 Add new error codes for rate-limit and max-use failures.
Bug: 21607106
Change-Id: I2e5515efe51b84200ade8c4c4cc5db3800d4b658
2015-06-18 21:20:47 -06:00
Shawn Willden
7ac0c0f5ad Update comments on now-unsed user ID and app ID tags.
I'd just remove them but Trusty keymaster has been generating keys with
KM_TAG_ALL_USERS and KM_TAG_ALL_APPLICATIONS, so removing them without
breaking those keys is tricky.  Plus I think they may come back.

Bug: 21845167
Change-Id: I3b807e3e4bee64eba72b7fa6f1ee1929c4ca9dd0
2015-06-18 12:20:32 -06:00
Shawn Willden
da89dde978 Remove KM_TAG_AEAD_TAG.
Bug: 19919114
Change-Id: I06fdd0f9b8e247587d800031d3367078423baa50
2015-06-18 12:19:03 -06:00
Eino-Ville Talvala
8e350b1a1d Merge "Camera3: Document behavior of flush() corner cases." into mnc-dev 2015-06-12 22:47:38 +00:00
Andy Hung
8ae532dc48 Merge "Update USB channel mask handling" into mnc-dev 2015-06-12 22:24:26 +00:00
Andy Hung
5e58a30b6f Update USB channel mask handling
1 and 2 channels will default to mono and stereo
n > 2 will default to channel index masks

Bug: 16245854
Change-Id: I39f9d43385a93f48e323653fbde2e38a99b6256f
2015-06-10 15:18:56 -07:00
Eino-Ville Talvala
85fdb3ff7d Camera3: Document behavior of flush() corner cases.
Document how HAL should operate when process_capture_request is
called while a flush() call is active.

Bug: 21506384
Change-Id: Ic1842add68123432e49914e83d8f7d5c13d6650d
2015-06-10 14:58:32 -07:00
Sasha Levitskiy
d4331fdae5 Fingerprint: Avoid passing structures where simple types should suffice.
Bug: 21282699

Change-Id: I02e13b7da0ad361a95b981f9745aac039151f356
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-06-10 14:10:47 -07:00