OSDN Git Service

android-x86/hardware-interfaces.git
7 years agoAdding VMS subscription HAL definitions.
Antonio Cortes [Thu, 6 Apr 2017 16:16:31 +0000 (09:16 -0700)]
Adding VMS subscription HAL definitions.

Test: build
Bug: 36137379
Change-Id: Id10fe1660d2165a677b4ce9dc7cc8a19c4e958c0

7 years agoMerge "thermal: fix VTS test for default implementation"
TreeHugger Robot [Thu, 6 Apr 2017 18:18:19 +0000 (18:18 +0000)]
Merge "thermal: fix VTS test for default implementation"

7 years agoMerge "Correct comment on getProvisionRequest" into oc-dev am: 7ba8df9b7c
Jeff Tinker [Thu, 6 Apr 2017 17:13:07 +0000 (17:13 +0000)]
Merge "Correct comment on getProvisionRequest" into oc-dev am: 7ba8df9b7c
am: a7a10a903a

Change-Id: I7f922dbb4b86cee00315ef0beb6a3bf40685f028

7 years agoAdd Flag for Enabling 64-bit Legacy DRM Plugins am: fcde9ff3a0
John W. Bruce [Thu, 6 Apr 2017 17:12:32 +0000 (17:12 +0000)]
Add Flag for Enabling 64-bit Legacy DRM Plugins am: fcde9ff3a0
am: 2340351ad3

Change-Id: Id34a42ec9432826d2aad66419ee7a7638da2c4b5

7 years agoresolve merge conflicts of 3e942409 to master
Pavel Maltsev [Thu, 6 Apr 2017 16:06:49 +0000 (09:06 -0700)]
resolve merge conflicts of 3e942409 to master

Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ia4867c10c2b28298fc493020e2dc44e885837dcc

7 years agoMerge "Correct comment on getProvisionRequest" into oc-dev
Jeff Tinker [Thu, 6 Apr 2017 15:45:07 +0000 (15:45 +0000)]
Merge "Correct comment on getProvisionRequest" into oc-dev
am: 7ba8df9b7c

Change-Id: Ib5fc2666b258978b76710d2998d20e7a03fb9bff

7 years agoMerge "Correct comment on getProvisionRequest" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 15:37:50 +0000 (15:37 +0000)]
Merge "Correct comment on getProvisionRequest" into oc-dev

7 years agoAdd Flag for Enabling 64-bit Legacy DRM Plugins
John W. Bruce [Thu, 6 Apr 2017 10:21:19 +0000 (10:21 +0000)]
Add Flag for Enabling 64-bit Legacy DRM Plugins
am: fcde9ff3a0

Change-Id: I9dd764999131ca95b01adf33dc3ba60330100ce6

7 years agoAdd Flag for Enabling 64-bit Legacy DRM Plugins
John W. Bruce [Fri, 24 Mar 2017 05:40:17 +0000 (22:40 -0700)]
Add Flag for Enabling 64-bit Legacy DRM Plugins

We are ready for devices to begin migrating to a 64-bit Legacy DRM
Loader. However, not all devices are ready to make this jump yet. A
device needs to have all of its Legacy DRM Plugins ready to run as
64-bit before it can do this. This includes having 64-bit hardware
integrations.

So that devices can turn on 64-bit support as they get ready, I am
adding flags that can be set in a device's device.mk file. There are two
parts:

* ENABLE_MEDIADRM_64 enables building the Legacy DRM Plugin HAL as
  64-bit.

* Setting drm.64bit.enabled=true in PRODUCT_PROPERTY_OVERRIDES switches
  the Legacy DRM Plugin HAL to searching for DRM Plugins in the 64-bit
  directory.

Test: Validated that turning on these flags enables a 64-bit Legacy DRM
      Plugin HAL that loads 64-bit Legacy DRM Plugins from the lib64
      directory.
Bug: 36076017
Change-Id: I8d21fc7e7c0357eb6755839d41caa0f37ca20aff

7 years agoMerge changes from topic 'vhal-def-refactor' into oc-dev
Pavel Maltsev [Thu, 6 Apr 2017 07:05:39 +0000 (07:05 +0000)]
Merge changes from topic 'vhal-def-refactor' into oc-dev
am: ccc1d2e736

Change-Id: If3ebe7e1c54a2bc68b4ba0065ba3b62eb158b02e

7 years agoMerge changes from topic 'vhal-def-refactor' into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 06:58:57 +0000 (06:58 +0000)]
Merge changes from topic 'vhal-def-refactor' into oc-dev

* changes:
  Extract logic of storing values to separate class
  Fix an issue where Vehicle HAL would crash when trying to update a continuous property without an initial floating-point value
  Refactor default values in VHAL

