/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TestTaskOrganizer.java | 133 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 …]
|
D | WindowManagerState.java | 958 .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/ |
D | MediaSession2Test.java | 185 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 …]
|
D | MediaController2Test.java | 220 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()
|
D | MediaCommunicationManagerTest.java | 86 Session2Token currentToken = session.getToken(); in testGetSession2Tokens() 109 Session2Token currentToken = session.getToken(); in testManagerSessionCallback() 121 Session2Token token2 = session2.getToken(); in testManagerSessionCallback()
|
D | MediaSessionManagerTest.java | 399 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()
|
D | MediaSession2ServiceTest.java | 195 assertEquals(testSession.getToken(), controller.getConnectedToken()); in testOnGetSession_returnsSession() 211 tokens.add(session.getToken()); in testOnGetSession_returnsDifferentSessions()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | IEmptyService.aidl | 23 IBinder getToken(); in getToken() method
|
D | EmptyService.java | 29 public IBinder getToken() {
|
D | TokenWatcherTest.java | 113 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/ |
D | TaskFragmentOrganizerPolicyTest.java | 107 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()
|
D | MultiWindowTests.java | 256 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()
|
D | TaskFragmentOrganizerTestBase.java | 98 .that(info.getToken()).isNotNull(); in assertTaskFragmentInfoValidity() 248 wct.deleteTaskFragment(info.getToken()); in removeAllTaskFragments()
|
D | SplitActivityLifecycleTest.java | 309 .setBounds(mTaskFragB.getToken(), mPrimaryBounds) in testAdjacentActivityLaunchFromSecondarySplitTaskFragment() 614 mContainerToken = info.getToken(); in TaskFragmentRecord() 625 private WindowContainerToken getToken() { in getToken() method in SplitActivityLifecycleTest.TaskFragmentRecord
|
D | TaskFragmentOrganizerTest.java | 248 wct = new WindowContainerTransaction().deleteTaskFragment(info.getToken()); in testDeleteTaskFragment()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | AsyncQueryHandlerTest.java | 119 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/ |
D | ActivityManagerIncidentTest.java | 248 assertTrue(itp.getToken().isEmpty()); in verifyImportanceTokenProto()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | Assertions.java | 116 .that(activityId.getToken()).isNotNull(); in assertMainSessionContext()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | test-current.txt | 351 method @NonNull public android.window.WindowContainerToken getToken(); 587 method @Nullable public android.os.IBinder getToken();
|