OSDN Git Service

android-x86/hardware-interfaces.git
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 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 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
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
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

7 years agoMerge "Remove dependency to libbinder in VHAL" into oc-dev
Pavel Maltsev [Tue, 4 Apr 2017 01:08:38 +0000 (01:08 +0000)]
Merge "Remove dependency to libbinder in VHAL" into oc-dev
am: cff4cf89d8

Change-Id: I202512313e4843ae83aff0b894471b89a92a5e07

7 years agoMerge "Test for getHashChain() in IBase." into oc-dev
Yifan Hong [Tue, 4 Apr 2017 01:07:54 +0000 (01:07 +0000)]
Merge "Test for getHashChain() in IBase." into oc-dev
am: b04aa8907a

Change-Id: I6f552d8967dbb5f1d4f46722823549f6cebd63a1

7 years agoMerge "Remove dependency to libbinder in VHAL" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 01:03:53 +0000 (01:03 +0000)]
Merge "Remove dependency to libbinder in VHAL" into oc-dev

7 years agoMerge "Test for getHashChain() in IBase." into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 01:00:38 +0000 (01:00 +0000)]
Merge "Test for getHashChain() in IBase." into oc-dev

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized" am: 4133401913 am...
Ruchi Kandoi [Tue, 4 Apr 2017 00:49:45 +0000 (00:49 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized" am: 4133401913 am: f372f6ec51
am: 82f1f2f446

Change-Id: I0a14f998b67e67d088f1fe0ae2329f1052e054af

7 years agonfc: vts: Correct parameters going for CoreInitialized
Ruchi Kandoi [Fri, 31 Mar 2017 23:32:15 +0000 (16:32 -0700)]
nfc: vts: Correct parameters going for CoreInitialized

Core Initialized with parameters 1-3 leads the device into recovery
mode. Which causes the test to fail.

Bug: 36751759
Change-Id: If2b91237a445ce050b7da6be5f97dd8eea30046e
Merged-In: I1375546cc66c147f26c315a042ca0afb49f0ce06
Test: Test passes

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized" am: 4133401913
Ruchi Kandoi [Tue, 4 Apr 2017 00:45:52 +0000 (00:45 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized" am: 4133401913
am: f372f6ec51

Change-Id: I1a498608ca41e70ac1b3bd319dde1fbdaa1f368c

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized"
Ruchi Kandoi [Tue, 4 Apr 2017 00:41:51 +0000 (00:41 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized"
am: 4133401913

Change-Id: Ie205284f3adcfd7f662c1d26dea1a01eb48a12e8

7 years agoMerge "nfc: vts: Correct parameters going for CoreInitialized"
Treehugger Robot [Tue, 4 Apr 2017 00:36:14 +0000 (00:36 +0000)]
Merge "nfc: vts: Correct parameters going for CoreInitialized"

7 years agoMerge "Camera: add interface to evict obsolete buffer caches" into oc-dev
Yin-Chia Yeh [Tue, 4 Apr 2017 00:34:44 +0000 (00:34 +0000)]
Merge "Camera: add interface to evict obsolete buffer caches" into oc-dev
am: 2fc995846c

Change-Id: I4d840437c0fbbe478f5176a50c8702aa0a7639a0

7 years agoMerge "Camera: add interface to evict obsolete buffer caches" into oc-dev
TreeHugger Robot [Tue, 4 Apr 2017 00:31:00 +0000 (00:31 +0000)]
Merge "Camera: add interface to evict obsolete buffer caches" into oc-dev

7 years agoMerge "add components necessary for bootanim to animation class" into oc-dev
Keun-young Park [Mon, 3 Apr 2017 23:59:46 +0000 (23:59 +0000)]
Merge "add components necessary for bootanim to animation class" into oc-dev
am: 2b4e97be4d

Change-Id: I152dfd6c903857c3bfcc8262ad898cb10a093f58

7 years agoMerge "add components necessary for bootanim to animation class" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 23:51:34 +0000 (23:51 +0000)]
Merge "add components necessary for bootanim to animation class" into oc-dev

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.

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

7 years agoRemove dependency to libbinder in VHAL
Pavel Maltsev [Tue, 28 Mar 2017 20:47:31 +0000 (13:47 -0700)]
Remove dependency to libbinder in VHAL

Also, removed per property ACL as it was based on client UID

Test: mm -j ; verified Car Service works

Bug: b/36649684
Change-Id: I7625a013dda8e3ebce5b86a253a8c1befe267c11
(cherry picked from commit 72aebeb3ec070b6c334fab68b2c46f94868d014a)

7 years agonfc: vts: Correct parameters going for CoreInitialized
Ruchi Kandoi [Fri, 31 Mar 2017 23:32:15 +0000 (16:32 -0700)]
nfc: vts: Correct parameters going for CoreInitialized

Core Initialized with parameters 1-3 leads the device into recovery
mode. Which causes the test to fail.

Bug: 36751759
Test: Test passes
Change-Id: I1375546cc66c147f26c315a042ca0afb49f0ce06

7 years agoMerge "Test for getHashChain() in IBase." am: c8c7ab74a1 am: 2699ac5b94
Yifan Hong [Mon, 3 Apr 2017 22:19:50 +0000 (22:19 +0000)]
Merge "Test for getHashChain() in IBase." am: c8c7ab74a1 am: 2699ac5b94
am: 679dab8b8d

Change-Id: I0265655d9b997af47ab7b3877d712516908733ef

7 years agoMerge "Test for getHashChain() in IBase." am: c8c7ab74a1
Yifan Hong [Mon, 3 Apr 2017 22:15:44 +0000 (22:15 +0000)]
Merge "Test for getHashChain() in IBase." am: c8c7ab74a1
am: 2699ac5b94

Change-Id: I11a8c5a68426d87e59cb1b7d0e72ce352d9f9cff

7 years agoMerge "Test for getHashChain() in IBase."
Yifan Hong [Mon, 3 Apr 2017 22:12:13 +0000 (22:12 +0000)]
Merge "Test for getHashChain() in IBase."
am: c8c7ab74a1

Change-Id: I6519da67d36565da408240d2f59a547330971c06

7 years agoMerge "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages" into...
Eino-Ville Talvala [Mon, 3 Apr 2017 22:07:36 +0000 (22:07 +0000)]
Merge "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages" into oc-dev
am: 4cea813a35

Change-Id: Ifdb5bd9d03afe41041f9fd1593ecc1b1748a956b

7 years agoMerge "Test for getHashChain() in IBase."
Yifan Hong [Mon, 3 Apr 2017 22:05:24 +0000 (22:05 +0000)]
Merge "Test for getHashChain() in IBase."

7 years agoMerge "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages" into...
Eino-Ville Talvala [Mon, 3 Apr 2017 22:03:13 +0000 (22:03 +0000)]
Merge "camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages" into oc-dev

7 years agoCamera: add interface to evict obsolete buffer caches
Yin-Chia Yeh [Thu, 30 Mar 2017 22:06:20 +0000 (15:06 -0700)]
Camera: add interface to evict obsolete buffer caches

Test: fix CTS ReprocessCaptureTest
Bug: 34461678
Change-Id: Icde654b0c8423c31d7d39d180913ffa374e7de3c

7 years agoTest for getHashChain() in IBase.
Yifan Hong [Wed, 29 Mar 2017 22:46:12 +0000 (15:46 -0700)]
Test for getHashChain() in IBase.

Each interface has a getHashChain() method that
returns the hash of all .hal files from the rtti
of the interface up to IBase.

Test: hidl_test

Bug: 36602587
Change-Id: I53a79ba69edd109f169c37dbe0fd10e302eb929c

7 years agoMerge "Camera: add HAL1 recording batching support" into oc-dev
Yin-Chia Yeh [Mon, 3 Apr 2017 17:25:55 +0000 (17:25 +0000)]
Merge "Camera: add HAL1 recording batching support" into oc-dev
am: f23752f82e

Change-Id: Ia71b3bae7c9273b4b66288e70da551f6ef50e887

7 years agoUpdates bluetooth hal test to use VtsHalHidlTargetTestBase v3
Yuexi Ma [Mon, 3 Apr 2017 17:25:09 +0000 (17:25 +0000)]
Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3
am: 9f7cd8e078

Change-Id: I1689fa8629c8fc6d6637da58b5afa52fab65778a

7 years agoNFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Mon, 3 Apr 2017 17:25:05 +0000 (17:25 +0000)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
am: 859f18bec0

Change-Id: I46175ab4cd7ab9106313c8d97ea773f89d638e23

7 years agoBluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Mon, 3 Apr 2017 17:15:13 +0000 (17:15 +0000)]
Bluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify
am: b8810a9e5d  -s ours

Change-Id: I7e30e75e9d79d67eb86b9f9493eabcd0e1fe50a5

7 years agoMerge "Camera: add HAL1 recording batching support" into oc-dev
TreeHugger Robot [Mon, 3 Apr 2017 07:34:01 +0000 (07:34 +0000)]
Merge "Camera: add HAL1 recording batching support" into oc-dev

7 years agoUpdates bluetooth hal test to use VtsHalHidlTargetTestBase v3
Yuexi Ma [Fri, 31 Mar 2017 23:26:18 +0000 (16:26 -0700)]
Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3

Test: pass
Change-Id: Ia5237a27800010174f2b23a3a4b1157f1c48781f
(cherry picked from commit b8012eb907639990f4cbfe04ca1490d1ab270168)

7 years agoNFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Thu, 30 Mar 2017 01:11:01 +0000 (18:11 -0700)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify

VtsHalNfcV1_0TargetTest uses VtsHalHidlCallbackBase.
Callback class extends VtsHalHidlCallbackBase and use waitForCallback and notifyFromCallback

The original NFC test contains the following use cases:
  * Callback notify happens before wait
  * Multiple waiting in serial
The modified version added the following use cases:
  * Wait for specific callback function
  * Passing callback arg data along wait and notify functions

Bug: 36036059
Test: make VtsHalNfcV1_0TargetTest, adb push & adb shell
Change-Id: Ic6668a18254661d07c4ff37309cd96ea5f786d29
(cherry picked from commit bfefc5ef104b63d0644ec3b4c766131987824535)

7 years agoMerge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3" am: 177171f305...
Yuexi Ma [Sun, 2 Apr 2017 07:42:34 +0000 (07:42 +0000)]
Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3" am: 177171f305 am: ed25e56551
am: 6d46c3292d

Change-Id: I5d3e543dc6e2d6ad0b56b06c140bce074ced3cae

7 years agoNFC VTS test use VtsHalHidlCallbackBase for callback wait and notify am: bfefc5ef10...
Yuexi Ma [Sun, 2 Apr 2017 07:42:31 +0000 (07:42 +0000)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify am: bfefc5ef10 am: 410d04e44c
am: 02ae3234ac

Change-Id: Ifcb7d8a98f03d5820a5fe6246245a667bd59d3d6

7 years agoMerge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3" am: 177171f305
Yuexi Ma [Sun, 2 Apr 2017 07:39:02 +0000 (07:39 +0000)]
Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3" am: 177171f305
am: ed25e56551

Change-Id: I68e0e2baf6c441671006e5f2cb3377cd88da82b8

7 years agoNFC VTS test use VtsHalHidlCallbackBase for callback wait and notify am: bfefc5ef10
Yuexi Ma [Sun, 2 Apr 2017 07:39:00 +0000 (07:39 +0000)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify am: bfefc5ef10
am: 410d04e44c

Change-Id: Ib2afe351bf9d3a0dfbad84fcc32cd32648e589b2

7 years agoMerge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"
Yuexi Ma [Sun, 2 Apr 2017 07:36:32 +0000 (07:36 +0000)]
Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"
am: 177171f305

Change-Id: Iafecfba9ace2188d2a21f927b6afe2691ebfcdbc

7 years agoNFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Sun, 2 Apr 2017 07:36:30 +0000 (07:36 +0000)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
am: bfefc5ef10

Change-Id: I0b40ae10c42b0e0a4f0696792c707ba0f990aadf

7 years agoMerge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"
Treehugger Robot [Sun, 2 Apr 2017 07:30:43 +0000 (07:30 +0000)]
Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"

7 years agoNFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Thu, 30 Mar 2017 01:11:01 +0000 (18:11 -0700)]
NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify

VtsHalNfcV1_0TargetTest uses VtsHalHidlCallbackBase.
Callback class extends VtsHalHidlCallbackBase and use waitForCallback and notifyFromCallback

The original NFC test contains the following use cases:
  * Callback notify happens before wait
  * Multiple waiting in serial
The modified version added the following use cases:
  * Wait for specific callback function
  * Passing callback arg data along wait and notify functions

Bug: 36036059
Test: make VtsHalNfcV1_0TargetTest, adb push & adb shell
Change-Id: Ic6668a18254661d07c4ff37309cd96ea5f786d29

7 years agoBluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify
Yuexi Ma [Wed, 29 Mar 2017 23:49:59 +0000 (16:49 -0700)]
Bluetooth VTS test use VtsHalHidlCallbackBase for callback wait and notify

VtsHalBluetoothV1_0TargetTest uses VtsHalHidlCallbackBase.
Callback class extends VtsHalHidlCallbackBase and use waitForCallback, notifyFromCallback, and setWaitTimeout

The original Bluetooth test contains the following use cases:
  * Wait for specific callback
  * Set timeout for specific callback waiting
The modified version supports the above use cases.

Bug: 36036059
Test: Test pass locally
Change-Id: I961baaf7f1b09fa9c134629cc7280565a2664ed5
(cherry picked from commit 51d023c48ec6cf709e756ceed62c11b25fb0c085)

7 years agoCamera: HAL1: remove libbinder usage
Yin-Chia Yeh [Sat, 25 Mar 2017 00:55:42 +0000 (17:55 -0700)]
Camera: HAL1: remove libbinder usage

Test: Angler HAL1 preview/takePicture/record
Bug: 35887419
Change-Id: I6cb37fd78a2fad1ee3b24e4cd61e3a3b2bce4744

7 years agoCamera: add HAL1 recording batching support
Yin-Chia Yeh [Wed, 22 Mar 2017 00:47:02 +0000 (17:47 -0700)]
Camera: add HAL1 recording batching support

Test: Angler HAL1 + set mBatchSize to 4 locally
Bug: 35997432
Change-Id: I6baf112f9da56534ae81008bad818fba1e76a294

7 years agoMerge "Change sytle of radio and sap tests to clang google" into oc-dev
Yuexi Ma [Sat, 1 Apr 2017 02:25:53 +0000 (02:25 +0000)]
Merge "Change sytle of radio and sap tests to clang google" into oc-dev
am: 3368520bbc

Change-Id: Idacf0a4ca669fa23d325b62be3a389a393210a4e

7 years agoMerge "Change sytle of radio and sap tests to clang google" into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 02:22:27 +0000 (02:22 +0000)]
Merge "Change sytle of radio and sap tests to clang google" into oc-dev

7 years agoMerge "Update DRM makefile." into oc-dev
Ryan Campbell [Sat, 1 Apr 2017 01:03:07 +0000 (01:03 +0000)]
Merge "Update DRM makefile." into oc-dev
am: 7c09a31639

Change-Id: I9c63fd23486a6e0a25b2fceee138343f0453d215

7 years agoMerge "Add VTS tests for EVS HAL" into oc-dev
Scott Randolph [Sat, 1 Apr 2017 00:55:40 +0000 (00:55 +0000)]
Merge "Add VTS tests for EVS HAL" into oc-dev
am: 35145b31bd

Change-Id: Iccc44f209348eddedd8586ee05f040c9e563572f

7 years agoMerge "Update DRM makefile." into oc-dev
TreeHugger Robot [Sat, 1 Apr 2017 00:54:06 +0000 (00:54 +0000)]
Merge "Update DRM makefile." into oc-dev

7 years agoMerge "Add VTS tests for EVS HAL" into oc-dev
Scott Randolph [Sat, 1 Apr 2017 00:49:20 +0000 (00:49 +0000)]
Merge "Add VTS tests for EVS HAL" into oc-dev

7 years agoChange sytle of radio and sap tests to clang google
Yuexi Ma [Thu, 30 Mar 2017 17:58:23 +0000 (10:58 -0700)]
Change sytle of radio and sap tests to clang google

Test: make VtsHalRadioV1_0TargetTest, make VtsHalSapV1_0TargetTest
Change-Id: Ie13efe0d049ade7839881c14ed2904d8acd99b93
(cherry picked from commit bb96133731e84cad563aa1f392a71d7fec728fa9)

7 years agoadd components necessary for bootanim to animation class
Keun-young Park [Thu, 23 Mar 2017 20:48:26 +0000 (13:48 -0700)]
add components necessary for bootanim to animation class

- necessary for running shutdown animation:
 android.hardware.graphics.composer
 android.hardware.graphics.allocator
 android.hardware.configstore

bug: 36526187
Test: many reboots
Change-Id: Iba3eefddd2bd33c28152c17081a4ad13619d330d

7 years agoUpdates bluetooth hal test to use VtsHalHidlTargetTestBase v3
Yuexi Ma [Fri, 31 Mar 2017 23:26:18 +0000 (16:26 -0700)]
Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3

Test: pass
Change-Id: Ia5237a27800010174f2b23a3a4b1157f1c48781f

7 years agoAdd VTS tests for EVS HAL
Scott Randolph [Thu, 30 Mar 2017 21:24:14 +0000 (14:24 -0700)]
Add VTS tests for EVS HAL

Note:  This change list was developed as ag/2031642 on master, but
cherry picks are broken at the moment, so reapplying directly to oc-dev.
The change in master will be abandoned in favor of the auto-merger.

Test:  Run them against the default (mock) driver on bat_land
Change-Id: I7ae523eb6a18ce6a1d0dcd8494f335ffa77f34f1

7 years agoMerge "supplicant(vts): Compilation fixes" into oc-dev
Roshan Pius [Fri, 31 Mar 2017 22:32:31 +0000 (22:32 +0000)]
Merge "supplicant(vts): Compilation fixes" into oc-dev
am: c499fd869b

Change-Id: Ic0706b56690bf4a45a847b73aa3b537d478cfa33

7 years agoMerge "supplicant(vts): Compilation fixes" into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 22:25:34 +0000 (22:25 +0000)]
Merge "supplicant(vts): Compilation fixes" into oc-dev

7 years agoClarifying broadcast vs. predicted orbits
Wyatt Riley [Fri, 31 Mar 2017 22:23:00 +0000 (15:23 -0700)]
Clarifying broadcast vs. predicted orbits

Clarifying comment changes only, no functional
changes.

Bug: 30955615
Test: Builds and GPS still works on device
Change-Id: I073527c11d095651d712b41fc5b301ac478e4082

7 years agoUpdate DRM makefile.
Ryan Campbell [Fri, 31 Mar 2017 21:36:00 +0000 (14:36 -0700)]
Update DRM makefile.

Change module name to VTS format.

Test: cd hardware/interfaces && mma
Bug: 34178477
Change-Id: I33490627e1254ec1b1d36ebb7778e20680005910

7 years agoMerge "IGnssDebug.hal field fixes" into oc-dev
Wyatt Riley [Fri, 31 Mar 2017 15:35:01 +0000 (15:35 +0000)]
Merge "IGnssDebug.hal field fixes" into oc-dev
am: 27c2f822ba

Change-Id: I1577e85983e09b517659c2ec0ced522c997d2000

7 years agoMerge "IGnssDebug.hal field fixes" into oc-dev
Wyatt Riley [Fri, 31 Mar 2017 15:28:16 +0000 (15:28 +0000)]
Merge "IGnssDebug.hal field fixes" into oc-dev

7 years agoMerge "Add VTS tests for drm+crypto HALs" into oc-dev
Jeff Tinker [Fri, 31 Mar 2017 05:33:17 +0000 (05:33 +0000)]
Merge "Add VTS tests for drm+crypto HALs" into oc-dev
am: ebf7f3213b

Change-Id: Ifd1772a32a764cf54fdf9d77d50f22c3431f1d83

7 years agoMerge "Add VTS tests for drm+crypto HALs" into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 05:29:53 +0000 (05:29 +0000)]
Merge "Add VTS tests for drm+crypto HALs" into oc-dev

7 years agoAdd VTS tests for drm+crypto HALs
Jeff Tinker [Thu, 12 Jan 2017 03:42:05 +0000 (19:42 -0800)]
Add VTS tests for drm+crypto HALs

Tests: drm vts tests are passing

related-to-bug: 32815560

Change-Id: I2b36f27fbb42eba37f3e5a26acea0e359e60b3af

7 years agoIGnssDebug.hal field fixes
Wyatt Riley [Wed, 29 Mar 2017 17:11:59 +0000 (10:11 -0700)]
IGnssDebug.hal field fixes

Modifying some fields in this API to align with values
that work with partner implementations, and better
capture the intent of this new API.

Bug: 30955615
Test: Builds and works with hidl-gen
Change-Id: Ied53cbeed2703ce757a246b45339ff2b9dfeb410

7 years agoMerge "Check result of registerAsService in dumpstate." into oc-dev
Steven Moreland [Fri, 31 Mar 2017 01:20:12 +0000 (01:20 +0000)]
Merge "Check result of registerAsService in dumpstate." into oc-dev
am: 5221194a30

Change-Id: I83beb7c1a92135a441b4453931d70d4f5c9deec5

7 years agoMerge "Check result of registerAsService in dumpstate." into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 01:05:31 +0000 (01:05 +0000)]
Merge "Check result of registerAsService in dumpstate." into oc-dev

7 years agoMerge "Simplify EVS HAL and move to "agressive opens"" into oc-dev
Scott Randolph [Fri, 31 Mar 2017 00:39:20 +0000 (00:39 +0000)]
Merge "Simplify EVS HAL and move to "agressive opens"" into oc-dev
am: 9ee6abd72c

Change-Id: I4cb679b8efe5292947d3a06631ca1acdbaf33943

7 years agoMerge "Simplify EVS HAL and move to "agressive opens"" into oc-dev
TreeHugger Robot [Fri, 31 Mar 2017 00:37:29 +0000 (00:37 +0000)]
Merge "Simplify EVS HAL and move to "agressive opens"" into oc-dev

7 years agoTest for getHashChain() in IBase.
Yifan Hong [Wed, 29 Mar 2017 22:46:12 +0000 (15:46 -0700)]
Test for getHashChain() in IBase.

Each interface has a getHashChain() method that
returns the hash of all .hal files from the rtti
of the interface up to IBase.

Test: hidl_test

Bug: 36602587
Change-Id: I53a79ba69edd109f169c37dbe0fd10e302eb929c

7 years agoMerge "Fix getKeyRequest legacy HAL returning invalid status" into oc-dev
Jeff Tinker [Thu, 30 Mar 2017 23:24:45 +0000 (23:24 +0000)]
Merge "Fix getKeyRequest legacy HAL returning invalid status" into oc-dev
am: 140e6a9600

Change-Id: Ib51672608147fe181f7d8726e7fcc2525bd6f30a

7 years agocamera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages
Eino-Ville Talvala [Thu, 23 Mar 2017 22:39:12 +0000 (15:39 -0700)]
camera: Map between legacy gralloc0 usage, and HIDL gralloc1 usages

Otherwise some bits will be set incorrectly.

Also move device@1.0 to use ProducerUsageFlags instead of ProducerUsage,
and add a compatibility workaround to set the gralloc0 HW_CAMERA_ZSL flags
when ConsumerUsage::CAMERA is passed in.

Test: Camera CTS passes, updated VTS tests pass
Bug: 35215313
Change-Id: I981dc1a650f838f94d932944fe835fd267f2004d

7 years agoMerge "Fix getKeyRequest legacy HAL returning invalid status" into oc-dev
Jeff Tinker [Thu, 30 Mar 2017 23:00:40 +0000 (23:00 +0000)]
Merge "Fix getKeyRequest legacy HAL returning invalid status" into oc-dev

7 years agoFix getKeyRequest legacy HAL returning invalid status
Jeff Tinker [Tue, 7 Mar 2017 00:58:47 +0000 (16:58 -0800)]
Fix getKeyRequest legacy HAL returning invalid status

bug: 36006198

Test: drm hal vts test
Change-Id: Ie3125b4459add4fd30dc418f92ab0f51d8fcc73b

7 years agoMerge "Add VTS tests for Sap Apis." into oc-dev
Shuoq [Thu, 30 Mar 2017 22:56:15 +0000 (22:56 +0000)]
Merge "Add VTS tests for Sap Apis." into oc-dev
am: cfb39b413f  -s ours

Change-Id: Ie0a71b5a69cffa899895105d5e10bcba8a6b9d9b

7 years agoMerge "Enable the clang-format pre-submit hook" am: 3b9e23513e am: 68a27cc5ab
Myles Watson [Thu, 30 Mar 2017 22:51:40 +0000 (22:51 +0000)]
Merge "Enable the clang-format pre-submit hook" am: 3b9e23513e am: 68a27cc5ab
am: 03ac2b1697

Change-Id: I4b26f5ca596b0ed07d28367a58b086fb26459fd8

7 years agoMerge "Enable the clang-format pre-submit hook" am: 3b9e23513e
Myles Watson [Thu, 30 Mar 2017 22:49:10 +0000 (22:49 +0000)]
Merge "Enable the clang-format pre-submit hook" am: 3b9e23513e
am: 68a27cc5ab

Change-Id: Idb9ac5526f341064982be84fb44f523fbef4521d

7 years agoMerge "Enable the clang-format pre-submit hook"
Myles Watson [Thu, 30 Mar 2017 22:46:39 +0000 (22:46 +0000)]
Merge "Enable the clang-format pre-submit hook"
am: 3b9e23513e

Change-Id: Idf1651f9e76c8b7e6dfbc70dab8ae567a5f53937

7 years agoMerge "Enable the clang-format pre-submit hook"
Treehugger Robot [Thu, 30 Mar 2017 22:43:39 +0000 (22:43 +0000)]
Merge "Enable the clang-format pre-submit hook"

7 years agoMerge "Add VTS tests for Sap Apis." into oc-dev
TreeHugger Robot [Thu, 30 Mar 2017 22:12:29 +0000 (22:12 +0000)]
Merge "Add VTS tests for Sap Apis." into oc-dev

7 years agosupplicant(vts): Compilation fixes
Roshan Pius [Tue, 21 Mar 2017 22:44:40 +0000 (15:44 -0700)]
supplicant(vts): Compilation fixes

Fixed couple of compilation failures from .hal changes and made change
to stop/start framework during tests.

Bug: 33457575
Test: mmma -j32 hardware/interfaces/wifi/supplicant/1.0/vts/functional
Change-Id: I1bac68bd71e92b025acdebd0fef8834b826bcfcb

7 years agoSimplify EVS HAL and move to "agressive opens"
Scott Randolph [Thu, 30 Mar 2017 21:04:12 +0000 (14:04 -0700)]
Simplify EVS HAL and move to "agressive opens"

This adapts the API implementation to allow a duplicate "open" operation
to automatically close any previous connections to the device.  This
works around a binder level issue that can cause destructors triggered
by remote clients to be delivered out of order to the server.

This was originally change ag/1969959 on master, but has been
recreated on oc-dev (cherry-picking was broken at the time).
The original master change will be abandoned in favor of this getting
merged down from oc-dev.

Test:  Run Vts test (added in following change)
Change-Id: I7b417998e59a4d592fbb91811c4101f39097c5dd

7 years agoEnable the clang-format pre-submit hook
Myles Watson [Thu, 30 Mar 2017 16:13:50 +0000 (09:13 -0700)]
Enable the clang-format pre-submit hook

Bug: 36699008
Test: Try to upload a patch with formatting errors.
Change-Id: I4af7d142ccbbaf39eb236547487c59c5ff8f2cd6

7 years agoEnable the clang-format pre-submit hook
Myles Watson [Thu, 30 Mar 2017 16:13:50 +0000 (09:13 -0700)]
Enable the clang-format pre-submit hook

Bug: 36699008
Test: Try to upload a patch with formatting errors.
Change-Id: I4af7d142ccbbaf39eb236547487c59c5ff8f2cd6

7 years agoMerge "Change sytle of radio and sap tests to clang google" am: 7441c791b6 am: d0de215476
Yuexi Ma [Thu, 30 Mar 2017 20:15:00 +0000 (20:15 +0000)]
Merge "Change sytle of radio and sap tests to clang google" am: 7441c791b6 am: d0de215476
am: 22164f3d4b

Change-Id: Iacedf1a43dacc012bd68e184fc4256b29fed59d5