Home
last modified time | relevance | path

Searched refs:keySet (Results 1 – 25 of 137) sorted by relevance

123456

/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMetricsTest.java47 for (String key : bundle.keySet()) { in dumpBundleKeys()
75 assertEquals(1, metrics.keySet().size()); in testGetMetricsEmpty()
77 assertTrue(metrics.keySet().contains(GOOGLE_CLEARKEY_VENDOR_ID)); in testGetMetricsEmpty()
102 assertEquals(dumpBundleKeys(metrics), 5, metrics.keySet().size()); in testGetMetricsSession()
104 assertTrue(metrics.keySet().contains(GOOGLE_CLEARKEY_VENDOR_ID)); in testGetMetricsSession()
118 assertEquals(2, startTimesMs.keySet().size()); in testGetMetricsSession()
120 startTimesMs.keySet(), containsInAnyOrder( in testGetMetricsSession()
127 assertEquals(2, endTimesMs.keySet().size()); in testGetMetricsSession()
129 endTimesMs.keySet(), containsInAnyOrder( in testGetMetricsSession()
161 assertEquals(7, metrics.keySet().size()); in testGetMetricsGetKeyRequest()
[all …]
DMediaFormatTest.java291 Set<String> keySet = format.getKeys(); in testSingleKeyRemoval() local
292 assertEquals(1, keySet.size()); in testSingleKeyRemoval()
293 assertTrue(keySet.contains(key)); in testSingleKeyRemoval()
299 assertFalse(keySet.contains(key)); in testSingleKeyRemoval()
300 assertEquals(0, keySet.size()); in testSingleKeyRemoval()
322 Set<String> keySet = format.getKeys(); in testKeySetContainsAndRemove() local
324 assertEquals(3, keySet.size()); in testKeySetContainsAndRemove()
325 assertTrue(keySet.contains("int")); in testKeySetContainsAndRemove()
326 assertTrue(keySet.contains("long")); in testKeySetContainsAndRemove()
327 assertTrue(keySet.contains("float")); in testKeySetContainsAndRemove()
[all …]
DTestUtils.java59 if (!a.keySet().containsAll(b.keySet()) in equals()
60 || !b.keySet().containsAll(a.keySet())) { in equals()
63 for (String key : a.keySet()) { in equals()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DSensorOperationTest.java66 assertTrue(op.getStats().flatten().keySet().contains(SensorStats.ERROR)); in testFakeSensorOperation()
100 Set<String> statsKeys = op.getStats().flatten().keySet();
118 statsKeys = op.getStats().flatten().keySet();
140 Set<String> statsKeys = op.getStats().flatten().keySet();
151 statsKeys = op.getStats().flatten().keySet();
180 Set<String> statsKeys = op.getStats().flatten().keySet();
191 statsKeys = op.getStats().flatten().keySet();
211 Set<String> statsKeys = op.getStats().flatten().keySet();
219 statsKeys = op.getStats().flatten().keySet();
263 Set<String> statsKeys = op.getStats().flatten().keySet();
[all …]
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java205 if (map.keySet().hashCode() != array.keySet().hashCode()) { in compareMaps()
207 + Integer.toHexString(map.keySet().hashCode()) + " array=0x" in compareMaps()
208 + Integer.toHexString(array.keySet().hashCode())); in compareMaps()
211 if (!map.keySet().equals(array.keySet())) { in compareMaps()
215 if (!array.keySet().equals(map.keySet())) { in compareMaps()
219 if (!map.keySet().containsAll(array.keySet())) { in compareMaps()
223 if (!array.keySet().containsAll(map.keySet())) { in compareMaps()
227 if (!array.containsAll(map.keySet())) { in compareMaps()
262 Set keySet = array.keySet(); in validateArrayMap() local
263 Iterator keyIt = keySet.iterator(); in validateArrayMap()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java95 for (String s : preReSerialize.keySet()) { in test_android_CVE_2020_0082()
98 for (String s : postReSerialize.keySet()) { in test_android_CVE_2020_0082()
196 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_13310()
199 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_13310()
305 for (String s : preReSerialize.keySet()) { in test_android_CVE_2018_9339()
308 for (String s : postReSerialize.keySet()) { in test_android_CVE_2018_9339()
382 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_0806()
385 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_0806()
445 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_13311()
448 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_13311()
[all …]
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DSensorStates.java172 for (Integer sensorId : sensorServiceState.sensorStates.keySet()) { in merge()
221 for (Integer sensorId : sensorStates.keySet()) { in toString()
227 for (Integer userId : userStates.keySet()) { in toString()
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DDeviceConfigShellHelper.java155 subMap(oldEntries.keyValues, difference.entriesDiffering().keySet()); in restoreDeviceConfigStateForTest()
162 private static <X, Y> Map<X, Y> subMap(Map<X, Y> keyValues, Set<X> keySet) { in subMap() argument
163 return Maps.filterKeys(keyValues, keySet::contains); in subMap()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBroadcastUtils.java43 for (String s : bundle.keySet()) { in toBundleString()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecRemoteControlPassThroughTest.java156 for (String remoteKey : remoteControlKeys.keySet()) { in validateKeyeventToUserControlPress()
168 for (String remoteKey : remoteControlKeys.keySet()) { in validateMultipleKeyeventToUserControlPress()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMicrophoneDeviceTestActivity.java65 for (View item : mInputDeviceItems.keySet()) { in onClick()
155 for (View item : mInputDeviceItems.keySet()) { in checkAllPassed()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DClientIdDeviceInfo.java45 for (String name : clientIds.keySet()) { in collectClientIds()
/cts/tests/tests/identity/src/android/security/identity/cts/
DParsedAttestationRecord.java100 return softwareEnforcedAuthorizations.keySet(); in getSoftwareEnforcedAuthorizationTags()
104 return teeEnforcedAuthorizations.keySet(); in getTeeEnforcedAuthorizationTags()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java109 return mValues.keySet(); in getKeys()
195 List<String> keys = new ArrayList<>(flattenedStats.keySet()); in getSortedKeys()
/cts/hostsidetests/incrementalinstall/appvalidator/src/android/incrementalinstall/inrementaltestappvalidation/
DStatusReceiver.java54 return mStatusLatchMap.keySet(); in supportedComponentsList()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiConstructor.java74 return mCoveredWith.keySet(); in getCoveredWith()
DApiMethod.java102 public Set<String> getCoveredWith() { return mCoveredWith.keySet(); } in getCoveredWith()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DSuspendTestUtils.java146 final Set<String> keys = expected.keySet(); in areSameExtras()
147 if (keys.size() != received.keySet().size()) { in areSameExtras()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobParametersTest.java70 assertEquals(1, extras.keySet().size()); in testExtras()
180 for (String key : b.keySet()) { in testTransientExtras()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DBaseResultsDialog.java56 for (ResultType resultType : mResult.getResults().keySet()) { in onCreateDialog()
/cts/tests/tests/os/src/android/os/cts/
DSystemConfigTest.java68 for (String app : helperApps.keySet()) { in testGetDisabledUntilUsedPreinstalledCarrierAssociatedApps()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraTestInstrumentation.java69 Set<String> keys = results.keySet(); in sendStatus()
/cts/tests/tests/assist/src/android/assist/cts/
DExtraAssistDataTest.java59 for (String key : extraExpectedBundle.keySet()) { in testAssistContentAndAssistData()
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DDalvikTest.java473 for (String exclude : testsDirStore.getAllFailures().keySet()) { in getExcludeFile()
476 for (String exclude : testsDirStore.getAllOutComes().keySet()) { in getExcludeFile()
481 for (String exclude : resourceStore.getAllFailures().keySet()) { in getExcludeFile()
484 for (String exclude : resourceStore.getAllOutComes().keySet()) { in getExcludeFile()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java79 return mMutablePackage.mInstalledOnUsers.keySet(); in installedOnUsers()

123456