Commit graph

938 commits

Author SHA1 Message Date
Slava Shklyaev
f8124a861f Add NNAPI control flow
Bug: 136735929
Bug: 139181916
Test: m
Change-Id: I7a75175f00fc98df626c40ea669021ccd40130e0
Merged-In: I7a75175f00fc98df626c40ea669021ccd40130e0
(cherry picked from commit a785a3faac)
2020-01-27 12:51:09 -08:00
Slava Shklyaev
351ca59582 Remove neuralnetworks@1.3::Model.Extension* in favor of 1.2 counterparts
The types are the same as in 1.2. No changes are expected.

Bug: 136735929
Test: m
Change-Id: I7431d2e9263fafa0e63b8b1b40f6715e3832d17c
Merged-In: I7431d2e9263fafa0e63b8b1b40f6715e3832d17c
(cherry picked from commit 8a179f3499)
2020-01-27 12:50:50 -08:00
Nathan Harold
8f0d8b1840 Add Multi-PLMN and CSG support
Non-functional changes:
-Clarify that the MCC+MNC in the CellIdentity should be used to
 report the Primary PLMN only; (this PLMN is globally unique, and
 can be used to construct a CGI/ECGI whereas other PLMN-IDs cannot).
-Add clarification for the reporting of multi-PLMN 5G networks.

Functional changes:
-Add a list of PLMNs for MOCN Networks. This allows cells that are
 shared by multiple operators to be properly reported.
-Add support for Closed Subscriber Group reporting to allow
 identification of small-cell deployments.

Bug: 135921133
Test: make VtsHalRadioV1_5Target
      && make aosp_cf_x86_64_phone-userdebug
Change-Id: Ibb0682de8ae9c4421e79086773c977a4e76ac4f1
Merged-In: Ibb0682de8ae9c4421e79086773c977a4e76ac4f1
2020-01-26 11:18:59 -08:00
Sasha Kuznetsov
9050008498 Merge "Create measurement corrections 1.1 with eBearing" 2020-01-25 23:31:42 +00:00
Nathan Harold
caee79f174 Add Support for RPLMN to Voice and Data RegState
-Define RegistrationFailCause as an enum
-Combine voice and data reg state into a single struct
-Define a safe-union for AN-specific registration info

Bug: 73629308
Test: make && make VtsHalRadioV1_5TargetTest
      && make cf_x86_64_phone-userdebug

Change-Id: I43df3cffd4c55f2c5df8eaf0235772e5930dced5
Merged-In: I43df3cffd4c55f2c5df8eaf0235772e5930dced5
2020-01-25 00:39:23 -08:00
Sarah Chin
e1d1b0b92c PhoneCapabilities changes for device capabilities
Change PhoneCapability structure to contain static capabilities for:
* the entire device
* each modem/radio
* each SIM slot

Created SimSlotCapability and SlotType to hold information about
device SIM slot capabilities (separate from SimSlotStatus).

Created ModemFeatures to express modem capabilities as a bitfield
of concurrently supportable modem features.

PhoneCapability has fields for UE categories, bands, access networks,
and modem switching linger time. It also contains a lists of logical
modem UUIDs, SIM slot capabilities, and all possible concurrently
supportable modem features.

TelephonyManager will have an API that returns
* the PhoneCapability for the device
* active set of ModemFeatures

Apps with CARRIER_PRIVILEGE can use these APIs to access all
capabilities of a device (eg. 5G capable, DSDS capable, etc.) and
use them to make decisions based on what the device can support.

Test: atest FrameworksTelephonyTests
Bug: 143238237
Bug: 143238191
Change-Id: I424ef176086d2308a4bf53b2c79407eabafb3178
Merged-In: I424ef176086d2308a4bf53b2c79407eabafb3178
2020-01-25 00:39:04 -08:00
Sarah Chin
44eaabad25 Merge "CDMA MO SMS follow on DC feature"
am: 80da44e958

Change-Id: I133c60baf131a5d0762090334afd8449279794a6
2020-01-24 22:06:50 -08:00
Jack Yu
5b971bfa50 Added TD-SCDMA bands for network scanning
Added TD-SCDMA bands defined in 3GPP TS 25.102.

Test: Telephony sanity tests
Bug: 144939345
Change-Id: Ib1881ed41e6427edd294bb7af6f914baeb40d8f2
Merged-In: Ib1881ed41e6427edd294bb7af6f914baeb40d8f2
2020-01-24 19:37:58 -08:00
Nazish Tabassum
c448718602 CDMA MO SMS follow on DC feature
Add new API in @1.5 IRadio and IRadioResponse interfaces
to send MO CDMA SMS with expectMore option

Bug: 72613248
Change-Id: I9aec3a58b531c17ec55db290d0e82bc7d34afa84
Merged-In: I9aec3a58b531c17ec55db290d0e82bc7d34afa84
2020-01-25 01:51:11 +00:00
Ilya Matyukhin
24178e0996 Merge changes from topic "biometrics.face@1.1"
* changes:
  Add biometrics.face@1.1 to current.txt
  Add enroll_1_1 with preview window id
  Add default implementation for biometrics.face@1.1
2020-01-24 19:08:53 +00:00
TreeHugger Robot
e34ddd5440 Merge "Merge commit '20a6e2f6d7d9557a79c53045bf7fbd0ba5927bd2' into manual_merge_inter" 2020-01-24 07:52:18 +00:00
Ilya Matyukhin
7b8a5c99d6 Add biometrics.face@1.1 to current.txt
Bug: 145027036
Test: atest vts_treble_vintf_vendor_test
Change-Id: I5d2ed34a30dead76d3adfbd4e103a1c348e67a04
2020-01-24 07:21:02 +00:00
Ilya Matyukhin
d711c1087c Merge "Add biometrics.fingerprint@2.2 to current.txt" 2020-01-24 06:30:34 +00:00
Robert Greenwalt
d674835f1d Merge commit '20a6e2f6d7d9557a79c53045bf7fbd0ba5927bd2' into manual_merge_inter
Bug: None
Test: compiles
Change-Id: I2e82ed89848f610f3c702e9cd487aad538e7ecb4
2020-01-23 20:01:12 -08:00
Ilya Matyukhin
76369ea5cd Add biometrics.fingerprint@2.2 to current.txt
Bug: 139317981
Test: atest vts_treble_vintf_vendor_test
Change-Id: I673036bbcc8444380543d08034bacee736e53f89
2020-01-23 23:11:09 +00:00
Jack Yu
5910241fe9 Fixed the comment and time name
To match the API in LinkAddress.

Test: Telephony sanity tests
Bug: 135717900
Change-Id: I06559044c8015bc577d9e4ca489a4924f69093b2
2020-01-23 15:00:01 -08:00
Nazish Tabassum
ba2f83002d CDMA MO SMS follow on DC feature
Add new API in @1.5 IRadio and IRadioResponse interfaces
to send MO CDMA SMS with expectMore option

Test: make
Bug: 72613248
Change-Id: I9aec3a58b531c17ec55db290d0e82bc7d34afa84
2020-01-23 14:56:22 -08:00
Sasha Kuznetsov
31eea85faf Create measurement corrections 1.1 with eBearing
Test: matest VtsHalGnssV2_1TargetTesti and manually injected
dummy measurement corrections in GnssLocationProvider and
verified that cuttlefish implementation properly recieved
them below the HAL
Bug: 145963440
Change-Id: Ib5eb4f8c759c91b9fa2217ce6658319edd11bb27
2020-01-23 14:34:44 -08:00
Shuzhen Wang
c9464216ec Merge "Camera: Add ICameraProviderCallback version 2.6" 2020-01-23 21:04:18 +00:00
Yu-Han Yang
18f4561fb8 Merge "Add Inter-Signal Bias fields" 2020-01-23 20:35:27 +00:00
Shuzhen Wang
05066109ff Camera: Add ICameraProviderCallback version 2.6
The new version adds callback for physical sub-camera status callback.

Test: VtsHalCameraProviderV2_4TargetTest --hal_service_instance=android.hardware.camera.provider@2.6::ICameraProvider/internal/1
Bug: 119325027
Change-Id: I8148f6c55f80d7f4092d2fe5ccf92509bb8c069d
2020-01-23 10:47:54 -08:00
TreeHugger Robot
151e81a191 Merge "Add IRNSS svid range to HAL doc" 2020-01-23 18:41:40 +00:00
Miao Wang
6604e51458 Merge changes from topic "nn_sync_fence"
* changes:
  Add VTS tests for NNAPI IPreparedModel::executeFenced
  Support sync fence in NNAPI
2020-01-23 08:01:42 +00:00
Yu-Han Yang
5fe14fa9ec Add Inter-Signal Bias fields
Bug: 147500886

Test: on cuttlefish
Change-Id: Id50d1f6a60e758e8c02b7a1c4bbdfd73f62ffeb7
2020-01-22 21:20:42 -08:00
Jack Yu
dd7faa5ecb Merge "Added multi-band support" 2020-01-23 03:52:35 +00:00
Michele Berionne
58073a8f2a Merge "Add SIM Depersonalisation interface"
am: 81626dc493

Change-Id: I42521bfbf79e98b89100655cf0de3b8f1c4bd074
2020-01-22 19:19:56 -08:00
Hunter Knepshield
1b92d26c08 Make IDumpstateDevice 1.1
Add dumpstateBoard_1_1 to accept a mode parameter (e.g. for limiting
vendor logs to the right bug reports).

Add setDeviceLoggingEnabled for the user to toggle vendor logging on and
off.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
Merged-In: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
(cherry picked from commit c9e2c6d319)
2020-01-22 17:25:24 -08:00
Jack Yu
0a00c8d8c3 Added multi-band support
One cell could have multiple bands assigned.
One frequency could be shared by multiple bands
because they have overlapping.

Test: Telephony sanity tests.
Bug: 131061889
Change-Id: I6018b9df8b8bd0745c3736df764f4569bea28baa
2020-01-22 17:18:23 -08:00
Hunter Knepshield
4b229a4419 Merge "Make IDumpstateDevice 1.1" 2020-01-23 01:16:56 +00:00
Michele Berionne
81626dc493 Merge "Add SIM Depersonalisation interface" 2020-01-23 01:10:49 +00:00
Hunter Knepshield
c9e2c6d319 Make IDumpstateDevice 1.1
Add dumpstateBoard_1_1 to accept a mode parameter (e.g. for limiting
vendor logs to the right bug reports).

