/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyStoreTest.java | 582 keyStore.getKey(null, null); in test_KeyStore_getKey() 593 keyStore.getKey(null, null); in test_KeyStore_getKey() 602 keyStore.getKey(null, PASSWORD_KEY); in test_KeyStore_getKey() 611 assertNull(keyStore.getKey("", null)); in test_KeyStore_getKey() 612 assertNull(keyStore.getKey("", PASSWORD_KEY)); in test_KeyStore_getKey() 616 assertNull(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY)); in test_KeyStore_getKey() 619 assertPrivateKey(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY)); in test_KeyStore_getKey() 622 assertPrivateKey(keyStore.getKey(ALIAS_NO_PASSWORD_PRIVATE, null)); in test_KeyStore_getKey() 625 assertSecretKey(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY)); in test_KeyStore_getKey() 627 assertNull(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY)); in test_KeyStore_getKey() [all …]
|
D | BlockCipherTestBase.java | 350 init(Cipher.DECRYPT_MODE, getKey()); in testInitRequiresIvInDecryptMode() 356 init(Cipher.DECRYPT_MODE, getKey(), (SecureRandom) null); in testInitRequiresIvInDecryptMode() 362 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameterSpec) null, null); in testInitRequiresIvInDecryptMode() 368 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameterSpec) null, null); in testInitRequiresIvInDecryptMode() 374 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameters) null, null); in testInitRequiresIvInDecryptMode() 380 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameters) null, null); in testInitRequiresIvInDecryptMode() 407 SecretKey key = getKey(); in testIvGeneratedAndUsedWhenEncryptingWithoutExplicitIv() 441 init(Cipher.ENCRYPT_MODE, getKey()); in testGeneratedIvSurvivesReset() 462 init(Cipher.ENCRYPT_MODE, getKey(), generatedParams); in testGeneratedIvSurvivesReset() 474 init(Cipher.ENCRYPT_MODE, getKey()); in testGeneratedIvDoesNotSurviveReinitialization() [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationAssistantServiceTest.java | 144 mNotificationListenerService.mRankingMap.getRanking(sbn.getKey(), out); in testOnNotificationEnqueued() 155 mNotificationListenerService.mRankingMap.getRanking(sbn.getKey(), out); in testOnNotificationEnqueued() 173 mNotificationListenerService.mRankingMap.getRanking(sbn.getKey(), out); in testAdjustNotification_userSentimentKey() 181 Adjustment adjustment = new Adjustment(sbn.getPackageName(), sbn.getKey(), signals, "", in testAdjustNotification_userSentimentKey() 187 mNotificationListenerService.mRankingMap.getRanking(sbn.getKey(), out); in testAdjustNotification_userSentimentKey() 201 mNotificationListenerService.mRankingMap.getRanking(sbn.getKey(), out); in testAdjustNotification_proposedImportanceKey() 207 Adjustment adjustment = new Adjustment(sbn.getPackageName(), sbn.getKey(), signals, "", in testAdjustNotification_proposedImportanceKey() 213 mNotificationListenerService.mRankingMap.getRanking(sbn.getKey(), out); in testAdjustNotification_proposedImportanceKey() 226 mNotificationListenerService.mRankingMap.getRanking(sbn.getKey(), out); in testAdjustNotification_sensitiveContentKey() 232 Adjustment adjustment = new Adjustment(sbn.getPackageName(), sbn.getKey(), signals, "", in testAdjustNotification_sensitiveContentKey() [all …]
|
D | AdjustmentTest.java | 57 assertEquals(ADJ_KEY, mAdjustment.getKey()); in testGetKey() 85 assertEquals(mAdjustment.getKey(), unparceled.getKey()); in testParcelling()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | AnnotationTest.java | 62 assertEquals(KEY1, mAnnotation.getKey()); in testGetKey() 64 assertEquals(KEY2, mAnnotation.getKey()); in testGetKey() 82 assertEquals(out.getKey(), mAnnotation.getKey()); in testWriteToParcel()
|
/cts/tests/app/shared/src/android/app/stubs/shared/ |
D | TestNotificationAssistant.java | 117 mSnoozedKey = statusBarNotification.getKey(); in onNotificationSnoozedUntilContext() 131 rankingMap.getRanking(sbn.getKey(), ranking); in onNotificationEnqueued() 143 return new Adjustment(sbn.getPackageName(), sbn.getKey(), signals, "", in onNotificationEnqueued() 202 mRemoved.put(sbn.getKey(), -1); in onNotificationRemoved() 211 mRemoved.put(sbn.getKey(), reason); in onNotificationRemoved()
|
/cts/tests/app/src/android/app/cts/ |
D | AdjustmentTest.java | 51 assertEquals(ADJ_KEY, mAdjustment.getKey()); in testGetKey() 79 assertEquals(mAdjustment.getKey(), unparceled.getKey()); in testParcelling()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | PersonTest.java | 58 assertEquals(TEST_KEY, person.getKey()); in testPerson_builder() 69 assertNull(person.getKey()); in testPerson_builder_defaults() 91 assertEquals(TEST_KEY, result.getKey()); in testToBuilder() 115 assertEquals(person.getKey(), result.getKey()); in testPerson_parcelable()
|
D | NotificationManagerZenTest.java | 1783 assertTrue(mListener.mIntercepted.containsKey(sbn.getKey())); in testRepeatCallers_repeatCallNotIntercepted_contactAfterPhone() 1784 assertTrue(mListener.mIntercepted.get(sbn.getKey())); // should be intercepted in testRepeatCallers_repeatCallNotIntercepted_contactAfterPhone() 1798 assertTrue(mListener.mIntercepted.containsKey(sbn2.getKey())); in testRepeatCallers_repeatCallNotIntercepted_contactAfterPhone() 1799 assertFalse(mListener.mIntercepted.get(sbn2.getKey())); // should not be intercepted in testRepeatCallers_repeatCallNotIntercepted_contactAfterPhone() 1868 assertTrue(mListener.mIntercepted.get(alice.getKey())); in testInterruptionFilterNoneInterceptsMessages() 1869 assertTrue(mListener.mIntercepted.get(bob.getKey())); in testInterruptionFilterNoneInterceptsMessages() 1870 assertTrue(mListener.mIntercepted.get(charlie.getKey())); in testInterruptionFilterNoneInterceptsMessages() 1889 assertTrue(mListener.mIntercepted.get(alice.getKey())); in testInterruptionFilterNoneInterceptsEventAlarmReminder() 1890 assertTrue(mListener.mIntercepted.get(bob.getKey())); in testInterruptionFilterNoneInterceptsEventAlarmReminder() 1891 assertTrue(mListener.mIntercepted.get(charlie.getKey())); in testInterruptionFilterNoneInterceptsEventAlarmReminder() [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ExtractedTextTest.java | 108 assertEquals(EXPECTED_TEXT_ANNOTATION.getKey(), textAnnotation.getKey()); in assertTestInstance() 120 assertEquals(EXPECTED_HINT_ANNOTATION.getKey(), hintAnnotation.getKey()); in assertTestInstance()
|
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/ |
D | AuthenticationEntryTest.java | 63 assertThat(entry.getKey()).isEqualTo(KEY); in testConstructor() 78 assertThat(entry2.getKey()).isEqualTo(entry1.getKey()); in testWriteToParcel()
|
D | EntryTest.java | 61 assertThat(testEntry.getKey()).isEqualTo("key"); in testConstructor() 81 assertThat(entry2.getKey()).isEqualTo("k1"); in testWriteToParcel()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ApexSignatureVerificationTest.java | 130 assertWithMessage("apex:" + entry.getKey() + " does not contain pubkey").that( in testApexIncludePubKey() 156 entry.getKey() + " must not use well known pubkey " in testApexPubKeyIsNotWellKnownKey() 175 final String testSrcDirPath = TEST_APEX_SOURCE_DIR_PREFIX + entry.getKey(); in extractApexFiles() 182 mExtractedTestDirMap.put(entry.getKey(), apexDir); in extractApexFiles() 240 final File localTempFile = File.createTempFile(entry.getKey(), "", mBasePath); in pullApexFiles() 245 mLocalApexFileMap.put(entry.getKey(), localTempFile); in pullApexFiles()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | Utils.java | 81 SecretKey secretKey = (SecretKey) keyStore.getKey(keyName, null); in initCipher() 93 SecretKey secretKey = (SecretKey) keyStore.getKey(keyName, null); in initAeadCipher() 122 SecretKey secretKey = (SecretKey) keyStore.getKey(keyName, null); in initMac() 136 keyAgreement.init(keyStore.getKey(keyName, null)); in initKeyAgreement()
|
/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | AppSearchHostTestBase.java | 62 deviceTestRunOptions.addInstrumentationArg(entry.getKey(), entry.getValue()); in runDeviceTestAsUserInPkgA() 83 deviceTestRunOptions.addInstrumentationArg(entry.getKey(), entry.getValue()); in runContactsIndexerDeviceTestAsUserInPkgA() 97 deviceTestRunOptions.addInstrumentationArg(entry.getKey(), entry.getValue()); in runEnterpriseContactsDeviceTestAsUserInPkgA()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | RemoteSubmixTest.java | 190 mStreamVolume.put(map.getKey(), mAudioManager.getStreamVolume(map.getKey())); in muteStreams() 193 map.getKey(), AudioManager.ADJUST_MUTE, 0 /*no flag used*/); in muteStreams() 195 mAudioManager.getStreamVolume(map.getKey()), is(0)); in muteStreams() 212 mAudioManager.setStreamVolume(map.getKey(), map.getValue(), 0 /*no flag used*/); in unmuteStreams()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 171 mNotifications.put(sbn.getKey(), notification); in onNotificationPosted() 172 mNotificationKeys.put(sbn.getTag(), sbn.getKey()); in onNotificationPosted() 183 mNotifications.remove(sbn.getKey()); in onNotificationRemoved() 201 mNotifications.remove(sbn.getKey()); in onNotificationRemoved()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/ |
D | AccountManagerFutureWrapper.java | 73 merger.onResult(result.getKey(), result.getValue().getResult()); in groupResults() 75 merger.missingResult(result.getKey()); in groupResults()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | HDREncoderTestBase.java | 56 Long keyPts = entry.getKey(); in getMetadataForPts() 122 .getKey(); in validateHDRInfo() 155 Long pts = entry.getKey(); in validateHDRInfo()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | PersistableBundleQueryHelper.java | 104 if (!keyQueries.getValue().matches(value, keyQueries.getKey())) { in matches() 128 queryStrings.add(query.getValue().describeQuery(fieldName + "." + query.getKey())); in describeQuery()
|
D | BundleQueryHelper.java | 97 if (!keyQueries.getValue().matches(value, keyQueries.getKey())) { in matches() 124 queryStrings.add(query.getValue().describeQuery(fieldName + "." + query.getKey())); in describeQuery()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ConcurrentCameraTest.java | 119 CameraTestInfo info = mCameraTestInfos.get(deviceSample.getKey()); in testMandatoryConcurrentStreamCombination() 120 assertTrue("CameraTestInfo not found for camera id " + deviceSample.getKey(), in testMandatoryConcurrentStreamCombination() 125 TestSample testSample = new TestSample(deviceSample.getKey(), info.mStaticInfo, in testMandatoryConcurrentStreamCombination() 128 openDevice(deviceSample.getKey()); in testMandatoryConcurrentStreamCombination()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | ReportProcessor.java | 131 mMetrics.put(e.getKey(), e.getValue().getMeasurements().getSingleString()); in testEnded() 160 instrTest.addInstrumentationArg(e.getKey(), e.getValue()); in runDeviceTest()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | Policy.java | 245 .collect(Collectors.toMap(Map.Entry::getKey, Policy::addGeneratedStates)); 518 b.get(i.getValue()).add(i.getKey()); 527 if (hasFlag(policy.dpc(), entry.getKey() | CAN_BE_DELEGATED)) { 560 annotations.addAll(annotation.getKey().apply(enterprisePolicyAnnotation)); 565 .addAll(annotation.getKey().apply(enterprisePolicyAnnotation)); 617 annotations.addAll(annotation.getKey().apply(enterprisePolicy)); 708 annotations.addAll(annotation.getKey().apply(enterprisePolicy)); 739 if ((appliedByFlag.getKey() 747 if (hasFlag(appliedByFlag.getKey(), 752 if ((appliedByFlag.getKey() & allFlags) == 0) { [all …]
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | StableUrisTest.java | 247 final Bundle originalAttributes = fileToAttributesMapBeforeRestore.get(entry.getKey()); in verifyAttributes() 257 .get(entry.getKey()).getString(attribute); in verifyAttributes() 282 fileToAttributes.put(entry.getKey(), attributes); in setAttributes() 284 entry.getKey(), attributes)); in setAttributes()
|