Commit graph

19026 commits

Author SHA1 Message Date
Dan Shi
c81f9c9958 Merge "Convert VtsHalSensorsV*_0TargetTest to be parameterized." 2019-12-11 00:02:28 +00:00
Marissa Wall
353357bffe gralloc: use gralloctypes helper
Use the gralloctypes helper function to determine if a
PlaneLayoutComponentType is a standard type. Also update the
lock RGBA_8888 function to ignore non-standard
PlaneLayoutComponentTypes.

Bug: 141632767
Test: VtsHalGraphicsMapperV4_0TargetTest

Change-Id: Ie3ea4a22b2c9ecf4b1d85932833978d2e23f77c1
2019-12-10 14:58:28 -08:00
Ahmed ElArabawy
f72f955b4a Merge changes from topic "hostapd_1_2"
* changes:
  Freeze wifi hostapd 1.2 HAL
  IHostapd: Add hostapd 1.2
2019-12-10 19:01:40 +00:00
Automerger Merge Worker
2cd382b9c3 [automerger skipped] Support isEnabled feature in reporting criteria for SignalStrenghth am: 511264a552 am: 1059063879 am: bcc17fd7fb -s ours
am skip reason: Change-Id Ia56b54f44345650117f884942ef917e3547277a9 with SHA-1 d5ae42e540 is in history

Change-Id: I99ea430be9c55a1fbea366f968e227dbbe8d936d
2019-12-10 18:19:58 +00:00
Shuo Qian
bcc17fd7fb Support isEnabled feature in reporting criteria for SignalStrenghth am: 511264a552
am: 1059063879

Change-Id: Ied2262f6f0b162fef51693e753e0f38366603ad1
2019-12-10 10:17:34 -08:00
Shuo Qian
1059063879 Support isEnabled feature in reporting criteria for SignalStrenghth
am: 511264a552

Change-Id: Id33f7a04b9a290d186f7bd0f395eb0f0d8bfb8b4
2019-12-10 10:12:30 -08:00
Steven Moreland
f0b1faac16 PREUPLOAD.cfg: enable bpfmt
Bug: N/A
Test: N/A
Change-Id: I4a168950b56a6ead0658ded94caa8eb9f15df1d9
2019-12-10 09:51:58 -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
Przemyslaw Szczepaniak
e9f0b92568 Add TENSOR_QUANT8_ASYMM_SIGNED support for ARG(MIN|MAX)
Test: CTS/VTS
Change-Id: I4a90642f4d8500237fd41de76687fbe4c021b652
2019-12-10 13:08:48 +00:00
Galia Peycheva
2bd7d43325 Add controls for ALLM and Content Types to composer hal
Also extending the passthrough interface with setLowLatencyMode
and setContentType.

Bug:132731049

Test: make -j$(nproc)
Test: vts-tradefed run vts-hal --skip-device-info -m
VtsHalGraphicsComposerV2_4Target

Change-Id: I0ec5a5be796700074bdd8cac75cd67f96cd5df58
2019-12-10 11:43:06 +01:00
lesl
0bad28f064 IHostapd: Add hostapd 1.2
Add new API: forceClientDisconnect

Bug:142752869
Test: Manual Test
Test: VTS: VtsHalWifiHostapdV1_2Target
Change-Id: Ia05ec993815c16731aa9be1f257f941eacf1575f
2019-12-10 17:55:27 +08:00
nelsonli
c0343613cd [vts-core] add VtsHalTetheroffloadControlV1_0TargetTest to vts-core
Convert VtsHalTetheroffloadControlV1_0TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $ atest VtsHalTetheroffloadControlV1_0TargetTest
Change-Id: I54a5f0324df88d0e058a31f03d12cc6b6f8292a3
2019-12-10 16:43:53 +08:00
Harpreet \"Eli\" Sangha
63c06d62d7 vibrator: aidl: Add Descriptions for Primitives
Test: Build
Change-Id: I05d43cb75d6c7cf9ece95a3c7d1ee9ce9980cebb
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
2019-12-10 15:44:19 +09:00
nelsonli
b7287d2e79 [vts-core] add VtsHalCameraProviderV2_4TargetTest to vts-core
Convert VtsHalCameraProviderV2_4TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $atest VtsHalCameraProviderV2_4TargetTest
Change-Id: I76b20be8ef18dadc4fc5d10db5c541aadf3b9b18
2019-12-10 14:15:47 +08:00
Ahmed ElArabawy
46b5698a33 Fix format for android.hardware.wifi@1.4
This commit includes the format changes when running the command:
hidl-gen -Lformat android.hardware.wifi@1.4 -randroid.hardware:hardware/interfaces

