Commit graph

18601 commits

Author SHA1 Message Date
TreeHugger Robot
8aa5e4a6f6 Merge "gralloc: move VtsHalCameraProviderV2_4TargetTest to GraphicBufferAllocator/Mapper" 2019-11-26 21:43:32 +00:00
jiabin
34e2831436 [automerger skipped] Merge changes from topics "AddLibaudiofoundation", "stdContainers" am: befb3665f1 am: a3a537ed46
am: cae1eec345 -s ours
am skip reason: change_id I4d985327fb76cd06afe241860d8b592abcbfe4f2 with SHA1 1b38536a87 is in history

Change-Id: Ibed53a5e0101ecaea441c116aeab7609c7948779
2019-11-26 13:13:23 -08:00
jiabin
904857a948 [automerger skipped] Add libaudiofoundation. am: 797b5b45fc am: e6d6b582b2
am: 90878ab741 -s ours
am skip reason: change_id I8732bdab37d8afd866fe03a74db3dc564fea1ad2 with SHA1 f76964bbd6 is in history

Change-Id: Ia5744001580937f2dc8d42510e8b0a74ca9de8d1
2019-11-26 13:13:17 -08:00
jiabin
cae1eec345 Merge changes from topics "AddLibaudiofoundation", "stdContainers" am: befb3665f1
am: a3a537ed46

Change-Id: I058734e89e3bc430d4f546747ff35a81c3478e00
2019-11-26 13:10:54 -08:00
jiabin
90878ab741 Add libaudiofoundation. am: 797b5b45fc
am: e6d6b582b2

Change-Id: I0539beb2fc2ad187aab9b10b9e2a5adf0bb158f9
2019-11-26 13:10:48 -08:00
jiabin
a3a537ed46 Merge changes from topics "AddLibaudiofoundation", "stdContainers"
am: befb3665f1

Change-Id: I9cb2f7d2ba8d41f35800fa0d1684a3c1918b33c5
2019-11-26 13:06:22 -08:00
jiabin
e6d6b582b2 Add libaudiofoundation.
am: 797b5b45fc

Change-Id: I22ad0dd7e6afecc166fd32201396a1fb5f9afafa
2019-11-26 13:06:12 -08:00
Treehugger Robot
befb3665f1 Merge changes from topics "AddLibaudiofoundation", "stdContainers"
* changes:
  Use audio containers from libaudiofoundation.
  Add libaudiofoundation.
2019-11-26 20:54:15 +00:00
Sarah Chin
c377dea993 [automerger skipped] Merge "Set up IRadioConfig 1.3 skeleton" am: 438edf349a am: 5a6c299195
am: 1fabd51f2c -s ours
am skip reason: change_id Ibf92683ca48b4053e86de3fb655ac15ad1e0725d with SHA1 83e3ca82e6 is in history

Change-Id: I60f45e95a0856341fbe26da38213ff6be07b4208
2019-11-26 12:10:00 -08:00
Sarah Chin
1fabd51f2c Merge "Set up IRadioConfig 1.3 skeleton" am: 438edf349a
am: 5a6c299195

Change-Id: I75739de85d53faf1ced4f98c5bb23216ac6aa648
2019-11-26 12:07:00 -08:00
Sarah Chin
5a6c299195 Merge "Set up IRadioConfig 1.3 skeleton"
am: 438edf349a

Change-Id: I198667ead21389b3d7638854d74a6ba1cbe54efb
2019-11-26 12:03:20 -08:00
jiabin
5da42a3e3a Use audio containers from libaudiofoundation.
It is suggested to do so according to Vector.h and SortedVector.h.
At framework side, there are audio containers such as FormatVector,
ChannelMaskSet, SampleRateSet to replace the usage of Vector
SortedVector for audio stuff. In default hal implementation, we can
use these audio containers to replace Vector and SortedVector.

Bug: 135621476
Test: play/record audio
Change-Id: I4d985327fb76cd06afe241860d8b592abcbfe4f2
Merged-In: I4d985327fb76cd06afe241860d8b592abcbfe4f2
2019-11-26 11:41:24 -08:00
jiabin
797b5b45fc Add libaudiofoundation.
Some classes, e.g. AudioGain, in libaudiofoundation, which are used by
libaudiopolicycomponent, will require libaudiofoundation as a shared
library to avoid link error when building.

Bug: 135621476
Test: make
Change-Id: I8732bdab37d8afd866fe03a74db3dc564fea1ad2
Merged-In: I8732bdab37d8afd866fe03a74db3dc564fea1ad2
2019-11-26 11:29:34 -08:00
Sarah Chin
438edf349a Merge "Set up IRadioConfig 1.3 skeleton" 2019-11-26 18:52:26 +00:00
Xiangyu/Malcolm Chen
9b0199085e Merge "Adding HAL API for disabling subscription" 2019-11-26 18:46:48 +00:00
Slava Shklyaev
a2acde7df2 [automerger skipped] Merge changes from topic "quant_coupling" am: 76f5263d6f am: 75a93ac4b1
am: 2f49a4e5c4 -s ours
am skip reason: change_id I1b0d1e987ebccc6700dd172b4222f9996105513d with SHA1 04bf939c7a is in history

