/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 | MediaSessionManagerTest.java | 297 Session2Token currentToken = session.getToken(); in testGetSession2Tokens() 323 Session2Token session1Token = session1.getToken(); in testGetSession2TokensWithTwoSessions() 335 session2Token = session2.getToken(); in testGetSession2TokensWithTwoSessions() 369 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 | TokenWatcherTest.java | 113 IBinder token = mEmptyService.getToken(); in testTokenWatcher() 143 IBinder token = mEmptyService.getToken(); in testCleanUp() 162 IBinder token = mEmptyService.getToken(); in testRepeatedAcquire()
|
D | IEmptyService.aidl | 23 IBinder getToken(); in getToken() method
|
D | EmptyService.java | 29 public IBinder getToken() {
|
/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/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerState.java | 225 windowMap.put(w.getToken(), w); in parseSysDumpProto() 337 .map(WindowState::getToken) in getMatchingWindowTokens() 391 return getMatchingWindows(ws -> ws.getToken().equals(appToken)) in getWindowStateForAppToken() 903 String getToken() { in getToken() method in WindowManagerState.WindowState
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | WindowManagerState.java | 180 windowMap.put(w.getToken(), w); in parseSysDumpProto() 543 String getToken() { in getToken() method in WindowManagerState.WindowState
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | ActivityManagerIncidentTest.java | 248 assertTrue(itp.getToken().isEmpty()); in verifyImportanceTokenProto()
|