Home
last modified time | relevance | path

Searched refs:MSG_TIMEOUT (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsablePlayerConnector.java51 private static final int MSG_TIMEOUT = 2; field in BrowsablePlayerConnector
107 Message msg = newWrapper.mHandler.obtainMessage(MSG_TIMEOUT); in connectToPlayers()
166 case MSG_TIMEOUT: { in BrowsablePlayerConnector()
175 removeMessages(MSG_TIMEOUT); in BrowsablePlayerConnector()
193 mHandler.removeMessages(MSG_TIMEOUT); in cleanup()
DMediaPlayerWrapper.java295 private static final int MSG_TIMEOUT = 0; field in MediaPlayerWrapper.TimeoutHandler
304 if (msg.what != MSG_TIMEOUT) { in handleMessage()
345 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in cleanup()
353 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in trySendMediaUpdate()
357 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT, in trySendMediaUpdate()
DBrowsedPlayerWrapper.java303 static final int MSG_TIMEOUT = 0;
315 if (msg.what != MSG_TIMEOUT) {
351 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT,
369 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
380 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java50 private static final int MSG_TIMEOUT = 0; field in MediaPlayerWrapperTest
265 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testNoQueueMediaUpdates()
315 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testDataOnUpdateNoQueue()
448 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testPlaybackStateUpdateSpam()
496 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testIgnorePlaystateNone()
555 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testMetadataSync()
686 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testMetadataSyncFuzz()
DBrowserPlayerWrapperTest.java230 timeoutHandler.sendEmptyMessage(BrowsedPlayerWrapper.TimeoutHandler.MSG_TIMEOUT); in testPlayItem_Timeout()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java85 static final int MSG_TIMEOUT = 1; field in BluetoothPeripheralHandover
181 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_TIMEOUT), TIMEOUT_MS); in start()
473 mHandler.removeMessages(MSG_TIMEOUT); in handleIntent()
474 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_TIMEOUT), TIMEOUT_MS); in handleIntent()
538 mHandler.removeMessages(MSG_TIMEOUT); in complete()
620 case MSG_TIMEOUT:
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java92 static final int MSG_TIMEOUT = 1; field in ConnectState.ConnectToWifiFragment
177 mHandler.removeMessages(MSG_TIMEOUT); in onDestroy()
292 mHandler.removeMessages(MSG_TIMEOUT); in postTimeout()
293 mHandler.sendEmptyMessageDelayed(MSG_TIMEOUT, CONNECTION_TIMEOUT); in postTimeout()