Commit graph

28391 commits

Author SHA1 Message Date
Treehugger Robot
5342c34a26 Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" am: ca31517201 am: 527ce01e45
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439141

Change-Id: I26988bc85183530470762f22c555ada31cfee0ad
2020-09-28 22:20:03 +00:00
Treehugger Robot
527ce01e45 Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" am: ca31517201
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439141

Change-Id: Ifa90d54ebe8ab99f36daba611a0d63f3f6fa8fdb
2020-09-28 22:03:07 +00:00
Treehugger Robot
ca31517201 Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" 2020-09-28 21:47:07 +00:00
Treehugger Robot
b7e266ecd9 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours am: 7c9ab94592 -s ours am: 005dc12d50 -s ours am: 664e654758 -s ours am: 91da1cefc5 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439378

Change-Id: I28102c58442f8b4728d26861072650b715c46c8a
2020-09-28 21:42:04 +00:00
Treehugger Robot
91da1cefc5 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours am: 7c9ab94592 -s ours am: 005dc12d50 -s ours am: 664e654758 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439378

Change-Id: I1f3defcde18221c57dac04814cb398ebbe980147
2020-09-28 20:54:18 +00:00
Treehugger Robot
664e654758 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours am: 7c9ab94592 -s ours am: 005dc12d50 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439378

Change-Id: Ic1be26447a71f841fc6c7dda6be429932197c210
2020-09-28 20:40:51 +00:00
Treehugger Robot
005dc12d50 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours am: 7c9ab94592 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439378

Change-Id: I2e5a854e2675f231a64789e943e488e298565229
2020-09-28 20:25:58 +00:00
Treehugger Robot
7c9ab94592 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 ba894f81db is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439378

Change-Id: Ib64276f0c9e8c2885fdbda0f4a054fc75cbe366a
2020-09-28 20:13:15 +00:00
Treehugger Robot
ac116b1f7b Merge "Rename vts-core to vts" 2020-09-28 20:03:10 +00:00
Roshan Pius
ad6248877c [automerger skipped] supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788 am: 329fe1ca18 am: a8cec5d5ce am: d3dcea5f11 -s ours
am skip reason: Change-Id I71097c3afef1765ca514abf2c350c423e3999020 with SHA-1 133389711d is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: I1c33fb9faa464348b3ff1199e08106865700d478
2020-09-28 19:54:49 +00:00
Roshan Pius
d3dcea5f11 supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788 am: 329fe1ca18 am: a8cec5d5ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: I332a0a820f480104557d9fd69657dcc401b2da0b
2020-09-28 19:04:08 +00:00
Mikhail Naganov
108e702dc7 audio: Reformat README as Markdown
Rename README -> README.md, reformat it as Markdown.
Provide missing descriptions for some directories.

Bug: 142480271
Test: N/A
Change-Id: Ic6f60a21def4bf210a7e1446454d709f68a13422
2020-09-28 18:55:50 +00:00
Mikhail Naganov
648ec5b750 audio: HAL V7 tweaks
- rename AudioBasicConfig -> AudioConfigBase to better
  match a similar structure in audio.h;

- define AudioProfile structure for defining an I/O profile;

- use AudioProfile to replace IStream.getSupported* methods
  with a single IStream.getSupportedProfiles method;

- define AudioDevice type for convenience and clarity;

- move enums definition for AudioInputFlags and AudioOutputFlags
  into XSD. This allows parsing APM config w/o depending on
  the framework code.

Bug: 142480271
Test: m
Change-Id: I1951b2de383751fe53b96954dfd02cdd1ab6cc8f
2020-09-28 18:55:50 +00:00
Roshan Pius
a8cec5d5ce supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788 am: 329fe1ca18
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: Ib32992f893ff0fc118bf11d0173e5a403b6f8a97
2020-09-28 18:50:16 +00:00
Roshan Pius
329fe1ca18 supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: I0549c24594969ae37c71d8a71b585fcd588c88df
2020-09-28 18:38:16 +00:00
Roshan Pius
8a4e68b788 supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: Ib7fad1045211bf9f24c7630140da04a960032bd9
2020-09-28 18:23:44 +00:00
Roshan Pius
b9ddf021d3 supplicant(vts): Stop adding empty instance for vendor HAL
We don't need to test supplicant in the presence of vendor HAL & without
it. For a given device, this behavior is fixed.

Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Merged-In: I71097c3afef1765ca514abf2c350c423e3999020
Change-Id: I71097c3afef1765ca514abf2c350c423e3999020
(cherry picked from commit 984b6e0607)
2020-09-28 16:42:47 +00:00
lesl
9b85a78e71 wifi: Add vts 1.3 for hostapd hidl 1.3
Duplicate from 1.2 and add
1. Call setDebugParams for debugging
2. Add metered indication in NetworkParams (default is true)
3. Add non metered test case

