Searched defs:queue (Results 1 - 25 of 25) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/newavrcp/helpers/
H A DMediaData.java28 public List<Metadata> queue; field in class:MediaData
35 queue = q;
53 if (!Objects.equals(queue, u.queue)) {
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DIdentityCache.java37 public Entry(K key, V value, ReferenceQueue<V> queue) { argument
38 super(value, queue);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DLruCache.java45 public Entry(K key, V value, ReferenceQueue<V> queue) { argument
46 super(value, queue);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DLruCache.java49 public Entry(K key, V value, ReferenceQueue<V> queue) { argument
50 super(value, queue);
/packages/apps/Music/src/com/android/music/utils/
H A DQueueHelper.java36 * Utility class to help on queue related tasks.
47 LogHelper.e(TAG, "Could not build a playing queue for this mediaId: ", mediaId);
53 LogHelper.d(TAG, "Creating playing queue for ", categoryType, ", ", categoryValue);
82 LogHelper.d(TAG, "Creating playing queue for musics from search ", query);
87 public static int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, String mediaId) { argument
89 for (MediaSession.QueueItem item : queue) {
98 public static int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, long queueId) { argument
100 for (MediaSession.QueueItem item : queue) {
111 List<MediaSession.QueueItem> queue = new ArrayList<>();
114 // We create a hierarchy-aware mediaID, so we know what the queue i
162 isIndexPlayable(int index, List<MediaSession.QueueItem> queue) argument
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
H A DTaskQueue.java33 * A queue that manages priority and duplication of {@link Task}. A task is identified by a {@link
39 private final Queue<Task> queue = new ArrayDeque<>(); field in class:TaskQueue
42 List<Bundle> result = new ArrayList<>(queue.size());
43 for (Task task : queue) {
50 Assert.isTrue(queue.isEmpty());
59 * Add a new task to the queue. A new task with a TaskId collision will be discarded, and {@link
77 queue.add(task);
82 queue.remove(task);
87 for (Task task : queue) {
120 for (Task task : queue) {
[all...]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DTouchConsumer.java59 default Choreographer getIntrimChoreographer(MotionEventQueue queue) { argument
H A DDeferredTouchConsumer.java82 public Choreographer getIntrimChoreographer(MotionEventQueue queue) { argument
83 mMyQueue = queue;
H A DMotionEventQueue.java109 public void queue(MotionEvent event) { method in class:MotionEventQueue
H A DOtherActivityTouchConsumer.java323 public Choreographer getIntrimChoreographer(MotionEventQueue queue) { argument
324 mEventQueue = queue;
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileCleaningTracker.java240 * @param queue the queue on to which the tracker will be pushed, not null
242 Tracker(String path, FileDeleteStrategy deleteStrategy, Object marker, ReferenceQueue<Object> queue) { argument
243 super(marker, queue);
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
H A DTestUtils.java199 * @param queue the queue for the intent
202 public static Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { argument
204 Intent intent = queue.poll(timeoutMs, TimeUnit.MILLISECONDS);
208 Assert.fail("Cannot obtain an Intent from the queue: " + e.getMessage());
218 * @param queue the queue for the intent
221 public static Intent waitForNoIntent(int timeoutMs, BlockingQueue<Intent> queue) { argument
223 Intent intent = queue.poll(timeoutMs, TimeUnit.MILLISECONDS);
227 Assert.fail("Cannot obtain an Intent from the queue
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DEventLoader.java164 public LoaderThread(LinkedBlockingQueue<LoadRequest> queue, EventLoader eventLoader) { argument
165 mQueue = queue;
174 // queue is full. This should never happen because the queue
255 // queue is full. This should never happen because the queue
281 // queue is full. This should never happen because the queue
/packages/apps/Car/Media/src/com/android/car/media/drawer/
H A DMediaQueueItemsFetcher.java38 * currently playing queue.
112 // the queue isn't going to be very long anyway so we can just do the trivial thing. If
123 private void updateItemsFrom(List<MediaSession.QueueItem> queue) { argument
125 mItems.addAll(queue);
141 public void onQueueChanged(List<MediaSession.QueueItem> queue) {
142 updateItemsFrom(queue);
148 // Since active playing item may have changed, force re-draw of queue items.
/packages/apps/Car/Media/src/com/android/car/media/
H A DMediaPlaybackModel.java94 void onQueueChanged(List<MediaSession.QueueItem> queue); argument
119 public void onQueueChanged(List<MediaSession.QueueItem> queue) {} argument
148 // Calling this with null will clear queue of callbacks and message. This needs to be done
381 public void onQueueChanged(final List<MediaSession.QueueItem> queue) {
384 queue != null ? queue : new ArrayList<>();
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
H A DRecordingSampleBuffer.java203 private boolean maybeReadSample(SampleQueue queue, int index) { argument
204 if (queue.getLastQueuedPositionUs() != null
205 && queue.getLastQueuedPositionUs() > mCurrentPlaybackPositionUs + BUFFER_NEEDED_US
206 && queue.isDurationGreaterThan(MIN_SEEK_DURATION_US)) {
208 // If the duration of the samples in the queue is not limited,
216 queue.queueSample(sample);
274 SampleQueue queue = mReadSampleQueues.get(i);
275 maybeReadSample(queue, i);
276 if (queue.getLastQueuedPositionUs() == null
277 || positionUs > queue
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/newavrcp/
H A DAvrcpNativeInterface.java156 void sendMediaUpdate(boolean metadata, boolean playStatus, boolean queue) { argument
159 + " queue=" + queue);
160 sendMediaUpdateNative(metadata, playStatus, queue);
H A DMediaPlayerWrapper.java99 newWrapper.mCurrentData.queue = Util.toMetadataList(newWrapper.getQueue());
148 return mCurrentData.queue;
161 // Return immediately if no queue exists.
163 Log.w(TAG, "playItemFromQueue: Trying to play item for player that has no queue: "
191 * Return whether the queue, metadata, and queueID are all in sync.
200 == getActiveQueueID()) { // The item exists in the current queue
382 + " tried to update with no queue");
413 + " tried to update with no queue");
439 public void onQueueChanged(@Nullable List<MediaSession.QueueItem> queue) { argument
442 + " tried to update with no queue");
[all...]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
H A DHidDeviceTest.java165 Assert.fail("Cannot add Intent to the queue");
170 private Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { argument
172 Intent intent = queue.poll(timeoutMs, TimeUnit.MILLISECONDS);
176 Assert.fail("Cannot obtain an Intent from the queue");
192 private void verifyCallback(int timeoutMs, int callbackType, BlockingQueue<Integer> queue) { argument
194 Integer lastCallback = queue.poll(timeoutMs, TimeUnit.MILLISECONDS);
199 Assert.fail("Cannot obtain a callback from the queue");
212 Assert.fail("Cannot add Intent to the queue");
224 Assert.fail("Cannot add Intent to the queue");
232 Assert.fail("Cannot add Intent to the queue");
[all...]
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
H A DDataModel.java198 * Note: This clears out the queue. You should have a local copy of the queue before calling
369 // We rebuild the queue here so if the user selects the item then we
370 // can immediately use this queue.
461 public Builder setQueue(List<QueueItem> queue) { argument
462 mQueue = queue;
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_avrcp_target.cpp221 jboolean queue) {
230 queue == JNI_TRUE);
219 sendMediaUpdateNative(JNIEnv* env, jobject object, jboolean metadata, jboolean state, jboolean queue) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcp.java460 public void onQueueChanged(List<MediaSession.QueueItem> queue) { argument
461 if (queue == null) {
462 Log.v(TAG, "onQueueChanged: received null queue");
473 + queue.size());
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/apps/Car/Radio/libs/android-arch/room/
H A Dcompiler-1.1.0-beta3.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/arch/ android/arch/persistence/ android/arch/persistence/room/ ...

Completed in 483 milliseconds