Bug: 145961722
Test: Build successful
Change-Id: I59b3c4e3f12389ff2660a563b6eb0454a637c35e
2019-12-09 22:08:55 -08:00
Harpreet \"Eli\" Sangha
e1723a49df vibrator: vts: Utilize New toString() Support
Use the new toString() support for AIDL enums for improved logging.

Test: atest VtsHalVibratorTargetTest
Change-Id: Ie9d98f6b9f367dec9e6f0b9b0ed18dab0a32c742
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
2019-12-10 14:52:59 +09:00
Ahmed ElArabawy
5b867b94b5 Merge "Wifi: Add 6GHz band to NAN structures and methods" 2019-12-10 05:45:32 +00: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
Dan Shi
050316231e Merge "Convert VtsHalGraphicsMapperV*TargetTest to be parameterized test" am: f78d7734d1 am: 64426d0a06
am: 2b8fcf0a7e

Change-Id: I6dbfdf330d59559d5ce0de0965fa840bfe8e6e24
2019-12-09 16:30:45 -08:00
Dan Shi
2b8fcf0a7e Merge "Convert VtsHalGraphicsMapperV*TargetTest to be parameterized test" am: f78d7734d1
am: 64426d0a06

Change-Id: I5861c3e562d8d36f0931f0c7a576c285ba05984c
2019-12-09 16:26:41 -08:00
Dan Shi
64426d0a06 Merge "Convert VtsHalGraphicsMapperV*TargetTest to be parameterized test"
am: f78d7734d1

Change-Id: I9daea09c5f8f922f428e55def49096ce29145b50
2019-12-09 16:24:41 -08:00
Dan Shi
f78d7734d1 Merge "Convert VtsHalGraphicsMapperV*TargetTest to be parameterized test" 2019-12-10 00:19:36 +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
TreeHugger Robot
8566e74f15 Merge "gralloc: add flush and reread for locked buffers" 2019-12-09 22:40:14 +00:00
TreeHugger Robot
fb1d7a776b Merge "Stop location to avoid timing issue" 2019-12-09 22:22:29 +00:00
Lev Proleev
af5fc2374d Fix use-after-free error in NNAPI VTS tests am: 56cda83f8c am: 0854f5f759
am: 5f688eb948

Change-Id: Ibea07442f2d230caef39f6a3f73e3acf40f5cf00
2019-12-09 12:08:38 -08:00
Lev Proleev
5f688eb948 Fix use-after-free error in NNAPI VTS tests am: 56cda83f8c
am: 0854f5f759

Change-Id: I0f9b33e632720364834918ccbc2a2084e4197550
2019-12-09 12:06:33 -08:00
Lev Proleev
0854f5f759 Fix use-after-free error in NNAPI VTS tests
am: 56cda83f8c

Change-Id: Ide89166dfa6792b0e63105dcea71254a78897322
2019-12-09 12:04:20 -08:00
TreeHugger Robot
1eb2bb18eb Merge "gralloc: add reserved region" 2019-12-09 19:44:47 +00:00
Marissa Wall
2c45bb16f5 gralloc: add flush and reread for locked buffers
When a buffer is locked (mapped to the CPU) by two or more clients,
there is no good way to manage a reader/writer relationship. There are
no requirements for how the writes should propagate to the readers.
Clients must unlock and relock to be sure writes are flushed.
They must unlock and relock to get the lastest copy of the buffer.

This patch adds explicit flush and reread commands to help readers
and writers synchronize without having to unmap and remap the
buffer.

Bug: 136316517
Test: TODO

Change-Id: I10d3de1b0e46c4f3b50dc34aea653701933638a9
2019-12-09 19:41:50 +00:00
Dan Shi
395288173d Convert VtsHalSensorsV*_0TargetTest to be parameterized.
Bug: 142397658
Test: atest VtsHalSensorsV1_0TargetTest VtsHalSensorsV2_0TargetTest
Change-Id: I76bf0b68abf8c8a1c79afabbc26242e33778bd25
2019-12-09 10:10:44 -08: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
Eric Laurent
b524bbb922 Merge "audio: add audio session for device effects" 2019-12-09 16:47:03 +00:00
Lev Proleev
56cda83f8c Fix use-after-free error in NNAPI VTS tests
Replace std::initializer_list with std::vector.

