Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DBrowsedPlayerWrapper.java351 private Handler mTimeoutHandler = null;
373 mTimeoutHandler = new TimeoutHandler(mLooper, mPlaybackCallback);
374 mController.registerCallback(this, mTimeoutHandler);
375 mTimeoutHandler.sendEmptyMessageDelayed(
392 if (mTimeoutHandler != null) {
393 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
395 mTimeoutHandler = null;
404 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
419 private TimeoutHandler mTimeoutHandler = null;
424 mTimeoutHandler = new TimeoutHandler(mLooper, cb, mediaId);
[all …]
DMediaPlayerWrapper.java414 private Handler mTimeoutHandler; field in MediaPlayerWrapper.MediaControllerListener
419 mTimeoutHandler = new TimeoutHandler(newLooper); in MediaControllerListener()
424 mController.registerCallback(this, mTimeoutHandler); in MediaControllerListener()
432 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in cleanup()
433 mTimeoutHandler = null; in cleanup()
439 if (mTimeoutHandler == null) return; in trySendMediaUpdate()
440 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in trySendMediaUpdate()
444 mTimeoutHandler.sendEmptyMessageDelayed( in trySendMediaUpdate()
571 return mTimeoutHandler; in getTimeoutHandler()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppBtEnablingActivity.java87 mTimeoutHandler.sendMessageDelayed( in onCreate()
88 mTimeoutHandler.obtainMessage(BT_ENABLING_TIMEOUT), sBtEnablingTimeoutMs); in onCreate()
103 mTimeoutHandler.removeMessages(BT_ENABLING_TIMEOUT); in onKeyDown()
118 final Handler mTimeoutHandler = field in BluetoothOppBtEnablingActivity
144 mTimeoutHandler.removeMessages(BT_ENABLING_TIMEOUT);
DBluetoothOppIncomingFileConfirmActivity.java223 mTimeoutHandler, DISMISS_TIMEOUT_DIALOG, DISMISS_TIMEOUT_DIALOG_VALUE); in onTimeout()
226 private final Handler mTimeoutHandler = 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.java97 private Handler mTimeoutHandler; field in SuccessState.SuccessFragment
118 mTimeoutHandler = new Handler(getActivity().getMainLooper()) { in onCreate()
136 mTimeoutHandler.sendEmptyMessageDelayed(MSG_TIME_OUT, in onResume()
143 mTimeoutHandler.removeMessages(MSG_TIME_OUT); in onPause()
/packages/services/Car/car-lib/src/com/android/car/internal/
DLongPendingRequestPool.java46 private final Handler mTimeoutHandler; field in LongPendingRequestPool
96 mTimeoutHandler = new Handler(looper, new MessageHandler()); in LongPendingRequestPool()
150 mTimeoutHandler.sendMessageAtTime(messagesToSend.valueAt(i), messagesToSend.keyAt(i)); in addPendingRequests()
185 HandlerHelper.removeEqualMessages(mTimeoutHandler, REQUESTS_TIMEOUT_MESSAGE_TYPE, in removeRequest()
/packages/services/Car/car-lib/src/android/car/util/concurrent/
DAndroidFuture.java68 private @NonNull Handler mTimeoutHandler = getMainHandler(); field in AndroidFuture
268 mTimeoutHandler.postDelayed(this::triggerTimeout, this, unit.toMillis(timeout)); in orTimeout()
285 mTimeoutHandler.removeCallbacksAndMessages(this); in cancelTimeout()
294 mTimeoutHandler = Preconditions.checkNotNull(h); in setTimeoutHandler()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java218 mTimeoutHandler, DISMISS_TIMEOUT_DIALOG, DISMISS_TIMEOUT_DIALOG_DELAY_MS); in onTimeout()
261 private final Handler mTimeoutHandler = field in BluetoothPbapActivity
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DBrowserPlayerWrapperTest.java67 @Captor ArgumentCaptor<Handler> mTimeoutHandler; field in BrowserPlayerWrapperTest
335 verify(mockController).registerCallback(any(), mTimeoutHandler.capture()); in testPlayItem_Timeout()
336 Handler timeoutHandler = mTimeoutHandler.getValue(); in testPlayItem_Timeout()