Commit Graph

9635 Commits

Author SHA1 Message Date
Zhuoyao Zhang
b83c4f2e12 Merge "Convert drm hal test to use VtsHalHidlTargetTestEnvBase" 2018-02-20 01:45:42 +00:00
TreeHugger Robot
2e8bcf7a30 Merge "Camera: Add sensor sensitivity burst test" 2018-02-19 11:04:21 +00:00
Emilian Peev
a5f0207db7 Camera: Add sensor sensitivity burst test
A test is needed which will generate a burst request
that contains alternating sensor sensitiviry values.
The corresponding results need to be verified accordingly.

Bug: 37533777
Test: run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I58ccb645b83c48ba3360aae5ad44036ce213964d
2018-02-19 09:00:29 +00:00
TreeHugger Robot
6b74491d15 Merge "Audio HAL V4: Add Hearing aid output device" 2018-02-16 21:36:13 +00:00
Chong Zhang
68f474e51e Merge "MediaCas: use HidlMemory to avoid handle leaks" 2018-02-16 21:32:27 +00:00
Kevin Rocard
b395bfe4bd Merge "Audio HAL V4: Switch back to 32 bit AudioDevice" 2018-02-16 19:40:35 +00:00
TreeHugger Robot
b7e90af3b4 Merge "Fix LTE Timing Advance Doc String" 2018-02-16 19:15:30 +00:00
TreeHugger Robot
d477e1e092 Merge "Camera: implement external camera flush" 2018-02-16 18:58:57 +00:00
Nathan Harold
6aae45015f Fix LTE Timing Advance Doc String
The LTE TA Doc string has been fixed to reflect
the actual reported value of the field. The spec
reference was previously incorrect, which would
have indicated a range of 0-63 as the incremental
timing advance; however the field actually reports
the absolute timing advance, which has a much
larger range of 0-1282. In addition, this CL
updates the comment to remove a link to a defunct
website and explicitly states the range extracted
from the updated spec reference. This does not
impact the current behavior of the API as the the
previously incorrect docstring was nonsensical.

Bug: 66751464
Test: compilation (doc only change)
Change-Id: I2fc90c08ed6dd14548b10c638bf805b37d5c34e8
2018-02-16 17:32:47 +00:00
Eric Schwarzenbach
b1a7e8475a Fix comments for link capacity and signal strength reporting. am: 591387fb4f am: f35e02a910
am: bc83e6b3f5

Change-Id: I27aa1f7945569d7947cf899177ea47b2e759b6ff
2018-02-16 06:05:23 +00:00
Eric Schwarzenbach
bc83e6b3f5 Fix comments for link capacity and signal strength reporting. am: 591387fb4f
am: f35e02a910

Change-Id: Iaacb981b7268db75d761b6612c1a6f99f77ee7f4
2018-02-16 05:49:27 +00:00
Eric Schwarzenbach
f35e02a910 Fix comments for link capacity and signal strength reporting.
am: 591387fb4f

Change-Id: I0bd88279ee2ec37a9ce029aca04f03980182118c
2018-02-16 05:35:35 +00:00
TreeHugger Robot
e31495a29e Merge "Refactor NN API VTS tests and add v1.1 tests" 2018-02-16 01:33:33 +00:00
Eric Schwarzenbach
3061c171bd Merge "Use new AccessNetwork type in the reporting criteria API" am: e09fba4813 am: 5455d9fe4c
am: ef9caf1db4

Change-Id: I4caf6b8c82f1654c14ec80603d99eb24f63d0d91
2018-02-16 01:23:23 +00:00
Brian Young
866d239f69 Merge "Restore "Add "Unlocked device required" parameter to keys"" 2018-02-16 01:18:53 +00:00
nharold
76bd518ba1 Merge "Fixes to Align TdScdma Reports with All Others" am: 38dcd0c535 am: ff3eff3386
am: 4ce247b6ff

Change-Id: I8dc3dab1dc5dffa79843ef1cfc53e719c162e025
2018-02-16 01:01:02 +00:00
Eric Schwarzenbach
ef9caf1db4 Merge "Use new AccessNetwork type in the reporting criteria API" am: e09fba4813
am: 5455d9fe4c

Change-Id: Icd64418ba333adee2a541069643c1168d8cba204
2018-02-16 00:57:49 +00:00
nharold
4ce247b6ff Merge "Fixes to Align TdScdma Reports with All Others" am: 38dcd0c535
am: ff3eff3386

