Commit Graph

34242 Commits

Author SHA1 Message Date
Treehugger Robot
94dea4096c Merge "health storage AIDL HAL logs more." am: 4b0c7f0e7a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1905374

Change-Id: Ifc15c002af051dfae4b0b8b3efcdd79ecb1011ed
2021-11-29 23:52:45 +00:00
Treehugger Robot
4b0c7f0e7a Merge "health storage AIDL HAL logs more." 2021-11-29 23:33:55 +00:00
Yifan Hong
9f1639f6b4 health storage AIDL HAL logs more.
Test: builds
Bug: 206775954
Change-Id: I211e29e495a974e9c93ac97c7dd9ef93e1bcb5ef
2021-11-29 22:03:15 +00:00
David Gross
0ca4f1a02e Add NNAPI specification and infrastructure for FL7. am: 2edfc467f1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1858468

Change-Id: I74c7908ce69fef43a56985897b37869da4ea0743
2021-11-23 02:30:44 +00:00
David Gross
2edfc467f1 Add NNAPI specification and infrastructure for FL7.
Adds operations MIRROR_PAD and REVERSE.
Extends RSQRT to support QUANT8_ASYMM and QUANT8_ASYMM_SIGNED.

DOES NOT include tests or CPU reference implementation.

Bug: 202280917

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksTargetTest

Merged-In: I0b2133346b996849faac00c46885e3633c78f024
Change-Id: I0b2133346b996849faac00c46885e3633c78f024
(cherry picked from commit 04ed8595b5)
2021-11-22 14:41:51 -08:00
Mikhail Naganov
384ecfa68e Merge "audio VTS: Consider only attached devices for stream tests" am: 1323e4bd90
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895277

Change-Id: Ibb82fec3b1299b24adaaa9c1ceb15b821b80e911
2021-11-22 17:48:46 +00:00
Mikhail Naganov
1323e4bd90 Merge "audio VTS: Consider only attached devices for stream tests" 2021-11-22 17:30:19 +00:00
Serik Beketayev
6e506b6756 [IRadioConfig] Removing SimSlotStatus.cardActive am: 23692c7e20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895279

Change-Id: I0d3031458415f0b7095b0eb0375d253c0e906fd5
2021-11-22 17:09:19 +00:00
Treehugger Robot
36c5db90b3 Merge "health: fix running HAL in recovery mode." am: b75e7b43c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1893226

Change-Id: Ibb7b514aa4c583a48ed2ef2c8b9c6d7c79736dbb
2021-11-20 00:09:03 +00:00
Serik Beketayev
23692c7e20 [IRadioConfig] Removing SimSlotStatus.cardActive
Cleaning this up, since structure was changed for AIDL.

Bug: 205585789
Test: m
Change-Id: Ia59a1f1e3b66cd45f8ad9d1f4c2fb3af5fb09dc0
Merged-In: Ia59a1f1e3b66cd45f8ad9d1f4c2fb3af5fb09dc0
2021-11-19 16:06:12 -08:00
Mikhail Naganov
3483b0ad7e audio VTS: Consider only attached devices for stream tests
V6 and V7 use the audio policy configuration file for generating
the set of test profiles. The generator must only take into
account profiles of mix ports that are routed to device ports of
attached devices. Otherwise the HAL can rightfully refuse
to create a stream for the profile when the device isn't attached.

Bug: 205808571
Test: atest HalAudioV6_0GeneratorTest
Test: atest HalAudioV7_0GeneratorTest
Test: atest VtsHalAudioV6_0TargetTest
Test: atest VtsHalAudioV7_0TargetTest
Change-Id: I798f978c1c0bc32831c20e4b08338b462d8eea16
2021-11-19 22:25:19 +00:00
Treehugger Robot
b75e7b43c5 Merge "health: fix running HAL in recovery mode." 2021-11-19 21:25:33 +00:00
David Drysdale
bc899371f4 Merge "KeyMint VTS: don't combine ATTEST_KEY with SIGN" am: 4f51da1c9e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1877245

Change-Id: Iebb88934dda5814a3c60112965baa0b67ba3ea73
2021-11-19 08:11:04 +00:00
David Drysdale
4f51da1c9e Merge "KeyMint VTS: don't combine ATTEST_KEY with SIGN" 2021-11-19 07:53:34 +00:00
Michael Butler
58b61dbce0 Merge "Rename Version::ANDROID_* to kVersionFeatureLevel* -- hal" am: 8f6b82c7a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1896056

Change-Id: I698336ca059e99a4967c0612359ee0d5229f479e
2021-11-19 03:14:38 +00:00
Michael Butler
8f6b82c7a5 Merge "Rename Version::ANDROID_* to kVersionFeatureLevel* -- hal" 2021-11-19 02:45:32 +00:00
Yifan Hong
87ece16955 health: fix running HAL in recovery mode.
- Add proper RC files
- overrides charger.recovery
- update readme for implementing recovery mode

