Home
last modified time | relevance | path

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

12345

/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMetricsTest.java46 for (String key : bundle.keySet()) { in dumpBundleKeys()
73 assertEquals(1, metrics.keySet().size()); in testGetMetricsEmpty()
75 assertTrue(metrics.keySet().contains(GOOGLE_CLEARKEY_VENDOR_ID)); in testGetMetricsEmpty()
99 assertEquals(dumpBundleKeys(metrics), 5, metrics.keySet().size()); in testGetMetricsSession()
101 assertTrue(metrics.keySet().contains(GOOGLE_CLEARKEY_VENDOR_ID)); in testGetMetricsSession()
115 assertEquals(2, startTimesMs.keySet().size()); in testGetMetricsSession()
117 startTimesMs.keySet(), containsInAnyOrder( in testGetMetricsSession()
124 assertEquals(2, endTimesMs.keySet().size()); in testGetMetricsSession()
126 endTimesMs.keySet(), containsInAnyOrder( in testGetMetricsSession()
157 assertEquals(7, metrics.keySet().size()); in testGetMetricsGetKeyRequest()
[all …]
DMediaFormatTest.java277 Set<String> keySet = format.getKeys(); in testSingleKeyRemoval() local
278 assertEquals(1, keySet.size()); in testSingleKeyRemoval()
279 assertTrue(keySet.contains(key)); in testSingleKeyRemoval()
285 assertFalse(keySet.contains(key)); in testSingleKeyRemoval()
286 assertEquals(0, keySet.size()); in testSingleKeyRemoval()
308 Set<String> keySet = format.getKeys(); in testKeySetContainsAndRemove() local
310 assertEquals(3, keySet.size()); in testKeySetContainsAndRemove()
311 assertTrue(keySet.contains("int")); in testKeySetContainsAndRemove()
312 assertTrue(keySet.contains("long")); in testKeySetContainsAndRemove()
313 assertTrue(keySet.contains("float")); in testKeySetContainsAndRemove()
[all …]
DTestUtils.java57 if (!a.keySet().containsAll(b.keySet()) in equals()
58 || !b.keySet().containsAll(a.keySet())) { in equals()
61 for (String key : a.keySet()) { in equals()
DMediaActivityTest.java110 for (int stream : mStreamVolumeMap.keySet()) { in cleanUp()
160 for (int stream : mStreamVolumeMap.keySet()) { in testVolumeKey_afterSessionReleased()
172 for (int stream : mStreamVolumeMap.keySet()) { in testVolumeKey_afterSessionReleased()
DMediaDrmClearkeyTest.java491 final Set<String> keySet = keyStatus.keySet(); in queryKeyStatus() local
492 final int numKeys = keySet.size(); in queryKeyStatus()
493 final String[] keys = keySet.toArray(new String[numKeys]); in queryKeyStatus()
847 for (String key : immutableProperties.keySet()) { in testSetProperties()
852 for (String key : immutableProperties.keySet()) { in testSetProperties()
/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.java204 if (map.keySet().hashCode() != array.keySet().hashCode()) { in compareMaps()
206 + Integer.toHexString(map.keySet().hashCode()) + " array=0x" in compareMaps()
207 + Integer.toHexString(array.keySet().hashCode())); in compareMaps()
210 if (!map.keySet().equals(array.keySet())) { in compareMaps()
214 if (!array.keySet().equals(map.keySet())) { in compareMaps()
218 if (!map.keySet().containsAll(array.keySet())) { in compareMaps()
222 if (!array.keySet().containsAll(map.keySet())) { in compareMaps()
226 if (!array.containsAll(map.keySet())) { in compareMaps()
261 Set keySet = array.keySet(); in validateArrayMap() local
262 Iterator keyIt = keySet.iterator(); in validateArrayMap()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java57 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_13310()
60 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_13310()
166 for (String s : preReSerialize.keySet()) { in test_android_CVE_2018_9339()
169 for (String s : postReSerialize.keySet()) { in test_android_CVE_2018_9339()
243 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_0806()
246 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_0806()
306 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_13311()
309 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_13311()
400 for (String s : preReSerialize.keySet()) { in test_android_CVE_2017_13287()
403 for (String s : postReSerialize.keySet()) { in test_android_CVE_2017_13287()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMicrophoneDeviceTestActivity.java66 for (View item : mInputDeviceItems.keySet()) { in onClick()
155 for (View item : mInputDeviceItems.keySet()) { in checkAllPassed()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStats.java108 return mValues.keySet(); in getKeys()
178 List<String> keys = new ArrayList<>(flattenedStats.keySet()); in getSortedKeys()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBroadcastUtils.java43 for (String s : bundle.keySet()) { in toBundleString()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBroadcastUtils.java43 for (String s : bundle.keySet()) { in toBundleString()
/cts/tests/tests/identity/src/android/security/identity/cts/
DParsedAttestationRecord.java100 return softwareEnforcedAuthorizations.keySet(); in getSoftwareEnforcedAuthorizationTags()
104 return teeEnforcedAuthorizations.keySet(); in getTeeEnforcedAuthorizationTags()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DClientIdDeviceInfo.java45 for (String name : clientIds.keySet()) { in collectClientIds()
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DDalvikTest.java512 for (String exclude : testsDirStore.getAllFailures().keySet()) { in getExcludeFile()
515 for (String exclude : testsDirStore.getAllOutComes().keySet()) { in getExcludeFile()
520 for (String exclude : resourceStore.getAllFailures().keySet()) { in getExcludeFile()
523 for (String exclude : resourceStore.getAllOutComes().keySet()) { in getExcludeFile()
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DConversationActionsTest.java263 assertThat(message.getExtras().keySet()).containsExactly(TEXT); in assertFullMessage()
328 assertThat(request.getExtras().keySet()).containsExactly(TEXT); in assertFullRequest()
344 assertThat(conversationAction.getExtras().keySet()).containsExactly(TEXT); in assertFullConversationAction()
/cts/tests/tests/assist/src/android/assist/cts/
DExtraAssistDataTest.java53 for (String key : extraExpectedBundle.keySet()) { in testAssistContentAndAssistData()
/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/app/app/src/android/app/stubs/
DLocalActivityManagerTestHelper.java239 if (bundle.keySet().size() != 1) { in testDispatchCreate()
248 if (mLocalActivityManager.saveInstanceState().keySet().size() != 1) { in testDispatchCreate()
/cts/tests/tests/permission2/src/android/permission2/cts/
DPrivappPermissionsTest.java141 isGranted -> isGranted).keySet(); in privappPermissionsNeedToBeWhitelisted()
149 requestedPrivPermissions.keySet()); in privappPermissionsNeedToBeWhitelisted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DBaseResultsDialog.java56 for (ResultType resultType : mResult.getResults().keySet()) { in onCreateDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraTestInstrumentation.java69 Set<String> keys = results.keySet(); in sendStatus()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DSupportedBitstreamsProcessor.java64 return mDecodersForPath.keySet(); in getBitstreams()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadReceiverTest.java283 for (String aKey : a.keySet()) { in bundleEquals()
289 for (String bKey : b.keySet()) { in bundleEquals()

12345