Home
last modified time | relevance | path

Searched refs:TEST_KEY (Results 1 – 13 of 13) sorted by relevance

/cts/tests/app/src/android/app/cts/
DPersonTest.java29 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/
DMediaRoute2InfoTest.java61 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()
DRoutingSessionInfoTest.java58 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()
DMediaSessionTest.java71 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()
DMediaController2Test.java74 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()
DMediaRoute2ProviderServiceTest.java86 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()
DMediaRouter2Test.java93 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()
DMediaSession2Test.java70 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/
DTestCertificates.java69 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/
DCertInstallDelegateTest.java23 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/
DTvInputInfoTest.java198 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/
DDirectDelegatedCertInstallerTest.java21 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/
DDelegatedCertInstallerTest.java175 installKeyPair(TestCertificates.TEST_KEY, TestCertificates.TEST_CERT, alias); in testInstallKeyPair()
184 installKeyPair(TestCertificates.TEST_KEY, TestCertificates.TEST_CERT, alias); in testInstallKeyPair()