Commit graph

7604 commits

Author SHA1 Message Date
Nathan Harold
8070739edc Fix a typo in Enhanced Network Scan Request am: 9acbfc2e6b
am: ba596a7181

Change-Id: I248d668d8578d33b1dde549f128dbf4ded5b32ab
2017-12-15 01:52:38 +00:00
Nathan Harold
ba596a7181 Fix a typo in Enhanced Network Scan Request
am: 9acbfc2e6b

Change-Id: I088778cc917c8a53cf75b7a16449016d73e900c6
2017-12-15 01:50:41 +00:00
Nathan Harold
9acbfc2e6b Fix a typo in Enhanced Network Scan Request
Change RADIO_ACCESS_SPEFICIER_MAX_SIZE to
RADIO_ACCESS_SPECIFIER_MAX_SIZE

Bug: 63865942
Test: compliation
Change-Id: Idabac6ab42c90353a83d32483be46c77a85b7f1d
2017-12-14 13:13:22 -08:00
Peng Xu
f4e1aeb602 Merge "Fix flakiness of sensor VTS test cases" into oreo-dev am: 863c52448e -s ours am: 8b12cc9fe6 -s ours am: 9732e2b7bf -s ours
am: ca1cd6b141  -s ours

Change-Id: Ie1eb9e0d1e02545f536261fd15c2c1fbdf672bc0
2017-12-14 20:48:42 +00:00
Mikhail Naganov
de4bbb4577 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: c5103e68ae am: 896830ff6f am: ac8d483030 -s ours
am: 57895f9993  -s ours

Change-Id: Ic984ea3460996ecf83c6c8f400f514432690346c
2017-12-14 20:47:59 +00:00
Chia-I Wu
ca064e776f graphics: ignore/reduce spurious vsync in VTS am: 353cc075bf am: ca8ced7a5c am: 7b332605c2
am: df93992df7

Change-Id: Ib101eb80dda1d8091169368d37e14e400c987951
2017-12-14 20:46:44 +00:00
Peng Xu
ca1cd6b141 Merge "Fix flakiness of sensor VTS test cases" into oreo-dev am: 863c52448e -s ours am: 8b12cc9fe6 -s ours
am: 9732e2b7bf  -s ours

Change-Id: Ie9b8dcefbeb2afe64016d191c6578b7ace5b3be3
2017-12-14 20:45:32 +00:00
Mikhail Naganov
57895f9993 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: c5103e68ae am: 896830ff6f
am: ac8d483030  -s ours

Change-Id: I708545d9e0cc9abb2408f0180320e99842d5c021
2017-12-14 20:44:56 +00:00
Chia-I Wu
df93992df7 graphics: ignore/reduce spurious vsync in VTS am: 353cc075bf am: ca8ced7a5c
am: 7b332605c2

Change-Id: Ie80f0e4e60cdd608968c8e9cef5506ceb69140dd
2017-12-14 20:44:10 +00:00
Peng Xu
9732e2b7bf Merge "Fix flakiness of sensor VTS test cases" into oreo-dev am: 863c52448e -s ours
am: 8b12cc9fe6  -s ours

Change-Id: I20fffea408fe668f959480ce6376dcde77897d9b
2017-12-14 20:42:41 +00:00
Mikhail Naganov
ac8d483030 Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits am: c5103e68ae
am: 896830ff6f

Change-Id: If183286271444b625b33cf5a70132c2bd954bd71
2017-12-14 20:42:11 +00:00
Chia-I Wu
7b332605c2 graphics: ignore/reduce spurious vsync in VTS am: 353cc075bf
am: ca8ced7a5c

Change-Id: I62dd91f412581d871d4f1e8b569731d6a901b7fd
2017-12-14 20:41:37 +00:00
Peng Xu
8b12cc9fe6 Merge "Fix flakiness of sensor VTS test cases" into oreo-dev
am: 863c52448e  -s ours

Change-Id: I1796b301d8cfdd2edcc03d3150c34ae08d2fe84c
2017-12-14 20:40:04 +00:00
Mikhail Naganov
896830ff6f Audio VTS: Allow 4GB buffer prepareToWrite/Read to succeed on 64 bits
am: c5103e68ae

