/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | MacTest.java | 238 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList() 256 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider() 265 assertSame(provider, mac.getProvider()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider() 274 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedForEmptyMessage() 296 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() 318 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() 341 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() 352 signingProvider = mac.getProvider(); in testMacGeneratedByHighestPriorityProviderVerifiesByAndroidKeyStore() 545 + ", provider: " + m.getProvider().getName() in assertMacVerifiesOneShot() 561 + ", provider: " + m.getProvider().getName() in assertMacDoesNotVerifyOneShot() [all …]
|
D | RSACipherTest.java | 74 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() 108 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() 137 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() 166 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() 197 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() 230 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingDecryptionFailsWithCiphertextOneByteLongerThanModulus() 262 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingWithZeroMessage() 301 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testRsaOaepDecryptWithWrongMGF1DigestFails()
|
D | ECDSASignatureTest.java | 98 assertSame(Security.getProvider(SignatureTest.EXPECTED_PROVIDER_NAME), in assertNONEwithECDSATruncatesInputToFieldSize() 99 signature.getProvider()); in assertNONEwithECDSATruncatesInputToFieldSize() 103 signature = Signature.getInstance(signature.getAlgorithm(), signature.getProvider()); in assertNONEwithECDSATruncatesInputToFieldSize() 251 assertSame(Security.getProvider(SignatureTest.EXPECTED_PROVIDER_NAME), in assertNONEwithECDSASupportsMessagesShorterThanFieldSize() 252 signature.getProvider()); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize() 256 signature = Signature.getInstance(signature.getAlgorithm(), signature.getProvider()); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
|
D | SignatureTest.java | 363 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList() 394 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() 401 assertSame(provider, signature.getProvider()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() 411 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying() 427 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testValidSignatureGeneratedForEmptyMessage() 457 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testValidSignatureGeneratedForEmptyMessageByLimitedUseKey() 514 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEmptySignatureDoesNotVerify() 538 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testSignatureGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() 570 Provider keystoreProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() 595 verificationProvider = signature.getProvider(); in testSignatureGeneratedByAndroidKeyStoreVerifiesByHighestPriorityProvider() [all …]
|
D | CipherTest.java | 364 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList() 383 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() 402 assertSame(provider, cipher.getProvider()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() 411 assertSame(provider, cipher.getProvider()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenDecrypting() 421 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenEncrypting() 447 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEmptyPlaintextEncryptsAndDecrypts() 499 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEncryptsAndDecryptsInterrupted() 551 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEncryptsAndDecryptsUsingCipherStreams() 672 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() 818 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore() [all …]
|
D | KeyStoreTest.java | 209 assertEquals(provider, ks.getProvider()); in keyStores() 229 return (!(ks.getType().equals("PKCS12") && ks.getProvider().getName().equals("SunJSSE"))); in isCertificateEnabled() 243 return (StandardNames.IS_RI && ks.getProvider().getName().equals("BC")) in isUnsupported() 261 return (ks.getType().equals("PKCS12") && ks.getProvider().getName().equals("BC")); in isKeyPasswordIgnored() 266 return (ks.getType().equals("PKCS12") && ks.getProvider().getName().equals("BC")); in isLoadStoreParameterSupported() 281 return (ks.getProvider().getName().equals("BC")); in isSetKeyByteArrayUnimplemented() 488 assertEquals(provider, ks.getProvider()); in test_KeyStore_create() 527 Provider provider = Security.getProvider(providerName); in test_KeyStore_getInstance() 558 assertNotNull(ks.getProvider()); in test_KeyStore_getProvider() 559 assertNotNull(StandardNames.SECURITY_PROVIDER_NAME, ks.getProvider().getName()); in test_KeyStore_getProvider() [all …]
|
D | RSASignatureTest.java | 72 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMaxMessageSizeWhenNoDigestUsed() 125 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testSmallKeyRejected()
|
D | SecretKeyFactoryTest.java | 80 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
|
D | KeyFactoryTest.java | 92 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
|
D | BlockCipherTestBase.java | 153 Provider expectedProvider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testGetProvider() 154 assertSame(expectedProvider, mCipher.getProvider()); in testGetProvider()
|
D | KeyGeneratorTest.java | 117 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList()
|
/cts/tests/location/common/src/android/location/cts/common/ |
D | TestLocationManager.java | 139 if (mLocationManager.getProvider(LocationManager.GPS_PROVIDER) != null) { in requestLowPowerModeGnssLocationUpdates() 166 if (mLocationManager.getProvider(LocationManager.GPS_PROVIDER) != null) { in requestLocationUpdates() 192 if (mLocationManager.getProvider(LocationManager.NETWORK_PROVIDER) != null) { in requestNetworkLocationUpdates() 210 if (mLocationManager.getProvider(LocationManager.PASSIVE_PROVIDER) != null) { in requestPassiveLocationUpdates()
|
/cts/tests/tests/keystore/src/android/keystore/cts/performance/ |
D | PerformanceTestBase.java | 194 return mGenerator.getProvider() + "/" + Build.CPU_ABI; in getEnvironment() 292 this(algorithm, KeyGenerator.getInstance("AES").getProvider().getName()); in KeystoreKeyGenerator() 299 String getProvider() { in getProvider() method in PerformanceTestBase.KeystoreKeyGenerator 335 mKeyStore = KeyStore.getInstance(getProvider()); in AndroidKeystoreKeyGenerator()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothHidDeviceAppSdpSettingsTest.java | 39 assertEquals(provider, settings.getProvider()); in testGetters()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | AppWidgetProviderCallbacks.java | 28 public final AppWidgetProvider getProvider() { in getProvider() method in AppWidgetProviderCallbacks
|
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
D | SimpleAppWidgetHostService.java | 94 AppWidgetProviderInfo info = mAppWidgetHost.getProvider(params); in handleMessage() 218 public AppWidgetProviderInfo getProvider(Bundle params) throws InterruptedException { in getProvider() method in SimpleAppWidgetHostService.SimpleAppWidgetHost
|
/cts/tests/location/location_privileged/src/android/location/cts/privileged/ |
D | GnssLocationValuesTest.java | 158 assertEquals("gps", location.getProvider()); in checkLocationRegularFields()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/ |
D | GnssLocationValuesTest.java | 193 assertEquals("gps", location.getProvider()); in checkLocationRegularFields()
|
D | GnssLocationUpdateIntervalTest.java | 261 if (!location.getProvider().equals(LocationManager.GPS_PROVIDER)) { in getTimeBetweenFixes()
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | LocationTest.java | 46 assertThat(l.getProvider()).isEqualTo("provider"); in testConstructor_Defaults() 96 assertThat(l.getProvider()).isEqualTo("test"); in testValues()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | SearchRecentSuggestionsTest.java | 42 mTestSRSProvider = getProvider(); in setUp()
|
/cts/tests/app/src/android/app/cts/ |
D | SystemFeaturesTest.java | 305 if (mLocationManager.getProvider(LocationManager.GPS_PROVIDER) != null) { in testLocationFeatures() 312 if (mLocationManager.getProvider(LocationManager.NETWORK_PROVIDER) != null) { in testLocationFeatures()
|
/cts/tests/location/location_coarse/src/android/location/cts/coarse/ |
D | LocationManagerCoarseTest.java | 254 if (mManager.getProvider(FUSED_PROVIDER) != null) { in testGetBestProvider()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | LocationManagerFineTest.java | 1347 LocationProvider provider = mManager.getProvider(TEST_PROVIDER); in testGetProvider() 1351 provider = mManager.getProvider(LocationManager.GPS_PROVIDER); in testGetProvider() 1359 assertThat(mManager.getProvider("fake")).isNull(); in testGetProvider() 1362 mManager.getProvider(null); in testGetProvider()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | GeolocationTest.java | 222 LocationProvider provider = mLocationManager.getProvider(providerName); in addTestProviders()
|