Change-Id: I01a0c8af357929698560a959403aedfd131351a1
2019-11-26 09:55:50 -08:00
Lev Proleev
5802732414 [automerger skipped] Add quantization coupling test am: 9226c1e910 am: 33661d5403
am: 84e035b280 -s ours
am skip reason: change_id I5a2e09b2b1bd790e7e37dde133554e516155a34d with SHA1 c88f4c60a8 is in history

Change-Id: If66706d2009dc27137da84006467f1e6f5d39020
2019-11-26 09:55:45 -08:00
Lev Proleev
989de4a570 [automerger skipped] Combine test parameters into TestConfig structure am: 0d4ba3f33a am: d866d3c3ec
am: 6a2c7fe831 -s ours
am skip reason: change_id I928aaa42e4745b4a8e0e461046e9632b052d0135 with SHA1 66f598e10d is in history

Change-Id: I5fafe78ed04448d6348b8bac9ea3e7ad7cc9df36
2019-11-26 09:55:40 -08:00
Slava Shklyaev
2f49a4e5c4 Merge changes from topic "quant_coupling" am: 76f5263d6f
am: 75a93ac4b1

Change-Id: I4bfbe56f27e5725dbc0ebde7407969fd1832a2ef
2019-11-26 09:53:02 -08:00
Lev Proleev
84e035b280 Add quantization coupling test am: 9226c1e910
am: 33661d5403

Change-Id: Ic13562b9b8d8a3159ac51ddaf76cf3bab26b2a69
2019-11-26 09:52:57 -08:00
Lev Proleev
6a2c7fe831 Combine test parameters into TestConfig structure am: 0d4ba3f33a
am: d866d3c3ec

Change-Id: Ib3f96e8e14af45730abe4630ceaa7bba9dfd922f
2019-11-26 09:52:52 -08:00
Slava Shklyaev
75a93ac4b1 Merge changes from topic "quant_coupling"
am: 76f5263d6f

Change-Id: I0ffce65aa794244b1cd30d62ff69ef3a836af539
2019-11-26 09:50:39 -08:00
Lev Proleev
33661d5403 Add quantization coupling test
am: 9226c1e910

Change-Id: Ie09bedb43ec68b5e2f8487a1b4f4da07e0131607
2019-11-26 09:50:32 -08:00
Lev Proleev
d866d3c3ec Combine test parameters into TestConfig structure
am: 0d4ba3f33a

Change-Id: I273f1de1e8ccd379abb8137476104c1cb8a0f514
2019-11-26 09:50:21 -08:00
Slava Shklyaev
76f5263d6f Merge changes from topic "quant_coupling"
* changes:
  Add QUANT8_ASYMM_SIGNED support to SELECT op
  Add quantization coupling test
  Combine test parameters into TestConfig structure
2019-11-26 17:44:27 +00:00
Marissa Wall
da54091640 gralloc: move VtsHalCameraProviderV2_4TargetTest to GraphicBufferAllocator/Mapper
libui's GraphicBufferAllocator/Mapper already wrap the different
gralloc functions and hide the details from the caller. There is no
reason VtsHalCameraProviderV2_4TargetTest needs to directly talk to
gralloc. This patch updates VtsHalCameraProviderV2_4TargetTest to
use libui.

Bug: 145139476
Test: adb shell /system/bin/VtsHalCameraProviderV2_4TargetTest
--hal_service_instance=android.hardware.camera.provider@2.4::ICameraProvider/internal/0

Change-Id: I2c2a913f6c5aea2ce7260b68293df404f40e0ddd
2019-11-26 09:43:04 -08:00
nelsonli
dfa6dec688 Merge "[vts-core] add VtsHalGatekeeperV1_0TargetTest to vts-core" am: ddad94ab0e am: 8bb8a9b237
am: 9607331fa8

Change-Id: I551e5205d6a2d332f29685523b0ad562bb5d48d1
2019-11-25 21:38:54 -08:00
nelsonli
9607331fa8 Merge "[vts-core] add VtsHalGatekeeperV1_0TargetTest to vts-core" am: ddad94ab0e
am: 8bb8a9b237

Change-Id: I0a3669803085ccc7f5410fc47cd1c87642497265
2019-11-25 21:36:07 -08:00
nelsonli
8bb8a9b237 Merge "[vts-core] add VtsHalGatekeeperV1_0TargetTest to vts-core"
am: ddad94ab0e

