Commit graph

18810 commits

Author SHA1 Message Date
shubang
efb7ffa6ca Add @export to frontend scan enums
Test: make;
Change-Id: I9489ae28722e73de0aba7e83b115935546e8e357
2019-12-11 15:33:20 -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
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
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
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
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
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
Sarah Chin
42906c604f [automerger skipped] Add HAL for 5G bands am: b7709bba42 am: 5f2f5fa8f3
am: 9cf9e4193f -s ours
am skip reason: change_id I2e751a544b626d48a7c78b7bdcb4ac6477e25bc6 with SHA1 b6663d1703 is in history

Change-Id: Ibf3eccb1105db38cf7fdfb102e62c22ba459801c
2019-12-06 00:17:06 -08:00
jiabin
8359b0dc17 [automerger skipped] Merge "Refactor for audio device type in conversion." am: d3a2bdfc63 am: f754eda039
am: 594181e51c -s ours
am skip reason: change_id I1a0f574744f855bb1684cd28613571399781abbc with SHA1 98fd544712 is in history

Change-Id: I7500dd8508922343b01d945ff693d6b15f30edf8
2019-12-06 00:15:09 -08:00
Yifan Hong
c3ec3aaad2 Merge changes from topic "no_hal_static_libs" am: b161c42905 am: c112f30c9b
am: 7a41239183

Change-Id: I0fbd74db2ba96332c70fd3468af4d361335dbde0
2019-12-06 00:14:14 -08:00
Yifan Hong
da2850135e health 1.0 default -> Soong am: 891220af48 am: 4e9f062ebb
am: 727d0104e3

Change-Id: I2c4f2a30256555294177dae47256edd5a27b3625
2019-12-06 00:14:10 -08:00
Yifan Hong
6ffcd79e09 health 1.0 does not use HAL_STATIC_LIBS am: 16273aea66 am: 1a0685170f
am: ac7f9f6516

Change-Id: I80753f0466d3b4818db2a2e72a523e5bb8931bfe
2019-12-06 00:13:05 -08:00
Dan Shi
9113168001 Merge "Convert VtsHalGraphicsComposerV2_3TargetTest to be parameterized test" 2019-12-06 04:24:58 +00:00
Kathan Shukla
d37e5c122a Add VTS tests for Occupant Awareness HIDL.
Test: VTS tests

Change-Id: Ib278986334439d181348800c01332606f9d36a89
2019-12-05 18:31:03 -08:00
Kathan Shukla
6ee35f9fd2 Merge "Mock hal for Occupant Awareness interface." 2019-12-06 01:05:56 +00:00
Sarah Chin
4743af25e5 Merge changes from topics "ngran", "update_ngran" am: ca0e5aa890
am: 16be1378f6

Change-Id: Ifcfc1d0d0875b6b918bbb38c5077678584ef194c
2019-12-05 13:55:55 -08:00
Sarah Chin
9cf9e4193f Add HAL for 5G bands am: b7709bba42
am: 5f2f5fa8f3

Change-Id: Ic36040a3c8abc3c2902ae80fc367093a9afce4b5
2019-12-05 13:55:48 -08:00
Tomasz Wasilczyk
201734e551 Fix sp<> crash on stack-allocated service object.
Bug: 145609858
Test: build, boot
Change-Id: Ia705750c77ee8ba950d19eae9bbd208b0dac2310
2019-12-05 13:54:50 -08:00