Commit graph

901 commits

Author SHA1 Message Date
Automerger Merge Worker
ece8ac2e68 Merge "Identity Credential: Require passing applicationId when generating attestation." am: 7175150e3f am: 396315d92f am: ef23d7de41
Change-Id: I6b75d668a3596351281caf141a4fea4c8c4f0882
2020-02-04 22:22:38 +00:00
Automerger Merge Worker
396315d92f Merge "Identity Credential: Require passing applicationId when generating attestation." am: 7175150e3f
Change-Id: I797946e69bc98ab490976bfd56c3b19e098a6f2d
2020-02-04 21:49:42 +00:00
Treehugger Robot
7175150e3f Merge "Identity Credential: Require passing applicationId when generating attestation." 2020-02-04 21:31:31 +00:00
Michael Butler
e8d82de36c Merge "NNAPI HAL: Remove priority from prepareModelFromCache_1_3" 2020-02-04 18:43:04 +00:00
Emilian Peev
f0aa3f0107 Camera: Add ICameraDevice@3.6 subinterface
Camera device subinterface version 3.6 must inherit
from the previous version 3.5 and continue to support
device sessions with versions 3.2, 3.5 as well as the
most recent 3.6.

Bug: 148235329
Test: VtsHalCameraProviderV2_4TargetTest
--gtest_filter=PerInstance/CameraHidlTest.switchToOffline/0_external_0

Change-Id: Ia46cbd771eb1d2624cc0cee808a3eb074fc775b6
2020-02-04 10:12:15 -08:00
Automerger Merge Worker
32a891a587 Merge "Cleanup IRadio/IRadioConfig HAL" am: f107b4231e
Change-Id: I32a16adca84cd734705a4646a9f16ee5e9bccf64
2020-02-04 17:50:22 +00:00
Treehugger Robot
f107b4231e Merge "Cleanup IRadio/IRadioConfig HAL" 2020-02-04 17:42:39 +00:00
Ahmed ElArabawy
afd901411f Merge "Wifi: Add documentation for MacAddress" 2020-02-04 17:23:03 +00:00
Automerger Merge Worker
f48c750c10 Merge "Update sync fence related API for NNAPI" am: 1eb640d440
Change-Id: I83808f988b7e27d405b66c63feae311ed175e46b
2020-02-04 00:33:30 +00:00
Rambo Wang
71b7a74796 Merge "Update Barring HAL Structures to nest single-use unions/structs" 2020-02-04 00:30:12 +00:00
Xusong Wang
1eb640d440 Merge "Update sync fence related API for NNAPI" 2020-02-04 00:19:25 +00:00
Ahmed ElArabawy
c8d863fd29 Wifi: Add documentation for MacAddress
This commit adds documentation for MacAddress type definition.

Bug: 148617829
Test: Build successful
Change-Id: I535b78ac6826a478e8bbe10c2eced30e64f05724
2020-02-03 15:56:59 -08:00
Michael Butler
c90250ff57 NNAPI HAL: Remove priority from prepareModelFromCache_1_3
prepareModelFromCache_1_3 uses model cache and data cache that
represent a prepared model. Any argument that contributes in a
meaningful way to the prepared model is implicitly included in
this model cache and data cache. For example, "model" and
"executionPreference" appear in prepareModel_1_3 but not in
prepareModelFromCache_1_3 because they are implicitly included
in the model cache and data cache. In a similar way, because
it could affect the resulting model, "priority" should be
removed from prepareModelFromCache_1_3.

Fixes: 148802784
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I518e493ead8aa97220b16370cce8523b425c378c
2020-02-03 15:06:00 -08:00
TreeHugger Robot
0119a4a67e Merge "Camera: Add @2.6::ICameraProvider to current.txt" 2020-02-03 21:52:43 +00:00
Rambo Wang
24c3416b4f Update Barring HAL Structures to nest single-use unions/structs
Bug: 148102466
Test: compilation for both cuttlefish and sargo
Change-Id: I8a8e734011909b038c0d735c2bfde7ea773b71e6
2020-02-03 13:44:47 -08:00
Sarah Chin
f90eddff52 Cleanup IRadio/IRadioConfig HAL
Removed unused import statements.
Consistent between internal and AOSP.
More accurate names for ModemFeatures.

Test: make
Change-Id: Icbfe35d472ab3f7fd6cd50b4888e3c478dd29fd2
Merged-In: Icbfe35d472ab3f7fd6cd50b4888e3c478dd29fd2
2020-02-03 20:33:33 +00:00
Sarah Chin
d9939b5878 Merge "Cleanup IRadio/IRadioConfig HAL" 2020-02-03 20:33:23 +00:00
TreeHugger Robot
e3205835a9 Merge "ISoundTriggerHw.RecognitionConfig to bitfield" 2020-02-03 19:20:37 +00:00
Ahmed ElArabawy
1845b8e555 Wifi: Improve documentation for some hidl APIs
This commit improves some of the comments for the Wifi Hidl APIs.

Bug: 148236141
Test: No test is done
Change-Id: Iff6b191c8b258615ddaacad570b81f0ada968ed4
2020-01-31 17:22:36 -08:00
David Zeuthen
87cb07bd08 Identity Credential: Require passing applicationId when generating attestation.
Since the attestation format includes the applicationId, we need this
to be passed from credstore. Also clarify other requirements about
what needs to be in the attestation data.

Bug: 111446262
Test: atest android.security.identity.cts
Test: VtsHalIdentityCredentialTargetTest
Test: android.hardware.identity-support-lib-test
Change-Id: I623849bd61e55752a573002dc7a97c6658d94c91
2020-01-31 17:42:07 -05:00
Nicholas Ambur
c8d278d18d ISoundTriggerHw.RecognitionConfig to bitfield
Bug: 148236002
Test: atest SoundTriggerMiddlewareImplTest
Change-Id: I512dd5265d433ecd6873a98c460b3e9ffb57063c
2020-01-31 11:00:03 -08:00
Shuzhen Wang
b0bb8de614 Camera: Add @2.6::ICameraProvider to current.txt
Test: Build
Bug: 148181647
Change-Id: I2809a299d02fc5b5c4d8a54d10ebad67c0547d4c
2020-01-31 10:38:55 -08:00
Automerger Merge Worker
e067d70f96 Merge "Make IDumpstateDevice 1.1" am: 99ad09b7e7
Change-Id: I4e2eb97b0341352acf9ae2f63a2da508f63d3c0c
2020-01-31 16:40:28 +00:00
Automerger Merge Worker
cf043b51fa Support sync fence in NNAPI am: 12ea0d4ed6
Change-Id: Iedb6f8e127ca8df0c2e7322ba5b0e97f8e6ecac0
2020-01-31 16:23:04 +00:00
Automerger Merge Worker
14dca9ee25 Add FILL and RANK ops am: 53a51cb352
Change-Id: If390c156fb2aa1666bfff31fc94dc75b6e6cce7b
2020-01-31 16:23:02 +00:00
Automerger Merge Worker
b17645bc30 Add ELU and HARD_SWISH am: 503d850369
Change-Id: I2347a7439107a05429f7e1488c9b4ce5d57f34b7
2020-01-31 16:23:00 +00:00
Automerger Merge Worker
4743cd38bc NNAPI: Regenerate types.hal to sync with types.spec am: e4f1583337
Change-Id: I342797ade096e9ca5ed67a37527ccff70edc5ef7
2020-01-31 16:22:56 +00:00
Automerger Merge Worker
f0200c74b7 Merge "Manual network selection by RAN type" am: b25740f083
Change-Id: I635ef788b7c5e696ac95935306cecac407a2c047
2020-01-31 16:08:39 +00:00
Treehugger Robot
99ad09b7e7 Merge "Make IDumpstateDevice 1.1" 2020-01-31 01:06:20 +00:00
Miao Wang
99753d9e90 Update sync fence related API for NNAPI
- Allow IPreparedModel::executeFenced to measure gated durations.
 - Allow IPreparedModel::executeFenced to specify an optional deadline
 and aa optional post-gate-release maximum duration.

Bug: 142778241
Bug: 141363565
Test: mm
Change-Id: I1687ec5543f93ed9bb5d7fcf14dbe15ed5b5cd0d
Merged-In: I1687ec5543f93ed9bb5d7fcf14dbe15ed5b5cd0d
(cherry picked from commit 3fd70b020e)
2020-01-30 15:23:23 -08:00
Xusong Wang
1b4b30d064 Merge changes from topics "aosp-nnapi-1.3-operations", "aosp-nnapi-async-cmdqueue"
* changes:
  Fix the NNAPI vts tests about validateExecuteFenced
  Add VTS tests for NNAPI IPreparedModel::executeFenced
  Support sync fence in NNAPI
  Add FILL and RANK ops
  Add ELU and HARD_SWISH
  NNAPI: Regenerate types.hal to sync with types.spec
