Commit Graph

38219 Commits

Author SHA1 Message Date
Arthur Ishiguro
d3c693e6b4 Refactor collectEvent method in SensorsHidlTestBase
Bug: 195593357
Test: Compile, run VTS
Change-Id: Ie4db0bfd88841ce2821ed664053e27ab18262a56
2021-11-10 18:53:54 +00:00
TreeHugger Robot
e51ea5f40c Merge "Rename SensorsHidlEnvironmentBase to SensorsVtsEnvironmentBase" 2021-11-09 18:24:21 +00:00
TreeHugger Robot
d83f0e313d Merge "Link in libtonemap into composer VTS" 2021-11-09 17:55:04 +00:00
Lais Andrade
221a844bea Merge "Check primitive duration is positive for supported primitives" 2021-11-09 17:53:58 +00:00
Gabriel Biren
af89a6ac72 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb am: 3795cbf883 am: ab78434023
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I176080727844713b82efd3c179869510574d610e
2021-11-09 17:23:07 +00:00
Arthur Ishiguro
7040ab262a Rename SensorsHidlEnvironmentBase to SensorsVtsEnvironmentBase
Can be used by new AIDL VTS tests.

Bug: 195593357
Test: Compile
Change-Id: Iaa279b4dd65da06042de8c560ae2a98b32771659
2021-11-09 17:21:56 +00:00
Gabriel Biren
ab78434023 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb am: 3795cbf883
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I2622b9f777971cad3f5440b0274a179bad2c0570
2021-11-09 17:06:32 +00:00
Lais Andrade
1c8a5a1b6a Check primitive duration is positive for supported primitives
Fix: 203629838
Test: VtsHalVibratorTargetTest
Change-Id: I2e534f4589c9f594884385a99051c06f518103f7
2021-11-09 16:40:51 +00:00
Gabriel Biren
3795cbf883 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20 am: f88f0464fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: I76eac287d9a3144c639edff4bc6d47b0c12726f2
2021-11-09 16:38:28 +00:00
Gabriel Biren
f88f0464fb Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db am: 4c9bacbd20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: Idf7e47cf496d040776433bbb586058a332dd5717
2021-11-09 16:19:36 +00:00
Gabriel Biren
4c9bacbd20 Merge "Switch hostapd VTS tests to NDK backend." am: e3f88a32db
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880508

Change-Id: Ib5a0894515749e6af84f384aaed063cc6d0bd35d
2021-11-09 15:55:05 +00:00
Gabriel Biren
e3f88a32db Merge "Switch hostapd VTS tests to NDK backend." 2021-11-09 15:28:06 +00:00
Treehugger Robot
5f885c707f Merge "health: make libhealth_aidl_impl visibility public" am: 4795980565 am: fb57025383 am: 63b6c7a9e6 am: 48bac14c4a am: b892853f84
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1885109

Change-Id: I82470872e43a6ea4e37b71f4dad603b1abae6d1f
2021-11-09 07:46:01 +00:00
Treehugger Robot
b892853f84 Merge "health: make libhealth_aidl_impl visibility public" am: 4795980565 am: fb57025383 am: 63b6c7a9e6 am: 48bac14c4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1885109

Change-Id: Id27f17373ed0eca4cae9149ce0fa72c36aa5ac3a
2021-11-09 07:20:46 +00:00
Treehugger Robot
48bac14c4a Merge "health: make libhealth_aidl_impl visibility public" am: 4795980565 am: fb57025383 am: 63b6c7a9e6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1885109

Change-Id: I55a3e9c16b4838c136b915d4c14fc226d5429ecb
2021-11-09 07:02:24 +00:00
Treehugger Robot
63b6c7a9e6 Merge "health: make libhealth_aidl_impl visibility public" am: 4795980565 am: fb57025383
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1885109

Change-Id: If04e1d40dd2b096113910cfd717275a700be249b
2021-11-09 06:43:52 +00:00
Treehugger Robot
fb57025383 Merge "health: make libhealth_aidl_impl visibility public" am: 4795980565
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1885109

Change-Id: Id663ba731f882d117430fc934c30fba1567915b0
2021-11-09 06:22:46 +00:00
Treehugger Robot
4795980565 Merge "health: make libhealth_aidl_impl visibility public" 2021-11-09 05:57:28 +00:00
Treehugger Robot
4269ed489f Merge "Update OWNERS for VtsHalSensors tests." am: 728f334599 am: c014053147 am: ade185e328 am: b51abd037f am: e997e0cd1e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861823

