Commit Graph

2005 Commits

Author SHA1 Message Date
Amit Mahajan
f94530dfd8 Merge "Add p2 option in OpenLogicalChannel" am: ca59e7f3ca
am: c0e1a4d4e5

Change-Id: I95a6f6de1e24d55e9aec7d6e0a73740b5ed3b181
2017-04-11 21:44:08 +00:00
Amit Mahajan
c0e1a4d4e5 Merge "Add p2 option in OpenLogicalChannel"
am: ca59e7f3ca

Change-Id: Icc00d5644db5266ed82735ae0065a5fe802f9075
2017-04-11 21:34:56 +00:00
Amit Mahajan
ca59e7f3ca Merge "Add p2 option in OpenLogicalChannel" 2017-04-11 21:25:43 +00:00
Andrew Scull
87f913b67d Merge "Revert "Weaver HAL"" am: 085aca0ee3
am: 3db17451c4

Change-Id: Iddcddaaef1665beb0c733d1e32fe02e10cfbeaeb
2017-04-10 19:52:53 +00:00
Andrew Scull
3db17451c4 Merge "Revert "Weaver HAL""
am: 085aca0ee3

Change-Id: I3de24c85b2113e38baa413f1992577710c630c80
2017-04-10 19:48:21 +00:00
Treehugger Robot
085aca0ee3 Merge "Revert "Weaver HAL"" 2017-04-10 18:59:57 +00:00
Andrew Scull
66d499a26f Revert "Weaver HAL"
This reverts commit 694beec5d7.

Reason for revert: This will not be in O.

Change-Id: I301f265785815689e9cfc8412db1966a4565b561
2017-04-10 16:56:43 +00:00
Jaesoo Lee
cb1953b3a7 Merge changes from topic 'configstore-utils-log' am: e8600fe892
am: 725cbd866c

Change-Id: Ia3379660fc8f21170c09ec98d95ac6f223b566d3
2017-04-07 02:16:57 +00:00
Jaesoo Lee
725cbd866c Merge changes from topic 'configstore-utils-log'
am: e8600fe892

Change-Id: I28f7348da2c6656db4c0ac27bb3fa066d1396d9e
2017-04-07 02:12:29 +00:00
Jaesoo Lee
e8600fe892 Merge changes from topic 'configstore-utils-log'
* changes:
  print log message for values retrieved from configstore
  Handle hidl transaction errors in ConfigStore
2017-04-07 02:06:44 +00:00
Andrew Scull
4ab649b502 Merge "Weaver HAL" am: 2f5a5e10f7
am: e3f5387b42

Change-Id: Iec3b2d31c58862819c0a1db9d8051f509731617b
2017-04-06 20:49:19 +00:00
Andrew Scull
e3f5387b42 Merge "Weaver HAL"
am: 2f5a5e10f7

Change-Id: Ibe908202b5f86478dcea71b4eb75d9a1fca6f825
2017-04-06 20:45:51 +00:00
Treehugger Robot
2f5a5e10f7 Merge "Weaver HAL" 2017-04-06 20:31:51 +00:00
Andreas Huber
388aad8cdb Merge "Empty interface IQuux which is completely unrelated to IBase and IBaz." am: 931ca54208
am: 9af34a0c10

Change-Id: I29cc2b5225bc24f364f9ca399f8a728d7078c953
2017-04-06 18:53:55 +00:00
Andreas Huber
9af34a0c10 Merge "Empty interface IQuux which is completely unrelated to IBase and IBaz."
am: 931ca54208

Change-Id: I3746b93cae3231117cd00ed84735aaf0b754a930
2017-04-06 18:49:56 +00:00
Andreas Huber
931ca54208 Merge "Empty interface IQuux which is completely unrelated to IBase and IBaz." 2017-04-06 18:47:16 +00:00
Andrew Scull
694beec5d7 Weaver HAL
Weaver is used to harden the user authentication flow by securely
storing secrets which can only be read by presenting the associated key
secret. The key secret is derived from the user's credential.

Bug: 35628284
Test: Implement HAL, boot and call from system_server
Change-Id: Ia72fd537670c08d27320c944a0fe91243137bf6c
2017-04-06 12:19:42 +01:00
Jaesoo Lee
a8959849ba 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: I7d5d80ca7a0317816c71016e013f9e73ad23ee08
Merged-In: I2c0895f8afbbb2947b62164acaf62a491c451dc0
(cherry picked from commit 0dc72ecbb7)
2017-04-06 11:10:03 +09:00
Pavel Maltsev
1c5704d08c Handle hidl transaction errors in ConfigStore
Test: surface flinger not failing, android now bootsup

Bug: b/36445794
Change-Id: I64cc404bec71f5e4eea2e0034f07b86fb60a3e32
Merged-In: I22fa7aab9fa92bc04333aaa0eef45891ebeba8e7
(cherry picked from commit 076b792ade608a7fdf4e600a42550ad17296a39e)
2017-04-06 11:10:03 +09:00
Michael Butler
3db05819ae Merge "Added protections for RenderScript VTS tests." am: 792ec065e0
am: f251028320

Change-Id: I60ad212ce37b90e65ae034e5080cee8bc44e9185
2017-04-06 01:51:47 +00:00
Michael Butler
f251028320 Merge "Added protections for RenderScript VTS tests."
am: 792ec065e0

Change-Id: Icc2e3fca4a3f9d9368ec22303588bec0d6653532
2017-04-06 01:48:47 +00:00
Treehugger Robot
792ec065e0 Merge "Added protections for RenderScript VTS tests." 2017-04-06 01:45:56 +00:00
Etan Cohen
7f4335b30a Merge "[AWARE] Legacy HAL update: reduce host wakeup" am: 6ae199efa4
am: c6e4705e9d

