Commit graph

10908 commits

Author SHA1 Message Date
Nathan Harold
6b4eb0e4bd [automerger skipped] Add docs for setSignalStrengthReportingCriteria
am: dd06d73cab  -s ours

Change-Id: Ia23dd5a7f2a354a6ada49458a4497a46cdd9cfff
2018-08-20 20:44:31 -07:00
Nathan Harold
dd06d73cab Add docs for setSignalStrengthReportingCriteria
Because setSignalStrengthReportingCriteria only
supports a single measurement quantity, provide
further clarification on the applicability of the
API and how it may be used in various situations.

Bug: 110121199
Test: compilation - docstring-only change
Merged-In: If4236070fbc03368e5a78b0cf502cdc4a529a6ed
Change-Id: If4236070fbc03368e5a78b0cf502cdc4a529a6ed
(cherry picked from commit 529d2fffa0)
2018-08-21 02:12:38 +00:00
Steven Moreland
51a56c5a11 Merge "Add back keymaster@4.0 hash." into pie-vts-dev
am: 6a20e646e4

Change-Id: Id5a125e9a6563a71873e9edcc746c36bc8594c87
2018-08-20 17:20:49 -07:00
Treehugger Robot
6a20e646e4 Merge "Add back keymaster@4.0 hash." into pie-vts-dev 2018-08-20 23:44:03 +00:00
Yin-Chia Yeh
72c90cbaa5 [automerger skipped] resolve merge conflicts of cd02298b46 to oreo-mr1-vts-dev am: 79cea44239 -s ours
am: 46a5d4f73b

Change-Id: Ie798e2e248a6eea4c8a705d3bd8063f054c79205
2018-08-20 11:32:43 -07:00
Yin-Chia Yeh
46a5d4f73b [automerger skipped] resolve merge conflicts of cd02298b46 to oreo-mr1-vts-dev
am: 79cea44239  -s ours

Change-Id: I17d4a58573074b7746a9d35be04414f9227ec47e
2018-08-20 11:29:40 -07:00
Kevin Rocard
8a452029f9 Effect VTS: Allow an effect proxy as pre/post processing am: 0f0328fc4e
am: a3268e954d

Change-Id: Ic9afa418ca68ed98368ab4696c4d3a3e5e8ccbdb
2018-08-20 11:21:39 -07:00
Hsin-Yi Chen
770b25abd0 Merge "Fix base class of WifiHidlEnvironment_1_2" into pie-vts-dev
am: a73a8c9b2b

Change-Id: I18081c95710d4d505991628994df7a9ebbdc99df
2018-08-20 11:14:25 -07:00
Hsin-Yi Chen
997fb4631e [automerger skipped] Merge "Fix IUsb version number in vts test" into pie-vts-dev
am: 0a55878d1e  -s ours

Change-Id: I612a4597b8689a232e75e97a634aa535ca0730a2
2018-08-20 11:14:00 -07:00
Kevin Rocard
a3268e954d Effect VTS: Allow an effect proxy as pre/post processing
am: 0f0328fc4e

Change-Id: I570e2a73de01900cf39b5d08cfed370ee17a0e38
2018-08-20 11:13:35 -07:00
Steven Moreland
a00fa0d372 Add back keymaster@4.0 hash.
This was changed after this branch was released. The originally
released hash needs to be restored since that is what partners
are building with.

Bug: 112688384
Bug: 78104779
Test: m android.hardware.keymaster@4.0 (tests hashes)
Change-Id: I0f59a493d7f17a13402d992495d1a259f6257077
(cherry picked from commit ec720564db)
2018-08-20 10:53:10 -07:00
Treehugger Robot
a806c0c3bd Merge "Fix matrix dep on kernel configs" 2018-08-17 23:51:59 +00:00
Treehugger Robot
54c3572e99 Merge changes from topic "share-buffer"
* changes:
  Audio default HAL: hidl_memory size must be positive
  Aaudio: Implement app shareable flag instead of -size hack
2018-08-17 23:03:44 +00:00
Yifan Hong
f1ccd4d794 Fix matrix dep on kernel configs
Use global instead of rule variables.

Test: make a change in kernel configs, existing out files
are changed.

Change-Id: Ic731356b4533bc10743d3711309ab16de1d3bd78
2018-08-17 15:45:18 -07:00
Shawn Willden
ad5b5ff2f0 Change ImportWrappedKeyTest back to SHA1
Change I5f877b2a1ac66026a876e145416ba078d486e4b5 inadvertently changed
the digest used for ImportWrappedKey, breaking the test.  This CL
reverts that portion of the change.

Test: VtsHalKeymasterV4_0TargetTest
Bug: 112279922
Bug: 80246122
Change-Id: Ib8e2e7793ba46ae0d29d8407bb730a35bdb5ea98
2018-08-17 06:58:32 -06:00
Shawn Willden
0f2b0966c6 Require KM4 attestations contain the right version
Note that devices with KM4 will fail to pass VTS after this
lands, until the fix from Qualcomm arrives.