7 years agoMerge "Bluetooth HAL: Add to foreground schedtune group" into oc-dev am: 163dc91b11
Joel Fernandes [Thu, 6 Apr 2017 05:43:01 +0000 (05:43 +0000)]
Merge "Bluetooth HAL: Add to foreground schedtune group" into oc-dev am: 163dc91b11
am: cedea2d856

Change-Id: Iafbea2d105a5005cabcff4e758323946b79b3498

7 years agoMerge "Bluetooth HAL: Add to foreground schedtune group" into oc-dev
Joel Fernandes [Thu, 6 Apr 2017 05:39:31 +0000 (05:39 +0000)]
Merge "Bluetooth HAL: Add to foreground schedtune group" into oc-dev
am: 163dc91b11

Change-Id: I39cf8b158eb5d18cc0b5dfc692e2224d9757ac3d

7 years agoMerge "Bluetooth HAL: Add to foreground schedtune group" into oc-dev
TreeHugger Robot [Thu, 6 Apr 2017 05:34:28 +0000 (05:34 +0000)]
Merge "Bluetooth HAL: Add to foreground schedtune group" into oc-dev

7 years agoExtract logic of storing values to separate class
Pavel Maltsev [Fri, 31 Mar 2017 20:45:54 +0000 (13:45 -0700)]
Extract logic of storing values to separate class

Also rename DefaultVehicleHal to EmulatedVehicleHal and
extract emulator related code to VehicleEmulator class

Test: mm -j32 ; verified Car Service worked

Change-Id: I34361fdec6f94629cf7ef6c35ff56ef9ce78b855

7 years agoFix an issue where Vehicle HAL would crash when trying to update a continuous propert...
Enrico Granata [Mon, 3 Apr 2017 19:59:00 +0000 (12:59 -0700)]
Fix an issue where Vehicle HAL would crash when trying to update a continuous property without an initial floating-point value

Bug: 36858992
Test: build, flash and boot

(cherry picked from commit 945d0bbc866ce21f262a1715c5a2560898c8aca1)

Merged-In: I9906abbf386cf75e838102299e3e97de3475db63
Change-Id: I19ef534fde190a3a1adaca377e8f09760c0ccf4e

7 years agoRefactor default values in VHAL
Pavel Maltsev [Wed, 29 Mar 2017 19:09:54 +0000 (12:09 -0700)]
Refactor default values in VHAL

Move default values closer to config declration to add properties
with less pain in future.

Test: mm -j32; verified if Car Service works

(cherry picked from commit 24ade1751811742948b8ce5177f57f873a4b1b96)
Merged-In: I2f18837658149eb657f44d81e34eb8e6e497a25c
Change-Id: Ie4285581fa9d871b366b0ed2f08fa8073739a0a9

7 years agoMerge "Adding availability HAL support"
Asaf Rosenfeld [Thu, 6 Apr 2017 02:55:19 +0000 (02:55 +0000)]
Merge "Adding availability HAL support"

7 years agoMerge "Added protections for RenderScript VTS tests." am: 792ec065e0 am: f251028320...
Michael Butler [Thu, 6 Apr 2017 02:02:03 +0000 (02:02 +0000)]
Merge "Added protections for RenderScript VTS tests." am: 792ec065e0 am: f251028320 am: 3db05819ae
am: 01df997a7b

Change-Id: Iccca3b658130e35e1e3d893870dbf8cc8423d4b5

7 years agoMerge "Added protections for RenderScript VTS tests." am: 792ec065e0 am: f251028320
Michael Butler [Thu, 6 Apr 2017 01:54:52 +0000 (01:54 +0000)]
Merge "Added protections for RenderScript VTS tests." am: 792ec065e0 am: f251028320
am: 3db05819ae

Change-Id: I8c709868b1a2ff5b3078b44bf740f4a1cd7899d5

7 years agoMerge "Added protections for RenderScript VTS tests." am: 792ec065e0
Michael Butler [Thu, 6 Apr 2017 01:51:47 +0000 (01:51 +0000)]
Merge "Added protections for RenderScript VTS tests." am: 792ec065e0
am: f251028320

Change-Id: I60ad212ce37b90e65ae034e5080cee8bc44e9185

7 years agoMerge "Added protections for RenderScript VTS tests."
Michael Butler [Thu, 6 Apr 2017 01:48:47 +0000 (01:48 +0000)]
Merge "Added protections for RenderScript VTS tests."
am: 792ec065e0

Change-Id: Icc2e3fca4a3f9d9368ec22303588bec0d6653532

7 years agoMerge "Added protections for RenderScript VTS tests."
Treehugger Robot [Thu, 6 Apr 2017 01:45:56 +0000 (01:45 +0000)]
Merge "Added protections for RenderScript VTS tests."

7 years agoMerge "CameraProvider: Refactor legacy name regex code" into oc-dev am: 7b63265377
Greg Hartman [Wed, 5 Apr 2017 22:35:41 +0000 (22:35 +0000)]
Merge "CameraProvider: Refactor legacy name regex code" into oc-dev am: 7b63265377
am: 183858d272

