Home
last modified time | relevance | path

Searched defs:token (Results 1 – 25 of 67) sorted by relevance

123

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsSmsImpl.java48 public void sendSms(int token, int messageRef, String format, String smsc, boolean isRetry, in sendSms()
75 public void acknowledgeSms(int token, int messageRef, int result) { in acknowledgeSms()
83 public void acknowledgeSmsReport(int token, int messageRef, int result) { in acknowledgeSmsReport()
91 public void acknowledgeSms(int token, int messageRef, int result, byte[] pdu) { in acknowledgeSms()
104 public void onMemoryAvailable(int token) { in onMemoryAvailable()
110 public void receiveSmsWaitForAcknowledgeMemoryFull(int token, String format, byte[] pdu) { in receiveSmsWaitForAcknowledgeMemoryFull()
126 public void receiveSmsWaitForAcknowledge(int token, String format, byte[] pdu) { in receiveSmsWaitForAcknowledge()
142 public void sendReportWaitForAcknowledgeSmsReportR(int token, String format, byte[] pdu) { in sendReportWaitForAcknowledgeSmsReportR()
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java140 long token = Binder.clearCallingIdentity(); in testClearCallingIdentity() local
153 long token = Binder.clearCallingIdentity(); in testGetCallingUidOrThrow_insideClearRestoreCallingIdentity_doesNotThrow() local
164 long token = Binder.clearCallingIdentity(); in testGetCallingUidOrThrow_afterClearRestoreCallingIdentity_throws() local
223 long token = Binder.clearCallingIdentity(); in testGetCallingUidOrThrow_duplicateClearsAreStoredInSameVariable_doesNotThrow() local
236 final long token = Binder.clearCallingWorkSource(); in testClearCallingWorkSource() local
245 final long token = Binder.setCallingWorkSourceUid(otherUid); in testSetCallingWorkSourceUid() local
DTokenWatcherTest.java115 IBinder token = mEmptyService.getToken(); in testTokenWatcher() local
145 IBinder token = mEmptyService.getToken(); in testCleanUp() local
164 IBinder token = mEmptyService.getToken(); in testRepeatedAcquire() local
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DISharedFilterTestServer.aidl22 void freeSharedFilterToken(String token); in freeSharedFilterToken()
23 boolean verifySharedFilter(String token); in verifySharedFilter()
DSharedFilterTestService.java81 public void freeSharedFilterToken(String token) { in freeSharedFilterToken()
86 public boolean verifySharedFilter(String token) { in verifySharedFilter()
/cts/tests/framework/base/windowmanager/testsdk35/src/android/server/wm/input/
DWindowUntrustedTouchTestSdk35.java73 IBinder token = receiver.getData(TIMEOUT_MS).getBinder(EXTRA_TOKEN); in testWhenActivityChildWindowWithDifferentTokenFromSameAppNoOptIn_compat_allowsTouch() local
74 addActivityChildWindow(getAppSelf(), WINDOW_1, token); in testWhenActivityChildWindowWithDifferentTokenFromSameAppNoOptIn_compat_allowsTouch() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java534 IBinder token = mActivity.getWindow().getAttributes().token; in testWhenActivityChildWindowWithSameTokenFromDifferentApp_allowsTouch() local
554 IBinder token = receiver.getData(TIMEOUT_MS).getBinder(EXTRA_TOKEN); in testWhenActivityChildWindowWithDifferentTokenFromDifferentApp_blocksTouch() local
574 IBinder token = receiver.getData(TIMEOUT_MS).getBinder(EXTRA_TOKEN); in testWhenActivityChildWindowWithDifferentTokenFromSameApp_allowsTouch() local
575 addActivityChildWindow(getAppSelf(), WINDOW_1, token); in testWhenActivityChildWindowWithDifferentTokenFromSameApp_allowsTouch() local
599 IBinder token = receiver.getData(TIMEOUT_MS).getBinder(EXTRA_TOKEN); in testWhenActivityChildWindowWithDifferentTokenFromSameAppWithOptIn_allowsTouch() local
600 addActivityChildWindow(getAppSelf(), WINDOW_1, token); in testWhenActivityChildWindowWithDifferentTokenFromSameAppWithOptIn_allowsTouch() local
619 IBinder token = receiver.getData(TIMEOUT_MS).getBinder(EXTRA_TOKEN); in testWhenActivityChildWindowWithDifferentTokenFromSameAppNoOptIn_blocksTouch() local
620 addActivityChildWindow(getAppSelf(), WINDOW_1, token); in testWhenActivityChildWindowWithDifferentTokenFromSameAppNoOptIn_blocksTouch() local
/cts/tests/tests/widget/src/android/widget/cts/
DToastPresenterTest.java62 Binder token = new Binder(); in testUpdateLayoutParams() local
80 Binder token = new Binder(); in testShowOnInvalidDisplay_doNotThrow() local
95 Binder token = new Binder(); in testAddA11yClientOnlyWhenShowing() local
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamObjectTest.java82 long token = po.startObject(ProtoOutputStream.makeFieldId(1, in testObjectOneChar() local
109 long token = po.startObject(ProtoOutputStream.makeFieldId(1, in testObjectOneLargeChar() local
141 long token = po.startObject(ProtoOutputStream.makeFieldId(2, in testObjectAndTwoChars() local
180 long token = po.startObject(ProtoOutputStream.makeFieldId(1, in testEmptyObject() local
234 long token = po.startObject(ProtoOutputStream.makeFieldId(2, in testEmptyObjectAndTwoChars() local
264 long token; in testEmptyRepeatedObject() local
302 long token = po.startObject(ProtoOutputStream.makeFieldId(2, in testComplexObject() local
759 final long token = po.startObject(ProtoOutputStream.makeFieldId(1, in testMismatchedEndObject() local
774 final long token = po.startRepeatedObject(ProtoOutputStream.makeFieldId(1, in testMismatchedEndRepeatedObject() local
/cts/hostsidetests/media/app/ProxyMediaRouterWithMediaContentControlApp/src/android/media/router/cts/proxymediacontentcontrolapp/
DMediaRouter2DeviceTest.java156 MediaRouter2.ScanToken token = instance.requestScan(new ScanRequest.Builder().build()); in requestScan_withScreenOnScanning_triggersScanning() local
173 MediaRouter2.ScanToken token = instance.requestScan(new ScanRequest.Builder().build()); in cancelScanRequest_callTwice_throwsIllegalArgumentException() local
210 MediaRouter2.ScanToken token = in cancelScanRequest_screenOnScanning_unbindsSelfScanProvider() local
/cts/tests/tests/content/src/android/content/cts/
DAsyncQueryHandlerTest.java277 private void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery()
286 private void startInsert(int token, Object cookie, Uri uri, in startInsert()
294 private void startUpdate(int token, Object cookie, Uri uri, ContentValues values, in startUpdate()
302 private void startDelete(int token, Object cookie, Uri uri, String selection, in startDelete()
340 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete()
352 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete()
364 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete()
380 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete()
/cts/tests/contextualsearch/src/android/contextualsearch/cts/
DContextualSearchManagerTest.kt214 val token = mWatcher!!.launchExtras!! in testRequestContextualSearchState() constant
235 val token = mWatcher!!.launchExtras!! in testRequestContextualSearchStateWithTokenRefresh() constant
267 val token = mWatcher!!.launchExtras!! in testTokenWithinValidDuration() constant
289 val token = mWatcher!!.launchExtras!! in testTokenAfterValidDuration() constant
/cts/tests/tests/instantapp/src/android/cts/instantapp/resolver/
DInstantAppRequestInfoTest.kt32 private val token = UUID.randomUUID().toString() constant
/cts/tests/tests/media/session/src/android/media/session/cts/
DMediaSessionTestService.java52 MediaSession.Token token = args.getParcelable(KEY_SESSION_TOKEN); in testSeriesOfSetQueue_setUp() local
84 MediaSession.Token token = args.getParcelable(KEY_SESSION_TOKEN); in testSetQueue_setUp() local
DMediaSessionTestActivity.java100 MediaSession.Token token = getIntent().getParcelableExtra(KEY_SESSION_TOKEN); in setMediaControllerIfInForeground() local
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DAInputTransferTokenTest.java51 InputTransferToken token = in testAInputTransferToken_fromToJava() local
/cts/hostsidetests/media/app/MediaRouterWithBTPermissionsApp/src/android/media/router/cts/bluetoothpermissionsapp/
DMediaRouter2DeviceTest.java260 ScanToken token = in requestScan_withOffScreenScan_triggersScanning() local
294 ScanToken token = instance.requestScan(new ScanRequest.Builder().build()); in requestScan_withOnScreenScan_triggersScanning() local
333 ScanToken token = instance.requestScan(new ScanRequest.Builder().build()); in requestScan_withOnScreenScan_withScreenOff_doesNotScan() local
376 ScanToken token = in screenOffScan_onLocalRouter_allowedWithMediaContentControl() local
423 ScanToken token = in screenOffScan_onProxyRouter_allowedWithMediaContentControl() local
/cts/tests/framework/base/windowmanager/shared/src/android/server/wm/shared/
DIUntrustedTouchTestService.aidl24 void showActivityChildWindow(String windowName, in IBinder token); in showActivityChildWindow()
/cts/tests/app/src/android/app/cts/
DListActivityTest.java90 final Semaphore token = new Semaphore(0); in runOnMainAndDrawSync() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DResetPasswordWithTokenTest.java32 private static final byte[] token = "abcdefghijklmnopqrstuvwxyz0123456789".getBytes(); field in ResetPasswordWithTokenTest
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockImsService.java116 public void startImsTraffic(int serial, int token, int trafficType) { in startImsTraffic()
128 public void stopImsTraffic(int token) { in stopImsTraffic()
DIRadioImsImpl.java98 int token, int imsTrafficType, int accessNetworkType, int trafficDirection) { in startImsTraffic()
115 public void stopImsTraffic(int serial, int token) { in stopImsTraffic()
156 public void onConnectionSetupFailure(int token, @NonNull ConnectionFailureInfo failureInfo) { in onConnectionSetupFailure()
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DTestGbaService.java40 public void onAuthenticationRequest(int subId, int token, int appType, in onAuthenticationRequest()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorRatePermissionDirectReportTestHelper.java165 int token = channel.configure(mSensor, rateLevel); in getSensorEvents() local
179 int token, HardwareBuffer hardwareBuffer, int sensorEventCount) { in readEventsFromHardwareBuffer()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java486 final Object token = new Object(); in awaitPackageBroadcast() local
500 token, timeoutMs); in awaitPackageBroadcast() local
507 final Object token = new Object(); in awaitPackageRestartedBroadcast() local
522 mainHandler.postDelayed(() -> remoteCallback.sendResult(result), token, timeoutMs); in awaitPackageRestartedBroadcast() local
529 final Object token = new Object(); in awaitSuspendedPackagesBroadcast() local
550 mainHandler.postDelayed(() -> sendResult.run(), token, timeoutMs); in awaitSuspendedPackagesBroadcast() local
561 final Object token = new Object(); in awaitLauncherAppsCallback() local
874 final Object token = new Object(); in awaitRequestSyncStatus() local
890 token, timeoutMs); in awaitRequestSyncStatus() local
910 final Object token = new Object(); in awaitRequestPeriodicSync() local
[all …]

123