Home
last modified time | relevance | path

Searched refs:TEST_KEY (Results 1 – 8 of 8) 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/
DMediaSessionTest.java62 private static final String TEST_KEY = "test-key"; field in MediaSessionTest
138 extras.putString(TEST_KEY, TEST_VALUE); in testConfigureSession()
147 assertEquals(TEST_VALUE, extrasOut.get(TEST_KEY)); in testConfigureSession()
151 assertEquals(TEST_VALUE, extrasOut.get(TEST_KEY)); in testConfigureSession()
160 new MediaMetadata.Builder().putString(TEST_KEY, TEST_VALUE).build(); in testConfigureSession()
169 assertEquals(TEST_VALUE, metadataOut.getString(TEST_KEY)); in testConfigureSession()
173 assertEquals(TEST_VALUE, metadataOut.getString(TEST_KEY)); in testConfigureSession()
253 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()
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/tests/tests/tv/src/android/media/tv/cts/
DTvInputInfoTest.java193 final String TEST_KEY = "android.media.tv.cts.TEST_KEY"; in testBuilder() local
195 extras.putString(TEST_KEY, TEST_VALUE); in testBuilder()
202 assertEquals(TEST_VALUE, updatedInfo.getExtras().getString(TEST_KEY)); in testBuilder()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java77 private static final String TEST_KEY = field in CertInstallDelegateTest
160 Base64.decode(TEST_KEY, Base64.DEFAULT)); in testCanAccessApis()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java111 private static final String TEST_KEY = field in DelegatedCertInstallerTest
242 installKeyPair(TEST_KEY, TEST_CERT, alias); in testInstallKeyPair()
251 installKeyPair(TEST_KEY, TEST_CERT, alias); in testInstallKeyPair()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DDirectDelegatedCertInstallerTest.java83 private static final String TEST_KEY = field in DirectDelegatedCertInstallerTest
170 Base64.decode(TEST_KEY, Base64.DEFAULT)); in testInstallKeyPair()