Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
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()
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);
DMediaPlayerWrapper.java337 private static final int MSG_TIMEOUT = 0; field in MediaPlayerWrapper.TimeoutHandler
346 if (msg.what != MSG_TIMEOUT) { in handleMessage()
387 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in cleanup()
395 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in trySendMediaUpdate()
399 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT, in trySendMediaUpdate()
/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()
474 mHandler.removeMessages(MSG_TIMEOUT); in handleIntent()
475 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_TIMEOUT), TIMEOUT_MS); in handleIntent()
539 mHandler.removeMessages(MSG_TIMEOUT); in complete()
621 case MSG_TIMEOUT:
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapperTest.java58 private static final int MSG_TIMEOUT = 0; field in MediaPlayerWrapperTest
300 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testNoQueueMediaUpdates()
350 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testDataOnUpdateNoQueue()
483 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testPlaybackStateUpdateSpam()
531 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testIgnorePlaystateNone()
591 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testMetadataSync()
722 Assert.assertFalse(wrapper.getTimeoutHandler().hasMessages(MSG_TIMEOUT)); in testMetadataSyncFuzz()
DBrowserPlayerWrapperTest.java333 timeoutHandler.sendEmptyMessage(BrowsedPlayerWrapper.TimeoutHandler.MSG_TIMEOUT); in testPlayItem_Timeout()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java92 static final int MSG_TIMEOUT = 1; field in ConnectState.ConnectToWifiFragment
197 mHandler.removeMessages(MSG_TIMEOUT); in onDestroy()
312 mHandler.removeMessages(MSG_TIMEOUT); in postTimeout()
313 mHandler.sendEmptyMessageDelayed(MSG_TIMEOUT, CONNECTION_TIMEOUT); in postTimeout()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java161 WLAN_IFACE_NAME, WpsConfigError.MSG_TIMEOUT, in testBroadcastWpsEventFailDueToConfigError()
169 assertEquals(WpsConfigError.MSG_TIMEOUT, messageCaptor.getValue().arg2); in testBroadcastWpsEventFailDueToConfigError()
DSupplicantStaIfaceHalTest.java1505 short cfgError = ISupplicantStaIfaceCallback.WpsConfigError.MSG_TIMEOUT; in testWpsTimeoutCallback()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceCallbackImpl.java407 if (configError == WpsConfigError.MSG_TIMEOUT in onWpsEventFail()