Commit graph

7627 commits

Author SHA1 Message Date
Tom Cherry
964fbf37a9 Add capabilities to wifi HAL service
Bug: 74554159
Test: wifi works on walleye
Merged-In: Ia6784e78a7faec914cbbecbe84800c4fbe46c00b
Change-Id: I8deb730bbd9cb473d68ffc696b31031abf617eec
2018-03-26 16:09:13 +00:00
Tom Cherry
f292d276c5 Merge "Add capabilities to bluetooth HAL service" 2018-03-23 19:57:40 +00:00
Tom Cherry
f03dbc6924 Add capabilities to bluetooth HAL service
Bug: 74554159
Test: BT works on walleye
Change-Id: Ib2e1be66ae92ce742540a50cffc8c675db945655
2018-03-23 19:45:56 +00:00
Yuexi Ma
5ca4ebe0dc rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest
Test: run vts-selftest
Change-Id: Ib413d3ee2bffbb98489a5e787b83014c3b2e3af9
Merged-In: Ib413d3ee2bffbb98489a5e787b83014c3b2e3af9
(cherry picked from commit c446be1563)
2018-03-22 12:15:54 -07:00
Jeff Vander Stoep
0979cc5dd9 configstore: whitelist getpid call for arm64
Addresses:
01-01 00:00:03.416   964   964 E /vendor/bin/hw/android.hardware.configstore@1.0-service:
libminijail[964]: blocked syscall: getpid

Bug: 74394073
Test: weipingliao@ to test
Change-Id: Iaa836d1f0b3595a66dfb6af2dd78fdddb9d7272e
2018-03-19 18:12:21 +00:00
Steven Moreland
b944d69508 blank_screen: shut off all lights
This is used to make the phone appear off by init
during late boot (e.x. fsck for disk health), so
it should shut off all lights (not just the screen).

Bug: 74976325
Test: blank_screen
Change-Id: I790cc3dd856c2c2095fa3cf82519fd30834304ca
Merged-In: I790cc3dd856c2c2095fa3cf82519fd30834304ca
2018-03-16 13:04:53 -07:00
Steven Moreland
b25202527e light service: mark as shutdown critical
Required because the lights need to be turned off late in boot
(e.x. during fsck for disk health), and before, blank_screen
accessing light encountered a race condition where if it didn't
get scheduled before all of the processes which were getting
shutdown were getting killed, the screen wouldn't blank.

Bug: 74976325
Test: adjusting brightness continues to work
Test: screen blanks during shutdown at the correct time
    including when an artificial 5s delay is inserted when
    the phone normally fscks (which can also be quick)

Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
Merged-In: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
2018-03-16 13:04:53 -07:00
Aniket Kumar Lata
8a7e77e7b9 audio: Register Bluetooth service with audio HAL
Register Bluetooth audio library with audio HIDL service.
Changes required for A2DP offload implementation.

Bug: 68824150
Test: A2DP offload verified on supported codecs
Change-Id: Idd89f0d28903579d42bd0f33b0194fb8dc2ceaaa
Merged-In: Idd89f0d28903579d42bd0f33b0194fb8dc2ceaaa
(cherry picked from commit c5a5203114)
2018-03-12 13:44:16 -07:00
Sunny Kapdi
9526c2ff73 Bluetooth: A2DP offload HIDL
Interface for Bluetooth A2DP offload feature.