Change-Id: Iac37c78e2a00df15a9157da2cb2dc8aae60b6f0e
2018-02-16 00:49:25 +00: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
Eric Schwarzenbach
5455d9fe4c Merge "Use new AccessNetwork type in the reporting criteria API"
am: e09fba4813

Change-Id: I815296483c6348ccec56982dfefbc5d0fc93ec5f
2018-02-16 00:48:34 +00:00
nharold
ff3eff3386 Merge "Fixes to Align TdScdma Reports with All Others"
am: 38dcd0c535

Change-Id: Idfbe238d6cb4ad4cf0b7624e25773a76a0bcd953
2018-02-16 00:41:55 +00:00
Treehugger Robot
e09fba4813 Merge "Use new AccessNetwork type in the reporting criteria API" 2018-02-16 00:25:08 +00:00
nharold
c088a77208 Merge "Update WcdmaSignalStrength to add RAT-specific fields" am: 53603b473d am: 2f62f3de33
am: de7e444f85

Change-Id: I595fc2e5d139e2445fc94cd68c6a2180a642d6e7
2018-02-16 00:17:38 +00:00
Zhuoyao Zhang
68adb92af4 Merge "Convert thermal hal test to use VtsHalHidlTargetTestEnvBase" am: 118f90b3b2 am: 3be1fe99cb
am: b0e7bf72b6

Change-Id: If25fea9a0f7340a447aea8d688c829b7bd6ed4a4
2018-02-16 00:17:13 +00:00
Zhuoyao Zhang
d776f7d1dc Merge "Convert nfc hal test to use VtsHalHidlTargetTestEnvBase" am: 3ddc39293b am: 3cc658c11e
am: ae709891ab

Change-Id: I251b1c44adefd8e8e5cb0b341abfff5ce20ca3db
2018-02-16 00:16:56 +00:00
Zhuoyao Zhang
d571a2bc57 Merge "Convert health hal test to use VtsHalHidlTargetTestEnvBase" am: 8a5a99ca3b am: ef211ccb88
am: d5e930ea16

Change-Id: Iea1bedb26ec6eabc050b4f2c7c99cda2dfe9894e
2018-02-16 00:16:15 +00:00
nharold
de7e444f85 Merge "Update WcdmaSignalStrength to add RAT-specific fields" am: 53603b473d
am: 2f62f3de33

Change-Id: Iae59e0ac908903d96b907ed59b7e89b39348c627
2018-02-15 23:54:53 +00:00
Zhuoyao Zhang
b0e7bf72b6 Merge "Convert thermal hal test to use VtsHalHidlTargetTestEnvBase" am: 118f90b3b2
am: 3be1fe99cb

Change-Id: Ice861234f1ac1ff2830e60ab2adbc352ad9939d3
2018-02-15 23:54:34 +00:00
Zhuoyao Zhang
ae709891ab Merge "Convert nfc hal test to use VtsHalHidlTargetTestEnvBase" am: 3ddc39293b
am: 3cc658c11e

Change-Id: I8963a8f0e1d08324e73ef10b73daa38366a1837a
2018-02-15 23:54:22 +00:00
Zhuoyao Zhang
d5e930ea16 Merge "Convert health hal test to use VtsHalHidlTargetTestEnvBase" am: 8a5a99ca3b
am: ef211ccb88

Change-Id: I62b46011d2d6ee7c7a7645805112cfc36a32c41f
2018-02-15 23:53:50 +00:00
Chong Zhang
d2eb83e668 MediaCas: use HidlMemory to avoid handle leaks
bug: 67710751
test: VTS VtsHalCasV1_0Target test
Change-Id: Ia9a3c38b755a1aeb1d16dba30217055e6f0c27e2
2018-02-15 15:45:35 -08:00
nharold
2f62f3de33 Merge "Update WcdmaSignalStrength to add RAT-specific fields"
am: 53603b473d

Change-Id: I06ce318935a8f2174af3755eda245b404bc8826a
2018-02-15 23:44:25 +00:00
Zhuoyao Zhang
3be1fe99cb Merge "Convert thermal hal test to use VtsHalHidlTargetTestEnvBase"
am: 118f90b3b2

Change-Id: Ie1537a7007e246ffde0f4be12fe0fed4fddad1a8
2018-02-15 23:44:01 +00:00
Zhuoyao Zhang
3cc658c11e Merge "Convert nfc hal test to use VtsHalHidlTargetTestEnvBase"
am: 3ddc39293b

Change-Id: Ic561855e43b55b2f93ffd650bfb218096bd742d3
2018-02-15 23:43:47 +00:00
Zhuoyao Zhang
ef211ccb88 Merge "Convert health hal test to use VtsHalHidlTargetTestEnvBase"
am: 8a5a99ca3b