Change-Id: I9d55c73cd61f954b271d89044a96a18c1fde98f1
2017-12-14 20:39:35 +00:00
Chia-I Wu
ca8ced7a5c graphics: ignore/reduce spurious vsync in VTS
am: 353cc075bf

Change-Id: I27381f1e34191e4af28f79ce035458165ca845b3
2017-12-14 20:39:06 +00:00
Jiyong Park
1b9a4ba3d6 android.hardware.graphics.allocator@2.0 is no longer VNDK-SP am: e514a4b8a8 -s ours
am: 8c20d2002a  -s ours

Change-Id: I9d2dc8ca1e0706f15dc1f21d3d5f0b30d0e37809
2017-12-14 03:13:01 +00:00
Jiyong Park
8c20d2002a android.hardware.graphics.allocator@2.0 is no longer VNDK-SP
am: e514a4b8a8  -s ours

Change-Id: I80e1d11e964e14b95f48d8e7f389139253ae2d02
2017-12-14 03:06:54 +00:00
Jiyong Park
e514a4b8a8 android.hardware.graphics.allocator@2.0 is no longer VNDK-SP
The interface lib has been in VNDK-SP because
android.hardware.graphics.mapper@1.0 was using it. However, since the
dependency has gone [1], there is no need keep it in VNDK-SP. The
VNDK-SP set should be kept as small as possible because libs in VNDK-SP
are subject to double-loading.

Unmark the 'support_system_process' property to exclude the lib from
VNDK-SP.

This commit re-lands I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd because
it was reverted during O-MR1 push to AOSP-master.

Bug: 69480083
Test: walleye boots to the UI
Change-Id: I0af8115dceb9711c6c451ffaeedda6c823ec2905
Merged-In: I8722c1ac15ddf56a627a12a0c649b4d734e5e5cd
(cherry picked from commit ec44d18dbe)
2017-12-13 11:58:24 +08:00
Xin Li
9ffbd54511 DO NOT MERGE: Merge Oreo MR1 into master am: 7c9d4b1384 -s ours
am: 63c9be2736

Change-Id: I3d6f8e8d1659d5af367a65623afdd52e4f68a64f
2017-12-07 06:45:39 +00:00
Xin Li
63c9be2736 DO NOT MERGE: Merge Oreo MR1 into master
am: 7c9d4b1384  -s ours

Change-Id: Ib2d9175c76ba02d8f0699cbcf58a927ce6837825
2017-12-07 04:17:54 +00:00
Xin Li
7c9d4b1384 DO NOT MERGE: Merge Oreo MR1 into master
Exempt-From-Owner-Approval: Changes already landed internally
Change-Id: I8318c8bcc6ce5e750326b3315710c96a37838f22
2017-12-06 14:24:51 -08:00
Kevin Rocard
d7042bba2b Merge changes from topic "b/69811500" into oc-dev am: 61ae0a1fc7 am: d7d5d7a22d
am: abec925f05

Change-Id: If1f7ce2a3bf45bfa5b147fe8f21eac21b5516f0b
2017-12-06 20:33:38 +00:00
Kevin Rocard
abec925f05 Merge changes from topic "b/69811500" into oc-dev am: 61ae0a1fc7
am: d7d5d7a22d

Change-Id: Id4c64ec8339a7a4112b482a3cef33095c3dabc79
2017-12-06 20:31:08 +00:00
Kevin Rocard
d7d5d7a22d Merge changes from topic "b/69811500" into oc-dev
am: 61ae0a1fc7

Change-Id: I8d3e90d9695330b87f8e93dff84b752ec18e5254
2017-12-06 20:28:07 +00:00
TreeHugger Robot
61ae0a1fc7 Merge changes from topic "b/69811500" into oc-dev
* changes:
  Audio HAL: Allow setters to not be implemented
  Audio VTS: HAL can support more than the native sampling rates
2017-12-06 20:18:12 +00:00
Kevin Rocard
a0e6bbe78b Audio policy config: remove cross-module device port name uniqueness am: 503c3e0a4e am: c5ce355c24
am: e8e9cdcf5e