Bug: 72242910
Test: Manual; TestTracker/148125
Change-Id: I3649800dfe3e1a2d66b76859be87e01ee58d2de0
(cherry picked from commit 4e95d81ef0)
2018-03-12 13:41:04 -07:00
Ruchi Kandoi
4cd374a6c4 Add VTS Test for getConfig() in NFC 1.1
Test: run VtsHalNfcV1_1TargetTest
Bug: 72080121
Merged-In: I89600b54d64d4f274647ab4426faf5e05b2f3d34
Change-Id: I89600b54d64d4f274647ab4426faf5e05b2f3d34
2018-03-09 23:47:27 +00:00
Ruchi Kandoi
d128c87f70 NFC 1.1: Add getConfigs() method
Test: Boot and check Nfc configs initialized
Bug: 72080121
Merged-In: I000cea4491b2bd136b9ece232b9d73293804c733
Change-Id: I000cea4491b2bd136b9ece232b9d73293804c733
2018-03-09 23:47:18 +00:00
Treehugger Robot
7df64ea2fd Merge changes from topic "cp_nnapi"
* changes:
  Relax NeuralNetwork's VTS positive and negative base tests
  Add Capabilities::relaxedFloat32toFloat16Performance for 1.1.
  Minor modification to allow relaxed precision test
  NNAPI narrow evaluation for P -- HAL
  Refactor NN API VTS tests and add v1.1 tests
  Add README to NeuralNetworks HAL
2018-03-05 22:50:15 +00:00
Michael Butler
1ae02d63df Relax NeuralNetwork's VTS positive and negative base tests
There are some NN VTS tests that assume a service is able to generate a
model consisting only of a floating point add operation. However, some
drivers do not support floating point operations. This CL relaxes the
test requirements to allow a test to be skipped if the service does not
support floating point add.

Bug: 72764145
Test: mma
Test: VtsHalNeuralnetworksV1_0TargetTest

Merged-In: I6b0644432680fc2f8098b5187795dc2953df03f9
Change-Id: I6b0644432680fc2f8098b5187795dc2953df03f9
(cherry picked from commit 4d5bb1097a)
2018-03-05 13:01:00 -08:00
David Gross
a8cd639dc0 Add Capabilities::relaxedFloat32toFloat16Performance for 1.1.
Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/hvx
Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all
Test: NeuralNetworksTest_static

Bug: 63911257

Merged-In: I040b68d84504180ba3039e4690d0cd43c2c2649f
Change-Id: I040b68d84504180ba3039e4690d0cd43c2c2649f
(cherry picked from commit 4b458caa4e)
2018-03-05 13:00:46 -08:00
Miao Wang
7578e51fda Minor modification to allow relaxed precision test
Bug: 63911257
Test: mm
Test: VTS test pass on walleye

Merged-In: I41d9ea782262a894e7dbd00b782803c40b31c430
Change-Id: I41d9ea782262a894e7dbd00b782803c40b31c430
(cherry picked from commit 842e1a0331)
2018-03-05 13:00:27 -08:00
Michael Butler
e0d9b167a6 NNAPI narrow evaluation for P -- HAL
We have determined that for Android P it is sufficient to have a
mechanism for a developer to specify on a per-model basis that it is
acceptable for FLOAT32 operations to be carried out as if they were
FLOAT16 operations. This CL extends the model to include information on
these precision requirements.

Bug: 63911257
Test: mm
Test: NeuralNetworksTest
Test: VtsHalNeuralnetworksV1_0TargetTest

Merged-In: I5331e69c05c20c588035897322a6c7dceca374a0
Change-Id: I5331e69c05c20c588035897322a6c7dceca374a0
(cherry picked from commit 7ffe78ba76)
2018-03-05 13:00:14 -08:00
Miao Wang
4862d612ad Refactor NN API VTS tests and add v1.1 tests
- Create VtsHalNeuralnetworksTest_utils module to be shared between
    v1.x tests.
  - Split the existing tests into two categories: basic, and generated.
  - Created v1.1 VTS tests ensuring no regression in existing ML models.

Bug: 63911257
Test: mm
Test: NNAPI VTS tests pass on v1.0 and v1.1 sample drivers

Merged-In: Ic77c90a3a5bbd96b0ce2acd03764dde4b3034cc9
Change-Id: Ic77c90a3a5bbd96b0ce2acd03764dde4b3034cc9
(cherry picked from commit a2d04c828e)
2018-03-05 12:59:55 -08:00
Michael Butler
5f57913184 Add README to NeuralNetworks HAL
Adds README explaining where to find the NeuralNetworks sample driver.

