Home
last modified time | relevance | path

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

/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()
DMediaSessionManagerTest.java312 Session2Token currentToken = session.getToken(); in testGetSession2Tokens()
338 Session2Token session1Token = session1.getToken(); in testGetSession2TokensWithTwoSessions()
350 session2Token = session2.getToken(); in testGetSession2TokensWithTwoSessions()
384 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/
DTokenWatcherTest.java113 IBinder token = mEmptyService.getToken(); in testTokenWatcher()
143 IBinder token = mEmptyService.getToken(); in testCleanUp()
162 IBinder token = mEmptyService.getToken(); in testRepeatedAcquire()
DIEmptyService.aidl23 IBinder getToken(); in getToken() method
DEmptyService.java29 public IBinder getToken() {
/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/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java225 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/
DWindowManagerState.java180 windowMap.put(w.getToken(), w); in parseSysDumpProto()
543 String getToken() { in getToken() method in WindowManagerState.WindowState
/cts/hostsidetests/incident/src/com/android/server/cts/
DActivityManagerIncidentTest.java248 assertTrue(itp.getToken().isEmpty()); in verifyImportanceTokenProto()