Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DBrowsablePlayerConnector.java48 private static final int MSG_TIMEOUT = 2; field in BrowsablePlayerConnector
94 Message msg = newWrapper.mHandler.obtainMessage(MSG_TIMEOUT); in connectToPlayers()
153 case MSG_TIMEOUT: { in BrowsablePlayerConnector()
162 removeMessages(MSG_TIMEOUT); in BrowsablePlayerConnector()
180 mHandler.removeMessages(MSG_TIMEOUT); in cleanup()
DMediaPlayerWrapper.java306 private static final int MSG_TIMEOUT = 0; field in MediaPlayerWrapper.TimeoutHandler
315 if (msg.what != MSG_TIMEOUT) { in handleMessage()
356 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in cleanup()
364 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in trySendMediaUpdate()
368 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT, in trySendMediaUpdate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java95 static final int MSG_TIMEOUT = 1; field in ConnectState.ConnectToWifiFragment
167 mHandler.removeMessages(MSG_TIMEOUT); in onDestroy()
245 mHandler.removeMessages(MSG_TIMEOUT); in postTimeout()
246 mHandler.sendEmptyMessageDelayed(MSG_TIMEOUT, CONNECTION_TIMEOUT); in postTimeout()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java50 private static final int MSG_TIMEOUT = 0; field in MediaPlayerWrapperTest
263 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testNoQueueMediaUpdates()
313 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testDataOnUpdateNoQueue()
446 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testPlaybackStateUpdateSpam()
494 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testIgnorePlaystateNone()
553 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testMetadataSync()
684 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testMetadataSyncFuzz()
/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()
471 mHandler.removeMessages(MSG_TIMEOUT); in handleIntent()
472 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_TIMEOUT), TIMEOUT_MS); in handleIntent()
536 mHandler.removeMessages(MSG_TIMEOUT); in complete()
618 case MSG_TIMEOUT: