Commit graph

17386 commits

Author SHA1 Message Date
François Gaffie
1aa7d5a691 [AudioEffect V6] Add missing sources in schemas
Test: build
Bug:

Change-Id: Icb27c115bcfae1b8df62ce7331872af249a069c9
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2020-01-29 00:56:23 +00:00
François Gaffie
f8ed37158b [AudioEffect V6] Add Device Effects
This CL updates the schemas of Audio Effect Configuration to support
device effects.

Bug: 136294538
Test: build

Change-Id: I5bd72e9e5a6889000b91c78a25e46f6b26744c20
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2020-01-29 00:55:57 +00:00
Treehugger Robot
72c3a98e9f Merge "Add drm hal/vts owners" 2020-01-28 23:09:32 +00: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
Treehugger Robot
c9d0f25cfa Merge "health 2.0 vts: Allow for battery-less devices" 2020-01-28 21:16:01 +00:00
Robert Shih
e44ad509d6 Add drm hal/vts owners
Change-Id: Ie6f0116a0fc9f4590b3a272d877c0d5be719d624
2020-01-28 13:14:09 -08:00
Yifan Hong
4395bb1d74 Merge "Add health 2.1 to vts-core." 2020-01-28 20:12:37 +00:00
Treehugger Robot
fe720b1bf3 Merge "AIDL vibrator required for launching devices." 2020-01-28 18:37:26 +00: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
Treehugger Robot
232a1d7831 Merge "audio: Update copyHAL script to update dump_utils.cpp" 2020-01-28 18:18:22 +00:00
Sarah Chin
868156ace2 Merge changes from topics "phone_cap", "tdscdma", "update-regstate-rplmn"
* changes:
  Add Support for RPLMN to Voice and Data RegState
  PhoneCapabilities changes for device capabilities
  Added TD-SCDMA bands for network scanning
2020-01-28 17:26:11 +00:00
Mikhail Naganov
51c87bc4c5 audio: Update copyHAL script to update dump_utils.cpp
dump_utils.cpp contains a list of interfaces that
need to be dumped.

Test: copyHAL.sh 6.0 7.0
Change-Id: I4444a5013852ea7362f3dba420c2c5c5c0f2a5c3
2020-01-28 08:48:28 -08:00
Yifan Hong
5ac6f5bc99 health 2.0 vts: Allow for battery-less devices
Battery-less devices reports UNKNOWN for getChargeStatus.
Allow it.

Test: on cuttlefish
Change-Id: I06dd2841d43cab9528209d0bfd61969a8f2409c8
2020-01-27 16:22:07 -08:00
Yifan Hong
7474381275 Add health 2.1 to vts-core.
Test: TH
Bug: 144948996
Change-Id: Icc58506841c7a3b754661b36788d2acdae168109
2020-01-27 16:15:48 -08:00
Treehugger Robot
3a8eb92143 Merge "drm vts: introduce helper library" 2020-01-27 23:37:31 +00: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
Robert Shih
f2fd4adece drm vts: introduce helper library
The helper library includes
* gtest parameter structure (hal instance name, drm scheme uuid)
* existing vendor module APIs

Bug: 142397658
Test: VtsHalDrmV1_0TargetTest
Change-Id: Ifbb443fcb1414e45de2a2073ec545ddd422b9a4d
2020-01-27 20:16:43 +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
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
Sarah Chin
80da44e958 Merge "CDMA MO SMS follow on DC feature" 2020-01-25 03:21:40 +00:00
Treehugger Robot
a64681e3c1 Merge "[vts-core] add VtsHalAudioV6_0TargetTest to vts-core" 2020-01-25 02:56:57 +00: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
Treehugger Robot
b3149c34fc Merge "audio: Require Audio HAL V6 for level 5" 2020-01-25 01:05:43 +00:00
Treehugger Robot
ddc10d848a Merge "Fix the format specifier in assert log statements" 2020-01-24 23:21:11 +00:00
Xusong Wang
e9da9852a5 Add memory domain VTS generated tests.
Bug: 141353602
Bug: 141363565
Test: 1.3 VTS
Change-Id: Ifc7eb3fd6f15e28ba403f02bdf66b4568bddcb64
Merged-In: Ifc7eb3fd6f15e28ba403f02bdf66b4568bddcb64
(cherry picked from commit 1f50e54cf8)
2020-01-24 14:25:32 -08:00
Treehugger Robot
fb9821c8f0 Merge "~Memtrack: don't delete hw_module_t*" 2020-01-24 21:07:36 +00:00
Amy Zhang
9c057f1e79 Merge "Convert VtsHalTvTunerV1_0TargetTest to be parameterized test" 2020-01-24 02:40:20 +00:00
Yifan Hong
c08c4d873f Merge "Delete BUILT_SYSTEM_MATRIX." 2020-01-24 01:12:40 +00:00
Mikhail Naganov
6b6325ef09 audio: Require Audio HAL V6 for level 5
Match GMS requirements.

