Home
last modified time | relevance | path

Searched refs:getQueue (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java95 mCurrentData.queue = Util.toMetadataList(mContext, getQueue()); in MediaPlayerWrapper()
111 protected List<MediaSession.QueueItem> getQueue() { in getQueue() method in MediaPlayerWrapper
112 return mMediaController.getQueue(); in getQueue()
148 if (getQueue() == null) { in playItemFromQueue()
218 List<MediaSession.QueueItem> queue = getQueue(); in isMetadataSynced()
266 Util.toMetadataList(mContext, getQueue())); in registerCallback()
303 Util.toMetadataList(mContext, getQueue())); in updateMediaController()
313 Util.toMetadataList(mContext, getQueue())); in sendMediaUpdate()
354 List<Metadata> current_queue = Util.toMetadataList(mContext, getQueue()); in handleMessage()
482 if (!Objects.equals(queue, getQueue())) { in onQueueChanged()
DGPMWrapper.java39 if (getQueue() == null) { in isMetadataSynced()
45 for (MediaSession.QueueItem item : getQueue()) { in isMetadataSynced()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapperTest.java157 doReturn(getQueueFromDescriptions(mTestQueue)).when(mMockController).getQueue(); in setUp()
229 doReturn(null).when(mMockController).getQueue(); in testControllerUpdate()
257 doReturn(null).when(mMockController).getQueue(); in testNoQueueMediaUpdates()
319 doReturn(null).when(mMockController).getQueue(); in testDataOnUpdateNoQueue()
363 doReturn(null).when(mMockController).getQueue(); in testNullMetadata()
392 doReturn(null).when(mMockController).getQueue(); in testNullQueue()
426 verify(mMockController, times(2)).getQueue(); in testQueueCached()
442 doReturn(null).when(mMockController).getQueue(); in testPlaybackStateUpdateSpam()
570 doReturn(getQueueFromDescriptions(mTestQueue)).when(mMockController).getQueue(); in testMetadataSync()
698 doReturn(q).when(mMockController).getQueue(); in testMetadataSyncFuzz()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLooperIdleLock.java36 looper.getQueue().addIdleHandler(this); in LooperIdleLock()
48 mLooper.getQueue().removeIdleHandler(this); in queueIdle()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/mockable/
DMediaController.java96 public List<MediaSession.QueueItem> getQueue() { in getQueue() method in MediaController
97 return mDelegate.getQueue(); in getQueue()
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java479 final MessageQueue mainThreadMessageQueue = Looper.getMainLooper().getQueue(); in registerFDListener()
524 Looper.getMainLooper().getQueue().removeOnFileDescriptorEventListener(queryfd); in cancelQuery()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DFdEventsReader.java97 mQueue = mHandler.getLooper().getQueue(); in FdEventsReader()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java187 public LiveData<List<MediaItemMetadata>> getQueue() { in getQueue() method in PlaybackViewModel
289 onQueueChanged(mMediaController.getQueue()); in setMediaController()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileDeleteUiTest.java141 if (exec.getQueue().size() >= 80) { in createStubFiles()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseLoaderResults.java122 if (mUiExecutor.getLooper().getQueue().isIdle()) { in newIdleLock()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java278 looper.getQueue().addIdleHandler(idle); in waitForLooperToBeIdle()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DTcpKeepaliveController.java107 mFdHandlerQueue = connectivityServiceHandler.getLooper().getQueue(); in TcpKeepaliveController()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java353 controller == null ? null : controller.getQueue(); in dump()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DPlaybackViewModelTest.java142 mPlaybackViewModel.getQueue().observe(mLifecycleOwner, observer); in testGetSanitizedQueue()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java145 public List<QueueItem> getQueue() { in getQueue() method in DataModel
DPlayer.java336 List<QueueItem> queue = mDataModel.getQueue(); in startPlayback()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java1228 List<MediaSessionCompat.QueueItem> queue = controller.getQueue(); in testBecomeActive()
1363 List<MediaSessionCompat.QueueItem> queue = controller.getQueue(); in testNowPlayingListChangeWhileNotActiveDevice()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java939 getMainLooper().getQueue().addIdleHandler(new IdleHandler() { in addListenerForLaunchCompletion()
/packages/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java795 while (!mLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java655 getPlaybackViewModel().getQueue().observe(this, this::setQueue); in initQueue()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java1505 final MessageQueue fdHandlerQueue = Looper.getMainLooper().getQueue(); in testCreateTcpKeepalive()