Commit graph

34468 commits

Author SHA1 Message Date
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
Treehugger Robot
728f334599 Merge "Update OWNERS for VtsHalSensors tests." 2021-11-09 02:37:17 +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
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
Yifan Hong
4335f1cf9f health: Also add h2aTranslate(V1_0.HealthInfo)
... for BatteryService to use. Other fields
are kept as default values.

Test: builds
Bug: 177269435
Change-Id: I7e1c997f5441c7a81bcffb32688f4a2216378998
2021-11-08 12:23:23 -08:00
Jayachandran C
5c1aa7972f Add some delay for SIM power up and down delay for setSimCardPower_1_6 API
Bug: 203031664
Test: VTS
Change-Id: I68e7352ed95a8487dee291de493c78cf1491d569
2021-11-08 07:52:44 +00:00
Michael Butler
2ffa7ad391 Remove unnecessary NNAPI header files
This change removes the following header files, which were created
temporarily while NNAPI utility code was being re-organized, and are no
longer needed:
* include/AidlBufferTracker.h
* include/AidlHalInterfaces.h
* include/AidlHalUtils.h
* include/AidlValidateHal.h

Bug: 191442336
Test: mma
Test: atest neuralnetworks_utils_hal_*
Change-Id: I895d0bf6b5fd0ec4ef2977da0ecfe2a106e44083
2021-11-05 12:26:01 -07:00
Treehugger Robot
908a8e4dd8 Merge "Creates a vendor APEX for the power and power.stats AIDL HALs." am: e1619a8923
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1863346

Change-Id: I80eae871139a7b54276149decf1026b733395752
2021-11-04 22:12:11 +00:00
Bob Badour
19379841b2 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces am: 7a31e5dbd9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880391

Change-Id: I5bc448f708b7587bf418b1d6f1f308a0ea390eee
2021-11-04 22:05:51 +00:00
Treehugger Robot
e1619a8923 Merge "Creates a vendor APEX for the power and power.stats AIDL HALs." 2021-11-04 21:59:41 +00:00
Bob Badour
7a31e5dbd9 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  health/utils/libhealthtest/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Icad37f04c1ca51b2b111b980a45002bf027505c8
2021-11-04 11:22:46 -07:00
David Gross
7e2e6b33a4 Freeze neuralnetworks AIDL version as v2 for FL6
$ m android.hardware.neuralnetworks-update-api
$ m android.hardware.neuralnetworks-freeze-api

Bug: 203055646

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksTargetTest
Change-Id: I35dbd32695acdffc552790dc7396bc8c724e9242
2021-11-04 10:11:16 -07:00
Treehugger Robot
35f98d3e91 Merge "audio: Fix handling of dynamic profiles in VtsHalAudioV7_0TargetTest" am: 8d27f7c7da
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880608

Change-Id: Ic78e13cbcb02d713900c922ebd9ee7772409b7b7
2021-11-04 10:15:31 +00:00
Treehugger Robot
8d27f7c7da Merge "audio: Fix handling of dynamic profiles in VtsHalAudioV7_0TargetTest" 2021-11-04 08:43:23 +00:00
David Drysdale
19d2110e4b Merge "Consolidate OWNERS files" am: af19de9975
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1877236

Change-Id: I87070fe00752d907fa68c0cf11d977050aab4af9
2021-11-04 07:20:27 +00:00
David Drysdale
af19de9975 Merge "Consolidate OWNERS files" 2021-11-04 06:58:05 +00:00
Treehugger Robot
6aae104719 Merge "Update OWNERS for VtsHalCas* tests." am: 2ba4b1ce30
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861818

Change-Id: I15b08335a7997993a0f5eba4e12551dea327ce4f
2021-11-03 21:23:12 +00:00
Treehugger Robot
2ba4b1ce30 Merge "Update OWNERS for VtsHalCas* tests." 2021-11-03 21:05:58 +00:00
Mikhail Naganov
adf84c03b8 audio: Fix handling of dynamic profiles in VtsHalAudioV7_0TargetTest
The profiles generator wasn't loading correctly from the Audio
Policy Manager config file profiles with unpopulated attributes,
which is typical for dynamic profiles.