Add setDeviceLoggingEnabled for the user to toggle vendor logging on and
off.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
2020-01-22 15:36:17 -08:00
Sarah Chin
ec34c7fff7 Merge "Update PhoneCapability to use 1.5 UTRAN bands" 2020-01-22 23:23:35 +00:00
Shawn Willden
79b9f5026d Merge "Add STORAGE_KEY tag to keymaster 4.1" 2020-01-22 22:00:46 +00:00
Lev Proleev
363f96ac3e Merge "Add FILL and RANK ops" 2020-01-22 21:42:58 +00:00
Lev Proleev
374719b0c9 Merge "Add ELU and HARD_SWISH" 2020-01-22 21:39:01 +00:00
Lev Proleev
393079e868 Merge "NNAPI: Regenerate types.hal to sync with types.spec" 2020-01-22 21:38:22 +00:00
Howard Yen
9ae790985a Merge changes from topic "usb_gadget_reset"
* changes:
  Add USB Gadget Hal v1.1 default implementation
  Add USB Gadget V1.1 with hash code
  USB Gadget V1.1 interface
2020-01-22 20:56:44 +00:00
Sarah Chin
1dfeba3c47 Update PhoneCapability to use 1.5 UTRAN bands
Test: build
Bug: 143238191
Change-Id: Id86ad81d837c983e2d34633fdebdfc308e219a3d
2020-01-22 12:09:28 -08:00
Sarah Chin
5d372032d2 Merge changes from topics "nr_band", "nw_sel"
* changes:
  Manual network selection by RAN type
  Added NR band support
2020-01-22 20:03:32 +00:00
Barani Muthukumaran
9bc9059842 Add STORAGE_KEY tag to keymaster 4.1
These are keymaster keys used specifically for storage
encryption. This provides the ability for keymaster implementations to
securely protect storage encryption keys.

Test: VtsHalKeymasterV4_1TargetTest
Bug: 147733587
Change-Id: I5f7f83755fcbed96d8f38fa51812aa6d2eb0927b
2020-01-22 11:33:44 -07:00
Sarah Chin
9e397467a3 Merge changes from topics "multiplmn", "rplmn"
* changes:
  Add Multi-PLMN and CSG support
  Add Support for RPLMN to Voice and Data RegState
2020-01-22 18:26:37 +00:00
Kai Shi
872d6665a1 Merge "Wifi: add 3 new fields to ConnectionCapabilities." 2020-01-22 17:51:22 +00:00
Miao Wang
90cf3dd37c Support sync fence in NNAPI
- Add IPreparedModel::dispatchRequest to NNAPI 1.3 HAL
  - Add IDispatchExecutionCallback to allow clients query information
  related to the actual evaluation.

Bug: 142778241
Test: mm
Change-Id: I87cbb7f2aee87342b0418fce04eb4050e2bc1920
2020-01-22 09:45:47 -08:00
Lev Proleev
8b3f240ea3 Add FILL and RANK ops
Bug: 148050168
Bug: 148049333
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Iebdfa600d84e31532807740c21d95cae41c76ad5
2020-01-22 17:16:43 +00:00
Lev Proleev
aee67f83f9 Add ELU and HARD_SWISH
Bug: 147482068
Bug: 147481241
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Iab8da2a666ad9775dfb53d9297e94962fb651353
2020-01-22 17:16:41 +00:00
Lev Proleev
2d7c489f67 NNAPI: Regenerate types.hal to sync with types.spec
Bug: 147765446
Test: mma
Change-Id: I2b41bd959b7084ecb89674c659c66ebb158ac77d
2020-01-22 17:16:07 +00:00
Michael Butler
9e638b54a0 Merge changes from topic "nnapi-QoS"
* changes:
  Create VTS tests for QoS in NNAPI
  Update NNAPI 1.3 VTS tests with new types
  Add Quality of Service to NNAPI HAL
2020-01-22 08:52:25 +00:00
Sarah Chin
3efba537fe Manual network selection by RAN type
Support updated API for setNetworkSelectionModeManual

Bug: 68116277
Test: atest FrameworksTelephonyTests
Change-Id: I7076da1734d2d020adef568188cb4f4b4914f379
2020-01-22 00:14:30 -08:00
Jack Yu
0b4c7fb404 Added NR band support
Added band info in cell identity.

Test: Telephony sanity tests
Bug: 131061889
Change-Id: I5205aa70db0d83fd049c5f25b0b427ab7484727b
2020-01-21 23:58:55 -08:00
Nathan Harold
500733c459 Add Multi-PLMN and CSG support
Non-functional changes:
-Clarify that the MCC+MNC in the CellIdentity should be used to
 report the Primary PLMN only; (this PLMN is globally unique, and
 can be used to construct a CGI/ECGI whereas other PLMN-IDs cannot).
-Add clarification for the reporting of multi-PLMN 5G networks.

Functional changes:
-Add a list of PLMNs for MOCN Networks. This allows cells that are
 shared by multiple operators to be properly reported.
-Add support for Closed Subscriber Group reporting to allow
 identification of small-cell deployments.

Bug: 135921133
Test: make VtsHalRadioV1_5Target
      && make aosp_cf_x86_64_phone-userdebug
Change-Id: Ibb0682de8ae9c4421e79086773c977a4e76ac4f1
2020-01-21 23:57:21 -08:00
Nathan Harold
8f6b67b0a6 Add Support for RPLMN to Voice and Data RegState
-Define RegistrationFailCause as an enum
-Combine voice and data reg state into a single struct
-Define a safe-union for AN-specific registration info

Bug: 73629308
Test: make && make VtsHalRadioV1_5TargetTest
      && make cf_x86_64_phone-userdebug

Change-Id: I43df3cffd4c55f2c5df8eaf0235772e5930dced5
2020-01-21 23:45:52 -08:00
Jack Yu
87d84d1346 Merge "Support IPv6 MTU in IRadio 1.5" 2020-01-22 07:38:52 +00:00
Hayden Gomes
255bce6229 Merge "Expanding AudioUsage to include new system usages" 2020-01-22 06:47:58 +00:00
Sarah Chin
f33c0b5561 Merge "PhoneCapabilities changes for device capabilities" 2020-01-22 04:20:43 +00:00
Sarah Chin
f7fd4fd720 Support IPv6 MTU in IRadio 1.5
Change mtu->mtuV4 and add mtuV6 for DataProfileInfo and
SetupDataCallResult

Test: mm and build
Bug: 146668814
Change-Id: I33320281730fdb91d2b07d11cd24a95d0834c9dd
2020-01-21 18:32:07 -08:00
Jack Yu
8c203498f8 Merge "Added TD-SCDMA bands for network scanning" 2020-01-22 01:13:21 +00:00
Michael Butler
c2499ecda1 Add Quality of Service to NNAPI HAL
This CL makes the following changes:
* introduces a new Priority enum
* extends ErrorStatus with new error codes
* adds "supportsDeadline" method to IDevice
* adds priority and deadline arguments to IDevice::prepareModel*
* adds deadline argument to IPreparedModel::execute*
* updates IExecutionCallback with new ErrorStatus
* updates current.txt accordingly

Bug: 136739795
Bug: 142902514
Bug: 145300530
Test: mma
Change-Id: Iaa7877bde1f463635b8bbdb4e8a001d7b79b9c65
2020-01-21 15:55:49 -08:00
Xusong Wang
b345a4688f Memory Domain HAL: Define HAL APIs.
- Add and document memory domain HAL APIs.
- Make necessary changes to the existing VTS codes to make them work
  with V1_3::Request.

Bug: 141353602
Bug: 141363565
Test: mma
Test: NNT_static
Test: 1.3 VTS
Change-Id: Ia32555d4fef149fad4a79728981c5d9cca675a1a
Merged-In: Ia32555d4fef149fad4a79728981c5d9cca675a1a
(cherry picked from commit 931d5a18bc)
2020-01-21 15:15:39 -08:00
Shawn Willden
7b1563832e Merge "Updates to KM4.1"
am: 7b37dc5d9c

Change-Id: Id104154ff22b642507fa71d2cd976ca36188c6e9
2020-01-21 13:21:35 -08:00
Yu-Han Yang
200f8819c5 Add IRNSS svid range to HAL doc
- IRNSS was added in GNSS HAL v2.0, and its svid range was not specified
at that time. The existing client implementations wouldn't be broken
because they either don't support IRNSS yet or already use such a range
(specified in IRNSS ICD v1.1).

Bug: 147675678

Test: doc only and builds
Change-Id: If86555bf7d3019428d80299043c52ea81aa34bc5
2020-01-21 12:55:25 -08:00
Jack Yu
c2143480f8 Added TD-SCDMA bands for network scanning
Added TD-SCDMA bands defined in 3GPP TS 25.102.

Test: Telephony sanity tests
Bug: 144939345
Change-Id: Ib1881ed41e6427edd294bb7af6f914baeb40d8f2
2020-01-21 09:42:46 -08:00
Slava Shklyaev
a785a3faac Add NNAPI control flow
Bug: 136735929
Bug: 139181916
Test: m
Change-Id: I7a75175f00fc98df626c40ea669021ccd40130e0
2020-01-21 13:39:22 +00:00
Slava Shklyaev
8a179f3499 Remove neuralnetworks@1.3::Model.Extension* in favor of 1.2 counterparts
The types are the same as in 1.2. No changes are expected.

Bug: 136735929
Test: m
Change-Id: I7431d2e9263fafa0e63b8b1b40f6715e3832d17c
2020-01-21 11:39:02 +00:00
Howard Yen
78ca380c68 Add USB Gadget V1.1 with hash code
Bug: 138702846
Test: build pass, function works
Change-Id: I8b8db3636831adf6f4c7902dee81f2f7bae30182
2020-01-20 17:49:17 +08:00
Kai Shi
5e12b9635d Wifi: add 3 new fields to ConnectionCapabilities.
Add channel bandwidth, max number of Rx spatial streams, max number of
Tx spatial streams to connectionCapabilitie() which is derived from
association request and response frames after a new association.