Change-Id: Iaebf1c1c55ec12907d7dc4298feef1d42a3ad06d
2018-02-15 23:43:34 +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
Mikhail Naganov
b6a8851f30 audio hal: Add a method to select presentation in a nex-gen media stream
This adds the following method:
  IStreamOut.selectPresentation

This corresponds to the following legacy parameters:
  AUDIO_PARAMETER_STREAM_PRESENTATION_ID
  AUDIO_PARAMETER_STREAM_PROGRAM_ID

Bug: 63901775
Test: make
Change-Id: I9ca6ead72b1ef80d2de582a6e4b051ee32fe1857
2018-02-15 11:21:55 -08:00
Mikhail Naganov
b2f1c0f857 audio hal: Allow using multiple devices with IStream.get/setDevice
To retain compatibility with existing usages of the "routing"
parameter, IStream.setDevice method must accept multiple devices
(as DeviceAddress). This happens when the patch being created
has multiple sinks.

As a consequence, IStream.getDevices needs to return a vector of
DeviceAddress structs.

Bug: 73240607
Test: make
Change-Id: I77aedeb435988363d30325d045f791f3785c8bb5
2018-02-15 11:21:55 -08:00
Mikhail Naganov
4899fba75e audio hal: Add methods for controlling BT HFP
HFP = Hands-Free Profile
Added following methods:
  IPrimaryDevice.getBtHfpEnabled
  IPrimaryDevice.setBtHfpEnabled
  IPrimaryDevice.setBtHfpSampleRate
  IPrimaryDevice.setBtHfpVolume

Bug: 73257469
Change-Id: I55c06c6b8981821c3bdc3a13c2cb5951c7ea33c1
Test: make
2018-02-15 11:21:55 -08:00
Mikhail Naganov
634c2a7e01 audio hal: Move setConnectedState from IStream to IDevice
It was a mistake to put this method on IStream, in fact
it belongs to IDevice.

Bug: 73087917
Change-Id: I3ece962343c8541b7891b6448eb43e2f9481ed8a
Test: make
2018-02-15 11:21:55 -08:00
Mikhail Naganov
124fac0142 audio hal: Add method for providing current device rotation to HAL
Added method:
  IPrimaryDevice.updateRotation

Bug: 73088071
Change-Id: I23e78b70fa8cb0dba964420519b939856aaa914e
Test: make
2018-02-15 11:21:55 -08:00
Mikhail Naganov
8878f57dd5 audio hal: Add BT SCO headset name setter
This adds the following method:
  IPrimaryDevice.setBtScoHeadsetName

Bug: 73001112
Test: make
Change-Id: I0ebe4defd980915b633365fa75eca65ff7dfc60a
2018-02-15 11:21:55 -08:00
Brian C. Young
97e02689d9 Restore "Add "Unlocked device required" parameter to keys"
Add a keymaster parameter for keys that should be inaccessible when
the device screen is locked. "Locked" here is a state where the device
can be used or accessed without any further trust factor such as a
PIN, password, fingerprint, or trusted face or voice.

This parameter is added to the Java keystore interface for key
creation and import, as well as enums specified by and for the native
keystore process.

This reverts commit 95b60a0f41.

Test: CTS tests in I8a5affd1eaed176756175158e3057e44934fffed

Bug: 67752510

Change-Id: I2893c23ab173ff5c39085d56b555e54770900cbc
2018-02-15 11:19:40 -08: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
Zhuoyao Zhang
18a30defad Merge "Convert wifi hal test to use VtsHalHidlTargetTestEnvBase" am: 3690d19e68 am: 5000aa1605
am: 185ce8f252  -s ours

Change-Id: I66169c9d7a3edd10bee0e7152a3cda5f39b7a533
2018-02-15 01:46:25 +00:00
Zhuoyao Zhang
85477dd8ac Merge "Convert vibrator hal test to use VtsHalHidlTargetTestEnvBase" am: e63e0e666a am: ecf0317791
am: 4b69a26a13  -s ours

Change-Id: I43ce1c3045407f25506d007d4e3964e0eed7aadb
2018-02-15 01:45:56 +00:00
Kevin Rocard
ace0b02fd9 Audio HAL V4: Add Hearing aid output device
This output is used to send audio to earring aid device
(usually through Bluetooth).

Bug: 38184704
Test: mm
Change-Id: I09ec4d2853ef04300fcda45bddb4a42209f19be0
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-02-14 17:44:33 -08:00