Change-Id: I5b9c1d9f23421248f5c7ba35a2e47980148e4c68
2019-11-25 21:33:38 -08:00
Treehugger Robot
ddad94ab0e Merge "[vts-core] add VtsHalGatekeeperV1_0TargetTest to vts-core" 2019-11-26 05:24:37 +00:00
TreeHugger Robot
44eb2e3dfb Merge "Avoid injected location fused in GNSS location" 2019-11-26 02:13:55 +00:00
TreeHugger Robot
ca969d8901 Merge "Clean up BeginCommand." 2019-11-26 02:05:35 +00:00
Yifan Hong
c4925a4d20 Merge "health 2.0: Check health_loop status for passthrough usage" am: b68a055c68 am: f723db3b84
am: e3648ca91f

Change-Id: I8fa3abd74cdaa104e7d01774b444f13146b3963d
2019-11-25 16:44:51 -08:00
Yifan Hong
e3648ca91f Merge "health 2.0: Check health_loop status for passthrough usage" am: b68a055c68
am: f723db3b84

Change-Id: I214c161a3848b05eb6bcb46644647fb1a8237145
2019-11-25 16:39:10 -08:00
Yifan Hong
f723db3b84 Merge "health 2.0: Check health_loop status for passthrough usage"
am: b68a055c68

Change-Id: I8f1da886f17c7545bb6338aa28375d74d3f2d379
2019-11-25 16:36:39 -08:00
Yifan Hong
b68a055c68 Merge "health 2.0: Check health_loop status for passthrough usage" 2019-11-26 00:25:03 +00:00
Sarah Chin
b071f8ae53 Set up IRadioConfig 1.3 skeleton
Create IRadioConfig, IRadioConfigIndication, IRadioConfigResponse
Create vts for 1.3
Create default implementation for 1.3

Test: run vts -m VtsHalRadioConfigV1_3Target
Bug: 144101226
Change-Id: Ibf92683ca48b4053e86de3fb655ac15ad1e0725d
Merged-In: Ibf92683ca48b4053e86de3fb655ac15ad1e0725d
2019-11-25 16:23:41 -08:00
Peiyong Lin
a5aedc3293 Clean up BeginCommand.
BUG: N/A
Test: build, flash and boot
Change-Id: Ife6132307152e271548a54e11a472751c52d95e4
2019-11-25 16:18:58 -08:00
Malcolm Chen
a164db9e84 Adding HAL API for disabling subscription
Bug: 141018421
Test: vts on cuttlefish
Change-Id: I90ded163ddc047916c205513ab77a886ebcc48f7
2019-11-25 16:15:26 -08:00
Sarah Chin
ac9dbf6eb9 Merge "Set up IRadioConfig 1.3 skeleton" 2019-11-25 23:58:50 +00:00
Yu-Han Yang
b20389e2b4 Avoid injected location fused in GNSS location
Bug: 144104269
Test: atest VtsHalGnssV1_0TargetTest
Change-Id: I1266c6b7118d83e24a40dfe4ce4d4ba53a053343
2019-11-25 15:53:23 -08:00
Stan Rokita
655675db00 Make ScopedWakelock a shared library am: 1d53f9563b am: 1e9bac4b58
am: b0af4f5a25

Change-Id: I641b4d611e8b9637f07fda2592d3d078dc82a677
2019-11-25 14:37:40 -08:00
Stan Rokita
b0af4f5a25 Make ScopedWakelock a shared library am: 1d53f9563b
am: 1e9bac4b58

Change-Id: I68ece185c348668aa5da86e6b3802f5db167af0d
2019-11-25 14:34:48 -08:00
Stan Rokita
1e9bac4b58 Make ScopedWakelock a shared library
am: 1d53f9563b

Change-Id: Ic9b1d0d42f671f5e173a007f472178e5601e7941
2019-11-25 14:31:22 -08:00
Stan Rokita
1d53f9563b Make ScopedWakelock a shared library
Change the build configuration of multihal and its tests to make the
ScopedWakelock.cpp file and its associated headers available as a
library to be included by the fake subhals and the multihal binary
seperately.

Bug: 144722764
Test: Compiled and loaded onto device without issue
Change-Id: Ide83b6761302c5df6c72bc3202727341361b36ed
2019-11-25 12:36:10 -08:00
TreeHugger Robot
1b863c2f9d Merge "Refactor for audio device type in conversion." 2019-11-25 20:04:44 +00:00
Steven Moreland
4f0b0f2159 Merge "vibrator extension: use checked_interface_cast" am: 741347b49d am: 19d121b611
am: 6d77b339f5

Change-Id: I77dfe60e90e06eea95226cbce544cf46183a3fd7
2019-11-25 10:54:50 -08:00
Steven Moreland
6d77b339f5 Merge "vibrator extension: use checked_interface_cast" am: 741347b49d
am: 19d121b611

Change-Id: I0f6b87c493bf01a2b0ef1cda5a2d96d513245df3
2019-11-25 10:23:29 -08:00
Steven Moreland
19d121b611 Merge "vibrator extension: use checked_interface_cast"
am: 741347b49d

Change-Id: I3c21e5fd872a974b04d6f283256971a61d0778f3
2019-11-25 10:18:16 -08:00
Steven Moreland
741347b49d Merge "vibrator extension: use checked_interface_cast" 2019-11-25 18:06:24 +00:00