Bug: 204314749
Test: atest HalAudioV7_0GeneratorTest
Change-Id: I514a4e03da165cacb5dbaaa16470130895681484
2021-11-03 21:01:16 +00:00
Gabriel Biren
b3eb504848 Switch hostapd VTS tests to NDK backend.
Bug: 204889679
Test: Make and run VtsHalHostapdTargetTest
      m vts -j
      vts-tradefed run commandAndExit vts \
          --module VtsHalHostapdTargetTest
Change-Id: I0fe97b18b83098df6c70a5057576704c4b1f7383
2021-11-03 19:45:39 +00:00
Yifan Hong
a8f55cacaa health: handle charger in health HAL
Test: manual in charger mode
Bug: 203246116

Change-Id: Id02077d78fa8b1489ea4fba5b10e32f961c4cea0
2021-11-03 11:56:01 -07:00
Michael Butler
f3ac53fa2a Merge changes from topic "libneuralnetworks_common-cleanup" am: ee7a476090
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1878019

Change-Id: I3da9b3f8315c50379b4f95f060d15f6a8ae3274c
2021-11-03 18:47:29 +00:00
Michael Butler
937d71b102 Move Aidl utility code to aidl/utils -- hal 1/2 am: 8fa5383407
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1878018

Change-Id: I4dc6f6a75e1643ddb9fd1e673dedde70e366fff5
2021-11-03 18:47:28 +00:00
Yiming Pan
b2e850284a Update OWNERS for VtsHalCas* tests.
Added a bug component where issues seen on this test are triaged. This
will affect the following tests:

VtsHalCasV1_0TargetTest
VtsHalCasV1_1TargetTest
VtsHalCasV1_2TargetTest

Test: Tree Hugger
Bug: 143903671
Change-Id: I03c7b69a7db49d6793ea023691312be8bcfc7195
2021-11-03 11:23:01 -07:00
Michael Butler
ee7a476090 Merge changes from topic "libneuralnetworks_common-cleanup"
* changes:
  Move Aidl utility code to aidl/utils -- hal 2/2
  Move Aidl utility code to aidl/utils -- hal 1/2
2021-11-03 18:14:06 +00:00
David Drysdale
e60248c8e7 KeyMint VTS: ATTEST_KEY has no other purpose
The KeyMint spec has always required that keys with the ATTEST_KEY
purpose "must not have any other purpose".

Add explicit tests for combined-purpose keys to be rejected.

Also expand the spec text to require a specific error code, and to
explain the rationale for single-purpose ATTEST_KEY keys.

Bug: 197096139
Test: VtsAidlKeyMintTargetTest
Change-Id: I2a2014f0ddc497128ba51bb3f43671f759789912
2021-11-03 09:58:05 +00:00
Michael Butler
00e983df29 Merge changes Ibd460229,I589668ef am: 7815893786
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1877839

Change-Id: Ia9887ecbd116066d9f9549986bf2c99730e30171
2021-11-02 20:55:35 +00:00
Michael Butler
7815893786 Merge changes Ibd460229,I589668ef
* changes:
  Re-organize NNAPI Burst utility classes
  Change NN adapter to use ExecutionBurstServer utility
2021-11-02 20:38:36 +00:00
Nathalie Le Clair
bfd12e9bf5 Merge "CEC: Add support for multiple ports to default HdmiCec" am: 63a8152f8e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1773889

Change-Id: I1bc66418811ec675f538a60c4632d885234d3fe7
2021-11-02 17:28:03 +00:00
Nathalie Le Clair
abb6a8067b Merge "CEC: Add implementation of SYSTEM_CEC_CONTROL option to default HdmiCec" am: 3f3e91faa9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1772433

Change-Id: I64955334a2fc9af282a5252d0bbfe2baf1c600d0
2021-11-02 17:27:57 +00:00
Nathalie Le Clair
4e169ac218 Merge "CEC: Refactor HdmiCecDefault class" am: a2b3a8ffca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1833914