Test: pass
Bug: 177269435
Change-Id: Id60b57978e4e5bf78af32bd67523333ba0c2a04d
2021-11-19 02:18:21 +00:00
Michael Butler
a9ebf76162 Merge "Make NNAPI Version more structured -- hal" am: 71b595549c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1890277

Change-Id: Idc83d3c0b5e2cfb1d6da853b0754cbc108f57681
2021-11-19 00:17:10 +00:00
Michael Butler
71b595549c Merge "Make NNAPI Version more structured -- hal" 2021-11-18 23:58:42 +00:00
Michael Butler
60a7b86cf0 Rename Version::ANDROID_* to kVersionFeatureLevel* -- hal
Prior to this change, version constants (e.g., Version::ANDROID_S) were
public static constants to make the version constants look as if they
were enum values. However, this method prevented versions from being
constexpr, because the Version type was incomplete by that point in
time. This change moves these version constants outside of the Version
struct, and makes them constexpr. They have the new names:
* Version::ANDROID_OC_MR1 -> kVersionFeatureLevel1
* Version::ANDROID_P -> kVersionFeatureLevel2
* Version::ANDROID_Q -> kVersionFeatureLevel3
* Version::ANDROID_R -> kVersionFeatureLevel4
* Version::ANDROID_S -> kVersionFeatureLevel5
* Version::FEATURE_LEVEL_6 -> kVersionFeatureLevel6
* Version::EXPERIMENTAL -> kVersionFeatureLevelExperimental

Bug: 206975939
Test: mma
Change-Id: Ibf5f2fdb1459a69c51865aa5fdcd0cb0c3a88ade
2021-11-18 23:56:54 +00:00
Michael Butler
34f0a8f418 Make NNAPI Version more structured -- hal
Prior to this topic, NNAPI Versions were linear and represented by an
enumeration. However, this did not properly account for the
non-linearity of runtime-specific features such as a control flow
operations with operands of dynamic sizes. This topic alters Version to
be a struct containing a feature level enumeration as well as a boolean
which indicates whether there are runtime-specific features.

Bug: 206975939
Test: mma
Test: NeuralNetworksTests_static
Change-Id: I78c54ef597bf269b137f2835332bdedac49883d4
2021-11-18 23:56:15 +00:00
Treehugger Robot
f44059b065 Merge "Wifi: P2P VTS tests fail with no P2P support" am: a4a390c0d9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892882

Change-Id: Iba6f9e413f5f49cf0bc09ec70339e982dc669ed2
2021-11-18 21:58:54 +00:00
Treehugger Robot
a4a390c0d9 Merge "Wifi: P2P VTS tests fail with no P2P support" 2021-11-18 21:31:09 +00:00
Xin Li
76364127bf Merge "Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918" into stage-aosp-master 2021-11-18 21:29:03 +00:00
Yifan Hong
a68e416fee health: Update README.md for SELinux rule example am: d4ebad8aef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1894882

Change-Id: I97441c5c98ae10ef8449bf7e7a8f199556bdac95
2021-11-17 18:46:16 +00:00
Yifan Hong
d4ebad8aef health: Update README.md for SELinux rule example
Test: none
Bug: 177269435
Change-Id: Ifd5ef99e7dd1c27fe9973daa65ad70714f86a46b
2021-11-16 23:22:16 -08:00
Carter Hsu
66cfe34ef4 Merge "audio: Support 64bit configuration on 32+64bit compatible OS" am: f665b8fa86
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1891181

Change-Id: Ib5c59bedf9314d3a026f3496ecc0830ff649032d
2021-11-17 05:06:44 +00:00
Carter Hsu
f665b8fa86 Merge "audio: Support 64bit configuration on 32+64bit compatible OS" 2021-11-17 04:50:22 +00:00
Sooraj Sasindran
e065265273 Merge "Add new VoNR api into IRadioVoice module" am: 0d9ef9f0b9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1881110

Change-Id: Id1da2095f063ed4a745f9850d57dfd1f68a2fc0b
2021-11-16 22:58:31 +00:00
Hongguang Chen
5376672d34 Merge "Add blindScan condition to blindScan test" am: 32b4c5025b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1894144

Change-Id: I3a2c6ae5b8997800fba3ac673a8437b86ffeaaca
2021-11-16 22:58:20 +00:00
Treehugger Robot
bd2c32ba66 Merge "Add 5.15 to the current compatibility matrix" am: 20d4bc2d00
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1887616

Change-Id: Ifa2f1cd964586e72e0022653f5cefa9efa6cd0d7
2021-11-16 22:57:55 +00:00
Sooraj Sasindran
0d9ef9f0b9 Merge "Add new VoNR api into IRadioVoice module" 2021-11-16 22:51:33 +00:00
Hongguang Chen
32b4c5025b Merge "Add blindScan condition to blindScan test" 2021-11-16 22:34:32 +00:00
Treehugger Robot
20d4bc2d00 Merge "Add 5.15 to the current compatibility matrix" 2021-11-16 22:32:28 +00:00
Michael Butler
a0c2165144 Merge "Configure Version value for each version of NN AIDL utils" am: 21e079c9e2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1890278

