/cts/tests/app/src/android/app/cts/ |
D | PersonTest.java | 29 private static final String TEST_KEY = "test key"; field in PersonTest 38 .setKey(TEST_KEY) in testPerson_builder() 46 assertEquals(TEST_KEY, person.getKey()); in testPerson_builder() 68 .setKey(TEST_KEY) in testToBuilder() 77 assertEquals(TEST_KEY, result.getKey()); in testToBuilder() 111 .setKey(TEST_KEY) in testEquals() 125 .setKey(TEST_KEY) in testEquals_noIcon() 141 .setKey(TEST_KEY) in testEquals_different()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaRoute2InfoTest.java | 61 public static final String TEST_KEY = "test_key"; field in MediaRoute2InfoTest 111 extras.putString(TEST_KEY, TEST_VALUE); in testBuilderAndGettersOfMediaRoute2Info() 143 assertTrue(extrasOut.containsKey(TEST_KEY)); in testBuilderAndGettersOfMediaRoute2Info() 144 assertEquals(TEST_VALUE, extrasOut.getString(TEST_KEY)); in testBuilderAndGettersOfMediaRoute2Info() 187 extras.putString(TEST_KEY, TEST_VALUE); in testEqualsCreatedWithSameArguments() 222 extras.putString(TEST_KEY, TEST_VALUE); in testEqualsCreatedWithBuilderCopyConstructor() 246 extras.putString(TEST_KEY, TEST_VALUE); in testEqualsReturnFalse() 292 extras.putString(TEST_KEY, TEST_VALUE); in testParcelingAndUnParceling() 318 assertTrue(extrasOut.containsKey(TEST_KEY)); in testParcelingAndUnParceling() 319 assertEquals(TEST_VALUE, extrasOut.getString(TEST_KEY)); in testParcelingAndUnParceling()
|
D | RoutingSessionInfoTest.java | 58 public static final String TEST_KEY = "test_key"; field in RoutingSessionInfoTest 173 controlHints.putString(TEST_KEY, TEST_VALUE); in testBuilderAndGettersOfRoutingSessionInfo() 218 assertTrue(controlHintsOut.containsKey(TEST_KEY)); in testBuilderAndGettersOfRoutingSessionInfo() 219 assertEquals(TEST_VALUE, controlHintsOut.getString(TEST_KEY)); in testBuilderAndGettersOfRoutingSessionInfo() 391 controlHints.putString(TEST_KEY, TEST_VALUE); in testEqualsCreatedWithSameArguments() 434 controlHints.putString(TEST_KEY, TEST_VALUE); in testEqualsCreatedWithBuilderCopyConstructor() 462 controlHints.putString(TEST_KEY, TEST_VALUE); in testEqualsReturnFalse() 539 controlHints.putString(TEST_KEY, TEST_VALUE); in testParcelingAndUnParceling() 569 assertTrue(controlHintsOut.containsKey(TEST_KEY)); in testParcelingAndUnParceling() 570 assertEquals(TEST_VALUE, controlHintsOut.getString(TEST_KEY)); in testParcelingAndUnParceling()
|
D | MediaSessionTest.java | 71 private static final String TEST_KEY = "test-key"; field in MediaSessionTest 178 extras.putString(TEST_KEY, TEST_VALUE); in testConfigureSession() 187 assertEquals(TEST_VALUE, extrasOut.get(TEST_KEY)); in testConfigureSession() 191 assertEquals(TEST_VALUE, extrasOut.get(TEST_KEY)); in testConfigureSession() 200 new MediaMetadata.Builder().putString(TEST_KEY, TEST_VALUE).build(); in testConfigureSession() 209 assertEquals(TEST_VALUE, metadataOut.getString(TEST_KEY)); in testConfigureSession() 213 assertEquals(TEST_VALUE, metadataOut.getString(TEST_KEY)); in testConfigureSession() 294 assertEquals(TEST_VALUE, mCallback.mExtras.getString(TEST_KEY)); in testConfigureSession()
|
D | MediaController2Test.java | 74 private static final String TEST_KEY = "test_key"; field in MediaController2Test 133 mExtras.putString(TEST_KEY, TEST_VALUE); in setUp() 276 assertEquals(TEST_VALUE, extrasFromConnectedSessionToken.getString(TEST_KEY)); in testGetConnectedToken()
|
D | MediaRoute2ProviderServiceTest.java | 86 public static final String TEST_KEY = "test_key"; field in MediaRoute2ProviderServiceTest 293 sessionHints.putString(TEST_KEY, TEST_VALUE); in testSessionRelatedCallbacks() 310 assertTrue(sessionHints.containsKey(TEST_KEY)); in testSessionRelatedCallbacks() 311 assertEquals(TEST_VALUE, sessionHints.getString(TEST_KEY)); in testSessionRelatedCallbacks()
|
D | MediaRouter2Test.java | 93 private static final String TEST_KEY = "test_key"; field in MediaRouter2Test 397 controllerHints.putString(TEST_KEY, TEST_VALUE); in testSetOnGetControllerHintsListener() 416 assertTrue(controlHints.containsKey(TEST_KEY)); in testSetOnGetControllerHintsListener() 417 assertEquals(TEST_VALUE, controlHints.getString(TEST_KEY)); in testSetOnGetControllerHintsListener()
|
D | MediaSession2Test.java | 70 private static final String TEST_KEY = "test_key"; field in MediaSession2Test 285 extras.putString(TEST_KEY, TEST_VALUE); in testSession2Token_writeToParcel() 305 assertEquals(TEST_VALUE, extrasOut.getString(TEST_KEY)); in testSession2Token_writeToParcel()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | TestCertificates.java | 69 public static final String TEST_KEY = field in TestCertificates 114 return rsaKeyFromString(TEST_KEY); in getTestKey()
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | CertInstallDelegateTest.java | 23 import static com.android.cts.devicepolicy.TestCertificates.TEST_KEY; 82 Base64.decode(TEST_KEY, Base64.DEFAULT)); in testCanAccessApis()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputInfoTest.java | 198 final String TEST_KEY = "android.media.tv.cts.TEST_KEY"; in testBuilder() local 200 extras.putString(TEST_KEY, TEST_VALUE); in testBuilder() 208 assertEquals(TEST_VALUE, updatedInfo.getExtras().getString(TEST_KEY)); in testBuilder()
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | DirectDelegatedCertInstallerTest.java | 21 import static com.android.cts.devicepolicy.TestCertificates.TEST_KEY; 80 mTestPrivateKey = rsaKeyFromString(TEST_KEY); in setUp()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerTest.java | 175 installKeyPair(TestCertificates.TEST_KEY, TestCertificates.TEST_CERT, alias); in testInstallKeyPair() 184 installKeyPair(TestCertificates.TEST_KEY, TestCertificates.TEST_CERT, alias); in testInstallKeyPair()
|