Sooraj Sasindran
379cc3cb78
Merge "NITZ API improvement" am: bb347323d0
am: 4d791aef1b
am: 66b9465fc8
am: 1050f3afcc
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839798
Change-Id: Ifc796c69d88e6af0cbdcbe95ac584c0454117a1d
2021-10-27 21:13:18 +00:00
Sooraj Sasindran
1050f3afcc
Merge "NITZ API improvement" am: bb347323d0
am: 4d791aef1b
am: 66b9465fc8
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839798
Change-Id: Ief3ecec9e1c12d1dbd7691e7965f0430692a4f9b
2021-10-27 20:54:29 +00:00
Sooraj Sasindran
66b9465fc8
Merge "NITZ API improvement" am: bb347323d0
am: 4d791aef1b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839798
Change-Id: I4c33c1e3214fbc837ad43b6ca3b0e3b27f52dbe4
2021-10-27 20:35:49 +00:00
Sooraj Sasindran
4d791aef1b
Merge "NITZ API improvement" am: bb347323d0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839798
Change-Id: Ia5d297d7692f14bcd761b8b9a42e927270c2ee38
2021-10-27 20:15:38 +00:00
Sooraj Sasindran
bb347323d0
Merge "NITZ API improvement"
2021-10-27 19:49:15 +00:00
Ian Hua
71e94d7243
Add FL6 spec tests to AIDL VTS. am: ca46f9768c
am: 65a058482b
am: 1a1d9d0325
am: cc144fffe5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866682
Change-Id: Ie2b7ae91e0c021b0e97c4b1bbd94ab770f06c35b
2021-10-27 16:58:17 +00:00
Ian Hua
cc144fffe5
Add FL6 spec tests to AIDL VTS. am: ca46f9768c
am: 65a058482b
am: 1a1d9d0325
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866682
Change-Id: I2188510948e8964f4a4c8e33648f6a960914d01b
2021-10-27 16:38:50 +00:00
Ian Hua
1a1d9d0325
Add FL6 spec tests to AIDL VTS. am: ca46f9768c
am: 65a058482b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866682
Change-Id: Idc24a0482b0d519a10572d236980de1cf50bacc1
2021-10-27 16:20:36 +00:00
Ian Hua
65a058482b
Add FL6 spec tests to AIDL VTS. am: ca46f9768c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1866682
Change-Id: Id4fe712adc08793e48263183d0ab958517048681
2021-10-27 16:00:58 +00:00
Ian Hua
ca46f9768c
Add FL6 spec tests to AIDL VTS.
...
Also skip FL6 (AIDL_V2) tests for older AIDL drivers.
Bug: 203038813
Test: VtsHalNeuralnetworksTargetTest
Specifically, for old driver such as AIDL_V1 sample driver, it can pass
HIDL tests and skip AIDL_V2 tests. For new driver such as AIDL_V2
sample driver, it can pass all tests.
Change-Id: I689fef0945428f6548977628e3c43628dd1e5bf7
2021-10-27 11:55:25 +01:00
TreeHugger Robot
8d5db93057
Merge "Using a manifest fragment" into sc-v2-dev am: fe342525b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16068072
Change-Id: Iaa561429882703c11300636bd78e0a3b1b568ded
2021-10-27 05:08:00 +00:00
TreeHugger Robot
fe342525b2
Merge "Using a manifest fragment" into sc-v2-dev
2021-10-27 04:04:59 +00:00
Michael Butler
1fb34517fc
Merge changes Iae9f692f,Ib43f1cb6,I9d4f0c30,I7d06ea35 am: 5f14bad22c
am: b9aff55ad9
am: 6109e931d9
am: ebab2cdef5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1863342
Change-Id: I149729d4573cd6b520f1d464285fc1420bc5158c
2021-10-27 01:24:58 +00:00
Michael Butler
ebab2cdef5
Merge changes Iae9f692f,Ib43f1cb6,I9d4f0c30,I7d06ea35 am: 5f14bad22c
am: b9aff55ad9
am: 6109e931d9
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1863342
Change-Id: I862aecc52c8c7858f4de59d73fbe94d32c693935
2021-10-27 01:06:04 +00:00
Michael Butler
6109e931d9
Merge changes Iae9f692f,Ib43f1cb6,I9d4f0c30,I7d06ea35 am: 5f14bad22c
am: b9aff55ad9
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1863342
Change-Id: Ib1a182ec0b8b2f8d5971747eac4ed67c4b0beb24
2021-10-27 00:39:28 +00:00
Michael Butler
b9aff55ad9
Merge changes Iae9f692f,Ib43f1cb6,I9d4f0c30,I7d06ea35 am: 5f14bad22c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1863342
Change-Id: Ie2dadd254c67ca24e7350b5e6d7e501c8bc6d703
2021-10-27 00:20:55 +00:00
Michael Butler
5f14bad22c
Merge changes Iae9f692f,Ib43f1cb6,I9d4f0c30,I7d06ea35
...
* changes:
Move NN HandleError from utils/common to 1.0/utils
Relocate NN ProtectCallback to 1.0/utils
Move NN memory utils from utils/common to 1.0/utils
Remove hal::utils::countNumberOfConsumers
2021-10-26 23:55:24 +00:00
Steven Moreland
b78eba6435
Merge changes from topic "health-aidl" am: 713d22e0f1
am: f802438361
am: 54a25b2d7c
am: 8f89dcc1be
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861824
Change-Id: Ifb54fa7afc814c429d8c1930313dde825aa13a53
2021-10-26 23:36:48 +00:00
Yifan Hong
b1030dcd79
health: separate_platform_variant = false am: b47f676008
am: 4eb35d82b2
am: 5aa275fce8
am: e53f88d29d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1870443
Change-Id: Ie92f8c9417535b927535b67df07f601c2feab3bf
2021-10-26 23:36:46 +00:00
Yifan Hong
df4af12d1a
health: Convert of health HAL to AIDL am: 52ecb3f421
am: cf3b460b9b
am: 359428aade
am: 345c56bcad
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1550321
Change-Id: Ia4571ac2705dfc6837079708ccc8668f2e1fa819
2021-10-26 23:36:44 +00:00
Steven Moreland
8f89dcc1be
Merge changes from topic "health-aidl" am: 713d22e0f1
am: f802438361
am: 54a25b2d7c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861824
Change-Id: I6e940902dbd08b30f54fb06c970743a8aa3b34ca
2021-10-26 23:16:44 +00:00
Yifan Hong
e53f88d29d
health: separate_platform_variant = false am: b47f676008
am: 4eb35d82b2
am: 5aa275fce8
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1870443
Change-Id: I60af6e925cb6dc314e6c08abf216383f9c0bcc92
2021-10-26 23:16:43 +00:00
Yifan Hong
345c56bcad
health: Convert of health HAL to AIDL am: 52ecb3f421
am: cf3b460b9b
am: 359428aade
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1550321
Change-Id: Ib04dfb3f3927101bceddc31e89f1bb646187caa1
2021-10-26 23:16:41 +00:00
Steven Moreland
54a25b2d7c
Merge changes from topic "health-aidl" am: 713d22e0f1
am: f802438361
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861824
Change-Id: I7d247c28a9d6270a0d187a326b43bc60e3f5dfa3
2021-10-26 23:15:22 +00:00
Yifan Hong
5aa275fce8
health: separate_platform_variant = false am: b47f676008
am: 4eb35d82b2
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1870443
Change-Id: Icc249b15f1178d917eab8dad50818879a106bfca
2021-10-26 23:15:21 +00:00
Yifan Hong
359428aade
health: Convert of health HAL to AIDL am: 52ecb3f421
am: cf3b460b9b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1550321
Change-Id: I298097d0dcfceace816673c5b81544769efed9a8
2021-10-26 23:15:19 +00:00
Steven Moreland
f802438361
Merge changes from topic "health-aidl" am: 713d22e0f1
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861824
Change-Id: I66a5983036a8679c5469a4295126aeee238ad303
2021-10-26 22:55:48 +00:00
Yifan Hong
4eb35d82b2
health: separate_platform_variant = false am: b47f676008
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1870443
Change-Id: I113e771f52bfd0b4bbd0b9a1f64d80e03afce01f
2021-10-26 22:55:47 +00:00
Yifan Hong
cf3b460b9b
health: Convert of health HAL to AIDL am: 52ecb3f421
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1550321
Change-Id: I5083a0066a63101817886a548aabc0dcbb319722
2021-10-26 22:55:45 +00:00
Steven Moreland
713d22e0f1
Merge changes from topic "health-aidl"
...
* changes:
health: Add to compatibility matrix.
health: separate_platform_variant = false
health: Convert of health HAL to AIDL
2021-10-26 22:33:31 +00:00
Michael Butler
49d95e0457
Move NN HandleError from utils/common to 1.0/utils
...
This change is part of a larger chain of changes to remove HIDL and AIDL
libraries from neuralnetworks_utils_hal_common.
Bug: N/A
Test: mma
Change-Id: Iae9f692ffc72700294aae694c256e75c7e353fef
2021-10-26 21:18:33 +00:00
Michael Butler
e8645c3b8d
Relocate NN ProtectCallback to 1.0/utils
...
This change is part of a larger chain of changes to remove HIDL and AIDL
libraries from neuralnetworks_utils_hal_common.
Bug: N/A
Test: mma
Change-Id: Ib43f1cb683a09ae5c9116a6dea4d269c9c2c78b4
2021-10-26 21:18:09 +00:00
Michael Butler
15965821e8
Move NN memory utils from utils/common to 1.0/utils
...
This change is part of a larger chain of changes to remove HIDL and AIDL
libraries from neuralnetworks_utils_hal_common.
Bug: N/A
Test: mma
Change-Id: I9d4f0c30932fad7ccb6231aa03e57f7227af4880
2021-10-26 21:17:53 +00:00
Michael Butler
301ef060e9
Remove hal::utils::countNumberOfConsumers
...
This CL removes hal::utils::countNumberOfConsumers and uses the existing
nn::countNumberOfConsumers.
This change is part of a larger chain of changes to remove HIDL and AIDL
libraries from neuralnetworks_utils_hal_common.
Bug: N/A
Test: mma
Change-Id: I7d06ea355eae7aa80b94b09a23d606bbb2322120
2021-10-26 21:17:10 +00:00
Felipe Leme
aa66d6a12b
Merge "Parse user flags as flags instead of enum." am: 8bfd990678
am: 53f9948c62
am: 64edea9ebe
am: c3eac7a9a8
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1869945
Change-Id: Id6a03ccdab336c82fac26f8c680e6aeb1487ea27
2021-10-26 21:04:07 +00:00
Felipe Leme
c3eac7a9a8
Merge "Parse user flags as flags instead of enum." am: 8bfd990678
am: 53f9948c62
am: 64edea9ebe
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1869945
Change-Id: I1c98228ad731705d35e03847353fb65234ff9296
2021-10-26 20:49:56 +00:00
Felipe Leme
64edea9ebe
Merge "Parse user flags as flags instead of enum." am: 8bfd990678
am: 53f9948c62
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1869945
Change-Id: Ibeb7aef7aacb5584435842a719e6096ea013f6cd
2021-10-26 20:31:31 +00:00
Felipe Leme
53f9948c62
Merge "Parse user flags as flags instead of enum." am: 8bfd990678
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1869945
Change-Id: I6a14d852008dd847c289c8430e4d6c3932f0bc03
2021-10-26 20:11:37 +00:00
Felipe Leme
8bfd990678
Merge "Parse user flags as flags instead of enum."
2021-10-26 19:40:00 +00:00
Yu Shan
68cb8c04e8
Parse user flags as flags instead of enum.
...
The flags field in UserInfo is a int32_t that contains multiple
UserFlags 'or'ed together. We should not parse it as enum.
Test: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests
Bug: 202520478
Change-Id: Ie7e81a8a5f39f6070e35f2e77bce88a211fd526b
Merged-In: Ie7e81a8a5f39f6070e35f2e77bce88a211fd526b
(cherry picked from commit 5c0ec3f1de
)
2021-10-26 19:39:48 +00:00
Yifan Hong
21a22cece4
health: Add to compatibility matrix.
...
For now, add as optional. Once we finished implementing
it on Android T devices, make it required.
Test: pass
Bug: 177269435
Change-Id: I148b7567d8e154cb5e16ec01b547785f90c7a706
2021-10-26 11:03:04 -07:00
Yifan Hong
b47f676008
health: separate_platform_variant = false
...
Disable the generation of ndk_platform variant during the
ndk_platform -> ndk migration.
Test: builds
Bug: 177269435
Change-Id: I467eaee53542b152df1d398a8f044eb42fd01772
2021-10-26 11:03:03 -07:00
Yifan Hong
52ecb3f421
health: Convert of health HAL to AIDL
...
On top of the hidl2aidl translation, the following is
done manually:
- Renamed the package from health2 to health. Also pulls in
health@1.0::Battery* enums.
- Removes Result and Constants enum. Result values are returned
as transaction status codes.
- Removes health@2.1 charger related APIs.
- remove shouldKeepScreenOn
- remove getHealthConfig
- remove HealthConfig type
- Removes StorageAttribute because it is not used in the framework
- Add units to HealthInfo fields and IHealth methods.
- Update docs (namely, u -> µ in various places)
Bug: 177269435
Test: pass
Change-Id: I9c9a9d9dd5d49142258e608a463412d3e89e91a3
2021-10-26 11:03:03 -07:00
Tommy Chiu
638f98a2f2
libkeymint_support: Make it vendor accessiable am: abcf89dd53
am: 948bfe2cae
am: 1f8a0ea462
am: 582686b67f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1870241
Change-Id: I9ccd5da47092fadd88cd6876c3ee2bf0359aa3d3
2021-10-26 17:39:06 +00:00
Tommy Chiu
582686b67f
libkeymint_support: Make it vendor accessiable am: abcf89dd53
am: 948bfe2cae
am: 1f8a0ea462
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1870241
Change-Id: Ifdb34e8f4dfba4bcbaccf78d03bd1b4606b70cf5
2021-10-26 17:24:47 +00:00
Yomna Nasser
83f112313e
[automerger skipped] Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" into sc-v2-dev am: cc96134697
-s ours
...
am skip reason: Merged-In I0b50e7e6c0d406a62f7a1e2ea8ac9bc3a71d8aeb with SHA-1 20aa01c238
is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16091381
Change-Id: Iec201f0a357a6873a97fda399cab10e198f31caf
2021-10-26 17:24:42 +00:00
Tommy Chiu
1f8a0ea462
libkeymint_support: Make it vendor accessiable am: abcf89dd53
am: 948bfe2cae
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1870241
Change-Id: Iab163f5c757b1deabb3e8b78aacfc61a448dae47
2021-10-26 17:08:41 +00:00
Yomna Nasser
cc96134697
Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" into sc-v2-dev
2021-10-26 17:07:42 +00:00
Tommy Chiu
948bfe2cae
libkeymint_support: Make it vendor accessiable am: abcf89dd53
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1870241
Change-Id: I5ccd30e1e286a50559c2ba5055f03a895923454b
2021-10-26 16:53:10 +00:00
Tommy Chiu
abcf89dd53
libkeymint_support: Make it vendor accessiable
...
This support function is supposed to be useable by vendor in treble.
Add "vendor_available" to reflect that.
Bug: 203481954
Test: Link by vendor successfully
Change-Id: I9709ac0ab79405c336ed8a1bc44b2ef643dd5b2d
2021-10-26 23:25:42 +08:00