2020-01-30 23:18:32 +00:00
Automerger Merge Worker
4fb96b26ae Add Quality of Service to NNAPI HAL am: ed8e77bf12
Change-Id: Ic3e66248fb49a42c97408476dff88df88d40548c
2020-01-30 17:51:18 +00:00
Sarah Chin
b25740f083 Merge "Manual network selection by RAN type" 2020-01-29 21:36:31 +00:00
Sarah Chin
fc16668e86 Cleanup IRadio/IRadioConfig HAL
Removed unused import statements.
Consistent between internal and AOSP.
More accurate names for ModemFeatures.

Test: make
Change-Id: Icbfe35d472ab3f7fd6cd50b4888e3c478dd29fd2
2020-01-29 13:26:16 -08:00
Xusong Wang
27cfaa82f8 Merge changes from topic "aosp-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-29 19:14:56 +00:00
Sarah Chin
0b0871ee6b Manual network selection by RAN type
Support updated API for setNetworkSelectionModeManual

Bug: 68116277
Test: atest FrameworksTelephonyTests
Change-Id: I7076da1734d2d020adef568188cb4f4b4914f379
Merged-In: I7076da1734d2d020adef568188cb4f4b4914f379
2020-01-29 10:04:07 -08:00
Sarah Chin
a4021bde11 Merge changes from topics "multiband", "ssc3"
am: 39ddbb92a5

Change-Id: I823e0109eefff2541fe03987eadb293ba08b958c
2020-01-29 08:58:15 -08:00
Jack Yu
10a7dfb190 Added multi-band support
am: 295d9d42c4

Change-Id: I042a1f57a27146046d07653bd5d7fa80e3614fe4
2020-01-29 08:57:44 -08:00
Sarah Chin
39ddbb92a5 Merge changes from topics "multiband", "ssc3"
* changes:
  Fixed the comment and time name
  Added multi-band support
2020-01-29 16:45:15 +00:00
Sarah Chin
6e3048d2f7 Merge changes from topics "caps_refactor", "multi-plmn", "nr_band", "v6mtu"
am: d8c60800ae

Change-Id: I7ac6128e347cd9e1ecf74ca9b60e6352d3876ca3
2020-01-29 08:14:16 -08:00
Sarah Chin
e5a98c9394 Support IPv6 MTU in IRadio 1.5
am: 308569a879

Change-Id: Iff71685525c5ff1add79507d614ff7235a61c885
2020-01-29 08:13:44 -08:00
Jack Yu
55c9e7f144 Added NR band support
am: e7dcbfc135

Change-Id: Id31d8706c2edbbc8f66857fecf438235773cf562
2020-01-29 08:13:05 -08:00
Nathan Harold
21191f558c Add Multi-PLMN and CSG support
am: 8f0d8b1840

Change-Id: Id9f768fc853756faeec831e2938dc5a7cada5059
2020-01-29 08:12:12 -08:00
Sarah Chin
d8c60800ae Merge changes from topics "caps_refactor", "multi-plmn", "nr_band", "v6mtu"
* changes:
  Update PhoneCapability to use 1.5 UTRAN bands
  Support IPv6 MTU in IRadio 1.5
  Added NR band support
  Add Multi-PLMN and CSG support
2020-01-29 15:56:09 +00:00
Automerger Merge Worker
f02d380818 Merge changes from topic "aosp-nnapi-cf" am: 8d38d27bb9
Change-Id: I5afe108e5248b2012ddb4c8a36e66aaf8c792864
2020-01-28 22:38:23 +00:00
Automerger Merge Worker
3c4e9c2aea Remove neuralnetworks@1.3::Model.Extension* in favor of 1.2 counterparts am: 351ca59582
Change-Id: I2079e0ec0e0ad8de8e6be8e5ea5436c3eded97ce
2020-01-28 22:38:19 +00:00
Miao Wang
3fd70b020e Update sync fence related API for NNAPI
- Allow IPreparedModel::executeFenced to measure gated durations.
 - Allow IPreparedModel::executeFenced to specify an optional deadline
 and aa optional post-gate-release maximum duration.

Bug: 142778241
Bug: 141363565
Test: mm
Change-Id: I1687ec5543f93ed9bb5d7fcf14dbe15ed5b5cd0d
2020-01-28 14:31:57 -08:00
Treehugger Robot
8d38d27bb9 Merge changes from topic "aosp-nnapi-cf"
* changes:
  Add NNAPI control flow
  Remove neuralnetworks@1.3::Model.Extension* in favor of 1.2 counterparts
