Searched refs:inputQueue (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/view/jni/ |
D | android_view_cts_InputQueueTest.cpp | 27 bool waitForEvent(JNIEnv *env, jclass /* clazz */, jobject inputQueue) { in waitForEvent() argument 30 AInputQueue *nativeQueue = AInputQueue_fromJava(env, inputQueue); in waitForEvent() 42 void inputQueueTest(JNIEnv *env, jclass /* clazz */, jobject inputQueue) { in inputQueueTest() argument 43 AInputQueue *nativeQueue = AInputQueue_fromJava(env, inputQueue); in inputQueueTest()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | InputQueueTest.java | 54 private static native boolean waitForEvent(InputQueue inputQueue); in waitForEvent() argument 55 private static native void inputQueueTest(InputQueue inputQueue); in inputQueueTest() argument 71 InputQueue inputQueue = activity.getInputQueue(); in testNativeInputQueue() local 78 assertTrue("Timed out waiting for event", waitForEvent(inputQueue)); in testNativeInputQueue() 80 inputQueueTest(inputQueue); // Check the injected event is received on the native side. in testNativeInputQueue()
|
D | InputQueueCtsActivity.java | 34 public void onInputQueueCreated(InputQueue inputQueue) { in onInputQueueCreated() argument 35 mInputQueue = inputQueue; in onInputQueueCreated() 39 public void onInputQueueDestroyed(InputQueue inputQueue) {} in onInputQueueDestroyed() argument
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/external/ |
D | android_native_app_glue.c | 93 if (android_app->inputQueue != NULL) { in android_app_pre_exec_cmd() 94 AInputQueue_detachLooper(android_app->inputQueue); in android_app_pre_exec_cmd() 96 android_app->inputQueue = android_app->pendingInputQueue; in android_app_pre_exec_cmd() 97 if (android_app->inputQueue != NULL) { in android_app_pre_exec_cmd() 99 AInputQueue_attachLooper(android_app->inputQueue, android_app->looper, in android_app_pre_exec_cmd() 174 if (android_app->inputQueue != NULL) { in android_app_destroy() 175 AInputQueue_detachLooper(android_app->inputQueue); in android_app_destroy() 187 while (AInputQueue_getEvent(app->inputQueue, &event) >= 0) { in process_input() 189 if (AInputQueue_preDispatchEvent(app->inputQueue, event)) { in process_input() 194 AInputQueue_finishEvent(app->inputQueue, event, handled); in process_input() [all …]
|
D | android_native_app_glue.h | 146 AInputQueue* inputQueue; member
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecTest.java | 478 final LinkedBlockingQueue<Integer> inputQueue = new LinkedBlockingQueue<>(); in verifyException() local 482 inputQueue.offer(index); in verifyException() 504 index = inputQueue.poll(2, TimeUnit.SECONDS); in verifyException()
|