Test: VtsHalKeymasterV4_0TargetTest
Bug: 112040197
Bug: 80246122
Change-Id: Ie2cd917af704b9f19de3537297b3a7e4f0c861e9
2018-08-17 06:58:12 -06:00
nagendra modadugu
7194604cd8 keymaster: skip SHA2 digest tests for strongbox
Strongbox is not required to support SHA-2 digests,
so skip the related tests.

Bug: 109771020
Bug: 80246122
Test: This is the test
Change-Id: I5f877b2a1ac66026a876e145416ba078d486e4b5
2018-08-17 06:58:12 -06:00
nagendra modadugu
683bd5d1b9 keymaster spec doesn't require update to output
Remove out of spec enforcement on the amount of data returned
by update, as this is not specified in the HAL.

Bug: 109771020
Bug: 80246122
Test: yes it is
Change-Id: Ic41afbd01d51faf48d3c0fe090409ebcd257cc1e
2018-08-17 06:57:28 -06:00
Shawn Willden
7b00c75643 Fix attestation test.
Bug: 77588764
Bug: 80246122
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: Ibe264d08ae7b3333a6949761a92759f5305b3fcb
2018-08-17 06:51:06 -06:00
Treehugger Robot
a73a8c9b2b Merge "Fix base class of WifiHidlEnvironment_1_2" into pie-vts-dev 2018-08-16 15:43:19 +00:00
Treehugger Robot
0a55878d1e Merge "Fix IUsb version number in vts test" into pie-vts-dev 2018-08-16 15:42:37 +00:00
Xin Li
b390ad2d90 Merge pie-vts-dev into master
Bug: 112170540
Merged-In: I48551f5469289b9fcfc47dd9fd2e455779640329
Change-Id: Icd613751ccf1dc8a0f879525f1d65b11dda7d357
2018-08-16 00:17:15 +00:00
Shawn Willden
1404b6e8b0 Handle software keymaster implementations.
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I0ca923fab3e312c576abc2f51f6dd28482176db7
2018-08-15 12:13:34 -06:00
Kevin Rocard
86910f0fc5 Audio default HAL: hidl_memory size must be positive
hidl_memory size is not used on the framework side but is checked by the
hidl framework to be a sensible value.
Due to a hack in O and P, the value can be negative, this leads to
errors in HIDL.

This patch make sure the hidl_memory size is always positive and thus
not affected by the hack.

Test: adb shell data/nativetest64/write_sine/write_sine -pl -m3 -x
Bug: 38118159
Change-Id: Ie53c46c558e8042d74ee32b55219195da82e4bcc
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-08-15 18:06:00 +00:00
Treehugger Robot
b4e998e812 Merge "Patch for setSimCardPower_1_1" 2018-08-15 17:50:47 +00:00
sqian
a8b8b6b1b3 Patch for setSimCardPower_1_1
Do not expect its affect on cardStatus if it is not successfully returned.
Check the response error before updating sim card status.

Test: sanity
Bug: 111661946
Change-Id: I48551f5469289b9fcfc47dd9fd2e455779640329
Merged-In: I48551f5469289b9fcfc47dd9fd2e455779640329
(cherry picked from commit 7e787e192cd4700d8f4e7cc5f55501bc37590245)
2018-08-15 05:49:52 +00:00
sqian
6fb73ec891 Patch for setSimCardPower_1_1
Do not expect its affect on cardStatus if it is not successfully returned.
Check the response error before updating sim card status.

Test: sanity
Bug: 111661946
Change-Id: I48551f5469289b9fcfc47dd9fd2e455779640329
2018-08-15 05:49:28 +00:00
Treehugger Robot
f11a6ba9c7 Merge "Fix alphanumeric order in current.txt" 2018-08-14 23:04:11 +00:00
Treehugger Robot
ebcc813acc Merge "Add power@1.3 to the VNDK." 2018-08-14 22:59:36 +00:00
Treehugger Robot
1847a2f2e7 Merge "Update makefiles after native handle in Java." 2018-08-14 21:42:34 +00:00
Yifan Hong
8264d58a46 Merge "libhealthhalutils is recovery_available" 2018-08-14 21:06:58 +00:00
Steven Moreland
ac22c2c1ed Add power@1.3 to the VNDK.
This was missing. Now update-makefiles is consistent w/ it.

Bug: 110112323
Test: (sanity) build + boot walleye
Change-Id: I29d4535b906d475c3b09e5f0c732c960986d1e38
2018-08-14 13:33:39 -07:00
Steven Moreland
f5e4d7fb59 Update makefiles after native handle in Java.
Bug: 35098567
Test: N/A
Change-Id: I54b8d804e480cda09806f8028b966f28c4bd706e
2018-08-14 20:29:42 +00:00
Treehugger Robot
c1db422723 Merge "Fix setSimCardPower_1_1" into pie-vts-dev 2018-08-14 20:13:47 +00:00
sqian
e5bf3a268e Check INVALID_SIM_STATE for sim permanent lock status
PUK1 and PUK2 can get permanent blocked when it inputs wrong
passwords more than 10 times.

Bug: 111211929
Test: sanity
Change-Id: I736873b1b181b88f279df7dc1c09e18e0fc76af3
Merged-In: I736873b1b181b88f279df7dc1c09e18e0fc76af3
(cherry picked from commit cb9e9d10462cc82ee6e7074f8d4c831b6348b3ea)
2018-08-14 19:24:17 +00:00
Treehugger Robot
248276659c Merge "Loose startNetworkScan cases" 2018-08-14 19:22:17 +00:00
Treehugger Robot
268dee8d0f Merge "Fix setSimCardPower_1_1" 2018-08-14 19:21:59 +00:00
Treehugger Robot
ed8cf648cd Merge "Fix setAllowedCarrier" 2018-08-14 19:19:19 +00:00
Treehugger Robot
c417c54960 Merge "Add REQUEST_NOT_SUPPORTED for pin and pin2 Icc VTS" 2018-08-14 19:16:07 +00:00
sqian
f25e996302 Fix setSimCardPower_1_1
If the function isn't executed successfully, do not expect its effect
of cardStatus.

Bug: 111661946
Test: run vts
Change-Id: I952728311b595149b449280e73142f2f82af544d
Merged-In: I952728311b595149b449280e73142f2f82af544d
(cherry picked from commit 934243085a)
(cherry picked from commit c02dd2562f)
2018-08-14 12:15:35 -07:00
Treehugger Robot
0061a578e6 Merge "Added IRadio 1.3 interface" 2018-08-14 18:43:46 +00:00
sqian
8f32c6416e Loose startNetworkScan cases
startNetworkScan:
Some vendor may not support the required manual GSM search
functionality.

startNetworkScan_GoodRequest1 and startNetworkScan_GoodRequest2:
Some vendor may not support max search time of 360s.

Test: sanity
Bug: 109765420
Change-Id: I456847815057d76561bfb3e840016619ac753476
Merged-In: I456847815057d76561bfb3e840016619ac753476
(cherry picked from commit 12f7d6127b)
2018-08-14 11:37:41 -07:00
sqian
b2f6aa1e51 Fix setAllowedCarrier
If function is not supported or executed successfully, do not
expect its effect on cardStatus.

Bug: 112008372
Test: run vts
Change-Id: I4532a39af2cfcf0e44eafe29c3c7f6779ae101f5
Merged-In: I4532a39af2cfcf0e44eafe29c3c7f6779ae101f5
(cherry picked from commit 44b129f728)
2018-08-14 11:35:10 -07:00
sqian
c02dd2562f Fix setSimCardPower_1_1
If the function isn't executed successfully, do not expect its effect
of cardStatus.

Bug: 111661946
Test: run vts
Change-Id: I952728311b595149b449280e73142f2f82af544d
Merged-In: I952728311b595149b449280e73142f2f82af544d
(cherry picked from commit 934243085a)
2018-08-14 11:33:28 -07:00
sqian
3c608789e0 Add REQUEST_NOT_SUPPORTED for pin and pin2 Icc VTS
Bug: 111222834
Test: sanity
Change-Id: Ia3b96e83d6173c2c80bdbf7763a876883b167af9
Merged-In: Ia3b96e83d6173c2c80bdbf7763a876883b167af9
(cherry picked from commit c0a06f34c8)
2018-08-14 11:30:57 -07:00
sqian
048e0333ab Fix alphanumeric order in current.txt
Bug: 111211929
Test: compile
Change-Id: I75687339522ec4fc79d351397e414b163e7f55c7
2018-08-14 11:25:51 -07:00
Treehugger Robot
8c6d7225c9 Merge "Add SIM_PUK2 for Icc VTS tests" 2018-08-14 18:18:32 +00:00
Yifan Hong
38d8d80b4c Merge "Allow OTA package to contain fake AVB version" 2018-08-14 17:47:24 +00:00
Jack Yu
15c429921d Added IRadio 1.3 interface
Added UNKNOWN into the existing enum AccessNetwork

Test: Telephony sanity tests
Bug: 110872637
Change-Id: I47bc8939a06023c9972c4e157b8e355cfad775ee
2018-08-14 09:50:35 -07:00
Treehugger Robot
a935e652af Merge "Fix ICameraDeviceCallback version in VTS test" into pie-vts-dev 2018-08-14 16:35:34 +00:00