Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestTaskOrganizer.java133 wct.setAdjacentRoots(mRootPrimary.getToken(), mRootSecondary.getToken(), in createRootTasksIfNeeded()
178 deleteRootTask(mRootPrimary.getToken()); in unregisterOrganizerIfNeeded()
182 deleteRootTask(mRootSecondary.getToken()); in unregisterOrganizerIfNeeded()
198 .setBounds(mRootPrimary.getToken(), mPrimaryBounds) in putTaskInSplitPrimary()
199 .setBounds(taskInfo.getToken(), null) in putTaskInSplitPrimary()
200 .setWindowingMode(taskInfo.getToken(), WINDOWING_MODE_UNDEFINED) in putTaskInSplitPrimary()
201 .reparent(taskInfo.getToken(), mRootPrimary.getToken(), true /* onTop */) in putTaskInSplitPrimary()
202 .reorder(mRootPrimary.getToken(), true /* onTop */); in putTaskInSplitPrimary()
220 .setBounds(mRootSecondary.getToken(), mSecondaryBounds) in putTaskInSplitSecondary()
221 .setBounds(taskInfo.getToken(), null) in putTaskInSplitSecondary()
[all …]
DWindowManagerState.java958 .map(WindowState::getToken) in getMatchingWindowTokens()
982 return getMatchingWindows(ws -> ws.getToken().equals(appToken)) in getWindowStateForAppToken()
1873 String getToken() {
/cts/tests/tests/media/src/android/media/cts/
DMediaSession2Test.java185 Bundle extrasOut = session.getToken().getExtras(); in testBuilder_setExtras_withFrameworkParcelable()
215 Session2Token token = session.getToken(); in testSession2Token()
229 Session2Token token = session.getToken(); in testSession2Token_extrasNotSet()
242 new MediaController2.Builder(mContext, session.getToken()) in testGetConnectedControllers_newController()
268 new MediaController2.Builder(mContext, session.getToken()) in testGetConnectedControllers_closedController()
290 Session2Token token = session.getToken(); in testSession2Token_writeToParcel()
338 new MediaController2.Builder(mContext, session.getToken()) in testBroadcastSessionCommand()
355 new MediaController2.Builder(mContext, session.getToken()) in testBroadcastSessionCommand()
383 new MediaController2.Builder(mContext, session.getToken()) in testCallback_onConnect_onDisconnect()
417 new MediaController2.Builder(mContext, session.getToken()) in testCallback_onPostConnect_connected()
[all …]
DMediaController2Test.java220 MediaController2 controller = new MediaController2.Builder(mContext, session.getToken()) in testBuilder_setConnectionHints_withFrameworkParcelable()
254 new MediaController2.Builder(mContext, mSession.getToken()).build()) { in testCreatingControllerWithoutCallback()
266 new MediaController2.Builder(mContext, mSession.getToken()) in testGetConnectedToken()
271 assertEquals(mSession.getToken(), controller.getConnectedToken()); in testGetConnectedToken()
287 new MediaController2.Builder(mContext, mSession.getToken()) in testCallback_onConnected_onDisconnected()
302 new MediaController2.Builder(mContext, mSession.getToken()) in testCallback_onSessionCommand()
335 new MediaController2.Builder(mContext, mSession.getToken()) in testCallback_onCommandResult()
368 new MediaController2.Builder(mContext, mSession.getToken()) in testCancelSessionCommand()
DMediaCommunicationManagerTest.java86 Session2Token currentToken = session.getToken(); in testGetSession2Tokens()
109 Session2Token currentToken = session.getToken(); in testManagerSessionCallback()
121 Session2Token token2 = session2.getToken(); in testManagerSessionCallback()
DMediaSessionManagerTest.java399 Session2Token currentToken = session.getToken(); in testGetSession2Tokens()
419 Session2Token session1Token = session1.getToken(); in testGetSession2TokensWithTwoSessions()
431 session2Token = session2.getToken(); in testGetSession2TokensWithTwoSessions()
459 Session2Token currentToken = session.getToken(); in testAddAndRemoveSession2TokensListener()
DMediaSession2ServiceTest.java195 assertEquals(testSession.getToken(), controller.getConnectedToken()); in testOnGetSession_returnsSession()
211 tokens.add(session.getToken()); in testOnGetSession_returnsDifferentSessions()
/cts/tests/tests/os/src/android/os/cts/
DIEmptyService.aidl23 IBinder getToken(); in getToken() method
DEmptyService.java29 public IBinder getToken() {
DTokenWatcherTest.java113 IBinder token = mEmptyService.getToken(); in testTokenWatcher()
143 IBinder token = mEmptyService.getToken(); in testCleanUp()
162 IBinder token = mEmptyService.getToken(); in testRepeatedAcquire()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DTaskFragmentOrganizerPolicyTest.java107 final WindowContainerToken taskToken = taskInfos.get(0).getTaskInfo().getToken(); in testPerformNonTaskFragmentHierarchyOperation_ThrowException()
134 final WindowContainerToken taskToken = taskInfos.get(0).getTaskInfo().getToken(); in testSetPropertyOnNonTaskFragment_ThrowException()
172 .getToken()); in testPerformOperationsOnNonOrganizedTaskFragment_ThrowException()
352 mTaskFragmentOrganizer.getTaskFragmentInfo(taskFragToken).getToken()); in testApplyHierarchyOpsInLockTaskMode()
DMultiWindowTests.java256 mTaskOrganizer.getTaskInfo(noRelaunchTaskId).getToken(); in testNoUserLeaveHintOnMultiWindowModeChanged()
465 mTaskOrganizer.getTaskInfo(task.mTaskId).getToken(), in testDisallowUpdateWindowingModeWhenInLockedTask()
503 mTaskOrganizer.getTaskInfo(root.mTaskId).getToken(); in testDisallowHierarchyOperationWhenInLockedTask()
505 mTaskOrganizer.getTaskInfo(task.mTaskId).getToken(); in testDisallowHierarchyOperationWhenInLockedTask()
DTaskFragmentOrganizerTestBase.java98 .that(info.getToken()).isNotNull(); in assertTaskFragmentInfoValidity()
248 wct.deleteTaskFragment(info.getToken()); in removeAllTaskFragments()
DSplitActivityLifecycleTest.java309 .setBounds(mTaskFragB.getToken(), mPrimaryBounds) in testAdjacentActivityLaunchFromSecondarySplitTaskFragment()
614 mContainerToken = info.getToken(); in TaskFragmentRecord()
625 private WindowContainerToken getToken() { in getToken() method in SplitActivityLifecycleTest.TaskFragmentRecord
DTaskFragmentOrganizerTest.java248 wct = new WindowContainerTransaction().deleteTaskFragment(info.getToken()); in testDeleteTaskFragment()
/cts/tests/tests/content/src/android/content/cts/
DAsyncQueryHandlerTest.java119 assertEquals(INSERT_TOKEN_1, mAsyncHandler.getToken()); in testStartInsert()
152 assertEquals(QUERY_TOKEN_1, mAsyncHandler.getToken()); in testStartQuery()
193 assertEquals(UPDATE_TOKEN_1, mAsyncHandler.getToken()); in testStartUpdate()
233 assertEquals(DELETE_TOKEN_1, mAsyncHandler.getToken()); in testStartDelete()
423 public int getToken() { in getToken() method in AsyncQueryHandlerTest.MockAsyncQueryHandler
/cts/hostsidetests/incident/src/com/android/server/cts/
DActivityManagerIncidentTest.java248 assertTrue(itp.getToken().isEmpty()); in verifyImportanceTokenProto()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAssertions.java116 .that(activityId.getToken()).isNotNull(); in assertMainSessionContext()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dtest-current.txt351 method @NonNull public android.window.WindowContainerToken getToken();
587 method @Nullable public android.os.IBinder getToken();