Fix: 145705114
Test: VtsHalNeuralnetworksV1_[23]TargetTest
Change-Id: I92cbc56b2b8fbb36b3f3225e7cd0d4b05c84041e
2019-12-09 14:56:09 +00: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
Mikhail Naganov
977c50bc91 [automerger skipped] DO NOT MERGE: audio: Skip tests if audio HAL service lacks "primary" device am: f045e6b10d -s ours am: 09a1eeda83 am: a7e9173c1c am: 1a12cbfc00
am: 36cf52bae6 -s ours
am skip reason: subject contains skip directive

Change-Id: I4eafac400a11d4f6fff72853b7326480fbf1be02
2019-12-06 17:30:29 -08:00
Automerger Merge Worker
36cf52bae6 [automerger skipped] DO NOT MERGE: audio: Skip tests if audio HAL service lacks "primary" device am: f045e6b10d -s ours am: 09a1eeda83 am: a7e9173c1c am: 1a12cbfc00
Change-Id: I9b3487df7802e8928933741c8b2fca2290fed53f
2019-12-07 01:28:29 +00:00
Automerger Merge Worker
1a12cbfc00 [automerger skipped] DO NOT MERGE: audio: Skip tests if audio HAL service lacks "primary" device am: f045e6b10d -s ours am: 09a1eeda83 am: a7e9173c1c
Change-Id: Iac7c182c1e69e9324177351cdab9a946a72750de
2019-12-07 01:11:05 +00:00
Automerger Merge Worker
a7e9173c1c [automerger skipped] DO NOT MERGE: audio: Skip tests if audio HAL service lacks "primary" device am: f045e6b10d -s ours am: 09a1eeda83
Change-Id: Iae663aeed7f1e87208a770748e46a2df6bc2e5e7
2019-12-07 00:49:06 +00:00
Automerger Merge Worker
09a1eeda83 [automerger skipped] DO NOT MERGE: audio: Skip tests if audio HAL service lacks "primary" device am: f045e6b10d -s ours
am skip reason: subject contains skip directive

Change-Id: Id86a89bd4b705fd4aadedd62a5d6ad90e956dda7
2019-12-07 00:32:33 +00:00
Mikhail Naganov
f045e6b10d [automerger skipped] DO NOT MERGE: audio: Skip tests if audio HAL service lacks "primary" device
am: 1ed70316c5 -s ours
am skip reason: subject contains skip directive

Change-Id: Idb5bb585dc22bd6027f1177bbb90392aad464d4b
2019-12-06 16:16:26 -08:00
Dan Shi
5a955bc176 Convert VtsHalGraphicsMapperV*TargetTest to be parameterized test
Bug: 142397658
Test: atest VtsHalGraphicsMapperV2_0TargetTest \
  VtsHalGraphicsMapperV2_1TargetTest \
  VtsHalGraphicsMapperV3_0TargetTest

Change-Id: I1d4e222f3a04882ae8d74e79201c2751d1d22ea4
2019-12-06 16:05:11 -08:00
Yu-Han Yang
b983f10362 Stop location to avoid timing issue
Before setting constellation blacklist, the location report should
be stopped first. Otherwise, the sv status which contains blacklist
constellation is still reporting and may be counted in checking
SvList. According to the comments of this case, location should be
turned off as 2a step.

Also adding another test that a blacklist request that comes in
while tracking is started, takes effect after a stop/start cycle.

Bug: 144675840
Test: on device
Change-Id: I04894426e8384d25f2b5e269961a9cf051cab40f
2019-12-06 13:55:56 -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
TreeHugger Robot
46966c824f Merge "Fix sp<> crash on stack-allocated service object." 2019-12-06 17:55:16 +00:00
Ahmed ElArabawy
83baffdac2 Wifi: Add 6GHz band to NAN structures and methods
This commit adds 6GHz band to NAN related structures and methods.

Bug: 139354972
Test: Manual
Test: VTS test
Test: Unit test:
Test: ./hardware/interfaces/wifi/1.4/default/tests/runtests.sh
Change-Id: I33f63fde67d5a839678076fdb7c76d5eb8645131
2019-12-06 08:57:24 -08:00
Sarah Chin
b5affd2612 [automerger skipped] Merge changes from topics "ngran", "update_ngran" am: ca0e5aa890 am: 16be1378f6
am: 4743af25e5 -s ours
am skip reason: change_id I7b59cd52dffdccc30b536a0bef9cab5ad977d371 with SHA1 dbb5f9d745 is in history

Change-Id: I7bb245126b83ad92760199ba665a8ddd8c7fd2ee
2019-12-06 00:17:13 -08:00