Change-Id: Ieec5791e1864d87ea26a1743f4543d0ff07c2825
2017-12-06 19:51:18 +00:00
Kevin Rocard
ead5a3bed3 Audio policy config: Device port (type,address) must be unique am: fa1f597442 am: d4112727b7
am: 7c7fc0c69a

Change-Id: I669ff1e8e32b7e539d33d8f1a05ee06962836e60
2017-12-06 19:51:05 +00:00
Kevin Rocard
c8ef2e0e44 Audio policy config: allow vendor to extend module name am: 7558e8c6e4 am: ec55b2f024
am: 540748bc80

Change-Id: I7f0627e930fc7a8fe13ac13f708d0972c5747b23
2017-12-06 19:50:51 +00:00
Kevin Rocard
e8e9cdcf5e Audio policy config: remove cross-module device port name uniqueness am: 503c3e0a4e
am: c5ce355c24

Change-Id: I1e9225d0acd5515890fec9bc259b39f26b3c8e5e
2017-12-06 19:36:16 +00:00
Kevin Rocard
7c7fc0c69a Audio policy config: Device port (type,address) must be unique am: fa1f597442
am: d4112727b7

Change-Id: I4d24d58034d3a39fee66308b44620c956ad5c345
2017-12-06 19:36:08 +00:00
Kevin Rocard
540748bc80 Audio policy config: allow vendor to extend module name am: 7558e8c6e4
am: ec55b2f024

Change-Id: Ic7c5de5e7c215c43f2ea044a38bbf52ee71984ca
2017-12-06 19:36:03 +00:00
Kevin Rocard
c5ce355c24 Audio policy config: remove cross-module device port name uniqueness
am: 503c3e0a4e

Change-Id: Ibeef7dd1ad8db4a55b9e323c07d3a499289f7d73
2017-12-06 19:30:49 +00:00
Kevin Rocard
d4112727b7 Audio policy config: Device port (type,address) must be unique
am: fa1f597442

Change-Id: I03176086075fb2c2911edf3a470b0319cb8648b6
2017-12-06 19:30:44 +00:00
Kevin Rocard
ec55b2f024 Audio policy config: allow vendor to extend module name
am: 7558e8c6e4

Change-Id: I2acafb47c986e5886b0bacc0bb6c6419feae69e5
2017-12-06 19:30:34 +00:00
Kevin Rocard
3bcba14c36 Audio HAL: Allow setters to not be implemented
setSampleRate, setChannelMask, setFormat
may not be implemented by the HAL, although this is not documented in
the HAL API.
Currently the VTS test requires their implementation if the respective
getSupported{SampleRate,ChannelMask,Format} are supported.

Relax this requirement as the framework never calls those setters.

Note that the optionality of those functions will be documented
in the next HAL API version.

Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug: 69811500
Change-Id: I3a390ae925cabd99e7f1ed4a627e71ad87b1b437
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-12-05 15:42:10 -08:00
Kevin Rocard
02025847de Audio VTS: HAL can support more than the native sampling rates
getSupportedSampleRate should return the native sampling rates,
(IE. the sampling rates that can be played without resampling)
but other sampling rates can be supported by the HAL.

The test was too strict as it was failing if HALs were supporting more
sample rates than there native (optimized) ones.

For example, a HAL might have its best performance (no resampling)
on 48kHz but still support 16kHz through resampling.

Note: getSupportedSampleRate might be renamed to getNativeSampleRate in
the next major HAL revision to avoid ambiguity.

Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug: 69811500
Change-Id: I1ec1ce422bc5039637463c6641060508f4ee892b
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-12-05 15:14:17 -08:00
Zhuoyao Zhang
6ab5305323 Merge "Convert boot, memtrack and power hal to use service name aware testing." am: b9515d9d3f
am: a713584847

Change-Id: I204a3492a5c61c95b11934688f6a32a8c9f83e1d
2017-12-05 00:39:39 +00:00
Zhuoyao Zhang
a713584847 Merge "Convert boot, memtrack and power hal to use service name aware testing."
am: b9515d9d3f