Bug: 151189102
Test: atest -c VtsHalWifiHostapdV1_3TargetTest --rebuild-module-info
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: Ie425e14a08a71cfe4eb8a6b67cd837afd6da4dbe
2020-09-28 11:55:23 +08:00
lesl
f910d10d23 wifi: ignore addAccessPoint_1_2 test if current hidl is 1_3
Bug: 169385303
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: I4be366be0e733b2ad00c64036a0f8be4e391228c
2020-09-28 11:29:31 +08:00
Dan Shi
f2b950f470 Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-26 04:11:28 +00:00
Chris Forbes
3c9a3a0cd1 Mark GraphicsMapperHidlTest as allowing not being instantiated
Only the variant(s) actually implemented by the device will be
instantiated.

This is consistent with tests for other versioned or optional HALs.

Bug: b/167222309
Test: atest VtsHalGraphicsMapperV2_0TargetTest:GoogleTestVerification#UninstantiatedParameterizedTestSuite<GraphicsMapperHidlTest> -- --abi arm64-v8a
Change-Id: I4f1bfbad47bdbf75578ec48a3a56fb5351e7729a
2020-09-25 21:07:53 -07:00
Yu-Han Yang
a91c261c55 Merge "Add GNSS AIDL interfaces (hardware/interfaces)" 2020-09-26 02:34:36 +00:00
Yu-Han Yang
274ea0a7c4 Add GNSS AIDL interfaces (hardware/interfaces)
Bug: 159467682
Test: atest VtsHalGnssTargetTest
Change-Id: I75c5599f2e0698f833e2d36ac53d460f4f0c3bb4
2020-09-25 15:20:07 -07:00
Steven Moreland
71fbaf5e22 Merge "tests.baz@1.0: changes for symmetric tests" am: a9f240232d am: 295bf122fa am: a8d0e57c2b am: 959fe92871 am: 7196928c23
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438391

Change-Id: I5b1a3f8323dc76cf007861167422ecf22915180a
2020-09-25 22:00:29 +00:00
Roshan Pius
4cbd355b25 Merge changes I71097c3a,I872a1b3e
* changes:
  supplicant(vts): Stop adding empty instance for vendor HAL
  Revert "wifi: remove wifi instance name string check"
2020-09-25 21:51:16 +00:00
Steven Moreland
7196928c23 Merge "tests.baz@1.0: changes for symmetric tests" am: a9f240232d am: 295bf122fa am: a8d0e57c2b am: 959fe92871
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438391

Change-Id: I3ce490dddc9114dc09074b233cc5d3b324ec7cb9
2020-09-25 21:29:15 +00:00
Steven Moreland
959fe92871 Merge "tests.baz@1.0: changes for symmetric tests" am: a9f240232d am: 295bf122fa am: a8d0e57c2b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438391

Change-Id: Ia930f74a509411066508f0092a7d4fbc1a4661f9
2020-09-25 21:16:53 +00:00
Steven Moreland
a8d0e57c2b Merge "tests.baz@1.0: changes for symmetric tests" am: a9f240232d am: 295bf122fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438391

Change-Id: I896e6a776356ff2204ae7304e9d7f2583bb46a79
2020-09-25 20:45:42 +00:00
Steven Moreland
295bf122fa Merge "tests.baz@1.0: changes for symmetric tests" am: a9f240232d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438391

