Searched refs:queue (Results 1 - 13 of 13) sorted by relevance

/development/ndk/platforms/android-9/include/android/
H A Dsensor.h166 * Creates a new sensor event queue and associate it with a looper.
172 * Destroys the event queue and free all resources associated to it.
174 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue);
182 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
187 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
196 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
200 * sensor queue. Returns 1 if the queue has events; 0 if
203 int ASensorEventQueue_hasEvents(ASensorEventQueue* queue);
206 * Returns the next available events from the queue
[all...]
H A Dnative_activity.h189 * The input queue for this native activity's window has been created.
190 * You can use the given input queue to start retrieving input events.
192 void (*onInputQueueCreated)(ANativeActivity* activity, AInputQueue* queue);
195 * The input queue for this native activity's window is being destroyed.
199 void (*onInputQueueDestroyed)(ANativeActivity* activity, AInputQueue* queue);
H A Dinput.h635 * Input queue
637 * An input queue is the facility through which you retrieve input
644 * Add this input queue to a looper for processing. See
647 void AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper,
651 * Remove the input queue from the looper it is currently attached to.
653 void AInputQueue_detachLooper(AInputQueue* queue);
657 * input queue. Returns 1 if the queue has events; 0 if
660 int32_t AInputQueue_hasEvents(AInputQueue* queue);
663 * Returns the next available event from the queue
[all...]
/development/cmds/monkey/src/com/android/commands/monkey/
H A DMonkeySourceNetwork.java100 * @param queue the command queue.
103 MonkeyCommandReturn translateCommand(List<String> command, CommandQueue queue); argument
113 CommandQueue queue) {
117 queue.enqueueEvent(new MonkeyFlipEvent(true));
120 queue.enqueueEvent(new MonkeyFlipEvent(false));
137 CommandQueue queue) {
165 queue.enqueueEvent(new MonkeyTouchEvent(action)
181 CommandQueue queue) {
193 queue
112 translateCommand(List<String> command, CommandQueue queue) argument
136 translateCommand(List<String> command, CommandQueue queue) argument
180 translateCommand(List<String> command, CommandQueue queue) argument
209 translateCommand(List<String> command, CommandQueue queue) argument
271 translateCommand(List<String> command, CommandQueue queue) argument
294 translateCommand(List<String> command, CommandQueue queue) argument
322 translateCommand(List<String> command, CommandQueue queue) argument
337 translateCommand(List<String> command, CommandQueue queue) argument
366 translateCommand(List<String> command, CommandQueue queue) argument
407 translateCommand(List<String> command, CommandQueue queue) argument
[all...]
H A DMonkeySourceNetworkViews.java162 CommandQueue queue) {
198 CommandQueue queue) {
243 CommandQueue queue) {
258 CommandQueue queue) {
161 translateCommand(List<String> command, CommandQueue queue) argument
197 translateCommand(List<String> command, CommandQueue queue) argument
242 translateCommand(List<String> command, CommandQueue queue) argument
257 translateCommand(List<String> command, CommandQueue queue) argument
H A DMonkeySourceNetworkVars.java175 CommandQueue queue) {
191 CommandQueue queue) {
174 translateCommand(List<String> command, CommandQueue queue) argument
190 translateCommand(List<String> command, CommandQueue queue) argument
/development/tools/axl/
H A 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]
30 ## pull out request lag -- queue to start to done
/development/ndk/platforms/android-3/include/linux/
H A Dmsm_adsp.h22 uint16_t queue; member in struct:adsp_command_t
/development/samples/USB/AdbTest/src/com/android/adb/
H A DAdbMessage.java110 if (request.queue(mMessageBuffer, 24)) {
115 if (request.queue(mDataBuffer, length)) {
132 return request.queue(mMessageBuffer, 24);
137 return request.queue(mDataBuffer, length);
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DMediaSessionManager.java27 * MediaSessionManager manages a media session as a queue. It supports common
49 // fail if queue id is invalid
55 // if queue id is unspecified, invalidate current queue
178 // play the item at queue head
259 List<MediaQueueItem> queue =
271 queue.add(item);
275 mQueue = queue;
/development/ndk/sources/android/native_app_glue/
H A Dandroid_native_app_glue.c98 LOGV("Attaching input queue to looper");
412 static void onInputQueueCreated(ANativeActivity* activity, AInputQueue* queue) { argument
413 LOGV("InputQueueCreated: %p -- %p\n", activity, queue);
414 android_app_set_input((struct android_app*)activity->instance, queue);
417 static void onInputQueueDestroyed(ANativeActivity* activity, AInputQueue* queue) { argument
418 LOGV("InputQueueDestroyed: %p -- %p\n", activity, queue);
/development/ndk/platforms/android-3/include/linux/raid/
H A Dmd_k.h155 request_queue_t *queue; member in struct:mddev_s
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
H A DMissileLauncherActivity.java222 // queue a request on the interrupt endpoint
223 request.queue(buffer, 1);

Completed in 883 milliseconds