Home
last modified time | relevance | path

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

/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
H A 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()
H A DBrowsedPlayerWrapper.java303 static final int MSG_TIMEOUT = 0;
324 if (msg.what != MSG_TIMEOUT) {
366 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT,
384 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
395 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
416 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT,
468 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
480 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecFeatureAction.java51 protected static final int MSG_TIMEOUT = 100; field in HdmiCecFeatureAction
150 sendMessageDelayed(obtainMessage(MSG_TIMEOUT, state, 0), delayMillis); in sendTimerMessage()
155 removeMessages(MSG_TIMEOUT); in clearTimerMessage()
161 case MSG_TIMEOUT: in handleMessage()
/aosp12/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java41 public static final int MSG_TIMEOUT = 0xC001; field in PowerTestActivity
92 case MSG_TIMEOUT: in onCreate()
131 handler.sendMessageDelayed(handler.obtainMessage(MSG_TIMEOUT), in navigate()
255 handler.removeMessages(MSG_TIMEOUT); in run()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A 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()
/aosp12/packages/apps/Nfc/src/com/android/nfc/handover/
H A 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:
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
H A 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()
H A DBrowserPlayerWrapperTest.java333 timeoutHandler.sendEmptyMessage(BrowsedPlayerWrapper.TimeoutHandler.MSG_TIMEOUT); in testPlayItem_Timeout()
428 timeoutHandler.sendEmptyMessage(BrowsedPlayerWrapper.TimeoutHandler.MSG_TIMEOUT); in testGetFolderItems_Timeout()
/aosp12/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java65 static final int MSG_TIMEOUT = 100; field in BackupRestoreConfirmation
127 case MSG_TIMEOUT: { in handleMessage()
387 mHandler.sendEmptyMessage(MSG_TIMEOUT); in onTimeout()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobServiceContext.java98 private static final int MSG_TIMEOUT = 0; field in JobServiceContext
614 case MSG_TIMEOUT: in handleMessage()
1042 Message m = mCallbackHandler.obtainMessage(MSG_TIMEOUT, mRunningCallback); in scheduleOpTimeOutLocked()
1048 mCallbackHandler.removeMessages(MSG_TIMEOUT); in removeOpTimeOutLocked()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiMonitorTest.java161 WLAN_IFACE_NAME, WpsConfigError.MSG_TIMEOUT, in testBroadcastWpsEventFailDueToConfigError()
169 assertEquals(WpsConfigError.MSG_TIMEOUT, messageCaptor.getValue().arg2); in testBroadcastWpsEventFailDueToConfigError()
H A DSupplicantStaIfaceHalTest.java1505 short cfgError = ISupplicantStaIfaceCallback.WpsConfigError.MSG_TIMEOUT; in testWpsTimeoutCallback()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DSupplicantStaIfaceCallbackImpl.java407 if (configError == WpsConfigError.MSG_TIMEOUT in onWpsEventFail()
/aosp12/hardware/interfaces/wifi/supplicant/1.0/
H A DISupplicantStaIfaceCallback.hal161 MSG_TIMEOUT = 16,