2020-01-28 22:17:36 +00:00
Xusong Wang
af9a9cb5b8 Memory Domain HAL: Define HAL APIs.
am: b345a4688f

Change-Id: I91873d666054ebe8625166eec67891bd256eda12
2020-01-28 10:30:03 -08:00
Xusong Wang
5f675cfdd7 Merge changes from topic "aosp-nnapi-memory-domain"
* changes:
  Add memory domain VTS generated tests.
  Memory Domain HAL: Define HAL APIs.
2020-01-28 18:24:34 +00:00
Sarah Chin
beded753de Merge changes from topics "phone_cap", "tdscdma", "update-regstate-rplmn"
am: 868156ace2

Change-Id: Iad296d2f1c0256a191932e00ac7a3bd79f8562fa
2020-01-28 09:37:39 -08:00
Sarah Chin
3b5db56bd4 PhoneCapabilities changes for device capabilities
am: e1d1b0b92c

Change-Id: I0213af18d48ae891a35b903662b84e8755a84b27
2020-01-28 09:37:04 -08:00
Jack Yu
40658fb223 Added TD-SCDMA bands for network scanning
am: 5b971bfa50

Change-Id: I80f8bef793f834406ec7c7223df004f9c5a450ab
2020-01-28 09:36:26 -08:00
Jack Yu
478603456f Fixed the comment and time name
To match the API in LinkAddress.

Test: Telephony sanity tests
Bug: 135717900
Change-Id: I06559044c8015bc577d9e4ca489a4924f69093b2
Merged-In: I06559044c8015bc577d9e4ca489a4924f69093b2
2020-01-27 18:05:11 -08:00
Jack Yu
295d9d42c4 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
Merged-In: I6018b9df8b8bd0745c3736df764f4569bea28baa
2020-01-27 17:52:48 -08:00
Sarah Chin
f0cfc3ef60 Update PhoneCapability to use 1.5 UTRAN bands
Test: build
Bug: 143238191
Change-Id: Id86ad81d837c983e2d34633fdebdfc308e219a3d
Merged-In: Id86ad81d837c983e2d34633fdebdfc308e219a3d
2020-01-27 17:44:12 -08:00
Sarah Chin
308569a879 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
Merged-In: I33320281730fdb91d2b07d11cd24a95d0834c9dd
2020-01-27 15:36:15 -08:00
Jack Yu
e7dcbfc135 Added NR band support
Added band info in cell identity.

Test: Telephony sanity tests
Bug: 131061889
Change-Id: I5205aa70db0d83fd049c5f25b0b427ab7484727b
Merged-In: I5205aa70db0d83fd049c5f25b0b427ab7484727b
2020-01-27 15:28:06 -08:00
Miao Wang
12ea0d4ed6 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
Merged-In: I87cbb7f2aee87342b0418fce04eb4050e2bc1920
(cherry picked from commit 90cf3dd37c)
2020-01-27 12:58:31 -08:00
Lev Proleev
53a51cb352 Add FILL and RANK ops
Bug: 148050168
Bug: 148049333
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Iebdfa600d84e31532807740c21d95cae41c76ad5
Merged-In: Iebdfa600d84e31532807740c21d95cae41c76ad5
(cherry picked from commit 8b3f240ea3)
2020-01-27 12:58:14 -08:00
Lev Proleev
503d850369 Add ELU and HARD_SWISH
Bug: 147482068
Bug: 147481241
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Iab8da2a666ad9775dfb53d9297e94962fb651353
Merged-In: Iab8da2a666ad9775dfb53d9297e94962fb651353
(cherry picked from commit aee67f83f9)
2020-01-27 12:57:58 -08:00
Lev Proleev
e4f1583337 NNAPI: Regenerate types.hal to sync with types.spec
Bug: 147765446
Test: mma
Change-Id: I2b41bd959b7084ecb89674c659c66ebb158ac77d
Merged-In: I2b41bd959b7084ecb89674c659c66ebb158ac77d
(cherry picked from commit 2d7c489f67)
2020-01-27 12:57:05 -08:00
Michael Butler
ed8e77bf12 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
Merged-In: Iaa7877bde1f463635b8bbdb4e8a001d7b79b9c65
(cherry picked from commit c2499ecda1)
2020-01-27 12:51:25 -08:00
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