Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 11 of 11) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java79 public static int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, in getMusicIndexOnQueue() argument
82 for (MediaSession.QueueItem item : queue) { in getMusicIndexOnQueue()
91 public static int getMusicIndexOnQueue(Iterable<MediaSession.QueueItem> queue, in getMusicIndexOnQueue() argument
94 for (MediaSession.QueueItem item : queue) { in getMusicIndexOnQueue()
105 List<MediaSession.QueueItem> queue = new ArrayList<>(); in convertToQueue() local
122 queue.add(item); in convertToQueue()
124 return queue; in convertToQueue()
146 public static boolean isIndexPlayable(int index, List<MediaSession.QueueItem> queue) { in isIndexPlayable() argument
147 return (queue != null && index >= 0 && index < queue.size()); in isIndexPlayable()
/development/tools/axl/
Dchewie.py18 self.queue = []
21 self.queue.append([url, time])
24 for x in range(len(self.queue)):
25 rec = self.queue[x]
27 del self.queue[x]
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbMessage.java110 if (request.queue(mMessageBuffer, 24)) { in write()
115 if (request.queue(mDataBuffer, length)) { in write()
132 return request.queue(mMessageBuffer, 24); in readCommand()
137 return request.queue(mDataBuffer, length); in readData()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DQueueFragment.java72 List<MediaSession.QueueItem> queue = mMediaController.getQueue();
73 if (queue != null) {
76 mQueueAdapter.addAll(queue);
117 public void onQueueChanged(List<MediaSession.QueueItem> queue) {
118 LogHelper.d(TAG, "onQueueChanged ", queue);
119 if (queue != null) {
122 mQueueAdapter.addAll(queue);
/development/samples/USB/MissileLauncher/
DREADME.txt13 UsbRequest.queue and UsbDeviceConnection.requestWait()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java350 List<PlaylistItem> queue = in removeItem() local
368 queue.add(item); in removeItem()
372 mPlaylist = queue; in removeItem()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java163 CommandQueue queue) { in translateCommand() argument
199 CommandQueue queue) { in translateCommand() argument
244 CommandQueue queue) { in translateCommand() argument
259 CommandQueue queue) { in translateCommand() argument
DMonkeySourceNetworkVars.java175 CommandQueue queue) { in translateCommand() argument
191 CommandQueue queue) { in translateCommand() argument
/development/samples/browseable/BatchStepSensor/
D_index.jd18 requires manually flushing the sensor event queue before it overflows, which is not
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
DMissileLauncherActivity.java223 request.queue(buffer, 1); in run()
/development/tools/winscope/
Dyarn.lock2420 run-queue "^1.0.0"
5150 run-queue "^1.0.3"
6251 queue-microtask@^1.2.2:
6253 …resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724df…
6558 queue-microtask "^1.2.2"
6560 run-queue@^1.0.0, run-queue@^1.0.3:
6562 …resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618…