Change-Id: Ie93e66d9b829ac420ba22cf0391b48c156755c77
2017-12-05 00:11:18 +00:00
Zhuoyao Zhang
b9515d9d3f Merge "Convert boot, memtrack and power hal to use service name aware testing." 2017-12-04 23:12:04 +00:00
Kevin Rocard
503c3e0a4e Audio policy config: remove cross-module device port name uniqueness
This constraint was added due to an incorrect assumption
that device ports were identified by names whereas
they are by the (module,type,address) triplet.

Bug: 69442986
Test: xmllint validates an XML with two identically named devices in
      different modules.
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Change-Id: I66d890d3c967bead4f2a287202c259009217996a
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-12-04 14:29:19 -08:00
Kevin Rocard
fa1f597442 Audio policy config: Device port (type,address) must be unique
Device port are not identified by names but by their type and address
and the module they are in.

As a result, enforce this constraint in the XSD. Violating it results in
a policy parsing crash.

Bug: 69442986
Test: xmllint invalidates an XML with two devices of the same type
      and address
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Change-Id: I84245f0fa80fef786a002c98073c166b6aaf2be4
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-12-04 14:29:14 -08:00
Kevin Rocard
7558e8c6e4 Audio policy config: allow vendor to extend module name
Vendor are currently not allowed to extend the XML format.
As some enumeration are allowed to be extended, this mean that
the format must allow some extension mechanism.

This patch relaxes the definition of the module name field.
AOSP names are still allowed, but a vendor can add its own name
if prefixed with "vx_". Eg:
    <module name="vx_google_vr" halVersion="3.0">

Test: xmllint --xinclude --noout --schema hardware/interfaces/audio/2.0/config/audio_policy_configuration.xsd audio_policy_configuration.xml
      with audio_policy_configuration.xml containing a module named vx_google_vr
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
      on Pixel 2
Bug: 69442986
Signed-off-by: Kevin Rocard <krocard@google.com>

Change-Id: I4ead38535cce89bb8fe44cf23fa1146acd1271d6
2017-12-04 14:29:08 -08:00
Zhuoyao Zhang
2aba02af56 Convert boot, memtrack and power hal to use service name aware testing.
Motivation:
1) Support running the test against each hal service instance for the 
   registered hal.
2) Support testability checker to determine whether we should run the 
   test on the taget device.
3) Help to determine the process we want to profile for coverage data
   if running on coverage build. 
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalBootV1_0Target
      vts-tradefed run vts -m VtsHalMemtrackV1_0Target
      vts-tradefed run vts -m VtsHalPowerV1_0Target
      vts-tradefed run vts -m VtsHalPowerV1_1Target
Change-Id: Ie0bbd9ef9d9fbe11de5aee70fad9028fa0ae897c
2017-12-04 21:34:25 +00:00
Michael Schwartz
b3c150af4b Merge "Remove IOemHook from matrix in P" am: f8c89c44e5
am: 7d6bf0f5ef

Change-Id: If01fb4ba4bd7a115a1b044296ad6242df414353e
2017-12-04 18:59:39 +00:00
Steven Moreland
0903cd24ac Updating makefiles for hidl_interface.
am: 4e1e4081e4  -s ours

Change-Id: I8bba4a896375afa0b6e8b57d3bd6228096bbf12e
2017-12-04 18:49:35 +00:00
Michael Schwartz
7d6bf0f5ef Merge "Remove IOemHook from matrix in P"
am: f8c89c44e5

Change-Id: I2649c4ad197aecf74a595a16ed2433edba3b9a8b
2017-12-04 18:44:59 +00:00
Michael Schwartz
f8c89c44e5 Merge "Remove IOemHook from matrix in P" 2017-12-04 18:34:51 +00:00
Steven Moreland
4e1e4081e4 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
(cherry-picked from commit c2f829a1d2)
2017-12-03 10:31:49 -08:00
Howard Chen
e46a31d771 Merge "Add more test methods to IMemoryTest" am: 4cd07b6e21
am: b4c725535e

Change-Id: I5a0a3d5603be680e9807d098edae3dab0c884dbc
2017-12-02 15:31:34 +00:00
Howard Chen
b4c725535e Merge "Add more test methods to IMemoryTest"
am: 4cd07b6e21

Change-Id: Ibcfa27b9510774a9bac39c40443e6f5a35e13709
2017-12-02 15:26:24 +00:00