Change-Id: Id7c2cf6440b21f14d4fd766cc82edc8a92a76e99
2017-04-05 22:19:33 +00:00
Etan Cohen
c6e4705e9d Merge "[AWARE] Legacy HAL update: reduce host wakeup"
am: 6ae199efa4

Change-Id: I5a868d9c738e4c826bfeb5d6bc9e5c329bcb932e
2017-04-05 22:17:03 +00:00
Etan Cohen
6ae199efa4 Merge "[AWARE] Legacy HAL update: reduce host wakeup" 2017-04-05 22:09:37 +00:00
Andreas Huber
8410871493 Empty interface IQuux which is completely unrelated to IBase and IBaz.
Used to verify that it's not possible to obtain an IQuux interface from an
IBase/IBaz binder, i.e. IHwBinder.asInterface(...) properly respects the
interfaceChain.

Bug: 36749201
Test: hidl_test_java
Change-Id: I84419e78db22acdfcc7d9972d22d139641469bde
2017-04-05 12:46:13 -07:00
Joel Fernandes
93aa1c0f94 Bluetooth HAL: Add to foreground schedtune group am: 1b8f6f7c77
am: 887448f949

Change-Id: I5d8af23d7fae64e9ebb385e3f2fceb37ac6adc3c
2017-04-05 16:02:06 +00:00
Joel Fernandes
887448f949 Bluetooth HAL: Add to foreground schedtune group
am: 1b8f6f7c77

Change-Id: I04b1ba8e8d6151b4421d63171ab12cb46e71c793
2017-04-05 15:59:05 +00:00
Joel Fernandes
1b8f6f7c77 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>
2017-04-04 17:37:43 -07:00
Etan Cohen
20925b0f56 [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
2017-04-04 22:13:36 +00:00
Wileen Chiu
beb64d6721 Add p2 option in OpenLogicalChannel
- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
  by SIM Alliance

Bug: 27360148
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe
2017-04-04 11:30:41 -07:00
Etan Cohen
e78000cffa Merge "[AWARE] Create true translations between legacy and hidl enums" am: 24ff2036ce
am: 945fbf8434

Change-Id: Iedc43ae7d9292131c814752458a2ec6728bb85df
2017-04-04 17:52:23 +00:00
Etan Cohen
945fbf8434 Merge "[AWARE] Create true translations between legacy and hidl enums"
am: 24ff2036ce

Change-Id: I00c0d5dce8a57ce76656c8521d93a974308b7c94
2017-04-04 17:48:53 +00:00
Etan Cohen
24ff2036ce Merge "[AWARE] Create true translations between legacy and hidl enums" 2017-04-04 17:40:25 +00:00
Ruchi Kandoi
82f1f2f446 Merge "nfc: vts: Correct parameters going for CoreInitialized" am: 4133401913
am: f372f6ec51

Change-Id: I1a498608ca41e70ac1b3bd319dde1fbdaa1f368c
2017-04-04 00:45:52 +00:00
Ruchi Kandoi
f372f6ec51 Merge "nfc: vts: Correct parameters going for CoreInitialized"
am: 4133401913

Change-Id: Ie205284f3adcfd7f662c1d26dea1a01eb48a12e8
2017-04-04 00:41:51 +00:00
Treehugger Robot
4133401913 Merge "nfc: vts: Correct parameters going for CoreInitialized" 2017-04-04 00:36:15 +00:00
Etan Cohen
284511779c [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
2017-04-03 16:12:46 -07:00
Ruchi Kandoi
9150025076 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
2017-04-03 22:44:21 +00:00
Yifan Hong
679dab8b8d Merge "Test for getHashChain() in IBase." am: c8c7ab74a1
am: 2699ac5b94

Change-Id: I11a8c5a68426d87e59cb1b7d0e72ce352d9f9cff
2017-04-03 22:15:44 +00:00
Yifan Hong
2699ac5b94 Merge "Test for getHashChain() in IBase."
am: c8c7ab74a1

Change-Id: I6519da67d36565da408240d2f59a547330971c06
2017-04-03 22:12:13 +00:00
Yifan Hong
c8c7ab74a1 Merge "Test for getHashChain() in IBase." 2017-04-03 22:05:25 +00:00
Yuexi Ma
6d46c3292d Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3" am: 177171f305
am: ed25e56551

Change-Id: I68e0e2baf6c441671006e5f2cb3377cd88da82b8
2017-04-02 07:39:02 +00:00
Yuexi Ma
02ae3234ac NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify am: bfefc5ef10
am: 410d04e44c

Change-Id: Ib2afe351bf9d3a0dfbad84fcc32cd32648e589b2
2017-04-02 07:39:00 +00:00
Yuexi Ma
ed25e56551 Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3"
am: 177171f305

Change-Id: Iafecfba9ace2188d2a21f927b6afe2691ebfcdbc
2017-04-02 07:36:32 +00:00
Yuexi Ma
410d04e44c NFC VTS test use VtsHalHidlCallbackBase for callback wait and notify
am: bfefc5ef10

Change-Id: I0b40ae10c42b0e0a4f0696792c707ba0f990aadf
2017-04-02 07:36:30 +00:00
Treehugger Robot
177171f305 Merge "Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3" 2017-04-02 07:30:45 +00:00
Yuexi Ma
bfefc5ef10 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
2017-04-01 23:36:14 -07:00
Yuexi Ma
b8012eb907 Updates bluetooth hal test to use VtsHalHidlTargetTestBase v3
Test: pass
Change-Id: Ia5237a27800010174f2b23a3a4b1157f1c48781f
2017-03-31 23:27:59 +00:00
Yifan Hong
604e8f0da2 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
2017-03-30 17:34:03 -07:00