Home
last modified time | relevance | path

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

12345678

/cts/tests/tests/media/drmframework/src/android/media/drmframework/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 …]
/cts/tests/tests/media/misc/src/android/media/misc/cts/
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 …]
/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.java206 if (map.keySet().hashCode() != array.keySet().hashCode()) { in compareMaps()
208 + Integer.toHexString(map.keySet().hashCode()) + " array=0x" in compareMaps()
209 + Integer.toHexString(array.keySet().hashCode())); in compareMaps()
212 if (!map.keySet().equals(array.keySet())) { in compareMaps()
216 if (!array.keySet().equals(map.keySet())) { in compareMaps()
220 if (!map.keySet().containsAll(array.keySet())) { in compareMaps()
224 if (!array.keySet().containsAll(map.keySet())) { in compareMaps()
228 if (!array.containsAll(map.keySet())) { in compareMaps()
263 Set keySet = array.keySet(); in validateArrayMap() local
264 Iterator keyIt = keySet.iterator(); in validateArrayMap()
[all …]
/cts/tests/tests/media/common/src/android/media/cts/
DTestUtils.java62 if (!a.keySet().containsAll(b.keySet()) in equals()
63 || !b.keySet().containsAll(a.keySet())) { in equals()
66 for (String key : a.keySet()) { in equals()
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/
DApiConstructor.java81 return mCoveredWith.keySet(); in getCoveredWith()
85 return mCoveredTests.keySet(); in getCoveredTests()
DApiMethod.java113 return mCoveredWith.keySet(); in getCoveredWith()
117 return mCoveredTests.keySet(); in getCoveredTests()
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java99 for (String s : preReSerialize.keySet()) { in test_android_CVE_2020_0082()
102 for (String s : postReSerialize.keySet()) { in test_android_CVE_2020_0082()
201 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_13310()
204 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_13310()
311 for (String s : preReSerialize.keySet()) { in test_android_CVE_2018_9339()
314 for (String s : postReSerialize.keySet()) { in test_android_CVE_2018_9339()
389 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_0806()
392 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_0806()
453 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_13311()
456 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_13311()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DFailureDumper.kt33 ConcurrentHashMap<String, Boolean>().keySet(true)
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierConfigManagerTest.java314 if (!left.keySet().equals(right.keySet())) { in isEqual()
318 for (String key : left.keySet()) { in isEqual()
390 Set<String> allKeys = allConfigs.keySet(); in testGetConfig_withValidKeys()
406 assertThat(configSubset.keySet()).doesNotContain(keyWithoutDefaultValue); in testGetConfig_keyWithoutDefaultValue()
410 assertThat(configSubset.keySet()).contains(keyWithDefaultValue); in testGetConfig_keyWithoutDefaultValue()
411 assertThat(configSubset.keySet()).doesNotContain(keyWithoutDefaultValue); in testGetConfig_keyWithoutDefaultValue()
465 Set<String> allKeys = allConfigs.keySet(); in testGetConfigForSubId_withValidSingleKey()
478 Set<String> allKeys = allConfigs.keySet(); in testGetConfigForSubId_withValidMultipleKeys()
497 private Collection<List<String>> partitionSetWithSize(Set<String> keySet, int size) { in partitionSetWithSize() argument
499 return keySet.stream().collect(Collectors.groupingBy(s -> counter.getAndIncrement())) in partitionSetWithSize()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewDarkModeLightThemeTest.java88 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifedDarkMode_rendersLight()
102 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifedDarkMode_rendersLight()
DWebViewDarkModeDarkThemeTest.java90 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifiedDarkMode_rendersDark()
105 colourValues = histogram.keySet().toArray(new Integer[0]); in testSimplifiedDarkMode_rendersDark()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DSearchSpecCtsTest.java119 assertThat(searchSpec.getPropertyWeights().keySet()) in testBuildSearchSpec()
195 assertThat(typePropertyPathMap.keySet()).containsExactly("TypeA", "TypeB", "TypeC"); in testGetProjectionTypePropertyMasks()
216 assertThat(typePropertyPathMap.keySet()).containsExactly("TypeA", "TypeB", "TypeC"); in testGetProjectionObjects()
237 assertThat(typePropertyWeightsMap.keySet()).containsExactly("TypeA", "TypeB"); in testGetTypePropertyWeights()
265 assertThat(typePropertyWeightsMap.keySet()).containsExactly("TypeA", "TypeB"); in testGetTypePropertyWeightPaths()
292 assertThat(typePropertyWeightsMap.keySet()).containsExactly("TypeA", "TypeB"); in testGetTypePropertyWeightsWithAdvancedRanking()
324 assertThat(typePropertyWeightsMap.keySet()).containsExactly("TypeA", "TypeB"); in testGetTypePropertyWeightPathsWithAdvancedRanking()
417 assertThat(newSpec.getPropertyWeights().keySet()).containsExactly("TypeA"); in testBuild_builtObjectsAreImmutable()
423 assertThat(originalSpec.getPropertyWeights().keySet()).containsExactly("TypeA"); in testBuild_builtObjectsAreImmutable()
424 assertThat(originalSpec.getPropertyWeights().get("TypeA").keySet()) in testBuild_builtObjectsAreImmutable()
[all …]
/cts/tests/contextualsearch/src/android/contextualsearch/cts/
DContextualSearchStateTest.kt46 testState.extras.keySet().forEach { key -> in <lambda>()
67 testState.extras.keySet().forEach { key -> in <lambda>()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
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.java160 subMap(oldEntries.keyValues, difference.entriesDiffering().keySet()); in restoreDeviceConfigStateForTest()
166 private static <X, Y> Map<X, Y> subMap(Map<X, Y> keyValues, Set<X> keySet) { in subMap() argument
167 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/scopedstorage/device/src/android/scopedstorage/cts/device/
DStableUrisTest.java148 for (File file : fileToUriMap.keySet()) { in testAttributesRestoration()
169 files.addAll(createFiles(5).keySet()); in testScenario()
249 originalAttributes.keySet()); in verifyAttributes()
254 for (String attribute : originalAttributes.keySet()) { in verifyAttributes()
323 for (String key : attributes.keySet()) { in updateMedia()
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DRequirement.java66 for (Integer pc: perfClassResults.keySet()) { in computePerformanceClass()
82 for (int pc: overallPerfClassResults.keySet()) { in computePerformanceClass()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0685/src/android/security/cts/CVE_2021_0685/
DPocAmbiguator.java40 for (String s : preReSerialize.keySet()) { in make()
43 for (String s : postReSerialize.keySet()) { in make()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DClientIdDeviceInfo.java45 for (String name : clientIds.keySet()) { in collectClientIds()
/cts/tests/inputmethod/mocka11yime/common/src/com/android/cts/mocka11yime/
DMockA11yImeBundleUtils.java34 for (String key : bundle.keySet()) { in dumpBundle()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaMetadataTest.java54 assertThat(metadata.keySet()).isEmpty(); in builder_defaultConstructor_hasNoData()
202 Set<String> keySet = metadata.keySet(); in sizeAndKeySet() local
203 assertThat(keySet).containsExactly( in sizeAndKeySet()
/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/bedstead/nene/src/main/java/com/android/bedstead/nene/instrumentation/
DArguments.java77 return mArguments.keySet(); in keys()

12345678