Searched refs:isActiveTile (Results 1 – 8 of 8) sorted by relevance
112 when(mTileLifecycle.isActiveTile()).thenReturn(false); in setUp()231 when(mTileLifecycle.isActiveTile()).thenReturn(true); in testStopListeningAndUnbindImmediatelyAfterUpdate()249 when(mTileLifecycle.isActiveTile()).thenReturn(true); in testStopListeningAndUnbindImmediatelyAfterUpdate_ifRequestedFromTileService()268 when(mTileLifecycle.isActiveTile()).thenReturn(true); in testNotUnbindImmediatelyAfterUpdate_ifRequestedFromSystemUI()
228 when(manager.isActiveTile()).thenReturn(true); in testRequestListeningStatusCommand()248 when(manager.isActiveTile()).thenReturn(true); in testRequestListeningStatusCommand_onStartListeningFromRequest()323 when(manager0.isActiveTile()).thenReturn(true); in tileFreedForCorrectUser()326 when(manager1.isActiveTile()).thenReturn(true); in tileFreedForCorrectUser()359 when(manager0.isActiveTile()).thenReturn(true); in tileFreedForCorrectUser_onStartListeningFromRequest()362 when(manager1.isActiveTile()).thenReturn(true); in tileFreedForCorrectUser_onStartListeningFromRequest()
260 `when`(tileServiceManager.isActiveTile).thenReturn(true) in testPersistedStateRetrieved()299 `when`(tileServiceManager.isActiveTile).thenReturn(true) in testStoreStateOnChange()379 `when`(tileServiceManager.isActiveTile).thenReturn(true) in testActiveTileListensOnceAfterCreated()392 `when`(tileServiceManager.isActiveTile).thenReturn(true) in testActiveTileDoesntListenAfterFirstTime()
133 public boolean isActiveTile() { in isActiveTile() method in TileServiceManager134 return mStateManager.isActiveTile(); in isActiveTile()174 if (mBound && isActiveTile()) { in setLastUpdate()
169 if (mServiceManager.isActiveTile()) { in handleInitialize()295 if (mServiceManager.isActiveTile()) { in handleUpdateTileState()346 if (!mServiceManager.isActiveTile() || !isTileReady()) { in handleSetListening()426 if (mServiceManager.isActiveTile()) { in handleClick()
223 if (!service.isActiveTile()) { in requestListening()
188 public boolean isActiveTile() { in isActiveTile() method in TileLifecycleManager
144 if (!serviceManager.isActiveTile) { in setListening()159 if (serviceManager.isActiveTile) { in click()