Home
last modified time | relevance | path

Searched refs:TimeoutHandler (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
H A DBrowsedPlayerWrapper.java302 class TimeoutHandler extends Handler {
311 TimeoutHandler(Looper looper, PlaybackCallback cb) {
316 TimeoutHandler(Looper looper, BrowseCallback cb, String mediaId) {
367 TimeoutHandler.CALLBACK_TIMEOUT_MS);
384 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
395 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
410 private TimeoutHandler mTimeoutHandler = null;
415 mTimeoutHandler = new TimeoutHandler(mLooper, cb, mediaId);
417 TimeoutHandler.SUBSCRIPTION_TIMEOUT_MS);
468 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT);
[all …]
H A DMediaPlayerWrapper.java336 class TimeoutHandler extends Handler { class in MediaPlayerWrapper
340 TimeoutHandler(Looper looper) { in TimeoutHandler() method in MediaPlayerWrapper.TimeoutHandler
374 mTimeoutHandler = new TimeoutHandler(newLooper); in MediaControllerListener()
387 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in cleanup()
395 mTimeoutHandler.removeMessages(TimeoutHandler.MSG_TIMEOUT); in trySendMediaUpdate()
399 mTimeoutHandler.sendEmptyMessageDelayed(TimeoutHandler.MSG_TIMEOUT, in trySendMediaUpdate()
400 TimeoutHandler.CALLBACK_TIMEOUT_MS); in trySendMediaUpdate()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
H A DBrowserPlayerWrapperTest.java333 timeoutHandler.sendEmptyMessage(BrowsedPlayerWrapper.TimeoutHandler.MSG_TIMEOUT); in testPlayItem_Timeout()
428 timeoutHandler.sendEmptyMessage(BrowsedPlayerWrapper.TimeoutHandler.MSG_TIMEOUT); in testGetFolderItems_Timeout()