Change-Id: Iebe0ada446e90b07843e716250639029830d66e1

7 years agoMerge "[AWARE] Legacy HAL update: reduce host wakeup" am: 6ae199efa4 am: c6e4705e9d...
Etan Cohen [Wed, 5 Apr 2017 22:35:07 +0000 (22:35 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup" am: 6ae199efa4 am: c6e4705e9d am: 7f4335b30a
am: 92c0d5140c

Change-Id: I6a9de5d52a7e3af4721593bad8b285b845ad700a

7 years agoMerge "CameraProvider: Refactor legacy name regex code" into oc-dev
Greg Hartman [Wed, 5 Apr 2017 22:28:24 +0000 (22:28 +0000)]
Merge "CameraProvider: Refactor legacy name regex code" into oc-dev
am: 7b63265377

Change-Id: Ie8ec0292375064385b3786d79625cb3583e88531

7 years agoMerge "[AWARE] Legacy HAL update: reduce host wakeup" am: 6ae199efa4 am: c6e4705e9d
Etan Cohen [Wed, 5 Apr 2017 22:22:35 +0000 (22:22 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup" am: 6ae199efa4 am: c6e4705e9d
am: 7f4335b30a

Change-Id: I90570e1f80662d0557eb1f30623e609c5bed8716

7 years agoMerge "CameraProvider: Refactor legacy name regex code" into oc-dev
Greg Hartman [Wed, 5 Apr 2017 22:20:21 +0000 (22:20 +0000)]
Merge "CameraProvider: Refactor legacy name regex code" into oc-dev

7 years agoMerge "[AWARE] Legacy HAL update: reduce host wakeup" am: 6ae199efa4
Etan Cohen [Wed, 5 Apr 2017 22:19:33 +0000 (22:19 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup" am: 6ae199efa4
am: c6e4705e9d

Change-Id: Id7c2cf6440b21f14d4fd766cc82edc8a92a76e99

7 years agoMerge "[AWARE] Legacy HAL update: reduce host wakeup"
Etan Cohen [Wed, 5 Apr 2017 22:17:03 +0000 (22:17 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup"
am: 6ae199efa4

Change-Id: I5a868d9c738e4c826bfeb5d6bc9e5c329bcb932e

7 years agoCorrect comment on getProvisionRequest
Jeff Tinker [Wed, 29 Mar 2017 21:59:32 +0000 (14:59 -0700)]
Correct comment on getProvisionRequest

There is no session ID in the parameter list.

Test: Compiles, it's a comment change

bug: 36735099
Change-Id: I0eccfcb3aa312a694b391c0b5a76e3b8425a7d36

7 years agoMerge "[AWARE] Legacy HAL update: reduce host wakeup"
Etan Cohen [Wed, 5 Apr 2017 22:09:35 +0000 (22:09 +0000)]
Merge "[AWARE] Legacy HAL update: reduce host wakeup"

7 years agoMerge "USB: HIDL: check the status of registerAsService" into oc-dev am: 33fd31e967
Badhri Jagan Sridharan [Wed, 5 Apr 2017 21:25:01 +0000 (21:25 +0000)]
Merge "USB: HIDL: check the status of registerAsService" into oc-dev am: 33fd31e967
am: 658f011cad

Change-Id: I57fdfbf4ff9197f8603c6b993d14fd17320f7c4e

7 years agoMerge "USB: HIDL: check the status of registerAsService" into oc-dev
Badhri Jagan Sridharan [Wed, 5 Apr 2017 21:19:28 +0000 (21:19 +0000)]
Merge "USB: HIDL: check the status of registerAsService" into oc-dev
am: 33fd31e967

Change-Id: I687a2bcfb8d401fcc936ebfeda9bfab56dfee83a

7 years agoMerge "USB: HIDL: check the status of registerAsService" into oc-dev
Badhri Jagan Sridharan [Wed, 5 Apr 2017 21:16:05 +0000 (21:16 +0000)]
Merge "USB: HIDL: check the status of registerAsService" into oc-dev

7 years agoAdding availability HAL support
Asaf Rosenfeld [Mon, 27 Mar 2017 22:48:46 +0000 (15:48 -0700)]
Adding availability HAL support

Test: as part of a seperate CL that uses this enum

Change-Id: Ibd9664547c2281b61e4b74c4cd30ffef457865a8

7 years agoMerge "wifi(implementation): Print out the cb object on failure" into oc-dev am:...
Roshan Pius [Wed, 5 Apr 2017 20:07:51 +0000 (20:07 +0000)]
Merge "wifi(implementation): Print out the cb object on failure" into oc-dev am: 75e2bf0469
am: ef8521d6a0

Change-Id: Iba99894164a6b5ff4c8d7a6813e20b280b85e835

7 years agoMerge "wifi(implementation): Print out the cb object on failure" into oc-dev
Roshan Pius [Wed, 5 Apr 2017 20:01:51 +0000 (20:01 +0000)]
Merge "wifi(implementation): Print out the cb object on failure" into oc-dev
am: 75e2bf0469

Change-Id: I7babaf3520fb9719c38a86f58fda86675cd52475

7 years agoMerge "wifi(implementation): Print out the cb object on failure" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 19:54:13 +0000 (19:54 +0000)]
Merge "wifi(implementation): Print out the cb object on failure" into oc-dev

7 years agoMerge "Fix DRM prebuilt vendor module handling" into oc-dev am: fdfb81ebb6
Jeff Tinker [Wed, 5 Apr 2017 18:50:16 +0000 (18:50 +0000)]
Merge "Fix DRM prebuilt vendor module handling" into oc-dev am: fdfb81ebb6
am: 76914e525d

Change-Id: Ie424edb41d1f9deeb1c915fec8b680c421aed2c2

7 years agoMerge "Fix DRM prebuilt vendor module handling" into oc-dev
Jeff Tinker [Wed, 5 Apr 2017 18:42:16 +0000 (18:42 +0000)]
Merge "Fix DRM prebuilt vendor module handling" into oc-dev
am: fdfb81ebb6

Change-Id: Ib8cb9c7cca60817256c425ff4c89d60a9109ccb5

7 years agoMerge "Fix DRM prebuilt vendor module handling" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 18:31:01 +0000 (18:31 +0000)]
Merge "Fix DRM prebuilt vendor module handling" into oc-dev

7 years agowifi(implementation): Print out the cb object on failure
Roshan Pius [Fri, 31 Mar 2017 01:01:54 +0000 (18:01 -0700)]
wifi(implementation): Print out the cb object on failure

This should help us figure out if there are multiple callback objects in
wifi_chip when we see the IPC storm from
onDebugRingBufferDataAvailable().

Bug: 36599054
Test:  ACTS wifi tests.
Change-Id: I8c67032c59ecdd45824e131b59d890ce6c94fe25

7 years agowifi(implementation): Ignore IE parsing error am: 4094107835
Roshan Pius [Wed, 5 Apr 2017 17:52:16 +0000 (17:52 +0000)]
wifi(implementation): Ignore IE parsing error am: 4094107835
am: 14965f9566

Change-Id: Ib12736be647fe38390a09e9e1c11f27d77d24eaa

7 years agowifi(implementation): Return const-ref for callback set am: cab37be578
Roshan Pius [Wed, 5 Apr 2017 17:52:04 +0000 (17:52 +0000)]
wifi(implementation): Return const-ref for callback set am: cab37be578
am: 397f0eabd3

Change-Id: I86b1e265a9604faf110d439b4c5e666ca157349f

7 years agowifi(implementation): Ignore IE parsing error
Roshan Pius [Wed, 5 Apr 2017 17:49:20 +0000 (17:49 +0000)]
wifi(implementation): Ignore IE parsing error
am: 4094107835

Change-Id: I723ff4fc7e2352e31adb3fc11079f0b88832fd40

7 years agowifi(implementation): Return const-ref for callback set
Roshan Pius [Wed, 5 Apr 2017 17:49:11 +0000 (17:49 +0000)]
wifi(implementation): Return const-ref for callback set
am: cab37be578

Change-Id: Iea0ad9868ed0c4347e8614c7bc858c56938fafb7

7 years agowifi(implementation): Ignore IE parsing error
Roshan Pius [Mon, 3 Apr 2017 17:09:43 +0000 (10:09 -0700)]
wifi(implementation): Ignore IE parsing error

The IE blob may not always be fully formed in gscan full scan results.
So, log errors when we hit a parsing error and return the IE elements we
could parse so far.

Bug: 36455164
Test: ACTS wifi gscan tests.
Change-Id: I804937ea5e69f51696aaabf3fe3f53850c145ad3

7 years agowifi(implementation): Return const-ref for callback set
Roshan Pius [Fri, 31 Mar 2017 01:04:04 +0000 (18:04 -0700)]
wifi(implementation): Return const-ref for callback set

Bug: 36792787
Test: Compiles
Change-Id: Ibd19c6f41801d0fa1ea7dc9c3334213865d649ec

7 years agoCameraProvider: Refactor legacy name regex code
Andreas Gampe [Wed, 5 Apr 2017 03:02:25 +0000 (20:02 -0700)]
CameraProvider: Refactor legacy name regex code

The match will use iterators that will be invalidated when the
used string input goes out of scope. Refactor the API to return
the two components of the match.

Bug: 36871785
Test: m && m SANITIZE_TARGET=address
Change-Id: I2418541234a09e53856ea61e0fbc4b67d8036308

7 years agoBluetooth HAL: Add to foreground schedtune group
Joel Fernandes [Tue, 4 Apr 2017 02:19:30 +0000 (19:19 -0700)]
Bluetooth HAL: Add to foreground schedtune group

EAS (Energy-Aware Scheduler) tends to cluster tasks together unless
they're marked to prefer an idle CPU (prefer-idle) during placement.
This is to save energy however it increases latencies. This is
noticeable when the Binder driver demotes the RT task to CFS and when
we try to do load balance in this path, the selection path still selects
a busy CPU. Add Bluetooth HAL service to the foreground schedtune group
to fix this as its critical for tasks like bluetooth audio playback.

Test: Boot and verify bluetooth HAL is in the foreground stune group
Bug: 36867985

Change-Id: Ib3c43cca4a2049af3700978b58a05989cc20b6ac
Signed-off-by: Joel Fernandes <joelaf@google.com>
(cherry picked from commit 1b8f6f7c771a7ff04790833674705972009a3c7d)

7 years agoMerge "Move sensor hal service to class 'hal' from main."
Ashutosh Joshi [Wed, 5 Apr 2017 16:39:04 +0000 (16:39 +0000)]
Merge "Move sensor hal service to class 'hal' from main."

7 years agoBluetooth HAL: Add to foreground schedtune group am: 1b8f6f7c77 am: 887448f949 am...
Joel Fernandes [Wed, 5 Apr 2017 16:09:41 +0000 (16:09 +0000)]
Bluetooth HAL: Add to foreground schedtune group am: 1b8f6f7c77 am: 887448f949 am: 93aa1c0f94
am: d1914162c4

Change-Id: I5054398717c0fef1104daccdfa46dbb4ffd81218

7 years agoBluetooth HAL: Add to foreground schedtune group am: 1b8f6f7c77 am: 887448f949
Joel Fernandes [Wed, 5 Apr 2017 16:04:38 +0000 (16:04 +0000)]
Bluetooth HAL: Add to foreground schedtune group am: 1b8f6f7c77 am: 887448f949
am: 93aa1c0f94

Change-Id: I84f46cedb3ac0c480f6c542dcbf8a705355559b8

7 years agoBluetooth HAL: Add to foreground schedtune group am: 1b8f6f7c77
Joel Fernandes [Wed, 5 Apr 2017 16:02:06 +0000 (16:02 +0000)]
Bluetooth HAL: Add to foreground schedtune group am: 1b8f6f7c77
am: 887448f949

Change-Id: I5d8af23d7fae64e9ebb385e3f2fceb37ac6adc3c

7 years agoBluetooth HAL: Add to foreground schedtune group
Joel Fernandes [Wed, 5 Apr 2017 15:59:05 +0000 (15:59 +0000)]
Bluetooth HAL: Add to foreground schedtune group
am: 1b8f6f7c77

Change-Id: I04b1ba8e8d6151b4421d63171ab12cb46e71c793

7 years agothermal: fix VTS test for default implementation
Polina Bondarenko [Wed, 5 Apr 2017 14:51:23 +0000 (16:51 +0200)]
thermal: fix VTS test for default implementation

Bug: 36097196
Test: vts
Change-Id: I67cceb672a9ba67ae760019c0521d31544416882

7 years agoMove sensor hal service to class 'hal' from main.
Ashutosh Joshi [Wed, 5 Apr 2017 10:31:49 +0000 (03:31 -0700)]
Move sensor hal service to class 'hal' from main.

Moving sensor hal service to hal class.

Bug: 36576271
Test: Ensure that sensors still stream.
Change-Id: I1ab984063c48401ee535b9be4df75d554d91578f

7 years agoremoved log print statements for configstore from SurfaceFlingerConfigs.cpp am: 0481c...
Jaesoo Lee [Wed, 5 Apr 2017 08:48:55 +0000 (08:48 +0000)]
removed log print statements for configstore from SurfaceFlingerConfigs.cpp am: 0481c3f717
am: eb09da742b

Change-Id: I583ca14ce2c7e43b0e859b5fe9bcb092a0de65f5

7 years agoprint log message for values retrieved from configstore am: 0dc72ecbb7
Jaesoo Lee [Wed, 5 Apr 2017 08:48:52 +0000 (08:48 +0000)]
print log message for values retrieved from configstore am: 0dc72ecbb7
am: df7924635a

Change-Id: I89acd6b9e096ee9db4674a52d27dbf71bec01e20

7 years agoremoved log print statements for configstore from SurfaceFlingerConfigs.cpp
Jaesoo Lee [Wed, 5 Apr 2017 08:46:22 +0000 (08:46 +0000)]
removed log print statements for configstore from SurfaceFlingerConfigs.cpp
am: 0481c3f717

Change-Id: I9cf1135fb289a4d8a0b3b23f48782934962f7a28

7 years agoprint log message for values retrieved from configstore
Jaesoo Lee [Wed, 5 Apr 2017 08:46:21 +0000 (08:46 +0000)]
print log message for values retrieved from configstore
am: 0dc72ecbb7

Change-Id: I426cae83b86fa45efbb55ecaa014e8be900a5dea

7 years agoFix DRM prebuilt vendor module handling
Jeff Tinker [Fri, 31 Mar 2017 23:34:17 +0000 (16:34 -0700)]
Fix DRM prebuilt vendor module handling

bug:36817233
Change-Id: I93659a9901198d05fd43bf95804067a244533808

7 years agoremoved log print statements for configstore from SurfaceFlingerConfigs.cpp
Jaesoo Lee [Fri, 24 Mar 2017 05:08:24 +0000 (14:08 +0900)]
removed log print statements for configstore from SurfaceFlingerConfigs.cpp

Log messages for the retrieved values from configstore will be
automatically printed at the client side (by configstore-utils).

Bug: 36275627
Test: Built and check the log messages
Change-Id: Id5033a74ef58778e93e39be6ac5b9e10ee28c5cf

7 years agoprint log message for values retrieved from configstore
Jaesoo Lee [Fri, 24 Mar 2017 05:08:24 +0000 (14:08 +0900)]
print log message for values retrieved from configstore

This CL adds a code for printing log messages in clients-side utility
library functions (getXXX) for configstore so that the developer can
figure out which configuration values are actually retrieved from the configstore.

Bug: 36275627
Test: Built and check the log message appears

Change-Id: I2c0895f8afbbb2947b62164acaf62a491c451dc0

7 years agoMerge "Add DeleteKey and DeleteAllKeys test to Keymaster VTS tests" into oc-dev am...
Janis Danisevskis [Wed, 5 Apr 2017 01:23:09 +0000 (01:23 +0000)]
Merge "Add DeleteKey and DeleteAllKeys test to Keymaster VTS tests" into oc-dev am: 0dff6286eb
am: bd529ccdea

Change-Id: I0f3cf9c76e3227cbcc03706eeccea1520eb3b956

7 years agoMerge "Add DeleteKey and DeleteAllKeys test to Keymaster VTS tests" into oc-dev
Janis Danisevskis [Wed, 5 Apr 2017 01:20:40 +0000 (01:20 +0000)]
Merge "Add DeleteKey and DeleteAllKeys test to Keymaster VTS tests" into oc-dev
am: 0dff6286eb

Change-Id: I00514c09d2fe5b6de27b3c0597641acb831c9930

7 years agoMerge "Add DeleteKey and DeleteAllKeys test to Keymaster VTS tests" into oc-dev
TreeHugger Robot [Wed, 5 Apr 2017 01:18:49 +0000 (01:18 +0000)]
Merge "Add DeleteKey and DeleteAllKeys test to Keymaster VTS tests" into oc-dev

7 years agoBluetooth HAL: Add to foreground schedtune group
Joel Fernandes [Tue, 4 Apr 2017 02:19:30 +0000 (19:19 -0700)]
Bluetooth HAL: Add to foreground schedtune group

EAS (Energy-Aware Scheduler) tends to cluster tasks together unless
they're marked to prefer an idle CPU (prefer-idle) during placement.
This is to save energy however it increases latencies. This is
noticeable when the Binder driver demotes the RT task to CFS and when
we try to do load balance in this path, the selection path still selects
a busy CPU. Add Bluetooth HAL service to the foreground schedtune group
to fix this as its critical for tasks like bluetooth audio playback.

Test: Boot and verify bluetooth HAL is in the foreground stune group
Bug: 36867985

Change-Id: Ib3c43cca4a2049af3700978b58a05989cc20b6ac
Signed-off-by: Joel Fernandes <joelaf@google.com>
7 years agoMerge changes from topic 'WIFI_OFFLOAD_HAL_MASTER'
TreeHugger Robot [Tue, 4 Apr 2017 23:10:34 +0000 (23:10 +0000)]
Merge changes from topic 'WIFI_OFFLOAD_HAL_MASTER'

* changes:
  VTS for Wifi Offload HAL
  Offload HAL update makefiles
  Define Wifi Offload HAL HIDL interface

7 years agoMerge "Revert "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages...
Yin-Chia Yeh [Tue, 4 Apr 2017 22:31:04 +0000 (22:31 +0000)]
Merge "Revert "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages"" into oc-dev am: ae880e4922
am: d7b26c6d1c

Change-Id: I18ad1beefa4ed45992b6ec456f1982164cb9c953

7 years agoMerge "Revert "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages...
Yin-Chia Yeh [Tue, 4 Apr 2017 22:27:54 +0000 (22:27 +0000)]
Merge "Revert "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages"" into oc-dev
am: ae880e4922

Change-Id: Ic82a3c73e6de95c5f4dfc53a0cb530e499e2a377

7 years agoMerge "Revert "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages...
Yin-Chia Yeh [Tue, 4 Apr 2017 22:22:02 +0000 (22:22 +0000)]
Merge "Revert "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages"" into oc-dev

7 years ago[AWARE] Legacy HAL update: reduce host wakeup
Etan Cohen [Tue, 4 Apr 2017 20:00:14 +0000 (13:00 -0700)]
[AWARE] Legacy HAL update: reduce host wakeup

Legacy HAL update to add indications when a solicited publisher
receives a match. Not used in current HAL. However, also added a
control bit to turn off host notification which is now enabled.

Bug: 35195773
Test: integration (sl4a) tests
Change-Id: I8ff378abaae11d4feaa42a9901abb1b48069dc4f

7 years agoVTS for Wifi Offload HAL
Sohani Rao [Tue, 14 Mar 2017 01:34:41 +0000 (18:34 -0700)]
VTS for Wifi Offload HAL

Basic VTS test suite for Wifi Offload HAL
Cherry pick from 00dd5147c4f9a4cdff941b2eed12e1d5844bef86
Bug: 32842314
Bug: 36865676
Change-Id: I702b9d90164f21104a915003b9496fbf4dd969c0
Test: adb shell /data/VtsHalWifiOffloadV1_0TargetTest

7 years agoOffload HAL update makefiles
Sohani Rao [Tue, 4 Apr 2017 20:01:15 +0000 (13:01 -0700)]
Offload HAL update makefiles

Update make files to build Offload HAL binary

Bug: 32842314
Test: Unit tests, check if Wifi Offload HAL service is running
Change-Id: I5da649247fc234fc2555453cf1eac83a14ae496e

7 years agoDefine Wifi Offload HAL HIDL interface
Sohani Rao [Fri, 17 Feb 2017 01:34:28 +0000 (17:34 -0800)]
Define Wifi Offload HAL HIDL interface

This interface defines the interaction of the Wifi framework with the
new HAL module that will offload disconnected PNO scans when screen is
off. For details of the overall design, refer to this document:
https://docs.google.com/a/google.com/document/d/13OmqquTnRXTRnyWbtfpc1Ib7YY411EwjNW3njzJ5KyM/edit?usp=sharing
Cherry pick from 7ac4a32e6eca71fcf1a86991654af747d38928ad
Bug: 32842314
Change-Id: I01e1952458d58b9233f18fc0450491fc7c48e6e1
Test: Unit tests, Mannual Wifi turn on

7 years agoUSB: HIDL: check the status of registerAsService
Badhri Jagan Sridharan [Wed, 29 Mar 2017 17:51:17 +0000 (10:51 -0700)]
USB: HIDL: check the status of registerAsService

registerAsService call could fail. Hence check the return value.

Bug: 36704362
Test: Manually checked to see if usb hal service is running.
Change-Id: I46dcd74dbee6aba72cf344f10854e5d4b1b6de18

7 years agoRevert "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages"
Yin-Chia Yeh [Tue, 4 Apr 2017 20:00:35 +0000 (13:00 -0700)]
Revert "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages"

This reverts commit 2d80c0d66f9ca869d6102f07bd236b7c4c94c205.

Test: fix b/36876770
Bug: b/36876770
Change-Id: Ia251ec97273d71fd5bc759aa1161960f6266358a

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums" into oc-dev...
Etan Cohen [Tue, 4 Apr 2017 20:12:24 +0000 (20:12 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums" into oc-dev am: 90b4baef52
am: b8ea23c7a1

Change-Id: Id4ca7e0c72b518f65c5e7a341a78eee5d262b89b

7 years agoMerge "Camera: HAL1: remove libbinder usage" into oc-dev am: 73bae67b5d
Yin-Chia Yeh [Tue, 4 Apr 2017 20:12:12 +0000 (20:12 +0000)]
Merge "Camera: HAL1: remove libbinder usage" into oc-dev am: 73bae67b5d
am: cb95ee248b

Change-Id: I09a4cd697dd7a738776a3d6927167e276356ea2a

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums" into oc-dev
Etan Cohen [Tue, 4 Apr 2017 19:50:27 +0000 (19:50 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums" into oc-dev
am: 90b4baef52

Change-Id: If3c80873ef9da35e57254d1411ad127cac833a04

7 years agoMerge "Camera: HAL1: remove libbinder usage" into oc-dev
Yin-Chia Yeh [Tue, 4 Apr 2017 19:48:02 +0000 (19:48 +0000)]
Merge "Camera: HAL1: remove libbinder usage" into oc-dev
am: 73bae67b5d

Change-Id: Id64c09796add93d4cd9a3504051256c898e3f3e8

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums" into oc-dev
Etan Cohen [Tue, 4 Apr 2017 19:42:00 +0000 (19:42 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums" into oc-dev

7 years agoMerge "Camera: HAL1: remove libbinder usage" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 19:24:26 +0000 (19:24 +0000)]
Merge "Camera: HAL1: remove libbinder usage" into oc-dev

7 years agoMerge "Enable the clang-format pre-submit hook" into oc-dev am: d839f23a65
Steven Moreland [Tue, 4 Apr 2017 18:13:03 +0000 (18:13 +0000)]
Merge "Enable the clang-format pre-submit hook" into oc-dev am: d839f23a65
am: b9dcfa5fec

Change-Id: I1661087cc4352faf4af09dc5cfe26a27704f2d33

7 years agoMerge "Clarifying broadcast vs. predicted orbits" into oc-dev am: ad217fe92e
Wyatt Riley [Tue, 4 Apr 2017 18:12:52 +0000 (18:12 +0000)]
Merge "Clarifying broadcast vs. predicted orbits" into oc-dev am: ad217fe92e
am: dcee55d013

Change-Id: I5a99a516af64aec093749f11cf6d1586431eeed3

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums" am: 24ff2036ce...
Etan Cohen [Tue, 4 Apr 2017 18:12:41 +0000 (18:12 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums" am: 24ff2036ce am: 945fbf8434 am: e78000cffa
am: ee1394f642

Change-Id: Ib12f75ca258d9f0f5ac35acfe0bd4e7f992728d1

7 years agoMerge "Enable the clang-format pre-submit hook" into oc-dev
Steven Moreland [Tue, 4 Apr 2017 18:04:35 +0000 (18:04 +0000)]
Merge "Enable the clang-format pre-submit hook" into oc-dev
am: d839f23a65

Change-Id: Idbe3fb4a80862534bf64f98dbb2a6e2d052a0323

7 years agoMerge "Clarifying broadcast vs. predicted orbits" into oc-dev
Wyatt Riley [Tue, 4 Apr 2017 18:04:24 +0000 (18:04 +0000)]
Merge "Clarifying broadcast vs. predicted orbits" into oc-dev
am: ad217fe92e

Change-Id: Iabcb31595f2248af8f2facf8f5d170c16fe2319f

7 years agoMerge "Enable the clang-format pre-submit hook" into oc-dev
Steven Moreland [Tue, 4 Apr 2017 17:58:00 +0000 (17:58 +0000)]
Merge "Enable the clang-format pre-submit hook" into oc-dev

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums" am: 24ff2036ce...
Etan Cohen [Tue, 4 Apr 2017 17:57:22 +0000 (17:57 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums" am: 24ff2036ce am: 945fbf8434
am: e78000cffa

Change-Id: I17e82ff6f2951a2709a63cdfd3f62d23b9f24d13

7 years agoMerge "Clarifying broadcast vs. predicted orbits" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 17:55:53 +0000 (17:55 +0000)]
Merge "Clarifying broadcast vs. predicted orbits" into oc-dev

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums" am: 24ff2036ce
Etan Cohen [Tue, 4 Apr 2017 17:52:23 +0000 (17:52 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums" am: 24ff2036ce
am: 945fbf8434

Change-Id: Iedc43ae7d9292131c814752458a2ec6728bb85df

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums"
Etan Cohen [Tue, 4 Apr 2017 17:48:53 +0000 (17:48 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums"
am: 24ff2036ce

Change-Id: I00c0d5dce8a57ce76656c8521d93a974308b7c94

7 years agoMerge "[AWARE] Create true translations between legacy and hidl enums"
Etan Cohen [Tue, 4 Apr 2017 17:40:24 +0000 (17:40 +0000)]
Merge "[AWARE] Create true translations between legacy and hidl enums"

7 years ago[AWARE] Create true translations between legacy and hidl enums
Etan Cohen [Mon, 3 Apr 2017 23:10:54 +0000 (16:10 -0700)]
[AWARE] Create true translations between legacy and hidl enums

Replace implicits translations between legacy and hidl enums (using
casts) with explicit translations.

(cherry-pick of commit 284511779ca6c425a4f701ca8098484d954e13c4)

Bug: 35767620
Test: integration (sl4a) tests
Merged-In: I4ae4cd691226ce29bc0e92f9890fbb343a064505
Change-Id: I4ae4cd691226ce29bc0e92f9890fbb343a064505

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized" into oc-dev am: da0bc8...
Ruchi Kandoi [Tue, 4 Apr 2017 03:24:33 +0000 (03:24 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized" into oc-dev am: da0bc84ec6  -s ours
am: 9d20bf4439  -s ours

Change-Id: If44368edcca3b80d8d7c63d4a8ebb39550749c82

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized" into oc-dev
Ruchi Kandoi [Tue, 4 Apr 2017 03:15:32 +0000 (03:15 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized" into oc-dev
am: da0bc84ec6  -s ours

Change-Id: I88c137c5e27fbca15c3acbd7d22936049d6316b8

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 03:06:50 +0000 (03:06 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized" into oc-dev