Change-Id: I55b4318b8b7a1f7e78d93aba48d18c8aca3766de
2020-09-25 20:33:44 +00:00
Steven Moreland
a9f240232d Merge "tests.baz@1.0: changes for symmetric tests" 2020-09-25 20:16:29 +00:00
Treehugger Robot
b86b4cdf3d Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8 am: 75c766946f am: 55f5d51881 am: d613f40cf3 am: dfc474c1e2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I0c7e8bb00aa6cf676510b3c5060407913e369e43
2020-09-25 19:51:39 +00:00
Treehugger Robot
841ceb0db3 Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c am: 4912a028cf am: 0c5dad9ce2 am: b2ab00e90d am: e81901720f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: I746591857c69da9c72c7bc3b06802ecd4d19a0ed
2020-09-25 19:50:48 +00:00
Treehugger Robot
dfc474c1e2 Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8 am: 75c766946f am: 55f5d51881 am: d613f40cf3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I164adf9ef8146adc708807aa90405169cd93b4cb
2020-09-25 19:41:35 +00:00
Treehugger Robot
e81901720f Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c am: 4912a028cf am: 0c5dad9ce2 am: b2ab00e90d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: I69a3896f10edaca6d1e2011299727795b998ec2e
2020-09-25 19:41:23 +00:00
Roshan Pius
133389711d supplicant(vts): Stop adding empty instance for vendor HAL
We don't need to test supplicant in the presence of vendor HAL & without
it. For a given device, this behavior is fixed.

Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Merged-In: I71097c3afef1765ca514abf2c350c423e3999020
Change-Id: I71097c3afef1765ca514abf2c350c423e3999020
2020-09-25 19:14:13 +00:00
Roshan Pius
f00ab8b77b Revert "wifi: remove wifi instance name string check"
This reverts commit 1c50a59eae.

Reason for revert: This was not needed. Does not fix the issue at hand.
Bug: 161951052
Merged-In: I872a1b3e87f17a43eb3c22c930e916c7e5e2d2a6
Change-Id: I872a1b3e87f17a43eb3c22c930e916c7e5e2d2a6
2020-09-25 19:13:45 +00:00
Treehugger Robot
d613f40cf3 Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8 am: 75c766946f am: 55f5d51881
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I9520e5b8409b7488d2a6ef95faff165850d24662
2020-09-25 19:10:03 +00:00
Treehugger Robot
b2ab00e90d Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c am: 4912a028cf am: 0c5dad9ce2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: Iba499c16eb92851ac7e04fabc962a4e3cedfc2ec
2020-09-25 19:08:57 +00:00
Treehugger Robot
55f5d51881 Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8 am: 75c766946f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I07e8a94bb2319cea56234fe6a35397dd69b40dbb
2020-09-25 18:40:48 +00:00
Treehugger Robot
0c5dad9ce2 Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c am: 4912a028cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: Ib11c5e88b55bee8ce5121601f3574a53606544ad
2020-09-25 18:40:42 +00:00
Treehugger Robot
75c766946f Merge "Clarify Health 2.1 design capacity type ranges" am: 80c84717d8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437295

Change-Id: I04dad4241e56a0053b910557fb320af2fe54e89e
2020-09-25 18:35:26 +00:00
Treehugger Robot
4912a028cf Merge "Allow batteryFullChargeDesignCapacityUah to be 0" am: 2be786937c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1437294

Change-Id: I2a9c9fe687b080e77a7650d3d1d5a4d326ca9f78
2020-09-25 18:29:31 +00:00
Treehugger Robot
80c84717d8 Merge "Clarify Health 2.1 design capacity type ranges" 2020-09-25 17:32:03 +00:00
Treehugger Robot
2be786937c Merge "Allow batteryFullChargeDesignCapacityUah to be 0" 2020-09-25 17:24:54 +00:00
Treehugger Robot
224824b2dc Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d am: c663e086fd am: 45de416230 am: bd3a9bae8a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: I367f68fb2cd380085bc1423be4feea7118bd83f1
2020-09-25 07:50:03 +00:00
Treehugger Robot
bd3a9bae8a Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d am: c663e086fd am: 45de416230
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: If17caa26b7dde0f77320ea9e5431b44f74c964ab
2020-09-25 07:35:03 +00:00
Treehugger Robot
45de416230 Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d am: c663e086fd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: Ie115c353c00de1ed166c0bc34ad608a271493fb6
2020-09-25 07:18:32 +00:00
Treehugger Robot
c663e086fd Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888 am: 7ce0280a4d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: I46da75297a7d58c4db18831a7aba491e3801c400
2020-09-25 07:07:34 +00:00
Treehugger Robot
7ce0280a4d Merge "vts: Use global hostapd_ since teardown will call terminate function" am: 77c3b52888
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1436771

Change-Id: Iaa5db64487b56cc1bb78da2f437596d813bc5d16
2020-09-25 06:41:12 +00:00
Lakshman Annadorai
a1fcd09b46 Remove MIN and MAX checking for hidl_enum in UserHalHelper native library. am: bfaf79c9c6 am: fd45e7404b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12663093

Change-Id: I66dfdc8d517885c57e0bb840bcf243df84e3ca71
2020-09-25 05:35:18 +00:00