Change-Id: I98875cc9a59ec71fc793be76f1ebc1079593c7a9
2021-11-09 04:13:00 +00:00
Treehugger Robot
e997e0cd1e Merge "Update OWNERS for VtsHalSensors tests." am: 728f334599 am: c014053147 am: ade185e328 am: b51abd037f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861823

Change-Id: I5bf585f580dc97c26ca6c7f47aabd56d483d88ca
2021-11-09 03:55:55 +00:00
Treehugger Robot
b51abd037f Merge "Update OWNERS for VtsHalSensors tests." am: 728f334599 am: c014053147 am: ade185e328
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861823

Change-Id: I165ed1cad327c6fc78904b077bd79e2490d9999e
2021-11-09 03:39:39 +00:00
Michael Butler
698f81e2b3 Merge "Remove unnecessary NNAPI header files" am: 9ec39aa042 am: 340e03f4b9 am: 970d671c9b am: b40584fd8e am: 53b8aa9d99
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880752

Change-Id: Ic5e925237786260eca1890de6f23e252c12454a2
2021-11-09 03:28:33 +00:00
Treehugger Robot
ade185e328 Merge "Update OWNERS for VtsHalSensors tests." am: 728f334599 am: c014053147
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861823

Change-Id: I31e4fd99af053cd60e63618243dc3c8d265ea170
2021-11-09 03:18:27 +00:00
Michael Butler
53b8aa9d99 Merge "Remove unnecessary NNAPI header files" am: 9ec39aa042 am: 340e03f4b9 am: 970d671c9b am: b40584fd8e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880752

Change-Id: I38e03a9c288afff981364be8a2a5462252094162
2021-11-09 03:05:04 +00:00
Treehugger Robot
c014053147 Merge "Update OWNERS for VtsHalSensors tests." am: 728f334599
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861823

Change-Id: I21c72a1834e64bd5cf2276f94d04c0c40dac69e5
2021-11-09 02:54:36 +00:00
Michael Butler
b40584fd8e Merge "Remove unnecessary NNAPI header files" am: 9ec39aa042 am: 340e03f4b9 am: 970d671c9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880752

Change-Id: Ieb360bbd9e5e1b129a8e72567d59e98947a26a4a
2021-11-09 02:43:44 +00:00
Treehugger Robot
728f334599 Merge "Update OWNERS for VtsHalSensors tests." 2021-11-09 02:37:17 +00:00
Michael Butler
970d671c9b Merge "Remove unnecessary NNAPI header files" am: 9ec39aa042 am: 340e03f4b9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880752

Change-Id: I374f5d74694132c483cec0fef9a8bd7c41b45ecd
2021-11-09 02:25:13 +00:00
Michael Butler
340e03f4b9 Merge "Remove unnecessary NNAPI header files" am: 9ec39aa042
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880752

Change-Id: If78e4f30333afd2dd6b000abad14413bc9027969
2021-11-09 01:58:18 +00:00
Michael Butler
9ec39aa042 Merge "Remove unnecessary NNAPI header files" 2021-11-09 01:35:46 +00:00
Yifan Hong
b6533047e6 Merge "health: handle charger in health HAL" am: 701ff4a1de am: abb62e5e53 am: ae92201c57 am: fe7fca6c9c am: 29af1fe837
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866345

Change-Id: Ibfa5ee50caa763daebf701d04975c37cd16e4e26
2021-11-08 22:12:43 +00:00
Yifan Hong
0af83e56b5 Merge "health AIDL: Add readme" am: 9af94c627c am: fe5ba8ae61 am: 1c4e695225 am: 60ff9fd511 am: 2af9b1b036
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875620

Change-Id: I92caefeef08350df8b9489553d676f5fb4c36ff1
2021-11-08 22:12:17 +00:00
Yifan Hong
29af1fe837 Merge "health: handle charger in health HAL" am: 701ff4a1de am: abb62e5e53 am: ae92201c57 am: fe7fca6c9c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866345

Change-Id: Ie078f9cff244111944751e4dcbd6a5444baf473d
2021-11-08 21:51:21 +00:00
Yifan Hong
2af9b1b036 Merge "health AIDL: Add readme" am: 9af94c627c am: fe5ba8ae61 am: 1c4e695225 am: 60ff9fd511
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875620