Bug: 143257085
Test: N/A
Change-Id: I514ec4756b3d24d12c9156a04a45d01cbf2227c3
2020-01-23 16:11:33 -08:00
Steven Moreland
a65d2972f9 AIDL vibrator required for launching devices.
Deprecating vibrator HIDL for launching devices so that we can remove
HIDL support after ~3+ years.

Bug: 141828236
Test: passes on cuttlefish (TH check)
Change-Id: I2c8b35882a51af0defe8466b28272cff9b3cd151
2020-01-23 15:11:06 -08:00
Steven Moreland
d66d0ddaf3 ~Memtrack: don't delete hw_module_t*
mModule here is from a dlsym from libhardware, so this was crashing
here, if hwservicemanager crashes.

Bug: N/A
Test: N/A
Change-Id: I42aa35df0eafd791465f6e099dc1945bd0f763ea
2020-01-23 14:29:29 -08:00
Mikhail Naganov
0debfc3cc7 [vts-core] add VtsHalAudioV6_0TargetTest to vts-core
Add necessary configuration to VtsHalAudioV6_0TargetTest.

Bug: 146015418
Bug: 146104851
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I3e1bac38598ba5909c8eeb4f83e00bfd0bbbb058
2020-01-23 13:42:15 -08:00
Robert Shih
ab61b8024e drm@1.2 vts: force provision multiple security levels
Bug: 145112387
Bug: 145482532
Bug: 146190325
Bug: 146390725
Bug: 146401147
Bug: 146849109
Bug: 147314842
Bug: 147467803
Bug: 147704960
Test: DrmHalTest.OfflineLicenseTest
Change-Id: I705507101b051ee6ac56fec36ca45d476bf82630
2020-01-23 10:27:53 -08:00
Amy
fa94a2ca46 Convert VtsHalTvTunerV1_0TargetTest to be parameterized test
Bug: 139309306
Test: atest VtsHalTvTunerV1_0TargetTest
Change-Id: I02cd4b7c58b8339bc2fdc69ecb8fc0e88f5baa3f
(cherry picked from commit a29bfaf17a)
2020-01-23 08:47:31 -08:00
Amy Zhang
116a7e2ed4 Merge "Disable Tuner HAL VTS test cases that use un-licensed stream." 2020-01-23 16:42:19 +00:00
Treehugger Robot
b90d0a684b Merge "identity: regenerate makefiles" 2020-01-23 02:40:32 +00:00
Treehugger Robot
5b7f7d0b67 Merge "Add android.hardware.secure_element@1.2" 2020-01-23 02:00:02 +00:00
Michele Berionne
81626dc493 Merge "Add SIM Depersonalisation interface" 2020-01-23 01:10:49 +00:00
Stephane Lee
0e7081d5ed Merge "Initialize paths for health 2.1 + batteryCapacityLevelPath + batteryChargeTimeToFullNowPath" 2020-01-23 00:39:07 +00:00
Treehugger Robot
1d85278536 Merge "misc drm@1.2 vts fixes" 2020-01-22 23:46:15 +00:00
Robert Shih
52cb498569 misc drm@1.2 vts fixes
* Add VendorModules::getModuleByName
* Skip unsupported schemes in setup
* Skip non-clearkey instances when running clearkey specific tests
* Don't skip clearkey tests for clearkey instance

Bug: 142397658
Change-Id: I44a6b43dd52fbb48cdbb5a077517e3d96acd0a3d
2020-01-22 21:23:14 +00:00
Treehugger Robot
24a21c1b53 Merge changes from topic "engine_vts"
* changes:
  audiopolicy: engine: Add VTS for engine configurable configuration
  audio: Add VTS for configurable engine
  audio: update XSD for dynamic engine loading support config
2020-01-22 18:06:28 +00:00
Steven Moreland
29b7493eed identity: regenerate makefiles
These were old, and some things are no longer needed.

Bug: N/A
Test: N/A
Change-Id: I0d5f7bb55f574fa8eb32a4696cfee882fbf0b5e0
2020-01-21 18:32:19 -08:00
Stan Rokita
010c36d22d Fix the format specifier in assert log statements
There are two ALOG_ASSERT calls in the HalProxyCallback::postEvents
method that do not have the correct format specifier types. This causes
a build error if you try to build with debug logs.

Test: Build and load onto device
Change-Id: I793b6fcd72dd13b07422af0e292a373a66b2c200
2020-01-21 15:38:36 -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
7b37dc5d9c Merge "Updates to KM4.1" 2020-01-21 21:18:21 +00:00
Shawn Willden
f7238c9c01 Merge "Update Keymaster support lib OWNERS" 2020-01-21 17:40:38 +00:00
Shawn Willden
c0125fb930 Update Keymaster support lib OWNERS
Test:  VtsHalKeymasterV4_0TargetTest && VtsHalKeymasterV4_1TargetTest
Change-Id: Ibc719cdc4bd8821d67659eb6a2cf4d0094322322
Merged-In: Ibc719cdc4bd8821d67659eb6a2cf4d0094322322
2020-01-21 10:30:29 -07:00