Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_MessageQueue.cpp118 NativeMessageQueue* nativeMessageQueue = new NativeMessageQueue(); in android_os_MessageQueue_nativeInit() local
119 if (!nativeMessageQueue) { in android_os_MessageQueue_nativeInit()
124 nativeMessageQueue->incStrong(env); in android_os_MessageQueue_nativeInit()
125 return reinterpret_cast<jint>(nativeMessageQueue); in android_os_MessageQueue_nativeInit()
129 NativeMessageQueue* nativeMessageQueue = reinterpret_cast<NativeMessageQueue*>(ptr); in android_os_MessageQueue_nativeDestroy() local
130 nativeMessageQueue->decStrong(env); in android_os_MessageQueue_nativeDestroy()
135 NativeMessageQueue* nativeMessageQueue = reinterpret_cast<NativeMessageQueue*>(ptr); in android_os_MessageQueue_nativePollOnce() local
136 nativeMessageQueue->pollOnce(env, timeoutMillis); in android_os_MessageQueue_nativePollOnce()
140 NativeMessageQueue* nativeMessageQueue = reinterpret_cast<NativeMessageQueue*>(ptr); in android_os_MessageQueue_nativeWake() local
141 return nativeMessageQueue->wake(); in android_os_MessageQueue_nativeWake()