Home
last modified time | relevance | path

Searched refs:mTimeoutHandler (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java369 private Handler mTimeoutHandler; field in MediaPlayerWrapper.MediaControllerListener
374 mTimeoutHandler = new TimeoutHandler(newLooper); in MediaControllerListener()
379 mController.registerCallback(this, mTimeoutHandler); in MediaControllerListener()
387 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in cleanup()
388 mTimeoutHandler = null; in cleanup()
394 if (mTimeoutHandler == null) return; in trySendMediaUpdate()
395 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in trySendMediaUpdate()
399 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT, in trySendMediaUpdate()
510 return mTimeoutHandler; in getTimeoutHandler()
DBrowsedPlayerWrapper.java327 private Handler mTimeoutHandler = null;
349 mTimeoutHandler = new TimeoutHandler(mLooper, mPlaybackCallback);
350 mController.registerCallback(this, mTimeoutHandler);
351 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT,
368 if (mTimeoutHandler != null) {
369 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
371 mTimeoutHandler = null;
380 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppBtEnablingActivity.java90 mTimeoutHandler.sendMessageDelayed(mTimeoutHandler.obtainMessage(BT_ENABLING_TIMEOUT), in onCreate()
108 mTimeoutHandler.removeMessages(BT_ENABLING_TIMEOUT); in onKeyDown()
122 private final Handler mTimeoutHandler = new Handler() { field in BluetoothOppBtEnablingActivity
148 mTimeoutHandler.removeMessages(BT_ENABLING_TIMEOUT);
DBluetoothOppIncomingFileConfirmActivity.java214 mTimeoutHandler.sendMessageDelayed(mTimeoutHandler.obtainMessage(DISMISS_TIMEOUT_DIALOG), in onTimeout()
218 private final Handler mTimeoutHandler = new Handler() { field in BluetoothOppIncomingFileConfirmActivity
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSuccessState.java71 private Handler mTimeoutHandler; field in SuccessState.SuccessFragment
92 mTimeoutHandler = new Handler(getActivity().getMainLooper()) { in onCreate()
110 mTimeoutHandler.sendEmptyMessageDelayed(MSG_TIME_OUT, in onResume()
117 mTimeoutHandler.removeMessages(MSG_TIME_OUT); in onPause()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DSaveSuccessState.java70 private Handler mTimeoutHandler; field in SaveSuccessState.SaveSuccessFragment
91 mTimeoutHandler = new Handler() { in onCreate()
109 mTimeoutHandler.sendEmptyMessageDelayed(MSG_TIME_OUT, in onResume()
116 mTimeoutHandler.removeMessages(MSG_TIME_OUT); in onPause()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java213 mTimeoutHandler.sendMessageDelayed(mTimeoutHandler.obtainMessage(DISMISS_TIMEOUT_DIALOG), in onTimeout()
261 private final Handler mTimeoutHandler = new Handler() { field in BluetoothPbapActivity
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DBrowserPlayerWrapperTest.java65 @Captor ArgumentCaptor<Handler> mTimeoutHandler; field in BrowserPlayerWrapperTest
330 verify(mockController).registerCallback(any(), mTimeoutHandler.capture()); in testPlayItem_Timeout()
331 Handler timeoutHandler = mTimeoutHandler.getValue(); in testPlayItem_Timeout()