Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 14 of 14) 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/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetwork.java104 MonkeyCommandReturn translateCommand(List<String> command, CommandQueue queue); in translateCommand() argument
114 CommandQueue queue) { in translateCommand() argument
118 queue.enqueueEvent(new MonkeyFlipEvent(true)); in translateCommand()
121 queue.enqueueEvent(new MonkeyFlipEvent(false)); in translateCommand()
138 CommandQueue queue) { in translateCommand() argument
166 queue.enqueueEvent(new MonkeyTouchEvent(action) in translateCommand()
182 CommandQueue queue) { in translateCommand() argument
194 queue.enqueueEvent(new MonkeyTrackballEvent(MotionEvent.ACTION_MOVE) in translateCommand()
211 CommandQueue queue) { in translateCommand() argument
230 queue.enqueueEvent(new MonkeyKeyEvent(action, keyCode)); in translateCommand()
[all …]
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/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/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/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1772 TreeMap<Integer, ImageSaver.ImageSaverBuilder> queue) {
1776 queue.remove(requestId);
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py3789 queue = list(lib.deps_all)
3790 visited = set(queue)
3795 while queue:
3798 for lib in queue:
3805 deps.append(collect_path_sorted_lib_idxs(queue))
3807 queue = next_queue
/development/tools/winscope/
Dyarn.lock2329 run-queue "^1.0.0"
5142 run-queue "^1.0.3"
5502 yocto-queue "^0.1.0"
6269 queue-microtask@^1.2.2:
6271 …resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724df…
6565 queue-microtask "^1.2.2"
6567 run-queue@^1.0.0, run-queue@^1.0.3:
6569 …resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618…
8106 yocto-queue@^0.1.0:
8108 …resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5…