bug: 147390882
Test: VTS test
Test: manual test with various phones and APs.
Change-Id: Iaeb5e0419887b766ec1a4cb13843494539aa3ddd
2020-01-19 10:26:03 -08:00
Vamsi Krishna
2f82923cfa wifi: Add required API to connect to FILS enabled APs
Add support to configure FILS key_mgmt types while adding
configurations for FILS enabled APs. FILS defines two different
AKM suites, one based on SHA256 and the other based on SHA384.
Also add API to enable ERP keys generation while connecting FILS
enabled APs. Once generated, the ERP keys can be used to make faster
connections to the FILS enabled APs which are within the same realm
as that of the AP with which the ERP keys are generated.

FILS also provides provision to exchange Higher Layer Packets(HLPs)
along with association request and association response frames. Add
API to configure HLP packets that can be sent with Association
request while connecting to FILS enabled APs. Also add API to flush the
HLP packets that were already configured during previous connection
requests.

Bug: 143259898
Test: WiFi basic sanity test
Test: VTS test
Change-Id: If5cb0c112d46fa8695b4517f42cb7c6706970751
2020-01-17 17:24:11 -08:00
Shawn Willden
f3d741744a Updates to KM4.1
This CL adds:

- The IDENTITY_CREDENTIAL_KEY tag.  This new tag is not actually used
  by Keymaster at all.  It's used by the new Identity Credential HAL in
  its key attestations, which use the Keymaster format and the Keymaster
  attestation key.

- A VerificationToken argument to deviceLocked, used for StrongBox
  implementations.

- Some error codes, including one to diagnose unprovisioned
  attestation keys/ids.

- Clarifications in the documentation.

Test: VtsHalKeymasterV41TargetTest
Change-Id: Iae7151e2d9b328dd73e5cd78e59687ef29bab4f0
Merged-In: Iae7151e2d9b328dd73e5cd78e59687ef29bab4f0
2020-01-17 15:52:07 -07:00
Shawn Willden
73950e588d Merge "Updates to KM4.1" 2020-01-17 22:28:31 +00:00
Hayden Gomes
9c38bc988d Expanding AudioUsage to include new system usages
Bug: 141006627
Test: make
Change-Id: Ica8ada8e95e7d49bfcf7501cae2c356f68da8e3b
2020-01-17 22:27:49 +00:00
Xusong Wang
a814592eb6 Merge changes from topic "nn_memory_domain_hal"
* changes:
  Add memory domain VTS generated tests.
  Memory Domain HAL: Define HAL APIs.
2020-01-17 21:29:11 +00:00
Shawn Willden
2d7394209e Updates to KM4.1
This CL adds:

- The IDENTITY_CREDENTIAL_KEY tag.  This new tag is not actually used
  by Keymaster at all.  It's used by the new Identity Credential HAL in
  its key attestations, which use the Keymaster format and the Keymaster
  attestation key.

- A VerificationToken argument to deviceLocked, used for StrongBox
  implementations.

- Some error codes, including one to diagnose unprovisioned
  attestation keys/ids.

- Clarifications in the documentation.

Test: VtsHalKeymasterV41TargetTest
Change-Id: Iae7151e2d9b328dd73e5cd78e59687ef29bab4f0
2020-01-17 12:53:42 -07:00
Sarah Chin
322c4cc286 PhoneCapabilities changes for device capabilities
Change PhoneCapability structure to contain static capabilities for:
* the entire device
* each modem/radio
* each SIM slot

Created SimSlotCapability and SlotType to hold information about
device SIM slot capabilities (separate from SimSlotStatus).

Created ModemFeatures to express modem capabilities as a bitfield
of concurrently supportable modem features.

PhoneCapability has fields for UE categories, bands, access networks,
and modem switching linger time. It also contains a lists of logical
modem UUIDs, SIM slot capabilities, and all possible concurrently
supportable modem features.

TelephonyManager will have an API that returns
* the PhoneCapability for the device
* active set of ModemFeatures

Apps with CARRIER_PRIVILEGE can use these APIs to access all
capabilities of a device (eg. 5G capable, DSDS capable, etc.) and
use them to make decisions based on what the device can support.

Test: atest FrameworksTelephonyTests
Bug: 143238237
Bug: 143238191
Change-Id: I424ef176086d2308a4bf53b2c79407eabafb3178
2020-01-16 18:17:53 -08:00
Xusong Wang
931d5a18bc Memory Domain HAL: Define HAL APIs.
- Add and document memory domain HAL APIs.
- Make necessary changes to the existing VTS codes to make them work
  with V1_3::Request.

Bug: 141353602
Bug: 141363565
Test: mma
Test: NNT_static
Test: 1.3 VTS
Change-Id: Ia32555d4fef149fad4a79728981c5d9cca675a1a
2020-01-16 16:10:13 -08:00
TreeHugger Robot
4ab3c1f2f7 Merge "Camera: Add new pose reference value UNDEFINED" 2020-01-16 21:49:19 +00:00
Ahmed ElArabawy
43363d72c7 Merge "Wifi: Remove the IHostapd.HwModeParams.heBssColor" 2020-01-16 20:03:36 +00:00
TreeHugger Robot
7f6adf3cf2 Merge "Wifi: create new callback to deliver eap error code" 2020-01-16 18:36:33 +00:00
Xin Li
7b2064edd5 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master
Bug: 146167222
Change-Id: I4aec05062d527bd14512c0ef4c74f66d4a4ce431
2020-01-15 15:57:11 -08:00
Automerger Merge Worker
3e4cf14b94 Merge "Add Identity Credential HAL, default implementation, and VTS tests." am: ba60e1fa4a am: c1e8c37554 am: 851142d6f1
Change-Id: Icc36d5e615a5e17c23fe665d6d2d2121f540764d
2020-01-15 23:43:10 +00:00
Automerger Merge Worker
851142d6f1 Merge "Add Identity Credential HAL, default implementation, and VTS tests." am: ba60e1fa4a am: c1e8c37554
Change-Id: I9d9d67d1f484d42f00e67e1877f6cfa712d662dd
2020-01-15 23:32:40 +00:00
Treehugger Robot
ba60e1fa4a Merge "Add Identity Credential HAL, default implementation, and VTS tests." 2020-01-15 23:19:03 +00:00
Shuzhen Wang
c5ae069c79 Camera: Add new pose reference value UNDEFINED
If a camera device's location/orientation changes due to user action
(such as phone fold/unfold), its pose reference can be set to UNDEFINED.

Bug: 119325027
Test: VtsHalCameraProviderV2_4TargetTest
Change-Id: I227be31db64db049a8fad57e6765e1b6e025529a
2020-01-15 11:09:26 -08:00
Ahmed ElArabawy
0e8175e8c2 Wifi: Remove the IHostapd.HwModeParams.heBssColor
This commit removes the heBssColor field from IHostapd.HwModeParams

Bug: 141831296
Test: VTS Test
Change-Id: I586a26e9b1057ccce23d4d91c7ea8dca13c59528
2020-01-15 07:18:56 -08:00
David Zeuthen
c75ac31ec9 Add Identity Credential HAL, default implementation, and VTS tests.
IIdentityCredentialStore provides an interface to a secure store for
user identity documents.  This HAL is deliberately fairly general and
abstract.  To the extent possible, specification of the message
formats and semantics of communication with credential verification
devices and issuing authorities (IAs) is out of scope for this HAL.

It provides the interface with secure storage but a
credential-specific Android application will be required to implement
the presentation and verification protocols and processes appropriate
for the specific credential type.

Bug: 111446262
Test: VtsHalIdentityCredentialTargetTest
Test: android.hardware.identity-support-lib-test
Test: CtsIdentityTestCases
Change-Id: I64eb50114d645dd475012ad1b889d2177aaf1d37
2020-01-15 09:36:12 -05:00
Nazish Tabassum
79f575e679 Add SIM Depersonalisation interface
Add new interface API to perform SIM depersonalisation
for all the supported Perso types.

Bug: 69389695
Change-Id: I1756fc3ce9d49863cb92c82d14aaa1b03efe39ec
2020-01-15 07:10:35 +05:30
Automerger Merge Worker
6b42df6f47 Merge "Fix quantized LSTM doc" am: 008e2862d2 am: c9211df376
Change-Id: I6cfcc9151ff86501310cf30eb0ce032bcd79dfc7
2020-01-14 20:29:36 +00:00
Treehugger Robot
008e2862d2 Merge "Fix quantized LSTM doc" 2020-01-14 20:13:33 +00:00
Automerger Merge Worker
0d42113ba7 Merge "Add an Indication for Barring Info" am: b89ad206e8 am: fa48664be2 am: f8ffb88d99
Change-Id: I5063711229584bced1de14e6e333b8c5e7c491b1
2020-01-14 19:32:44 +00:00
Automerger Merge Worker
f8ffb88d99 Merge "Add an Indication for Barring Info" am: b89ad206e8 am: fa48664be2
Change-Id: I684a7b509612acebb166c2a1607814ad9c5c07e6
2020-01-14 19:21:28 +00:00
Isaac Chiou
0f97764f22 Wifi: create new callback to deliver eap error code
Create new callback to deliver eap error code
from supplicant to framework

Bug: 139880103
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Change-Id: I6604356672899d7a0933af6fb20879bb91871efd
2020-01-14 21:26:03 +08:00
Nathan Harold
4bb9d310d4 Add an Indication for Barring Info
Add an indication and request+response to get updated
barring information for the current cell.

Bug: 143231559
Bug: 143226991
Test: compilation && atest VtsHalRadioV1_5TargetTest
Change-Id: I226cf66dd6b9b71a6c020cdd618fe5e2af0baa20
2020-01-14 01:09:08 +00:00
Automerger Merge Worker
bb395c0eec Merge "Audio HAL: Add API to attach an effect to a device" am: 77367c822f am: e8c3a65032
Change-Id: I64cb5b918357c7cb83e7482421cf7f6f19220f54
2020-01-13 22:06:07 +00:00
Automerger Merge Worker
84e61fa46d Merge "Audio effect HAL: Add device ID to createEffect API" am: 7408b1d575 am: a462b797c2
Change-Id: I942c516054a0e6c9ad83edbe767db15b2422e96f
2020-01-13 22:05:38 +00:00
Automerger Merge Worker
82f10ce231 Merge "audio: add audio session for device effects" am: 65dd35c9bf am: f0e10d0bbd
Change-Id: I4831446fcd687909791bd64afa633d4bd2a8adfc
2020-01-13 22:03:45 +00:00
Eric Laurent
77367c822f Merge "Audio HAL: Add API to attach an effect to a device" 2020-01-13 21:40:24 +00:00
Eric Laurent
7408b1d575 Merge "Audio effect HAL: Add device ID to createEffect API" 2020-01-13 21:39:45 +00:00
Eric Laurent
65dd35c9bf Merge "audio: add audio session for device effects" 2020-01-13 21:38:31 +00:00
Lev Proleev
e4c8f5fe23 Fix quantized LSTM doc
The CL changes explicit prefixes for types in types.spec to a macro, so
that the prefixes of tensor types are correct both in NDK and HAL docs.

