/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | DESedeCipherTestBase.java | 42 if (TestUtils.supports3DES()) { in testGetProvider() 49 if (TestUtils.supports3DES()) { in testGetAlgorithm() 56 if (TestUtils.supports3DES()) { in testGetBlockSize() 63 if (TestUtils.supports3DES()) { in testGetExemptionMechanism() 70 if (TestUtils.supports3DES()) { in testUpdateCopySafe() 77 if (TestUtils.supports3DES()) { in testUpdateAndDoFinalNotSupportedInWrapAndUnwrapModes() 84 if (TestUtils.supports3DES()) { in testKeyDoesNotSurviveReinitialization() 91 if (TestUtils.supports3DES()) { in testKatOneShotEncryptUsingDoFinal() 98 if (TestUtils.supports3DES()) { in testKatOneShotDecryptUsingDoFinal() 105 if (TestUtils.supports3DES()) { in testKatEncryptOneByteAtATime() [all …]
|
D | CipherTest.java | 70 private static final String EXPECTED_PROVIDER_NAME = TestUtils.EXPECTED_CRYPTO_OP_PROVIDER_NAME; 97 if (TestUtils.supports3DES()) { 253 private static final long DAY_IN_MILLIS = TestUtils.DAY_IN_MILLIS; 308 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList() 316 TestUtils.assertContentsInAnyOrder(actualAlgsLowerCase, in testAlgorithmList() 408 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testEmptyPlaintextEncryptsAndDecrypts() 409 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEmptyPlaintextEncryptsAndDecrypts() 495 … int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() 496 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() 549 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore() [all …]
|
D | KeyGeneratorTest.java | 49 private static final String EXPECTED_PROVIDER_NAME = TestUtils.EXPECTED_PROVIDER_NAME; 61 if (TestUtils.supports3DES()) { 91 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList() 99 TestUtils.assertContentsInAnyOrder(actualAlgsLowerCase, in testAlgorithmList() 217 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testDefaultKeySize() 233 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes() 236 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes() 243 if (TestUtils.contains(AES_SUPPORTED_KEY_SIZES, i)) { in testAesKeySupportedSizes() 246 assertEquals(i, TestUtils.getKeyInfo(key).getKeySize()); in testAesKeySupportedSizes() 264 if (!TestUtils.isHmacAlgorithm(algorithm)) { in testHmacKeySupportedSizes() [all …]
|
D | RSASignatureTest.java | 47 String keyAlgorithm = TestUtils.getSignatureAlgorithmKeyAlgorithm(algorithm); 112 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); in testSmallKeyRejected() 118 int digestOutputSizeBits = TestUtils.getDigestOutputSizeBits(digest); in testSmallKeyRejected() 124 KeyPair keyPair = TestUtils.importIntoAndroidKeyStore("test1", in testSmallKeyRejected() 128 TestUtils.getMinimalWorkingImportParametersForSigningingWith(algorithm)) in testSmallKeyRejected() 153 TestUtils.getMinimalWorkingImportParametersForSigningingWith(signatureAlgorithm); in importKatKeyPairs() 160 TestUtils.importIntoAndroidKeyStore("testRSA512", context, in importKatKeyPairs() 162 TestUtils.importIntoAndroidKeyStore("testRSA768", context, in importKatKeyPairs() 164 TestUtils.importIntoAndroidKeyStore("testRSA1024", context, in importKatKeyPairs() 166 TestUtils.importIntoAndroidKeyStore("testRSA2048", context, in importKatKeyPairs() [all …]
|
D | SecretKeyFactoryTest.java | 47 private static final String EXPECTED_PROVIDER_NAME = TestUtils.EXPECTED_PROVIDER_NAME; 59 if (TestUtils.supports3DES()) { 75 Arrays.asList(TestUtils.toLowerCase(EXPECTED_ALGORITHMS))); in testAlgorithmList() 83 TestUtils.assertContentsInAnyOrder(actualAlgsLowerCase, in testAlgorithmList() 89 Date keyValidityStart = new Date(System.currentTimeMillis() - TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 91 new Date(System.currentTimeMillis() + TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 93 new Date(System.currentTimeMillis() + 3 * TestUtils.DAY_IN_MILLIS); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 103 if (TestUtils.isHmacAlgorithm(algorithm)) { in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 104 String digest = TestUtils.getHmacAlgorithmDigest(algorithm); in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() 126 TestUtils.assertContentsInAnyOrder( in testGetKeySpecWithKeystoreKeyAndKeyInfoReflectsAllAuthorizations() [all …]
|
D | ECDSASignatureTest.java | 45 int keySizeBits = TestUtils.getKeySizeBits(keyPair.getPublic()); in assertNONEwithECDSATruncatesInputToFieldSize() 87 int keySizeBits = TestUtils.getKeySizeBits(keyPair.getPublic()); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize() 108 byte[] fullLengthMessage = TestUtils.leftPadWithZeroBytes(message, keySizeBits / 8); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize() 116 TestUtils.getMinimalWorkingImportParametersForSigningingWith(signatureAlgorithm); in importKatKeyPairs() 123 TestUtils.importIntoAndroidKeyStore("testECsecp224r1", context, in importKatKeyPairs() 125 TestUtils.importIntoAndroidKeyStore("testECsecp256r1", context, in importKatKeyPairs() 127 TestUtils.importIntoAndroidKeyStore("testECsecp384r1", context, in importKatKeyPairs() 129 TestUtils.importIntoAndroidKeyStore("testECsecp521r1", context, in importKatKeyPairs()
|
D | RSACipherTest.java | 36 private static final String EXPECTED_PROVIDER_NAME = TestUtils.EXPECTED_CRYPTO_OP_PROVIDER_NAME; 44 TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() 57 byte[] expectedOutput = TestUtils.leftPadWithZeroBytes(input, modulusSizeBytes); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() 77 TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() 88 TestUtils.getBigIntegerMagnitudeBytes(modulus.subtract(BigInteger.ONE)); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() 105 TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() 114 byte[] plaintext = TestUtils.getBigIntegerMagnitudeBytes(modulus); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() 133 TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() 143 TestUtils.getBigIntegerMagnitudeBytes(modulus.add(BigInteger.ONE)); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() 163 TestUtils.getMinimalWorkingImportParametersForCipheringWith( in testNoPaddingEncryptionFailsWithPlaintextOneByteLongerThanModulus() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | SelfManagedConnectionServiceTest.java | 34 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS; 35 import static android.telecom.cts.TestUtils.waitOnAllHandlers; 47 private Uri TEST_ADDRESS_4 = Uri.fromParts(TestUtils.TEST_URI_SCHEME, "fizzle_schmozle", null); 58 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_1); in setUp() 59 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_2); in setUp() 60 mTelecomManager.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_3); in setUp() 72 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_1); in tearDown() 73 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_2); in tearDown() 74 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_3); in tearDown() 90 assertTrue(phoneAccountHandles.contains(TestUtils.TEST_SELF_MANAGED_HANDLE_1)); in testTelecomManagerGetSelfManagedPhoneAccounts() [all …]
|
D | DefaultDialerOperationsTest.java | 47 if (!TestUtils.shouldTestTelecom(mContext)) { in setUp() 50 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 53 mSystemDialer = TestUtils.getSystemDialer(getInstrumentation()); in setUp() 55 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in setUp() 69 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 75 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetDefaultDialerPackage() 79 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testGetDefaultDialerPackage() 80 assertEquals(TestUtils.PACKAGE, mTelecomManager.getDefaultDialerPackage()); in testGetDefaultDialerPackage() 84 if (!TestUtils.shouldTestTelecom(mContext)) { in testVoicemailReadWritePermissions() 110 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testVoicemailReadWritePermissions() [all …]
|
D | RttOperationsTest.java | 66 TestUtils.waitOnAllHandlers(getInstrumentation()); in testOutgoingRttCall() 80 TestUtils.waitOnAllHandlers(getInstrumentation()); in testIncomingRttCall() 95 TestUtils.InvokeCounter startRttCounter = in testLocalRttUpgradeAccepted() 98 startRttCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testLocalRttUpgradeAccepted() 104 TestUtils.waitOnAllHandlers(getInstrumentation()); in testLocalRttUpgradeAccepted() 119 TestUtils.InvokeCounter startRttCounter = in testLocalRttUpgradeRejected() 122 startRttCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testLocalRttUpgradeRejected() 125 TestUtils.waitOnAllHandlers(getInstrumentation()); in testLocalRttUpgradeRejected() 126 mOnRttInitiationFailedCounter.waitForCount(1, TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS); in testLocalRttUpgradeRejected() 143 TestUtils.InvokeCounter rttRequestResponseCounter = in testAcceptRemoteRttUpgrade() [all …]
|
D | SimCallManagerTest.java | 19 import static android.telecom.cts.TestUtils.ACCOUNT_ID; 20 import static android.telecom.cts.TestUtils.ACCOUNT_LABEL; 21 import static android.telecom.cts.TestUtils.COMPONENT; 22 import static android.telecom.cts.TestUtils.PACKAGE; 65 if (!TestUtils.shouldTestTelecom(mContext)) { in setUp() 68 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 71 mSystemDialer = TestUtils.getSystemDialer(getInstrumentation()); in setUp() 73 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in setUp() 83 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 89 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetSimCallManager() [all …]
|
D | HandoverTest.java | 19 import static android.telecom.cts.TestUtils.TEST_HANDOVER_DEST_PHONE_ACCOUNT_HANDLE; 20 import static android.telecom.cts.TestUtils.TEST_HANDOVER_SRC_PHONE_ACCOUNT_HANDLE; 21 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS; 43 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDOVER_SRC); in setUp() 44 TestUtils.enablePhoneAccount(getInstrumentation(), in setUp() 45 TestUtils.TEST_HANDOVER_SRC_PHONE_ACCOUNT_HANDLE); in setUp() 46 assertPhoneAccountEnabled(TestUtils.TEST_HANDOVER_SRC_PHONE_ACCOUNT_HANDLE); in setUp() 49 mTelecomManager.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDOVER_DEST); in setUp() 61 TestUtils.TEST_HANDOVER_SRC_PHONE_ACCOUNT_HANDLE); in tearDown() 63 TestUtils.TEST_HANDOVER_DEST_PHONE_ACCOUNT_HANDLE); in tearDown() [all …]
|
D | CallScreeningServiceTest.java | 19 import static android.telecom.cts.TestUtils.shouldTestTelecom; 46 new ComponentName(TestUtils.PACKAGE, TestUtils.COMPONENT), 47 TestUtils.ACCOUNT_ID); 50 TEST_PHONE_ACCOUNT_HANDLE, TestUtils.ACCOUNT_LABEL) 69 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 70 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in setUp() 79 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 102 if (callbacks.lock.tryAcquire(TestUtils.WAIT_FOR_CALL_ADDED_TIMEOUT_S, in testTelephonyCall_bindsToCallScreeningService() 142 TestUtils.enablePhoneAccount(getInstrumentation(), TEST_PHONE_ACCOUNT_HANDLE); 161 TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS,
|
D | BaseTelecomTestWithMockServices.java | 19 import static android.telecom.cts.TestUtils.PACKAGE; 20 import static android.telecom.cts.TestUtils.TAG; 21 import static android.telecom.cts.TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS; 72 TestUtils.InvokeCounter mOnBringToForegroundCounter; 73 TestUtils.InvokeCounter mOnCallAudioStateChangedCounter; 74 TestUtils.InvokeCounter mOnPostDialWaitCounter; 75 TestUtils.InvokeCounter mOnCannedTextResponsesLoadedCounter; 76 TestUtils.InvokeCounter mOnSilenceRingerCounter; 77 TestUtils.InvokeCounter mOnConnectionEventCounter; 78 TestUtils.InvokeCounter mOnExtrasChangedCounter; [all …]
|
D | BasicInCallServiceTest.java | 19 import static android.telecom.cts.TestUtils.shouldTestTelecom; 47 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 48 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in setUp() 54 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 80 if (callbacks.lock.tryAcquire(TestUtils.WAIT_FOR_CALL_ADDED_TIMEOUT_S, in testTelephonyCall_bindsToInCallServiceAndAddsCall()
|
D | CallTest.java | 117 if (!TestUtils.HAS_BLUETOOTH) return; in testCallAudioState() 121 TestUtils.BLUETOOTH_DEVICE1, in testCallAudioState() 122 Arrays.asList(TestUtils.BLUETOOTH_DEVICE1, TestUtils.BLUETOOTH_DEVICE2)); in testCallAudioState() 123 assertEquals(TestUtils.BLUETOOTH_DEVICE1, cas.getActiveBluetoothDevice()); in testCallAudioState() 125 assertTrue(cas.getSupportedBluetoothDevices().contains(TestUtils.BLUETOOTH_DEVICE1)); in testCallAudioState() 126 assertTrue(cas.getSupportedBluetoothDevices().contains(TestUtils.BLUETOOTH_DEVICE2)); in testCallAudioState()
|
D | CtsSelfManagedConnectionService.java | 68 private TestUtils.InvokeCounter mOnCreateIncomingHandoverConnectionCounter = 69 new TestUtils.InvokeCounter("incomingHandoverConnection"); 70 private TestUtils.InvokeCounter mOnCreateOutgoingHandoverConnectionCounter = 71 new TestUtils.InvokeCounter("outgoingHandoverConnection"); 202 mLocks[lock] = TestUtils.waitForLock(mLocks[lock]); in waitForUpdate() 211 return TestUtils.waitForLatchCountDown(sBindingLock); in waitForBinding() 214 public TestUtils.InvokeCounter getOnCreateIncomingHandoverConnectionCounter() { in getOnCreateIncomingHandoverConnectionCounter() 218 public TestUtils.InvokeCounter getOnCreateOutgoingHandoverConnectionCounter() { in getOnCreateOutgoingHandoverConnectionCounter()
|
D | PhoneAccountOperationsTest.java | 19 import static android.telecom.cts.TestUtils.*; 46 private TestUtils.InvokeCounter mPhoneAccountRegisteredLatch; 47 private TestUtils.InvokeCounter mPhoneAccountUnRegisteredLatch; 111 if (!TestUtils.shouldTestTelecom(mContext)) { in setUp() 115 mPhoneAccountRegisteredLatch = new TestUtils.InvokeCounter("registerPhoneAcct"); in setUp() 116 mPhoneAccountUnRegisteredLatch = new TestUtils.InvokeCounter("unRegisterPhoneAcct"); in setUp() 121 if (!TestUtils.shouldTestTelecom(mContext)) { in tearDown() 200 TestUtils.enablePhoneAccount(getInstrumentation(), TEST_PHONE_ACCOUNT_HANDLE); in testRegisterPhoneAccount_ListEnabledAccounts() 263 String previousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in testRegisterUnregisterPhoneAccountIntent() 265 TestUtils.setDefaultDialer(getInstrumentation(), TestUtils.PACKAGE); in testRegisterUnregisterPhoneAccountIntent() [all …]
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-cleartext-pre-P/src/android/security/net/config/cts/ |
D | CleartextPermittedTest.java | 26 TestUtils.assertCleartextConnectionSucceeds("example.com", 80); in testDefaultAllowed() 27 TestUtils.assertTlsConnectionSucceeds("example.com", 443); in testDefaultAllowed() 31 TestUtils.assertCleartextConnectionFails("android.com", 80); in testCleartextBlocked() 32 TestUtils.assertTlsConnectionSucceeds("android.com", 443); in testCleartextBlocked() 34 TestUtils.assertCleartextConnectionFails("www.android.com", 80); in testCleartextBlocked() 35 TestUtils.assertTlsConnectionSucceeds("www.android.com", 443); in testCleartextBlocked() 40 TestUtils.assertCleartextConnectionSucceeds("developer.android.com", 80); in testNestedCleartextPermitted() 41 TestUtils.assertTlsConnectionSucceeds("developer.android.com", 443); in testNestedCleartextPermitted()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-cleartext/src/android/security/net/config/cts/ |
D | CleartextPermittedTest.java | 26 TestUtils.assertCleartextConnectionFails("example.com", 80); in testDefaultDenied() 27 TestUtils.assertTlsConnectionSucceeds("example.com", 443); in testDefaultDenied() 31 TestUtils.assertCleartextConnectionSucceeds("android.com", 80); in testCleartextAllowed() 32 TestUtils.assertTlsConnectionSucceeds("android.com", 443); in testCleartextAllowed() 34 TestUtils.assertCleartextConnectionSucceeds("www.android.com", 80); in testCleartextAllowed() 35 TestUtils.assertTlsConnectionSucceeds("www.android.com", 443); in testCleartextAllowed() 40 TestUtils.assertCleartextConnectionFails("developer.android.com", 80); in testNestedCleartextDenied() 41 TestUtils.assertTlsConnectionSucceeds("developer.android.com", 443); in testNestedCleartextDenied()
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
D | DefaultDialerOperationsNoPermissionsTest.java | 37 if (!TestUtils.shouldTestTelecom(mContext)) { in setUp() 40 TestUtils.PACKAGE = mContext.getPackageName(); in setUp() 41 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 44 mSystemDialer = TestUtils.getSystemDialer(getInstrumentation()); in setUp() 46 TestUtils.setDefaultDialer(getInstrumentation(), mSystemDialer); in setUp() 56 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 62 if (!TestUtils.shouldTestTelecom(mContext)) { in testShowInCallScreenPermissions() 74 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetCallCapableAccountsPermissions() 86 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetDefaultOutgoingPhoneAccount() 98 if (!TestUtils.shouldTestTelecom(mContext)) { in testGetLine1Number() [all …]
|
/cts/tests/tests/telecom3/src/android/telecom/cts/ |
D | SelfManagedAwareInCallServiceTest.java | 30 import static android.telecom.cts.TestUtils.SELF_MANAGED_ACCOUNT_ID_1; 31 import static android.telecom.cts.TestUtils.SELF_MANAGED_ACCOUNT_LABEL; 32 import static android.telecom.cts.TestUtils.SELF_MANAGED_COMPONENT; 71 mShouldTestTelecom = TestUtils.shouldTestTelecom(context); in setUp() 73 mPreviousDefaultDialer = TestUtils.getDefaultDialer(getInstrumentation()); in setUp() 74 TestUtils.setDefaultDialer(getInstrumentation(), PACKAGE); in setUp() 78 TestUtils.waitOnAllHandlers(getInstrumentation()); in setUp() 89 TestUtils.setDefaultDialer(getInstrumentation(), mPreviousDefaultDialer); in tearDown() 119 TestUtils.placeOutgoingCall(getInstrumentation(), mTelecomManager, TEST_SELF_MANAGED_HANDLE, in testInCallServiceOutgoing() 122 SelfManagedConnection connection = TestUtils.waitForAndGetConnection(TEST_ADDRESS_1); in testInCallServiceOutgoing() [all …]
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-basic-domain/src/android/security/net/config/cts/ |
D | DomainConfigTest.java | 27 TestUtils.assertTlsConnectionSucceeds("android.com", 443); in testDomainConfig() 32 TestUtils.assertTlsConnectionFails("developer.android.com", 443); in testDefaultConfig() 33 TestUtils.assertTlsConnectionFails("example.com", 443); in testDefaultConfig() 37 X509TrustManager x509tm = TestUtils.getDefaultTrustManager(); in testHostnameAwareCheckServerTrustedRequired()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | ScanRecordTest.java | 43 ScanRecord data = TestUtils.parseScanRecord(scanRecord); in testParser() 57 TestUtils.assertArrayEquals(manufacturerData, in testParser() 59 TestUtils.assertArrayEquals(manufacturerData, data.getManufacturerSpecificData(0x00E0)); in testParser() 64 TestUtils.assertArrayEquals(serviceData, data.getServiceData().get(uuid2)); in testParser() 65 TestUtils.assertArrayEquals(serviceData, data.getServiceData(uuid2)); in testParser()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-invalid-pin/src/android/security/net/config/cts/ |
D | InvalidPinTest.java | 24 TestUtils.assertTlsConnectionFails("android.com", 443); in testPinFailure() 28 TestUtils.assertTlsConnectionSucceeds("example.com", 443); in testDefaultDomainUnaffected() 29 TestUtils.assertTlsConnectionSucceeds("developer.android.com", 443); in testDefaultDomainUnaffected()
|