Home
last modified time | relevance | path

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

/cts/tests/tests/notification/src/android/app/notification/current/cts/
DPersonTest.java40 private static final String TEST_KEY = "test key"; field in PersonTest
50 .setKey(TEST_KEY) in testPerson_builder()
58 assertEquals(TEST_KEY, person.getKey()); in testPerson_builder()
82 .setKey(TEST_KEY) in testToBuilder()
91 assertEquals(TEST_KEY, result.getKey()); in testToBuilder()
127 .setKey(TEST_KEY) in testEquals()
142 .setKey(TEST_KEY) in testEquals_noIcon()
159 .setKey(TEST_KEY) in testEquals_different()
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DCtsIsolatedInferenceService.java23 import static android.ondeviceintelligence.cts.OnDeviceIntelligenceManagerTest.TEST_KEY;
131 bundle.putBoolean(OnDeviceIntelligenceManagerTest.TEST_KEY, true); in processRequestStreaming()
167 bundle.putString(TEST_KEY, getFileContentFromFdMap(feature).get()); in processRequest()
179 bundle.putString(TEST_KEY, fetchFileContent()); in processRequest()
191 bundle.putString(TEST_KEY, in processRequest()
205 bundle.putString(TEST_KEY, fetchFileContentFromPfd(TEST_FILE_NAME).get()); in processRequest()
216 bundle.putString(TEST_KEY, mPm.getNameForUid(Process.myUid())); in processRequest()
223 bundle.putInt(TEST_KEY, callerUid); in processRequest()
238 bundle.putString(TEST_KEY, simpleParcelable.getMyString()); in processRequest()
264 bundle.putParcelable(TEST_KEY, mReceivedDeviceConfig); in processRequest()
[all …]
DCtsIntelligenceService.java22 import static android.ondeviceintelligence.cts.OnDeviceIntelligenceManagerTest.TEST_KEY;
87 bundle.putInt(TEST_KEY, 1); in getSampleFeatureDetails()
DOnDeviceIntelligenceManagerTest.java102 public static final String TEST_KEY = "test_key"; field in OnDeviceIntelligenceManagerTest
377 assertEquals(result.getFeatureDetailParams().getInt(TEST_KEY), 1); in resultPopulatedWhenAttemptingGetFeatureDetails()
676 assertThat(resultBundle.get().getBoolean(TEST_KEY)).isTrue(); in cancellationPropagatedWhenInvokedDuringRequest()
830 packageNameFuture.complete(result.getString(TEST_KEY)); in inferenceServiceShouldReturnParentPackageName()
857 assertThat(result.getInt(TEST_KEY)).isEqualTo(Process.myUid()); in callerUidReceivedIsOriginalCallerUid()
901 fileContents.complete(result.getString(TEST_KEY)); in sendRequestToReadTestFile()
1122 PersistableBundle receivedConfig = result.getParcelable(TEST_KEY, in deviceConfigUpdateMustBeSentOnInferenceServiceConnected()
DBundleValidationTest.java81 public static final String TEST_KEY = "test_key"; field in BundleValidationTest
135 resultFuture.complete(result.getString(TEST_KEY)); in canSendAndReceiveCustomParcelables()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaRoute2InfoTest.java66 public static final String TEST_KEY = "test_key"; field in MediaRoute2InfoTest
116 extras.putString(TEST_KEY, TEST_VALUE); in testBuilderAndGettersOfMediaRoute2Info()
150 assertThat(extrasOut).containsKey(TEST_KEY); in testBuilderAndGettersOfMediaRoute2Info()
151 assertThat(extrasOut).string(TEST_KEY).isEqualTo(TEST_VALUE); in testBuilderAndGettersOfMediaRoute2Info()
227 extras.putString(TEST_KEY, TEST_VALUE); in testEqualsCreatedWithSameArguments()
268 extras.putString(TEST_KEY, TEST_VALUE); in testEqualsCreatedWithBuilderCopyConstructor()
294 extras.putString(TEST_KEY, TEST_VALUE); in testEqualsReturnFalse()
345 extras.putString(TEST_KEY, TEST_VALUE); in testParcelingAndUnParceling()
373 assertThat(extrasOut).containsKey(TEST_KEY); in testParcelingAndUnParceling()
374 assertThat(extrasOut).string(TEST_KEY).isEqualTo(TEST_VALUE); in testParcelingAndUnParceling()
DRoutingSessionInfoTest.java65 public static final String TEST_KEY = "test_key"; field in RoutingSessionInfoTest
179 controlHints.putString(TEST_KEY, TEST_VALUE); in testBuilderAndGettersOfRoutingSessionInfo()
220 assertThat(controlHintsOut).containsKey(TEST_KEY); in testBuilderAndGettersOfRoutingSessionInfo()
221 assertThat(controlHintsOut).string(TEST_KEY).isEqualTo(TEST_VALUE); in testBuilderAndGettersOfRoutingSessionInfo()
379 controlHints.putString(TEST_KEY, TEST_VALUE); in testEqualsCreatedWithSameArguments()
422 controlHints.putString(TEST_KEY, TEST_VALUE); in testEqualsCreatedWithBuilderCopyConstructor()
450 controlHints.putString(TEST_KEY, TEST_VALUE); in testEqualsReturnFalse()
539 controlHints.putString(TEST_KEY, TEST_VALUE); in testParcelingAndUnParceling()
569 assertThat(controlHintsOut).containsKey(TEST_KEY); in testParcelingAndUnParceling()
570 assertThat(controlHintsOut).string(TEST_KEY).isEqualTo(TEST_VALUE); in testParcelingAndUnParceling()
DMediaSessionTest.java95 private static final String TEST_KEY = "test-key"; field in MediaSessionTest
250 extras.putString(TEST_KEY, TEST_VALUE); in testConfigureSession()
259 assertThat(extrasOut.get(TEST_KEY)).isEqualTo(TEST_VALUE); in testConfigureSession()
263 assertThat(extrasOut.get(TEST_KEY)).isEqualTo(TEST_VALUE); in testConfigureSession()
272 new MediaMetadata.Builder().putString(TEST_KEY, TEST_VALUE).build(); in testConfigureSession()
281 assertThat(metadataOut.getString(TEST_KEY)).isEqualTo(TEST_VALUE); in testConfigureSession()
285 assertThat(metadataOut.getString(TEST_KEY)).isEqualTo(TEST_VALUE); in testConfigureSession()
367 assertThat(mCallback.mExtras.getString(TEST_KEY)).isEqualTo(TEST_VALUE); in testConfigureSession()
DMediaController2Test.java73 private static final String TEST_KEY = "test_key"; field in MediaController2Test
132 mExtras.putString(TEST_KEY, TEST_VALUE); in setUp()
263 assertThat(extrasFromConnectedSessionToken.getString(TEST_KEY)) in testGetConnectedToken()
DMediaRoute2ProviderServiceTest.java90 public static final String TEST_KEY = "test_key"; field in MediaRoute2ProviderServiceTest
410 sessionHints.putString(TEST_KEY, TEST_VALUE); in testSessionRelatedCallbacks()
427 assertThat(sessionHints).containsKey(TEST_KEY); in testSessionRelatedCallbacks()
428 assertThat(sessionHints).string(TEST_KEY).isEqualTo(TEST_VALUE); in testSessionRelatedCallbacks()
DMediaSession2Test.java67 private static final String TEST_KEY = "test_key"; field in MediaSession2Test
270 extras.putString(TEST_KEY, TEST_VALUE); in testSession2Token_writeToParcel()
290 assertThat(extrasOut.getString(TEST_KEY)).isEqualTo(TEST_VALUE); in testSession2Token_writeToParcel()
DMediaRouter2Test.java142 private static final String TEST_KEY = "test_key"; field in MediaRouter2Test
497 controllerHints.putString(TEST_KEY, TEST_VALUE); in testSetOnGetControllerHintsListener()
516 assertThat(controlHints).containsKey(TEST_KEY); in testSetOnGetControllerHintsListener()
517 assertThat(controlHints).string(TEST_KEY).isEqualTo(TEST_VALUE); in testSetOnGetControllerHintsListener()
/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/tests/tests/telecom/src/android/telecom/cts/
DThirdPartyInCallServiceAppOpsPermissionTest.java52 private static final String TEST_KEY = "woowoo"; field in ThirdPartyInCallServiceAppOpsPermissionTest
147 mICtsThirdPartyInCallServiceControl.setExpectedExtra(TEST_KEY, TEST_VALUE); in testExtrasPropagation()
151 newExtras.putString(TEST_KEY, TEST_VALUE); in testExtrasPropagation()
/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/tests/devicepolicy/src/android/devicepolicy/cts/
DCaCertManagementTest.java83 private static final String TEST_KEY = field in CaCertManagementTest
282 new PKCS8EncodedKeySpec(Base64.decode(TEST_KEY, Base64.DEFAULT))); in installKeyPair_installsKeyPair()
302 new PKCS8EncodedKeySpec(Base64.decode(TEST_KEY, Base64.DEFAULT))); in installKeyPair_invalidAdmin_throwsException()
316 new PKCS8EncodedKeySpec(Base64.decode(TEST_KEY, Base64.DEFAULT))); in removeKeyPair_removedKeyPair()
DProvisioningTest.kt1171 adminExtrasBundle.putString(TEST_KEY, TEST_VALUE) in <lambda>()
1182 params.adminExtras.putString(TEST_KEY, TEST_VALUE) in <lambda>()
1211 adminExtrasBundle.putString(TEST_KEY, TEST_VALUE) in <lambda>()
1222 params.adminExtras.putString(TEST_KEY, TEST_VALUE) in <lambda>()
1567 private const val TEST_KEY = "test_key" in <lambda>() constant
/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.java176 installKeyPair(TestCertificates.TEST_KEY, TestCertificates.TEST_CERT, alias); in testInstallKeyPair()
186 installKeyPair(TestCertificates.TEST_KEY, TestCertificates.TEST_CERT, alias); in testInstallKeyPair()