Bug: 144841609
Test: mma
Change-Id: I6d904bd3a858f555beed9270f141f080f96e429a
Merged-In: I6d904bd3a858f555beed9270f141f080f96e429a
(cherry picked from commit da5079c5cd)
2020-01-13 09:56:06 +00:00
Nicholas Ambur
66203be3da Merge "add audioCapabilities to SoundTrigger properties" 2020-01-11 16:39:55 +00:00
TreeHugger Robot
f2aaa68ec4 Merge "hostapd: Add SAE Support" 2020-01-11 01:07:02 +00:00
Automerger Merge Worker
c767ab1482 Add Some Buffer Lines to Avoid Merge Conflicts am: 1fd6b723df am: 68bd27a397
Change-Id: If316a397c9ff98ef9ee5d89b78949643f104c8d1
2020-01-11 00:23:54 +00:00
Nathan Harold
1fd6b723df Add Some Buffer Lines to Avoid Merge Conflicts
Because other teams are changing HAL hashes downstream,
the git conflict resolution algorithm detects conflicts
due to changes in adjacent lines, even though they aren't
real conflicts. This CL adds buffer lines to convince git
and by extension the auto-merger that the changes may be
safely merged.

Note: these should be removed prior to release.

Bug: 144366823
Test: make (non-functional change)
Merged-In: Ie8785da99ce68e1db85face30c6c633385ecb085
Change-Id: Ie8785da99ce68e1db85face30c6c633385ecb085
(cherry picked from commit 857821c288)
2020-01-10 23:07:05 +00:00
Nicholas Ambur
539cbb724f add audioCapabilities to SoundTrigger properties
Bug: 146363190
Test: Assist GTS test suite and manual testing
Change-Id: Ie14844f63e8d87d3baad7e6c50230fe04153f8b4
2020-01-10 14:00:36 -08:00
Nathan Harold
2733ebfe33 Merge "Add Some Buffer Lines to Avoid Merge Conflicts" 2020-01-10 21:28:06 +00:00
Automerger Merge Worker
db335ad7fb Add quantized LSTM op. am: 232cfebd5b am: f3c5bf1cc8
Change-Id: Id65be5918a4443aed80d5fc1b62eda3b7cf0c404
2020-01-10 21:01:03 +00:00
TreeHugger Robot
f4d3bc8d10 Merge "Fix quantized LSTM doc" 2020-01-10 20:59:13 +00:00
Nathan Harold
857821c288 Add Some Buffer Lines to Avoid Merge Conflicts
Because other teams are changing HAL hashes downstream,
the git conflict resolution algorithm detects conflicts
due to changes in adjacent lines, even though they aren't
real conflicts. This CL adds buffer lines to convince git
and by extension the auto-merger that the changes may be
safely merged.

Note: these should be removed prior to release.

Bug: 144366823
Test: make (non-functional change)
Change-Id: Ie8785da99ce68e1db85face30c6c633385ecb085
2020-01-10 11:48:13 -08:00
Eric Laurent
2c75ca6b27 Audio HAL: Add API to attach an effect to a device
Add a method to IDevice interface allowing the attachement of an
audio effect to an audio device.
This is used when an audio effect is implemented below the HAL (e.g by an audio DSP)
and is attached/enabled when a particular sink(e.g speaker) or source(e.g mic) device
is selected.

Bug: 136294538
Test: make
Change-Id: I73d78c4f234fd80443a1cb3772c2d65457968652
Merged-In: I73d78c4f234fd80443a1cb3772c2d65457968652
2020-01-10 11:16:42 -08:00
Eric Laurent
d33e6935e0 Audio effect HAL: Add device ID to createEffect API
Add the possibility to specify a target audio device when
creating an audio effect by passing its audio port handle
to createEffect API.

To attach an effect to a device, the framework will use
session ID AudioSessionConsts.DEVICE and provide a valid
AudioPortHandle as device ID.

Bug: 136294538
Test: make
Change-Id: Ic697eeafbd5df6800ad4c7fd9e0698e3d8e3beae
Merged-In: Ic697eeafbd5df6800ad4c7fd9e0698e3d8e3beae
2020-01-10 11:16:32 -08:00
Eric Laurent
5f9bb1b027 audio: add audio session for device effects
Add specific audio session ID for effects applied to a
particular audio device.

Bug: 136294538
Test: make
Change-Id: Iea3e3a07f404e1075844422c740d2dc4d5163598
Merged-In: Iea3e3a07f404e1075844422c740d2dc4d5163598
2020-01-10 11:16:12 -08:00
Nicholas Ambur
a551a82d52 Merge "add model arch to SoundTrigger Properties" 2020-01-10 17:08:59 +00:00
Lev Proleev
da5079c5cd Fix quantized LSTM doc
The CL changes explicit prefixes for types in types.spec to a macro, so
that the prefixes of tensor types are correct both in NDK and HAL docs.

Bug: 144841609
Test: mma
Change-Id: I6d904bd3a858f555beed9270f141f080f96e429a
2020-01-10 17:01:43 +00:00
Viet Dang
232cfebd5b Add quantized LSTM op.
Bug: 144841609

Test: NeuralNetworksTest_static

Change-Id: I8aab51695382211e003d8fc442d33bae3006dc13
Merged-In: I8aab51695382211e003d8fc442d33bae3006dc13
(cherry picked from commit c8b0cd33b9)
2020-01-10 11:15:14 +00:00
lesl
1cc02e52d9 hostapd: Add SAE Support
Bug: 142752869
Test: Manuel
Test: vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiHostapdV1_2Target -l INFO
Change-Id: I811760206d05825f11f07f71cef21ed03a8c7204
2020-01-10 16:17:56 +08:00
Nathan Harold
bfe605c7fc Merge commit 'be0f9bb8' into goog/master
Trivial merge due to hash changes on adjacent lines.
No actual conflict.

Test: ./update-makefiles && make
Change-Id: Ie46406cce354647ca8be5e0660f3d7b953a5f796
2020-01-10 01:55:57 +00:00
Automerger Merge Worker
be0f9bb836 Add Indication Filter for Registration Failure am: bacb8216d5 am: ebc2d054f2
Change-Id: I51caac2b66d4b166612feee5f401b7bc40b81471
2020-01-10 00:50:52 +00:00
Nathan Harold
bacb8216d5 Add Indication Filter for Registration Failure
-Add IndicationFilter support for Radio 1.5.
-Add a new flag for disabling Registration Failure
 indications.

Bug: 146805410
Test: make && atest VtsHalRadioV1_5TargetTest
Change-Id: Idcfb3ed64624fe7549b6fa0e434f24ca0f5d42f1
2020-01-09 10:42:40 -08:00
Ahmed ElArabawy
0e99148d7a Wifi: Add frequency list to chanelPrams in hostapd
This commit adds a new parameter to the channel parameters for IHostapd
Hidl interface to handle a list of channel freq in MHz to be used in
ACS. This is needed as part of support of Wifi 6GHz band since 6GHz band
channels use same channel numbers as 2.4/5GHz bands.

Bug: 146186687
Bug: 139354972
Test: Manual
Test: VTS test
Change-Id: I8692f3cd28cfaae1d3b870c9f8dbcdd2ff350ee4
2020-01-09 17:28:41 +00:00
Viet Dang
c8b0cd33b9 Add quantized LSTM op.
Bug: 144841609

Test: NeuralNetworksTest_static

Change-Id: I8aab51695382211e003d8fc442d33bae3006dc13
2020-01-09 15:20:15 +00:00
Automerger Merge Worker
c34bb73c70 [DO NOT MERGE] Fix SHAs in IRadio 1.5 am: 755bf306ef am: 193716eee2
Change-Id: Ia07b60fc539a2e1bd2d723b68fc5a1d7baf4ddae
2020-01-09 01:16:34 +00:00
Hai Shalom
a8cc19186a Merge "[SAE] Add support to add SAE Authentication algorithm" 2020-01-09 00:40:08 +00:00
Nathan Harold
755bf306ef [DO NOT MERGE] Fix SHAs in IRadio 1.5
Tweak files in AOSP and update SHAs to match internal master.

Bug: 147379351
Test: update-makefiles
Change-Id: Iac00853bc00c003848b3d45ebb19d15c4f6fba0b
2020-01-08 23:48:01 +00:00
Automerger Merge Worker
c5ef701aae Merge "Add audio stream and usage for virtual assistant" am: 653c876b5b am: d271a631d0
Change-Id: I3ec66f2331f1d7fe51dcf93068696089dfbce11c
2020-01-08 22:46:30 +00:00
Treehugger Robot
653c876b5b Merge "Add audio stream and usage for virtual assistant" 2020-01-08 22:23:27 +00:00
Baekgyeong Kim
09e665e61c Add audio stream and usage for virtual assistant
New stream type: AUDIO_STREAM_ASSISTANT
This is intended to be used by a virtual assistant like
Google Assistant, Bixby, etc.

The audio stream has own volume alias and the volume
does not change by volume changes of other streams.

Bug: 123745215
Test: make
Change-Id: I3696d8fba32070954cc6a330574af8507fea7a74
Merged-In: I3696d8fba32070954cc6a330574af8507fea7a74
2020-01-08 11:53:59 -08:00
Nicholas Ambur
cb49463796 add model arch to SoundTrigger Properties
Bug: 142414689
Test: Assist GTS test suite and manual testing
Change-Id: Ie8bb4bdd292aceaae92c6f550a9633068cabdd24
2020-01-07 22:02:18 -08:00
Automerger Merge Worker
f6644831b5 Merge changes from topic "quant_signed_tests" am: 714f0f5cb1 am: 6685773b29
Change-Id: Ifca5d3fd7be00ae31b4dcc810ebff70488ee2abb
2020-01-07 22:26:58 +00:00
Treehugger Robot
714f0f5cb1 Merge changes from topic "quant_signed_tests"
* changes:
  NNAPI: Update docs for ops with signed quantization
  Add quant8 signed generated tests