Change-Id: I59aedd7545813999e9913d02dd75dc1d7cf88474
2021-11-16 19:53:59 +00:00
Michael Butler
21e079c9e2 Merge "Configure Version value for each version of NN AIDL utils" 2021-11-16 19:30:51 +00:00
ming.lo
3d49487541 Add blindScan condition to blindScan test
Bug: 203389496

Change-Id: If44df620ab90b5b0247fbee15e2b2a57e27683b5
Merged-In: If44df620ab90b5b0247fbee15e2b2a57e27683b5
2021-11-16 18:56:18 +00:00
Yifan Hong
5ad2b7fda6 Merge "health: do not use default destructor." am: 4915df85a0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1891477

Change-Id: Ic285591bb95390f867a3b2b9379704e625e73101
2021-11-16 02:41:12 +00:00
Yifan Hong
4915df85a0 Merge "health: do not use default destructor." 2021-11-16 02:25:29 +00:00
Carter Hsu
150dded787 audio: Support 64bit configuration on 32+64bit compatible OS
The default value is 'prefer32', in order to run the hardware audio
service as 64 bit on a 32+64bit OS, please add the content below
into 'device.mk':

SOONG_CONFIG_NAMESPACES += android_hardware_audio
SOONG_CONFIG_android_hardware_audio += \
	run_64bit
SOONG_CONFIG_android_hardware_audio_run_64bit := true

Bug: 205240941
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ic7632a4f80298721512cd538ce93945b82a9981f
2021-11-16 00:44:36 +00:00
Michael Butler
20f76f3654 Configure Version value for each version of NN AIDL utils
Currently, there are two different versions of the NN AIDL utils:
* neuralnetworks_utils_hal_aidl_v1 (v1)
* neuralnetowrks_utils_hal_aidl (v2)

This change configures utils::kVersion to match the version of the
utility library that builds it.

Bug: N/A
Test: mma
Change-Id: I7d08bf50f76664702ec0828cc35a363eb29bdde3
2021-11-15 15:42:28 -08:00
Michael Butler
3e31733ee7 Merge "Consolidate NNAPI OWNERS files" am: 161883c967
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1892878

Change-Id: I68a0c1e2ebff9c1b2ae20eb4240a0a4e87faefcc
2021-11-15 23:42:11 +00:00
Michael Butler
161883c967 Merge "Consolidate NNAPI OWNERS files" 2021-11-15 23:22:05 +00:00
Blair Prescott
7156c06525 Wifi: P2P VTS tests fail with no P2P support
Skip P2P tests if P2P is not supported.

Bug: 200064365
Test: run vts -m VtsHalWifiSupplicantP2pV1_4TargetTest
Change-Id: I6ba23bb27f24700980cab28d1ff806e5efc65ec9
2021-11-15 13:49:21 -08:00
Michael Butler
acd7955b21 Consolidate NNAPI OWNERS files
This change deletes all existing OWNERS files under
hardware/interfaces/neuralnetworks and creates a new OWNERS file with
the current NNAPI team members.

This change also updates the NNAPI project path in
hardware/interfaces/neuralnetworks/README.

Bug: 179510251
Test: N/A
Change-Id: Iaca69505c8449ae7d93be0db99205f5f56556e86
2021-11-15 20:22:41 +00:00
Gary Jian
0955e0154c Add new VoNR api into IRadioVoice module
-isVoNrEnabled
-setVoNrEnabled

Bug: 203162440
Test: make
Change-Id: Iae3e17c8ff5aa25ca0398bd179879c49deca71f5
2021-11-15 16:25:04 +08:00
Yifan Hong
2d418a2b5b health: do not use default destructor.
Otherwise, clients will need to know how to destroy
LinkedCallback, a hidden class.

Test: builds
Bug: 177269435
Change-Id: I89532755da16b672c4cbece55b943306f68cdb9e
2021-11-12 19:05:24 -08:00
Sarah Chin
dc197374e1 Merge "Remove deprecated/unused APIs from IRadio AIDL" am: 2d1a006ae4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1888342

Change-Id: I114421baca55b10dd320584f985be19f40c04a93
2021-11-13 00:11:36 +00:00
Sarah Chin
2d1a006ae4 Merge "Remove deprecated/unused APIs from IRadio AIDL" 2021-11-12 23:53:09 +00:00
Treehugger Robot
5e070c733a Merge "Fix the integration issue for HAL 2.2" am: c4718b793c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1881111

Change-Id: Ia68335b145295dd0bff8e1900933f5de6b97b95b
2021-11-12 13:05:44 +00:00