Change-Id: I42968723a05601219bf62ba3310f0d2df7076284
2021-11-02 17:27:40 +00:00
Nathalie Le Clair
63a8152f8e Merge "CEC: Add support for multiple ports to default HdmiCec" 2021-11-02 17:15:54 +00:00
Nathalie Le Clair
3f3e91faa9 Merge "CEC: Add implementation of SYSTEM_CEC_CONTROL option to default HdmiCec" 2021-11-02 17:15:24 +00:00
Nathalie Le Clair
a2b3a8ffca Merge "CEC: Refactor HdmiCecDefault class" 2021-11-02 17:14:57 +00:00
Michael Butler
c331067aac Move Aidl utility code to aidl/utils -- hal 2/2
This change is part of an effort to remove HAL types from
libneuralnetworks_common*. This change:
* Updates the header guard names for the new directory
* Removes the "Aidl" prefix from the files
* Adds temporary "Aidl" header files under include/ that redirect to
   their corresponding files in include/nnapi/hal/aidl/
* Changes references of libneuralnetworks_common_hidl to
   libneuralnetworks_common

Bug: 191442336
Test: mma
Change-Id: Icbcc04e0a49a9adf8d8826fd5735028ea26de0ca
2021-11-01 21:34:53 -07:00
Michael Butler
8fa5383407 Move Aidl utility code to aidl/utils -- hal 1/2
This change is part of an effort to remove HAL types from
libneuralnetworks_common*. This change moves the following files to
hardware/interfaces/neuralnetworks/aidl/utils:
* AidlBufferTracker.h
* AidlHalInterfaces.h
* AidlHalUtils.h
* AidlValidateHal.h

Bug: 191442336
Test: mma
Change-Id: I799d8ba761c004af963fc6bc044125d8828f2053
2021-11-01 21:34:49 -07:00
Michael Butler
137ee99a16 Re-organize NNAPI Burst utility classes
This change:
* Renames ExecutionBurstController to Burst in 1.2/utils
* Renames ExecutionBurstUtils to BurstUtils in 1.2/utils
* Renames ExecutionBurstServer to Burst in common/adapter

Bug: N/A
Test: mma
Change-Id: Ibd460229887c8c9cd23ebc6ee61da37c7c820288
2021-11-01 16:40:31 -07:00
Michael Butler
cfc16f94b2 Change NN adapter to use ExecutionBurstServer utility
Bug: 180492058
Bug: 177267324
Test: mma, presubmit
Change-Id: I589668efe187641a67934463bcdea8d19f095bb4
2021-11-01 14:48:48 -07:00
Michael Butler
1f711eed17 Merge "Revert^2 "Provide explicitly versioned NNAPI AIDL utils libs -- HAL."" am: be7f81f58d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875575

Change-Id: I2c8492fcc69028f9efd7d9510d9c3b609180fe96
2021-11-01 17:53:50 +00:00
Michael Butler
be7f81f58d Merge "Revert^2 "Provide explicitly versioned NNAPI AIDL utils libs -- HAL."" 2021-11-01 17:39:44 +00:00
David Drysdale
b3b121493d KeyMint VTS: don't combine ATTEST_KEY with SIGN
Update the VTS tests so that attestation keys are not created with
another purpose.

Bug: 197096139
Test: VtsAidlKeyMintTargetTest
Change-Id: Ib6e4ad98cbe5c3015138854679b11fa0e683ade9
2021-11-01 17:15:51 +00:00
David Drysdale
fa36259cb2 Consolidate OWNERS files
Have a single OWNERS file for everything under
hardware/interfaces/security

Test: TreeHugger
Change-Id: I1f15296edefda447916e9a3e8211e88ed8854f90
2021-11-01 08:42:42 +00:00
Treehugger Robot
0b1b6a0258 Merge "health AIDL: add vts tests" am: 9b965ac6a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875176

Change-Id: Ic5220a1e81cac4eae3a79b386bc5dbf5a3434b3a
2021-10-30 01:07:06 +00:00
Treehugger Robot
9b965ac6a5 Merge "health AIDL: add vts tests" 2021-10-30 00:53:03 +00:00