2020-01-07 21:28:31 +00:00
Automerger Merge Worker
29352779b3 Merge "Add a Registration Failure indication to IRadio" am: f1a6e2e828 am: e4533e4090
Change-Id: I5fb810724abf97a833e921818b863e377f359cb4
2020-01-07 20:31:54 +00:00
Ahmed ElArabawy
41eb5a5f0f Merge "Wifi: IHostapd: Add 11ax parameters" 2020-01-07 17:57:23 +00:00
Lev Proleev
c9d7f1cdc4 NNAPI: Update docs for ops with signed quantization
types.hal files are generated from current types.spec.

Bug: 136735770
Test: mma
Change-Id: Ide24606f8b1d5e755a71d46f230409942d8df7e9
Merged-In: Ide24606f8b1d5e755a71d46f230409942d8df7e9
(cherry picked from commit eb7f175613)
2020-01-07 13:36:03 +00:00
Nathan Harold
a6fc101cf7 Add a Registration Failure indication to IRadio
Add an indication to IRadio that is fired whenever
a cellular registration failure occurs.

Bug: 143187065
Test: atest VtsHalRadioV1_5TargetTest
Merged-In: I7765a7491f807a08272b9bc8923ae9377ff3b9d1
Change-Id: I7765a7491f807a08272b9bc8923ae9377ff3b9d1
(cherry picked from commit 13834c4a79)
2020-01-06 18:00:42 -08:00
Hai Shalom
08b70226f3 [SAE] Add support to add SAE Authentication algorithm
Add support to add SAE Authentication algorithm in the
framework (public API), and in the Supplicant HAL.

Bug: 147253259
Test: Manual connection to SAE, PSK, OWE and Open APs
Test: atest WifiConfigurationTest
Change-Id: I853e816be1ba618d61ac0fcb4b116879baba4be2
2020-01-06 16:31:36 -08:00
Automerger Merge Worker
cbdbadb790 NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3. am: d4a060bb29 am: 8ebc7737a9
Change-Id: I0c133401556f65bb3bc18ecaef36e2c2700ca481
2020-01-06 22:52:09 +00:00
Ahmed ElArabawy
c4af97a1a8 Wifi: IHostapd: Add 11ax parameters
This commit adds the 802.11ax parameters for SoftAp.

Bug: 141831296
Test: atest VtsHalWifiHostapdV1_2TargetTest
Change-Id: I7258c10c5dda040e6e05c1a8ec595072017e3ace
2020-01-06 11:21:01 -08:00
Xusong Wang
d4a060bb29 NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I4b74e8ac031c5d793cf7e5d66190734949367538
Merged-In: I4b74e8ac031c5d793cf7e5d66190734949367538
(cherry picked from commit ebd88ba8d2)
2020-01-06 15:20:14 +00:00
Lev Proleev
eb7f175613 NNAPI: Update docs for ops with signed quantization
types.hal files are generated from current types.spec.

Bug: 136735770
Test: mma
Change-Id: Ide24606f8b1d5e755a71d46f230409942d8df7e9
2020-01-06 12:52:06 +00:00
Roger Wang
9e00293747 hostapd: Add debug level control
Add new API: setDebugParams

Bug: 129111866
Test: manual test
Test: atest VtsHalWifiHostapdV1_2TargetTest

Change-Id: I0e61db3d029c89380b687ecddd38a00aafcff0cc
2019-12-30 13:07:36 +08:00
Automerger Merge Worker
a427030583 Update documentation for RSRQ of SignalMeasurementType in types 1.5 am: 198c582509 am: c921183279
Change-Id: Ibe531906eeb262db722e459aebfe683b6cd7d835
2019-12-27 18:54:57 +00:00
sqian
198c582509 Update documentation for RSRQ of SignalMeasurementType in types 1.5
Update the minimum value of range for RSRQ according to TS 36.133
v12.6.0.

Test: build
Bug: 133400544

Change-Id: I3ce8aed99b2109f89ddb9ab0a9a6328716c40998
Merged-In: I3ce8aed99b2109f89ddb9ab0a9a6328716c40998
2019-12-23 23:45:48 +00:00
Nathan Harold
13834c4a79 Add a Registration Failure indication to IRadio
Add an indication to IRadio that is fired whenever
a cellular registration failure occurs.

Bug: 143187065
Test: atest VtsHalRadioV1_5TargetTest
Change-Id: I7765a7491f807a08272b9bc8923ae9377ff3b9d1
2019-12-23 15:34:40 -08:00
Shuo Qian
a01974f56f Update documentation for RSRQ of SignalMeasurementType in types 1.5
Update the minimum value of range for RSRQ according to TS 36.133
v12.6.0.

Test: build
Bug: 133400544

Change-Id: I3ce8aed99b2109f89ddb9ab0a9a6328716c40998
2019-12-23 13:34:36 -08:00
Automerger Merge Worker
2a20c5cee5 Added SSC mode 3 support am: 7f6c8d03e7 am: ce8f0170bb
Change-Id: I98d6f01aa08819fade22e0db6953b2428c8fad32
2019-12-23 19:11:51 +00:00
Sunil Ravi
c6489a5641 Wifi: MBO-OCE feature support (phase 3)
Added hidl call back function to notify framework about
bss transition request frame handling status.
Also fixed few code style issues by running hidl-gen -Lformat.

Bug: 139474288
Test: Manual
Test: VTS test
Change-Id: I00760f14d81a59e63042b1a5be9f9e3f74ff3a83
2019-12-21 01:37:17 +00:00
Hai Shalom
36768048c4 [DPP R2] Support for DPP R2
Added necessary types and enhanced the callbacks for DPP R2.
Added VTS tests for DPP R2 using HAL 1.3.

Bug: 139381558
Test: atest VtsHalWifiSupplicantV1_3Host
Change-Id: I18a58d6bd0e0b8260946f2186abda5bac93729c7
2019-12-20 09:19:23 -08:00
Jack Yu
5a286c1273 Merge "Added SSC mode 3 support" 2019-12-20 01:51:15 +00:00
Mikhail Naganov
598bcf2277 Merge "Add audio stream and usage for virtual assistant" 2019-12-20 00:08:22 +00:00
Jack Yu
a9b1d79ed0 Added SSC mode 3 support
Added flags, deprecated time, and expired time field to the IP
address. This will allow baseband vendor to mark an IP address
as deprecated and inform upper layer when the IP address will
become deprecated and expired.

Test: Telephony sanity tests
Bug: 135717900

Change-Id: Ia00827f5ff1201d36439f5b2219312b3fd2f0d24
2019-12-19 14:02:56 -08:00
Jack Yu
7f6c8d03e7 Added SSC mode 3 support
Added flags, deprecated time, and expired time field to the IP
address. This will allow baseband vendor to mark an IP address
as deprecated and inform upper layer when the IP address will
become deprecated and expired.

Test: Telephony sanity tests
Bug: 135717900

Merged-In: Ia00827f5ff1201d36439f5b2219312b3fd2f0d24
Change-Id: Ia00827f5ff1201d36439f5b2219312b3fd2f0d24
(cherry picked from commit 246fc142c9bebc941b80c559e315b101da92fbeb)
2019-12-19 12:07:03 -08:00
Jimmy Chen
29caaf770c Merge "Wifi: WAPI constants and methods" 2019-12-19 09:28:52 +00:00
Shuzhen Wang
a3462a5ddc Merge "Camera: Add support for CONTROL_ZOOM_RATIO" 2019-12-19 03:32:58 +00:00
Ahmed ElArabawy
b039035685 Merge "Wifi-hostapd: Add 6GHz impacts to softAP" 2019-12-19 02:30:14 +00:00
Automerger Merge Worker
37b3f7fe79 Add HAL API to optimize exiting APM for emergency call case. am: 8f8e3d7b1c am: f82f9c9178 am: 23f8a02dba
Change-Id: Ib9e53e95d937183f590cbd28025173e9efc2764f
2019-12-18 21:19:24 +00:00
Automerger Merge Worker
23f8a02dba Add HAL API to optimize exiting APM for emergency call case. am: 8f8e3d7b1c am: f82f9c9178
Change-Id: I950436ef58ea122a2a55fe90b9d44d52826853ef
2019-12-18 21:04:11 +00:00
Shuzhen Wang
6856ca7650 Camera: Add support for CONTROL_ZOOM_RATIO
- The new zoom API combines optical and digital zoom, and supports both
zoom-out and zoom-in with more precision.
- Support separate zoom range for different bokeh modes.

Test: Camera vts test
Bug: 130025314
Change-Id: I67e0fac281a81d54f8828456c2f36df56be1803f
2019-12-18 11:36:08 -08:00
Malcolm Chen
8f8e3d7b1c Add HAL API to optimize exiting APM for emergency call case.
Bug: 143683647
Test: build
Change-Id: Ic8c094f1e59d1b7cb452cef9e5a710c8b84b62b1
2019-12-17 18:11:08 -08:00
Ahmed ElArabawy
c828cff678 Wifi-hostapd: Add 6GHz impacts to softAP
This commit adds changes needed to support the 6GHz band to
SoftAP.

Bug: 139354972
Test: Manual
Test: VTS test
Change-Id: Ib4e14facc7cbb54ba89ecf07e75df8dceacb361f
2019-12-17 14:58:55 -08:00
TreeHugger Robot
aa7db006b8 Merge "Camera: add OFFLINE_PROCESSING APIs" 2019-12-17 09:31:41 +00:00
Yin-Chia Yeh
91e07785b5 Camera: add OFFLINE_PROCESSING APIs
Also a typo fix in metadata doc.

Test: N/A. New API skeleton, no implementation yet.
Bug: 135142453
Change-Id: I4852ee28242afabe81b02cfef39994c5d2705359
2019-12-16 11:40:28 -08:00
Baekgyeong Kim
3bc7741e91 Add audio stream and usage for virtual assistant
New stream type: AUDIO_STREAM_ASSISTANT
This is intended to be used by a virtual assistant like
Google Assistant, Bixby, etc.