Change-Id: Ifb7a1b6b43a6575aa7f9626f8a2f4dad608972ec
2021-11-08 21:51:13 +00:00
Yifan Hong
fe7fca6c9c Merge "health: handle charger in health HAL" am: 701ff4a1de am: abb62e5e53 am: ae92201c57
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866345

Change-Id: If857418add33b7f3a4f46e5ca8e6885e2ad2f2e6
2021-11-08 21:30:11 +00:00
Yifan Hong
60ff9fd511 Merge "health AIDL: Add readme" am: 9af94c627c am: fe5ba8ae61 am: 1c4e695225
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875620

Change-Id: I030a523714b7db1ce3f08264bd16cb9015f3a2a5
2021-11-08 21:30:03 +00:00
Yifan Hong
ae92201c57 Merge "health: handle charger in health HAL" am: 701ff4a1de am: abb62e5e53
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866345

Change-Id: Ic96830ad4d610ce6a483147d1fda7a96e825b397
2021-11-08 21:10:30 +00:00
Yifan Hong
1c4e695225 Merge "health AIDL: Add readme" am: 9af94c627c am: fe5ba8ae61
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875620

Change-Id: I804a184b9b442bd1cefa839954f035a3c9086a07
2021-11-08 21:10:13 +00:00
Yifan Hong
2e07613c79 health: make libhealth_aidl_impl visibility public
It was meant to be the replacement of health2impl, the helper library
for implementing the health HAL. Hence, vendor implementation needs
to access it.

Test: pass
Bug: 177269435
Change-Id: I58f4bcd860983b2b16ea52fbdd6e05c8d4953454
2021-11-08 13:02:17 -08:00
Yifan Hong
abb62e5e53 Merge "health: handle charger in health HAL" am: 701ff4a1de
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866345

Change-Id: I02142f952e2cf47b42338ae976d42ad75081f01d
2021-11-08 20:49:24 +00:00
Yifan Hong
fe5ba8ae61 Merge "health AIDL: Add readme" am: 9af94c627c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875620

Change-Id: Ie0375fde0fb867fba5af371dda94daa7d6779232
2021-11-08 20:49:06 +00:00
Yifan Hong
701ff4a1de Merge "health: handle charger in health HAL" 2021-11-08 20:33:46 +00:00
Yifan Hong
9af94c627c Merge "health AIDL: Add readme" 2021-11-08 20:29:15 +00:00
Yifan Hong
02f04175c9 health AIDL: Add readme
Test: none
Bug: 177269435
Change-Id: I54e69d7789c6e1246bb126a27f9463e04407314e
2021-11-08 12:28:18 -08:00
TreeHugger Robot
dd8ae189ce Merge "add note to FilterDelayHint" 2021-11-08 16:46:23 +00:00
Patrick Rohr
7ddf1046cc clean up notification of FilterCallbackScheduler when stopping
I am adding two minor tweaks to change
I2b9d45fa7df3f2490893cc24d98c0e0baaaf0c2c which notifies the condition
variable when trying to join the thread:
    1. the mutex lock does not need to be held to notify the condition
    variable.
    2. adding isRunning check to existing if condition in
    threadLoopOnce to condense the code.

Bug: 183057734
Test: atest android.media.tv.tuner.cts
Change-Id: Ia35e645bddd5005218e8e017a22b87b349997658
2021-11-08 14:41:00 +00:00
Roshan Pius
d22db0a765 Merge "uwb(hal): Add a capabilities mechanism for vendor commands" 2021-11-06 14:28:39 +00:00
Yu-Han Yang
4f9fe84da4 Merge "Return an empty batch when there is no location to return" 2021-11-05 23:37:32 +00:00
Yu-Han Yang
e7b8ac382e Return an empty batch when there is no location to return
Bug: 205200767
Test: atest LocationManagerFineTest#testRequestFlush_Gnss
Change-Id: I98841f1e83e39289f0e09517d572041ecb058d07
2021-11-05 15:18:55 -07:00
Roshan Pius
1e1c842867 uwb(hal): Add a capabilities mechanism for vendor commands
For the vendor commands defined for Android, allow UWB chip vendors to
optionally expose some of the features defined in a given version.

Without this mechanism, any vendor commands added has to be supported by
all chip vendors unconditionally (which may not be feasible based on
hardware capabilities).

Bug: 197886322
Test: Compiles

Change-Id: I917f2dc0d203ba9304f58955ac3cdb9d1735106c
2021-11-05 13:34:59 -07:00