Test: N/A

Merged-In: Ifbbbbb3801176da27fb03bbed0b0d739031a195b
Change-Id: Ifbbbbb3801176da27fb03bbed0b0d739031a195b
(cherry picked from commit 3530f9ef0d)
2018-03-05 12:59:35 -08:00
Treehugger Robot
6a83645f64 Merge "Add VTS test for getCellInfoList_1_2" 2018-03-02 07:42:33 +00:00
Treehugger Robot
cd712b0e8f Merge "configstore: allow to USE_CONTEXT_PRIORITY by device." 2018-03-02 02:15:46 +00:00
Cassie
65a3ad31b8 Add VTS test for getCellInfoList_1_2
Bug: 63984327
Test: VTS test
Change-Id: Ie6987f885dfe34c94b30370e1d4853084ee4030b
2018-03-01 15:49:51 -08:00
chenhg
a491908fe9 configstore: allow to USE_CONTEXT_PRIORITY by device.
Fixes: 72007412
Test: manual

Change-Id: Id6135347ef699b27ab708d387261bc031996a476
2018-03-01 22:51:02 +00:00
yinxu
2e6ed18055 Add vts response functions for Radio Response 1.2
Bug: 67750232
Test: Compile and Run VTS
Change-Id: I866cea94b1505b05dee336a53ab72ab685c8f441
2018-03-01 14:15:32 -08:00
Myles Watson
72382e3014 Bluetooth: Relax NO_OP and SCO checks
Ignore NO_OP complete events.
Ignore ordering for Loopback Mode Connection/Command Complete.
Only check for SCO buffer size when SCO connections are made.

Bug: 69785298
Test: VtsHalBluetoothV1_0TargetTest
Change-Id: Ia1ead7ff942ffa369f88f61bcaaa8e03d7973179
2018-03-01 20:25:15 +00:00
Jack Yu
ac1844fac4 Added new VTS test cases for v1.2 data call APIs
Test: VtsHalRadioV1_2Target
Bug: 64132030
Change-Id: I3b9d94985f42a5dd9b9a24e0592cf1657da237d5
2018-03-01 04:31:11 +00:00
Treehugger Robot
196fbbc1a6 Merge "Add init() as a part of Secure Element VTS test" 2018-02-28 18:44:44 +00:00
Eric Schwarzenbach
8bdc4e04e2 Add VTS tests for 1.2 reporting criteria
Bug: 72115876
Test: make
Change-Id: I7a7633994888d2f1781ac7d5730727112eb0c86d
2018-02-27 17:29:40 -08:00
Ruchi Kandoi
fbcbc01d9c Add init() as a part of Secure Element VTS test
Test: run vts -m VtsHalSecureElementV1_0Target
Bug: 64881253
Change-Id: Ic93efdd3633f0dd3a5625e617dac0243d934ca77
2018-02-26 14:02:51 -08:00
Zhuoyao Zhang
184eb86ca0 Merge "Convert tv input hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-24 18:41:05 +00:00
Treehugger Robot
5cd16a71f5 Merge "Fix boot VTS GetSuffix test" 2018-02-24 18:16:14 +00:00
Connor O'Brien
bb7ce50918 Fix boot VTS GetSuffix test
Rather than requiring "_a" and "_b" specifically, check format and
uniqueness of each suffix.

Bug: 69795155
Test: vts-tradefed run vts -m VtsHalBootV1_0Target
Change-Id: Iaf626a31b499ef74fd3c21b0a0757424a0def457
Signed-off-by: Connor O'Brien <connoro@google.com>
2018-02-23 13:54:53 -08:00
Treehugger Robot
115484976b Merge "Update documentation for currentPhysicalChannelConfigs()" 2018-02-23 20:00:22 +00:00
Zhuoyao Zhang
5c58bc6f65 Convert tv input hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalTvInputV1_0Target