The audio stream has own volume alias and the volume
does not change by volume changes of other streams.

Bug: 123745215
Test: make
Change-Id: I3696d8fba32070954cc6a330574af8507fea7a74
2019-12-16 11:39:27 -08:00
Mikhail Naganov
6c070ca4e8 audio: Add IDevice::updateAudioPatch method
Add method 'updateAudioPatch' which should be used when
an existing patch needs to be updated with new routing.
Use of this method allows audio HAL to avoid disrupting
audio stream while changing routing.

Bug: 79248321
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I6c87f67fa4f2463ba9e8f0272a3232f5c9c55714
2019-12-13 19:28:37 -08:00
Automerger Merge Worker
ec0c134145 Merge "Add APN type XCAP" am: 126564a371 am: 847b15d671
Change-Id: Icb2d71fc1333a4109bd55e4b3acc6825308ed288
2019-12-12 23:38:56 +00:00
Eric Laurent
6c29bf2096 Audio HAL: Add API to attach an effect to a device
Add a method to IDevice interface allowing the attachement of an
audio effect to an audio device.
This is used when an audio effect is implemented below the HAL (e.g by an audio DSP)
and is attached/enabled when a particular sink(e.g speaker) or source(e.g mic) device
is selected.

Bug: 136294538
Test: make
Change-Id: I73d78c4f234fd80443a1cb3772c2d65457968652
2019-12-12 14:16:38 -08:00
Nicholas Ambur
ad84668d29 Merge "add SoundTrigger HAL V2.3" 2019-12-12 21:37:00 +00:00
Sarah Chin
039d542f95 Add APN type XCAP
Add XCAP and update DataProfileInfo

Test: build
Bug: 73792201
Change-Id: I7cb450c91a458d66eec558265a8d9f48792cfa77
Merged-In: I7cb450c91a458d66eec558265a8d9f48792cfa77
2019-12-12 11:56:46 -08:00
Eric Laurent
00a501a992 Merge "audio: add call assistant usage" 2019-12-12 18:10:42 +00:00
Nicholas Ambur
1e90019220 add SoundTrigger HAL V2.3
add support for model parameter control APIs with THRESHOLD_FACTOR
as the first supported parameter

Bug: 141929369
Test: Tested manually with test app, GTS test
gts-tradefed run gts-dev -m GtsAssistIntentTestCases
and VTS test
vts-tradefed run vts-hal -m VtsHalSoundtriggerV2_3Target
Change-Id: I79d2b6365cc63fbdfe06fa94f1d0878903cbf554
2019-12-11 19:42:51 -08:00
Sarah Chin
1d3b15cd3e Add APN type XCAP
Add XCAP and update DataProfileInfo

Test: build
Bug: 73792201
Change-Id: I7cb450c91a458d66eec558265a8d9f48792cfa77
2019-12-11 17:48:19 -08:00
Automerger Merge Worker
4ae6fec6dc Merge "Adding audiocontrol and evs hashes to current.txt" into qt-qpr1-dev am: df3648e4ff am: 9f7428122a
Change-Id: Ifda3ad9280eb394ec8c657a110a3a88c9ed13a71
2019-12-12 00:58:24 +00:00
TreeHugger Robot
dca3a5763b Merge "audio: Add check for MMap buffer size to the default implementation" 2019-12-12 00:41:27 +00:00
Automerger Merge Worker
9f7428122a Merge "Adding audiocontrol and evs hashes to current.txt" into qt-qpr1-dev am: df3648e4ff
Change-Id: Idec81bb231be3113db6672f1dcd7c4cd6def393e
2019-12-12 00:37:44 +00:00
Automerger Merge Worker
9d2674ac93 Merge "Remove HAL API of whether enabling uicc applications are enabled." am: e5c19d9bb3 am: 49facf5986 am: 2b931d50b0
Change-Id: I371aee0178bcf34b5680dae40e829ef09f63f142
2019-12-11 23:40:04 +00:00
Mikhail Naganov
b2178b9248 audio: Add check for MMap buffer size to the default implementation
Add documentation and check that 'minSizeFrames' parameter
is a positive value. Previously a similar check was added
to Pixel HAL.

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I526431fc214f7f5bc424f0c9e4c890cf918ca2b2
2019-12-11 15:07:47 -08:00
Eric Laurent
3c181a6fd6 audio: add call assistant usage
Add audio usage for call assistant use cases.
Used by apps playing over call uplink path for call
screening or other in call assitant features.

Bug: 135213843
Test: make
Change-Id: I7eeea676fe188946ff86f1e11e8e00a624a4ec5c
2019-12-11 13:51:13 -08:00
TreeHugger Robot
0f2ba63003 Merge "Add AUDIO_INPUT_FLAG_DIRECT to Audio HAL constants" 2019-12-11 21:36:51 +00:00
Eric Laurent
4ca35647d4 Merge "Audio effect HAL: Add device ID to createEffect API" 2019-12-11 21:27:57 +00:00
Hayden Gomes
8f2708c3f7 Merge "Adding audiocontrol and evs hashes to current.txt" 2019-12-11 20:47:52 +00:00
Xusong Wang
f4f2a0d6bf Merge "NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3." 2019-12-11 20:24:12 +00:00
Malcolm Chen
2e7b82a2c0 Remove HAL API of whether enabling uicc applications are enabled.
This API is no longer needed as enabling / disabling uicc applications
are no longer an optional operation in IRadio 1.5.

Bug: 141018421
Test: sanity
Change-Id: Ia72a8f97ff0d192fb421fdc6c096513f36a69f5a
2019-12-11 11:44:07 -08:00
Mikhail Naganov
d334593715 Add AUDIO_INPUT_FLAG_DIRECT to Audio HAL constants
This flag used to be framework only. To simplify constants
management it's better to have it defined at all layers.
Currently it is only used for MSD module but potentially
can be used for HDMI inputs.

Bug: 141273649
Test: use AOSP MSD on Pixel
      atest VtsHalAudioV6_0TargetTest

Change-Id: I3b853d5d0a05cc4d4bacd0a9ae432099bb47fad9
2019-12-10 16:47:00 -08:00
Hayden Gomes
96856f48b0 Adding audiocontrol and evs hashes to current.txt
- Added hashes for IAudioControl, IEvsCamera, IEvsCameraStream,
IEvsDisplay, IEvsEnumeration, and evs@1.0::types
- SHAs changed due to changes in comments. No API functionality changes
have been made

Bug: 142877791
Test: Ran vts module VtsTrebleVendorVintfTest
Change-Id: I01d74858addaf0d59bd6c99407dc265d70045e27
2019-12-10 17:08:14 +00:00
lesl
84c4d39480 Freeze wifi hostapd 1.2 HAL
For R release, so that the tree is in a shippable state. If further
changes to it are needed in R, this hash can be updated.

Bug: 142752869
Test: build (checks hashes)
Change-Id: If035ab957d472ca1b347eecd1f1dddfbbd3cd1c4
2019-12-11 00:36:44 +08:00
Shuo Qian
511264a552 Support isEnabled feature in reporting criteria for SignalStrenghth
Test: build
Bug: 135717625
Change-Id: Ia56b54f44345650117f884942ef917e3547277a9
Merged-In: Ia56b54f44345650117f884942ef917e3547277a9
(cherry picked from commit d5ae42e540)
2019-12-10 00:56:07 +00:00
Sasha Kuznetsov
068f928e5e Merge "Add support to blacklist IRNSS in HAL 2.1" 2019-12-10 00:14:39 +00:00
Shuo Qian
3b5fa1001d Merge "Support isEnabled feature in reporting criteria for SignalStrenghth" 2019-12-09 23:21:52 +00:00
Eric Laurent
ceaeee1d73 Audio effect HAL: Add device ID to createEffect API
Add the possibility to specify a target audio device when
creating an audio effect by passing its audio port handle
to createEffect API.

To attach an effect to a device, the framework will use
session ID AudioSessionConsts.DEVICE and provide a valid
AudioPortHandle as device ID.

Bug: 136294538
Test: make
Change-Id: Ic697eeafbd5df6800ad4c7fd9e0698e3d8e3beae
2019-12-09 09:46:37 -08:00
Jimmy Chen
e374a4a0a6 Wifi: WAPI constants and methods
This change includes two parts:
* Define WAPI proto, key management, and cipher constants.
* Expose WAPI HAL API for setting the certificate suite.

Bug: 139257562
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Id7a58b242776d641a091b9ede3f147b7d42003d1
2019-12-09 09:45:51 +08:00
Sasha Kuznetsov
845f6d54e4 Add support to blacklist IRNSS in HAL 2.1
Test: atest VtsHalGnssV2_1TargetTest
Bug: 135042665

Change-Id: I10a12f5171c640e400af4ee66ce9ab63cf6e94f2
2019-12-07 12:02:15 -08:00
Eric Laurent
6d48565360 audio: add audio session for device effects
Add specific audio session ID for effects applied to a
particular audio device.

Bug: 136294538
Test: make
Change-Id: Iea3e3a07f404e1075844422c740d2dc4d5163598
2019-12-06 12:26:26 -08:00
Shuo Qian
d5ae42e540 Support isEnabled feature in reporting criteria for SignalStrenghth
Test: build
Bug: 135717625
Change-Id: Ia56b54f44345650117f884942ef917e3547277a9
2019-12-06 11:21:39 -08:00
Hayden Gomes
aadb064fa1 Adding audiocontrol and evs hashes to current.txt
- Added hashes for IAudioControl, IEvsCamera, IEvsCameraStream,
IEvsDisplay, IEvsEnumeration, and evs@1.0::types

Bug: 142877791
Test: Ran vts module VtsTrebleVendorVintfTest
Change-Id: I542492b7cfa52a3e01ef2f24efe5a30f679e2a15
2019-12-05 13:24:35 -08:00
Mikhail Naganov
479ee33801 Add Audio HAL V6 hashes to current.txt
Done using the following command:

hidl-gen -L hash -r android.hardware:hardware/interfaces \
   -r android.hidl:system/libhidl/transport \
   android.hardware.audio@6.0 \
   android.hardware.audio.common@6.0 \
   android.hardware.audio.effect@6.0

