Home
last modified time | relevance | path

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

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DResetPasswordWithTokenTest.java81 private static final byte[] TOKEN = "abcdefghijklmnopqrstuvwxyz0123456789".getBytes(); field in ResetPasswordWithTokenTest
99 boolean possible = canSetResetPasswordToken(TOKEN); in setResetPasswordToken_validToken_passwordTokenSet()
112 assumeTrue(RESET_PASSWORD_TOKEN_DISABLED, canSetResetPasswordToken(TOKEN)); in resetPasswordWithToken_validPasswordAndToken_success()
115 … sDeviceState.dpc().componentName(), VALID_PIN, TOKEN, /* flags = */ 0)).isTrue(); in resetPasswordWithToken_validPasswordAndToken_success() local
117 removePasswordAndToken(TOKEN); in resetPasswordWithToken_validPasswordAndToken_success()
124 assumeTrue(RESET_PASSWORD_TOKEN_DISABLED, canSetResetPasswordToken(TOKEN)); in resetPasswordWithToken_badToken_failure()
132 assumeTrue(RESET_PASSWORD_TOKEN_DISABLED, canSetResetPasswordToken(TOKEN)); in resetPasswordWithToken_noPassword_deviceIsNotSecure()
134 sDeviceState.dpc().componentName(), /* password = */ null, TOKEN, /* flags = */ 0); in resetPasswordWithToken_noPassword_deviceIsNotSecure() local
143 assumeTrue(RESET_PASSWORD_TOKEN_DISABLED, canSetResetPasswordToken(TOKEN)); in resetPasswordWithToken_password_deviceIsSecure()
146 sDeviceState.dpc().componentName(), VALID_PIN, TOKEN, /* flags = */ 0); in resetPasswordWithToken_password_deviceIsSecure() local
[all …]
DDeviceManagementCoexistenceTest.java127 private static final byte[] TOKEN = "abcdefghijklmnopqrstuvwxyz0123456789".getBytes(); field in DeviceManagementCoexistenceTest
266 sDeviceState.dpc().componentName(), TOKEN); in getDevicePolicyState_resetPasswordTokenSet_returnsPolicy() local
904 sDeviceState.dpc().componentName(), TOKEN); in resetPasswordTokenSet_serialisation_loadsPolicy() local
1143 sDeviceState.dpc().componentName(), TOKEN); in multiplePoliciesSet_serialisation_loadsPolicies() local
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/
DCancelSelectionRequestTest.java48 private static final IBinder TOKEN = new Binder(); field in CancelSelectionRequestTest
56 new CancelSelectionRequest(new RequestToken(TOKEN), SHOULD_SHOW_CANCELLATION_UI, in testConstructor()
58 assertThat(cancelUiRequest.getRequestToken()).isEqualTo(new RequestToken(TOKEN)); in testConstructor()
68 new CancelSelectionRequest(new RequestToken(TOKEN), SHOULD_SHOW_CANCELLATION_UI, in testWriteToParcel()
71 assertThat(cancelUiRequest2.getRequestToken()).isEqualTo(new RequestToken(TOKEN)); in testWriteToParcel()
DRequestInfoTest.java60 private static final IBinder TOKEN = new Binder(); field in RequestInfoTest
80 TOKEN, createCredentialRequest, APP_PACKAGE_NAME, in testConstructCreateRequestInfo()
84 assertThat(requestInfo.getRequestToken()).isEqualTo(new RequestToken(TOKEN)); in testConstructCreateRequestInfo()
114 TOKEN, getCredentialRequest, APP_PACKAGE_NAME, HAS_PERMISSION_TO_OVERRIDE_DEFAULT, in testConstructGetRequestInfo()
117 assertThat(requestInfo.getRequestToken()).isEqualTo(new RequestToken(TOKEN)); in testConstructGetRequestInfo()
DIntentHelperTest.java75 private static final IBinder TOKEN = new Binder(); field in IntentHelperTest
100 Intent intent = IntentFactory.createCancelUiIntent(mContext, TOKEN, in testExtractCancelUiRequest()
106 assertThat(cancelUiRequestExtracted.getRequestToken()).isEqualTo(new RequestToken(TOKEN)); in testExtractCancelUiRequest()
125 TOKEN, createRequest, PACKAGE_NAME, in testExtractRequestInfo_createRequest()
135 assertThat(requestInfoExtracted.getRequestToken()).isEqualTo(new RequestToken(TOKEN)); in testExtractRequestInfo_createRequest()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DUnavailableSecureLockScreenTest.java29 private static final byte[] TOKEN = "abcdefghijklmnopqrstuvwxyz0123456789".getBytes(); field in UnavailableSecureLockScreenTest
43 … assertFalse(mDevicePolicyManager.setResetPasswordToken(ADMIN_RECEIVER_COMPONENT, TOKEN)); in testResetWithTokenAndPasswordSufficiency()
45 COMPLEX_PASSWORD, TOKEN, 0)); in testResetWithTokenAndPasswordSufficiency()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DChoreographerTest.java57 private static final Object TOKEN = new Object(); field in ChoreographerTest
112 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN); in testPostCallbackWithoutDelay()
114 Choreographer.CALLBACK_ANIMATION, null, TOKEN); in testPostCallbackWithoutDelay()
121 Choreographer.CALLBACK_ANIMATION, addedCallback1, TOKEN); in testPostCallbackWithoutDelay()
123 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN); in testPostCallbackWithoutDelay()
125 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN); in testPostCallbackWithoutDelay()
166 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN, DELAY_PERIOD); in testPostCallbackWithDelay()
168 Choreographer.CALLBACK_ANIMATION, null, TOKEN); in testPostCallbackWithDelay()
175 Choreographer.CALLBACK_ANIMATION, addedCallback, TOKEN, DELAY_PERIOD); in testPostCallbackWithDelay()
177 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN, DELAY_PERIOD); in testPostCallbackWithDelay()
[all …]
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/CloneProfileAppWithLaunchableActivity/src/com/android/cts/launchable/cloneprofile/contacts/app/
DTestAccountAuthenticator.java33 private static final String TOKEN = "random_token_string"; field in TestAccountAuthenticator
40 mAccountBundle.putString(AccountManager.KEY_AUTHTOKEN, TOKEN); in TestAccountAuthenticator()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/account/
DStaticAccountAuthenticator.java37 private static final String TOKEN = "asdlkjfslkjfdklj"; field in StaticAccountAuthenticator
44 sAccountBundle.putString(AccountManager.KEY_AUTHTOKEN, TOKEN); in sAccountBundle.putString() argument
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestBase.java79 protected static final String TOKEN = "TEST_TOKEN"; field in SatelliteManagerTestBase
813 TOKEN, testProvisionData, null, getContext().getMainExecutor(), error::offer); in provisionSatellite()
832 TOKEN, getContext().getMainExecutor(), error::offer); in deprovisionSatellite()
DSatelliteManagerTest.java267 sSatelliteManager.provisionService(TOKEN, testProvisionData, cancellationSignal, in testProvisionSatelliteService()
DSatelliteManagerTestOnMockService.java373 sSatelliteManager.provisionService(TOKEN, testProvisionData, cancellationSignal, in testProvisionSatelliteService()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt2202 field public static final String EXTRA_TOKEN = "android.app.contextualsearch.extra.TOKEN";