/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyStoreTest.java | 538 keyStore.getKey(null, null); in test_KeyStore_getKey() 549 keyStore.getKey(null, null); in test_KeyStore_getKey() 558 keyStore.getKey(null, PASSWORD_KEY); in test_KeyStore_getKey() 567 assertNull(keyStore.getKey("", null)); in test_KeyStore_getKey() 568 assertNull(keyStore.getKey("", PASSWORD_KEY)); in test_KeyStore_getKey() 572 assertNull(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY)); in test_KeyStore_getKey() 575 assertPrivateKey(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY)); in test_KeyStore_getKey() 578 assertPrivateKey(keyStore.getKey(ALIAS_NO_PASSWORD_PRIVATE, null)); in test_KeyStore_getKey() 581 assertSecretKey(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY)); in test_KeyStore_getKey() 583 assertNull(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY)); in test_KeyStore_getKey() [all …]
|
D | BlockCipherTestBase.java | 318 init(Cipher.DECRYPT_MODE, getKey()); in testInitRequiresIvInDecryptMode() 324 init(Cipher.DECRYPT_MODE, getKey(), (SecureRandom) null); in testInitRequiresIvInDecryptMode() 330 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameterSpec) null, null); in testInitRequiresIvInDecryptMode() 336 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameterSpec) null, null); in testInitRequiresIvInDecryptMode() 342 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameters) null, null); in testInitRequiresIvInDecryptMode() 348 init(Cipher.DECRYPT_MODE, getKey(), (AlgorithmParameters) null, null); in testInitRequiresIvInDecryptMode() 373 SecretKey key = getKey(); in testIvGeneratedAndUsedWhenEncryptingWithoutExplicitIv() 406 init(Cipher.ENCRYPT_MODE, getKey()); in testGeneratedIvSurvivesReset() 427 init(Cipher.ENCRYPT_MODE, getKey(), generatedParams); in testGeneratedIvSurvivesReset() 438 init(Cipher.ENCRYPT_MODE, getKey()); in testGeneratedIvDoesNotSurviveReinitialization() [all …]
|
D | AndroidKeyStoreTest.java | 1176 Key key = mKeyStore.getKey(TEST_ALIAS_1, null); in testKeyStore_GetKey_NoPassword_Unencrypted_Success() 1197 assertNull("Certificate entries should return null", mKeyStore.getKey(TEST_ALIAS_1, null)); in testKeyStore_GetKey_Certificate_Unencrypted_Failure() 1203 assertNull("A non-existent entry should return null", mKeyStore.getKey(TEST_ALIAS_1, null)); in testKeyStore_GetKey_NonExistent_Unencrypted_Failure() 1750 Key key = mKeyStore.getKey(TEST_ALIAS_1, null); in testKeyStore_SetKeyEntry_ReplacedChain_Unencrypted_Success() 1784 Key key1 = mKeyStore.getKey(TEST_ALIAS_2, null); in testKeyStore_SetKeyEntry_ReplacedChain_DifferentPrivateKey_Unencrypted_Failure() 1944 PrivateKey privateKey = (PrivateKey) ks.getKey(alias, null); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() 2102 PrivateKey keystorePrivateKey2 = (PrivateKey) mKeyStore.getKey(entryName2, null); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2103 PrivateKey keystorePrivateKey1 = (PrivateKey) mKeyStore.getKey(entryName1, null); in testKeyStore_LargeNumberOfKeysSupported_RSA() 2200 PrivateKey keystorePrivateKey2 = (PrivateKey) mKeyStore.getKey(entryName2, null); in testKeyStore_LargeNumberOfKeysSupported_EC() 2201 PrivateKey keystorePrivateKey1 = (PrivateKey) mKeyStore.getKey(entryName1, null); in testKeyStore_LargeNumberOfKeysSupported_EC() [all …]
|
D | TestUtils.java | 272 Integer expectedCount = expectedFreq.get(actualEntry.getKey()); in assertContentsInAnyOrder() 275 extraneousFreq.put(actualEntry.getKey(), diff); in assertContentsInAnyOrder() 282 Integer actualCount = actualFreq.get(expectedEntry.getKey()); in assertContentsInAnyOrder() 285 missingFreq.put(expectedEntry.getKey(), diff); in assertContentsInAnyOrder() 344 T value = entry.getKey(); in frequencyTableToValues() 414 (PrivateKey) keyStore.getKey(alias, null)); in importIntoAndroidKeyStore() 426 return new ImportedKey(alias, key, (SecretKey) keyStore.getKey(alias, null)); in importIntoAndroidKeyStore()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | AnnotationTest.java | 61 assertEquals(KEY1, mAnnotation.getKey()); in testGetKey() 63 assertEquals(KEY2, mAnnotation.getKey()); in testGetKey() 81 assertEquals(out.getKey(), mAnnotation.getKey()); in testWriteToParcel()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarUiProviderTest.java | 137 loadedClass.getDeclaredMethod(method.getKey(), method.getValue()); in checkCompatibilityApi() 139 missingApis.add(method.getKey()); in checkCompatibilityApi()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorStats.java | 126 String key = statsEntry.getKey() + DELIMITER + valueEntry.getKey(); in flatten()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | KeyListenerTestCase.java | 61 protected static KeyEvent getKey(int keycode, int metaState) { in getKey() method in KeyListenerTestCase
|
D | BaseKeyListenerTest.java | 56 final KeyEvent event = getKey(KeyEvent.KEYCODE_DEL, modifiers); in verifyBackspace() 566 final KeyEvent delKeyEvent = getKey(KeyEvent.KEYCODE_DEL, in executeAltBackspace() 572 final KeyEvent delKeyEvent = getKey(KeyEvent.KEYCODE_DEL, in executeCtrlBackspace() 578 final KeyEvent delKeyEvent = getKey(KeyEvent.KEYCODE_FORWARD_DEL, in executeCtrlForwardDelete()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | NotificationTest.java | 42 if (record.getKey().contains("android")) { in testNotificationRecords()
|
D | ProtoDumpTestCase.java | 139 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | VintfDeviceInfo.java | 60 store.addResult("version", e.getKey()); in collectDeviceInfo()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | IsolatedService.java | 47 cachedServices.add(serviceEntry.getKey()); in getServicesCachedInServiceManager()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/ |
D | TestRunHandler.java | 84 sb.append(String.format("%s%s%d\n", entry.getKey(), MAP_DELIMITER, entry.getValue())); in mapToString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 279 mNotifications.put(sbn.getKey(), notification); in onNotificationPosted() 280 mNotificationKeys.put(sbn.getTag(), sbn.getKey()); in onNotificationPosted() 291 mNotifications.remove(sbn.getKey()); in onNotificationRemoved() 308 mNotifications.remove(sbn.getKey()); in onNotificationRemoved()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | ArrayMapTest.java | 173 Object gotValue = array.get(entry.getKey()); in compareMaps() 176 + " at key " + entry.getKey()); in compareMaps() 245 Object value = entry.getKey(); in validateArrayMap() 320 Log.e("test", " " + entry.getKey() + " -> " + entry.getValue()); in dump() 582 return entryOf(entry.getKey(), entry.getValue());
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | BaseShortcutManagerHostTest.java | 147 testRunner.addInstrumentationArg(param.getKey(), param.getValue()); in runDeviceTestsAsUser() 170 final String message = "Test " + testEntry.getKey() + ": " + testResult.getStatus(); in printTestResult()
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceTest.java | 116 String key = mPreference.getKey(); in testGetKey() 128 assertEquals(key, mPreference.getKey()); in testSetKey()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | MultipartForm.java | 135 writeFormField(writer, formValue.getKey(), formValue.getValue()); in getContentBody()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | ReportProcessor.java | 141 instrTest.addInstrumentationArg(e.getKey(), e.getValue()); in runDeviceTest()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/suite/ |
D | ModuleRepoSuite.java | 111 config.injectOptionValue(entry.getKey(), value); in loadConfigs() 124 config.injectOptionValue(entry.getKey(), value); in loadConfigs()
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | DeviceInfoCollector.java | 102 entry.getKey(), nullToEmpty(device.getProperty(entry.getValue()))); in setUp()
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | ValidateTestsAbi.java | 111 fail(String.format("apk %s only has %s abi when it should have %s", apk.getKey(), in testApksAbis()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 138 errorMessage.append("\n\n=== "). append(failureEntry.getKey()).append(" ===\n"); in extractException()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | ScreenLockBoundKeysTest.java | 146 SecretKey secretKey = (SecretKey) keyStore.getKey(KEY_NAME, null); in tryEncrypt()
|