Bug: 138747770
Test: N/A
Change-Id: I9cbd5c2358a663ec346d8624d0e6a12c643147e3
2019-12-05 11:03:09 -08:00
Sarah Chin
afa47584bf Update NGRAN bands
Test: build
Bug: 143683654
Change-Id: I7b59cd52dffdccc30b536a0bef9cab5ad977d371
Merged-In: I7b59cd52dffdccc30b536a0bef9cab5ad977d371
2019-12-04 13:16:21 -08:00
Sarah Chin
2eed46cbdc Merge "Update NGRAN bands" 2019-12-04 17:10:03 +00:00
Sarah Chin
dbb5f9d745 Update NGRAN bands
Test: build
Bug: 143683654
Change-Id: I7b59cd52dffdccc30b536a0bef9cab5ad977d371
2019-12-04 00:15:57 +00:00
Yu-Han Yang
c06b536662 Add GNSS HAL 2.1
Bug: 136136192
Bug: 141758837

Test: atest VtsHalGnssV2_1TargetTest
Change-Id: I8e6d52695c8ab0aeacacb0107a6c0c8271983ed3
2019-12-03 13:42:22 -08:00
Sarah Chin
b7709bba42 Add HAL for 5G bands
Added NgranBands and RadioAccessNetwork NGRAN
Updated RadioAccessSpecifier and NetworkScanRequest
Updated IRadio and IRadioResponse to use updated structs/enums

Bug: 143683654
Test: build
Change-Id: I2e751a544b626d48a7c78b7bdcb4ac6477e25bc6
Merged-In: I2e751a544b626d48a7c78b7bdcb4ac6477e25bc6
2019-12-03 11:08:30 -08:00
Xiangyu/Malcolm Chen
f597a4ae0e Merge "Adding HAL API for disabling subscription" 2019-12-03 19:04:59 +00:00
Sarah Chin
e99c5601ac Merge "Add HAL for 5G bands" 2019-12-03 17:59:31 +00:00
Robert Shih
b169712df0 Merge "Add Drm 1.3" 2019-12-03 17:33:03 +00:00
Sarah Chin
b6663d1703 Add HAL for 5G bands
Added NgranBands and RadioAccessNetwork NGRAN
Updated RadioAccessSpecifier and NetworkScanRequest
Updated IRadio and IRadioResponse to use updated structs/enums

Bug: 143683654
Test: build
Change-Id: I2e751a544b626d48a7c78b7bdcb4ac6477e25bc6
2019-12-02 14:09:28 -08:00
Malcolm Chen
fb6d6241c7 Adding HAL API for disabling subscription
Bug: 141018421
Test: vts on cuttlefish
Change-Id: I90ded163ddc047916c205513ab77a886ebcc48f7
Merged-In: I90ded163ddc047916c205513ab77a886ebcc48f7
2019-12-02 11:37:25 -08:00
Lev Proleev
5595da3741 Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
Updated:
  CONCATENATION
  REDUCE_MIN
  REDUCE_MAX
  STRIDED_SLICE
  RESHAPE
  SQUEEZE
  MEAN

Bug: 143934554
Bug: 143935314
Bug: 143934726
Bug: 143934771
Bug: 143934557
Bug: 143934306
Bug: 143935140
Test: quantization coupling tests in CTS and VTS
Change-Id: Ie73d070fd6f0a27185c1f26561710635b6e03b26
Merged-In: Ie73d070fd6f0a27185c1f26561710635b6e03b26
(cherry picked from commit 91134e7fb9)
2019-12-02 11:40:55 +00:00
Przemyslaw Szczepaniak
90fc2cc193 Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
Updated:
 BATCH_TO_SPACE_ND
 CHANNEL_SHUFFLE
 DEPTH_TO_SPACE
 GROUPED_CONV_2D
 PAD
 PAD_V2
 QUANTIZE
 RESIZE_BILINEAR
 RESIZE_NEAREST_NEIGHBOR
 SPACE_TO_BATCH_ND
 SPACE_TO_DEPTH
 SPLIT
 TILE
 TOPK_V2
 TRANSPOSE

Bug: 143934582
Bug: 143934585
Bug: 143934628
Bug: 143934630
Bug: 143934721
Bug: 143935039
Bug: 143935052
Bug: 143935113
Bug: 143935115
Bug: 143935141
Bug: 143935353
Bug: 143935355
Bug: 143935392
Bug: 143935394
Bug: 143935413
Test: quantization coupling tests in CTS and VTS
Change-Id: I7e1b65507ea0f7dcdfdb5fd98e7871d84f569ed7
Merged-In: I7e1b65507ea0f7dcdfdb5fd98e7871d84f569ed7
(cherry picked from commit 6d3cdc322b)
2019-12-02 11:40:40 +00:00
Lev Proleev
91134e7fb9 Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
Updated:
  CONCATENATION
  REDUCE_MIN
  REDUCE_MAX
  STRIDED_SLICE
  RESHAPE
  SQUEEZE
  MEAN

Bug: 143934554
Bug: 143935314
Bug: 143934726
Bug: 143934771
Bug: 143934557
Bug: 143934306
Bug: 143935140
Test: quantization coupling tests in CTS and VTS
Change-Id: Ie73d070fd6f0a27185c1f26561710635b6e03b26
2019-11-28 11:54:29 +00:00
Przemyslaw Szczepaniak
6d3cdc322b Add TENSOR_QUANT8_ASYMM_SIGNED support for more ops
Updated:
 BATCH_TO_SPACE_ND
 CHANNEL_SHUFFLE
 DEPTH_TO_SPACE
 GROUPED_CONV_2D
 PAD
 PAD_V2
 QUANTIZE
 RESIZE_BILINEAR
 RESIZE_NEAREST_NEIGHBOR
 SPACE_TO_BATCH_ND
 SPACE_TO_DEPTH
 SPLIT
 TILE
 TOPK_V2
 TRANSPOSE

Bug: 143934582
Bug: 143934585
Bug: 143934628
Bug: 143934630
Bug: 143934721
Bug: 143935039
Bug: 143935052
Bug: 143935113
Bug: 143935115
Bug: 143935141
Bug: 143935353
Bug: 143935355
Bug: 143935392
Bug: 143935394
Bug: 143935413
Test: quantization coupling tests in CTS and VTS
Change-Id: I7e1b65507ea0f7dcdfdb5fd98e7871d84f569ed7
2019-11-27 15:09:09 +00:00
Lev Proleev
cdb67453de Add TENSOR_QUANT8_ASYMM_SIGNED support for activations
Ops updated: RELU, RELU1, RELU6, TANH, LOGISTIC

Fix: 143933951
Fix: 143934720
Fix: 143933831
Fix: 143934770
Fix: 143934743
Test: quantization coupling tests in CTS and VTS
Change-Id: Id5e7a8c6b30463708bd93dbf6a3f30d05c2bcf40
Merged-In: Id5e7a8c6b30463708bd93dbf6a3f30d05c2bcf40
(cherry picked from commit 3466c78b04)
2019-11-27 14:55:49 +00:00
Lev Proleev
d1b3450b3d Add TENSOR_QUANT8_ASYMM_SIGNED support for pooling ops
* Update AVERAGE_POOL_2D and MAX_POOL_2D

Bug: 143934716
Bug: 143934303
Test: quantization coupling tests in CTS and VTS
Change-Id: I15f36d6f819c92f96a46c40f9cc1491627644278
Merged-In: I15f36d6f819c92f96a46c40f9cc1491627644278
(cherry picked from commit 3f17cc3daa)
2019-11-27 14:55:13 +00:00
Lev Proleev
53c79d179a Add TENSOR_QUANT8_ASYMM_SIGNED support to ADD, MUL and SUB.
Bug: 143934463
Bug: 143934627
Bug: 143935040
Test: NNTest_static and 1.3 VTS
Change-Id: I47ffc2c264390f3c6b98aa9567fb47f2c58333fe
Merged-In: I47ffc2c264390f3c6b98aa9567fb47f2c58333fe
(cherry picked from commit 122bc2c0cc)
2019-11-27 14:54:27 +00:00
Robert Shih
37e52fa88d Add Drm 1.3
New API(s):
* IDrmFactory::getSupportedCryptoScheme

Bug: 139134043
Test: MediaDrmTest
Change-Id: Ibe8c7eabcbdd96618c7c336281582ff19f349de9
2019-11-27 01:12:09 +00:00
Sarah Chin
438edf349a Merge "Set up IRadioConfig 1.3 skeleton" 2019-11-26 18:52:26 +00:00
Slava Shklyaev
76f5263d6f Merge changes from topic "quant_coupling"
* changes:
  Add QUANT8_ASYMM_SIGNED support to SELECT op
  Add quantization coupling test
  Combine test parameters into TestConfig structure
2019-11-26 17:44:27 +00:00
Sarah Chin
b071f8ae53 Set up IRadioConfig 1.3 skeleton
Create IRadioConfig, IRadioConfigIndication, IRadioConfigResponse
Create vts for 1.3
Create default implementation for 1.3

Test: run vts -m VtsHalRadioConfigV1_3Target
Bug: 144101226
Change-Id: Ibf92683ca48b4053e86de3fb655ac15ad1e0725d
Merged-In: Ibf92683ca48b4053e86de3fb655ac15ad1e0725d
2019-11-25 16:23:41 -08:00
Malcolm Chen
a164db9e84 Adding HAL API for disabling subscription
Bug: 141018421
Test: vts on cuttlefish
Change-Id: I90ded163ddc047916c205513ab77a886ebcc48f7
2019-11-25 16:15:26 -08:00
Sarah Chin
ac9dbf6eb9 Merge "Set up IRadioConfig 1.3 skeleton" 2019-11-25 23:58:50 +00:00
Przemyslaw Szczepaniak
7460d44faf Merge "Add TENSOR_QUANT8_ASYMM_SIGNED support for activations" 2019-11-25 10:14:15 +00:00
Przemyslaw Szczepaniak
83ad3583b8 Merge "Add TENSOR_QUANT8_ASYMM_SIGNED support for pooling ops" 2019-11-25 10:13:34 +00:00
Treehugger Robot
2264258028 Merge "Add NNAPI 1.3 OperationType" 2019-11-22 22:12:01 +00:00
Sarah Chin
83e3ca82e6 Set up IRadioConfig 1.3 skeleton
Create IRadioConfig, IRadioConfigIndication, IRadioConfigResponse
Create vts for 1.3
Create default implementation for 1.3