Change-Id: I53e870bbae00930af6502acf0029c5b3ff4c7315
2018-02-22 22:11:39 -08:00
Treehugger Robot
bc2e6fec16 Merge "Dot allow error OPERATION_NOT_ALLOWED and REQUEST_NOT_SUPPORTED for startNetworkScan in VTS test." 2018-02-22 22:30:58 +00:00
Eric Schwarzenbach
f9ec2f19bf Update documentation for currentPhysicalChannelConfigs()
Bug: 73739331
Test: n/a, documentation-only change
Change-Id: Ib35af6bc54ee22aaab2f043f7524548f65af1b82
2018-02-22 11:43:09 -08:00
Zhuoyao Zhang
9be06304d6 Merge "Convert evs hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-21 22:05:24 +00:00
Zhuoyao Zhang
5114c261fd Convert evs hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalEvsV1_0Target

Change-Id: Ifc086ad119d44ecb710e709d4928cc496698fe64
2018-02-20 10:09:09 -08:00
Eric Schwarzenbach
591387fb4f Fix comments for link capacity and signal strength reporting.
Bug: 72110413
Test: n/a
Change-Id: Ie808f4dcb559a50bee111051290266ba47f676da
2018-02-15 16:49:17 -08:00
Treehugger Robot
e09fba4813 Merge "Use new AccessNetwork type in the reporting criteria API" 2018-02-16 00:25:08 +00:00
nharold
38dcd0c535 Merge "Fixes to Align TdScdma Reports with All Others" 2018-02-15 20:49:16 +00:00
nharold
53603b473d Merge "Update WcdmaSignalStrength to add RAT-specific fields" 2018-02-15 19:52:23 +00:00
Zhuoyao Zhang
118f90b3b2 Merge "Convert thermal hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-15 19:09:16 +00:00
Zhuoyao Zhang
3ddc39293b Merge "Convert nfc hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-15 19:08:58 +00:00
Zhuoyao Zhang
8a5a99ca3b Merge "Convert health hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-15 19:08:42 +00:00
Nathan Harold
d32f1487a9 Fixes to Align TdScdma Reports with All Others
-Add uarfn to CellIdentityTdscdma
-Add OperatorNames to CellIdentityTdscdma
-Rename TdScdmaSignalStrength to TdsdcmaSignalStrength
-Add support for RSSI and BER reporting to match all
 the other signal strength structures
-Change the reporting format for RSCP to use the ASU
 format that is reported for all the other techs.

Bug: 73177585
Bug: 73177467
Bug: 73177872
Test: compilation
Change-Id: I4200ca603b03f182293de4960b01067263833d4a
2018-02-15 01:31:39 +00:00
Zhuoyao Zhang
3690d19e68 Merge "Convert wifi hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-15 01:24:47 +00:00
Treehugger Robot
e63e0e666a Merge "Convert vibrator hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-15 01:24:21 +00:00
Nathan Harold
d0f9466801 Update WcdmaSignalStrength to add RAT-specific fields
-Add RSCP and ECNO to WcdmaSignalStrength
-Add WcdmaSignalStrength to SignalStrength struct.

With this change we can now report the correct WCDMA
ASU due to our ability to now differentiate the SS
based on the RAT without needing additional info.

Bug: 71329173
Test: runtest frameworks-telephony
Change-Id: Ibce0ba38bf2d7e4f3e6c09f53303c0ba83dc6080
2018-02-14 23:49:44 +00:00
Treehugger Robot
bd98b61b2c Merge "Convert contexthub hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-14 22:47:57 +00:00
Zhuoyao Zhang
308f153eeb Convert wifi hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalWifiV1_0Host
      vts-tradefed run vts -m VtsHalWifiV1_1Target
      vts-tradefed run vts -m VtsHalWifiSupplicantV1_0Target
      vts-tradefed run vts -m VtsHalWifiSupplicantV1_1Target

Change-Id: I4ea9554829b75b73b600ab668885d57c94251a87
Merged-In: I4ea9554829b75b73b600ab668885d57c94251a87
(cherry picked from commit e768fb9cea)
2018-02-14 13:25:34 -08:00