/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | PersonTest.java | 40 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/ |
D | CtsIsolatedInferenceService.java | 23 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 …]
|
D | CtsIntelligenceService.java | 22 import static android.ondeviceintelligence.cts.OnDeviceIntelligenceManagerTest.TEST_KEY; 87 bundle.putInt(TEST_KEY, 1); in getSampleFeatureDetails()
|
D | OnDeviceIntelligenceManagerTest.java | 102 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()
|
D | BundleValidationTest.java | 81 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/ |
D | MediaRoute2InfoTest.java | 66 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()
|
D | RoutingSessionInfoTest.java | 65 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()
|
D | MediaSessionTest.java | 95 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()
|
D | MediaController2Test.java | 73 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()
|
D | MediaRoute2ProviderServiceTest.java | 90 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()
|
D | MediaSession2Test.java | 67 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()
|
D | MediaRouter2Test.java | 142 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/ |
D | TestCertificates.java | 69 public static final String TEST_KEY = field in TestCertificates 114 return rsaKeyFromString(TEST_KEY); in getTestKey()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ThirdPartyInCallServiceAppOpsPermissionTest.java | 52 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/ |
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/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CaCertManagementTest.java | 83 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()
|
D | ProvisioningTest.kt | 1171 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/ |
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 | 176 installKeyPair(TestCertificates.TEST_KEY, TestCertificates.TEST_CERT, alias); in testInstallKeyPair() 186 installKeyPair(TestCertificates.TEST_KEY, TestCertificates.TEST_CERT, alias); in testInstallKeyPair()
|