Test: run vts -m VtsHalRadioConfigV1_3Target
Bug: 144101226
Change-Id: Ibf92683ca48b4053e86de3fb655ac15ad1e0725d
2019-11-22 10:35:29 -08:00
Lev Proleev
3466c78b04 Add TENSOR_QUANT8_ASYMM_SIGNED support for activations
Ops updated: RELU, RELU1, RELU6, TANH, LOGISTIC

Change-Id: Id5e7a8c6b30463708bd93dbf6a3f30d05c2bcf40
Fix: 143933951
Fix: 143934720
Fix: 143933831
Fix: 143934770
Fix: 143934743
Test: quantization coupling tests in CTS and VTS
2019-11-21 17:35:30 +00:00
Lev Proleev
e1e4fc9a38 Merge "Add TENSOR_QUANT8_ASYMM_SIGNED support to ADD, MUL and SUB." 2019-11-21 15:27:35 +00:00
Lev Proleev
3f17cc3daa Add TENSOR_QUANT8_ASYMM_SIGNED support for pooling ops
* Update AVERAGE_POOL_2D and MAX_POOL_2D

Bug: 143934716
Bug: 143934303
Test: quantization coupling tests in CTS and VTS
Change-Id: I15f36d6f819c92f96a46c40f9cc1491627644278
2019-11-21 14:39:40 +00:00
Lev Proleev
3683c785f2 Add QUANT8_ASYMM_SIGNED support to SELECT op
Also fix repo hook complaining about comment formatting.

Bug: 143935354
Test: NNTest_static and VTS_1_3  with --gtest_filter="*QuantizationCouplingTest*select*"
Change-Id: I1b0d1e987ebccc6700dd172b4222f9996105513d
Merged-In: I1b0d1e987ebccc6700dd172b4222f9996105513d
(cherry picked from commit 04bf939c7a)
2019-11-21 12:06:36 +00:00
Lev Proleev
3b60d80ff6 Add NNAPI 1.3 OperationType
* Add 1.3 OperationType.
* Remove "using V1_2::OperationType" from 1.3 VTS tests.
* Update current.txt

Test: mma
Change-Id: Ieaede9b7a6cecb16dbcc753f347f7ff04c009f20
Merged-In: Ieaede9b7a6cecb16dbcc753f347f7ff04c009f20
(cherry picked from commit 8774f10b76)
2019-11-21 12:06:27 +00:00
Shawn Willden
0e363cda29 Add Keymaster 4.1 hashes
Merging hashes separately to address merge conflict.

Change-Id: I929ddc0b9a02ffac45be67aa04adda2a32f6a85c
Merged-in: If0705662121c91f7f4a5753bba9e2f9a07890686
Test: N/A
2019-11-20 12:14:36 -07:00
Jakub Pawlowski
1e32cdf320 Merge "bluetooth: V1.1" am: 58b3a47b89 am: 57ab4a1db2
am: 4fd666d86a

Change-Id: Ice95085e625ffb90db8efb0411fb70437093d41c
2019-11-20 11:05:38 -08:00
Lev Proleev
122bc2c0cc Add TENSOR_QUANT8_ASYMM_SIGNED support to ADD, MUL and SUB.
Bug: 143934463
Bug: 143934627
Bug: 143935040
Test: NNTest_static and 1.3 VTS
Change-Id: I47ffc2c264390f3c6b98aa9567fb47f2c58333fe
2019-11-20 11:15:02 +00:00
Lev Proleev
5c305e52ef Merge changes from topic "quant_coupling"
* changes:
  Add QUANT8_ASYMM_SIGNED support to SELECT op
  Add quantization coupling test
2019-11-20 10:56:14 +00:00
Jakub Pawlowski
13b4d3150c bluetooth: V1.1
Add ISO

Test: run rootcanal, verify 1.1 HAL can be used
Bug: 144413056
Change-Id: Ic5b33602e1e4ba8e6d16623b9f8c46f674fc476c
2019-11-20 00:47:22 +01:00
Jakub Pawlowski
dead48f5fb Add hash for media.c2@1.1
Bug: 136316504
Change-Id: Ic78f472723e327758985ed1a9e30faabba3ed365
2019-11-19 23:03:30 +01:00
Xusong Wang
1b3f426648 NN HAL: Upgrade IPreparedModel::execute to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I9ca1e28ddc97fe880a72885afe7afb6c93903697
Merged-In: I9ca1e28ddc97fe880a72885afe7afb6c93903697
(cherry picked from commit 62a760c32d)
2019-11-19 12:18:41 -08:00
Xusong Wang
cc47dffa57 NN HAL: Upgrade IPreparedModelCallback::notify to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I56bc7a2fb179a9576036ad0c2aae0e1f41ec4e2c
Merged-In: I56bc7a2fb179a9576036ad0c2aae0e1f41ec4e2c
(cherry picked from commit 68c3234ad3)
2019-11-19 12:18:33 -08:00
sqian
db5163ca1b Fix a mistake in the RSSNR range.
Test: build
Bug: 135717625
Change-Id: I2e7db25d6f9abb142f8c113d4f1d9666defe6be4
Merged-In: I2e7db25d6f9abb142f8c113d4f1d9666defe6be4
(cherry picked from commit e3c8d131b9)
2019-11-18 14:04:13 -08:00
Xusong Wang
ebd88ba8d2 NN HAL: Upgrade IPreparedModel::executeSynchronously to 1.3.
Bug: 143242728
Test: 1.3 VTS with sample driver
Change-Id: I4b74e8ac031c5d793cf7e5d66190734949367538
2019-11-18 11:20:37 -08:00
Lev Proleev
04bf939c7a Add QUANT8_ASYMM_SIGNED support to SELECT op
Also fix repo hook complaining about comment formatting.

Bug: 143935354
Test: NNTest_static and VTS_1_3  with --gtest_filter="*QuantizationCouplingTest*select*"
Change-Id: I1b0d1e987ebccc6700dd172b4222f9996105513d
2019-11-18 17:20:55 +00:00
Shuo Qian
e3c8d131b9 Fix a mistake in the RSSNR range.
Test: build
Bug: 135717625
Change-Id: I2e7db25d6f9abb142f8c113d4f1d9666defe6be4
2019-11-15 18:55:43 -08:00
sqian
bd4a6f13df Mark RSSNR in 4G as an optional support, and vendor dependency
Test: build
Bug: 135717625
Change-Id: Iaf42797b2d388843778ce5fedbd28861f340ec5c
Merged-In: Iaf42797b2d388843778ce5fedbd28861f340ec5c
(cherry picked from commit 42f01a6477)
2019-11-15 16:05:27 -08:00
TreeHugger Robot
f96c16cd20 Merge "Mark RSSNR in 4G as an optional support, and vendor dependency" 2019-11-15 23:52:53 +00:00
Shawn Willden
4ffd6b6152 Add hashes for Keymaster 4.1
KM4.1 is actually landing in AOSP, but it creates a merge conflict.
This is to deconflict the merge.

Test: N/A
Change-Id: If0705662121c91f7f4a5753bba9e2f9a07890686
2019-11-15 09:11:03 -07:00
Shuo Qian
42f01a6477 Mark RSSNR in 4G as an optional support, and vendor dependency
Test: build
Bug: 135717625
Change-Id: Iaf42797b2d388843778ce5fedbd28861f340ec5c
2019-11-14 21:37:09 +00:00
Lev Proleev
1835d68944 Merge "Add NNAPI 1.3 OperationType" 2019-11-13 11:52:15 +00:00
sqian
f1850bf050 Add Signal Strength Threshold HAL for 4G and 5G
Test: Build
Bug: 135717625

Change-Id: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4
Merged-In: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4
(cherry picked from commit 1f4012f417)
2019-11-12 18:26:30 -08:00
Shuo Qian
1f4012f417 Add Signal Strength Threshold HAL for 4G and 5G
Test: Build
Bug: 135717625

Change-Id: I324cfd592ca53a12ebe1161f242ae3b9c7fc59a4
2019-11-12 14:51:39 -08:00
Lev Proleev
8774f10b76 Add NNAPI 1.3 OperationType
* Add 1.3 OperationType.
* Remove "using V1_2::OperationType" from 1.3 VTS tests.
* Update current.txt

Test: mma
Change-Id: Ieaede9b7a6cecb16dbcc753f347f7ff04c009f20
2019-11-11 18:11:50 +00:00
Xusong Wang
cf6a591772 Merge "NN HAL: Upgrade IPreparedModel::execute to 1.3." 2019-11-11 18:01:28 +00:00
TreeHugger Robot
54e9ec9cfa Merge "vibrator@1.4: remove from current.txt" 2019-11-11 06:42:42 +00:00
Steven Moreland
b14c364004 vibrator@1.4: remove from current.txt
Since it is being replaced by an AIDL HAL interface.

Bug: 141828236
Test: N/A
Change-Id: Ie46843cd17540665f0575798ea97355e174a359c
2019-11-10 20:24:46 -08:00
Steven Moreland
5bd756e62e vibrator@1.4: remove from current.txt
Since it is being replaced by an AIDL HAL interface.

Bug: 141828236
Test: N/A
Change-Id: Ie46843cd17540665f0575798ea97355e174a359c
Merged-In: Ie46843cd17540665f0575798ea97355e174a359c
2019-11-10 20:22:34 -08:00
TreeHugger Robot
7f27c06787 Merge "NN HAL: Upgrade IPreparedModelCallback::notify to 1.3." 2019-11-11 01:12:40 +00:00
Sunil Ravi
aabb5ccb26 Merge "Wifi: MBO-OCE feature support (phase 1)" 2019-11-08 22:57:25 +00:00
Sunil Ravi
89157a4baa Wifi: MBO-OCE feature support (phase 1)
1. Added hidl API to return MBO and OCE feature capability.
2. Added hidl API to update the cellular data status.

Bug: 139474288
Test: Manual
Test: VTS test
Change-Id: I4fe1c2ff054f5cc7288e9ed234d29a8ffcca7456
2019-11-08 12:09:19 -08:00