Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerWrapper.java327 private Handler mTimeoutHandler; field in MediaPlayerWrapper.MediaControllerListener
332 mTimeoutHandler = new TimeoutHandler(newLooper); in MediaControllerListener()
337 mController.registerCallback(this, mTimeoutHandler); in MediaControllerListener()
345 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in cleanup()
346 mTimeoutHandler = null; in cleanup()
352 if (mTimeoutHandler == null) return; in trySendMediaUpdate()
353 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in trySendMediaUpdate()
357 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT, in trySendMediaUpdate()
468 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.java87 mTimeoutHandler.sendMessageDelayed(mTimeoutHandler.obtainMessage(BT_ENABLING_TIMEOUT), in onCreate()
105 mTimeoutHandler.removeMessages(BT_ENABLING_TIMEOUT); in onKeyDown()
119 private final Handler mTimeoutHandler = new Handler() { field in BluetoothOppBtEnablingActivity
145 mTimeoutHandler.removeMessages(BT_ENABLING_TIMEOUT);
DBluetoothOppIncomingFileConfirmActivity.java215 mTimeoutHandler.sendMessageDelayed(mTimeoutHandler.obtainMessage(DISMISS_TIMEOUT_DIALOG), in onTimeout()
219 private final Handler mTimeoutHandler = new Handler() { field in BluetoothOppIncomingFileConfirmActivity
/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/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/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBlePeripheralManager.java85 private final Handler mTimeoutHandler; field in CarBlePeripheralManager
125 mTimeoutHandler = new Handler(Looper.getMainLooper()); in CarBlePeripheralManager()
193 mTimeoutHandler.postDelayed(mTimeoutRunnable, in connectToDevice()
201 mTimeoutHandler.removeCallbacks(mTimeoutRunnable); in connectToDevice()
367 mTimeoutHandler.removeCallbacks(mTimeoutRunnable); in addConnectedDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java222 mTimeoutHandler.sendMessageDelayed(mTimeoutHandler.obtainMessage(DISMISS_TIMEOUT_DIALOG), in onTimeout()
270 private final Handler mTimeoutHandler = new Handler() { field in BluetoothPbapActivity
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DBrowserPlayerWrapperTest.java49 @Captor ArgumentCaptor<Handler> mTimeoutHandler; field in BrowserPlayerWrapperTest
227 verify(mockController).registerCallback(any(), mTimeoutHandler.capture()); in testPlayItem_Timeout()
228 Handler timeoutHandler = mTimeoutHandler.getValue(); in testPlayItem_Timeout()