Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp111 mainWorkRead = mainWorkWrite = -1; in NativeCode()
121 if (messageQueue != NULL && mainWorkRead >= 0) { in ~NativeCode()
122 messageQueue->getLooper()->removeFd(mainWorkRead); in ~NativeCode()
125 if (mainWorkRead >= 0) close(mainWorkRead); in ~NativeCode()
157 int mainWorkRead; member
203 if (!read_work(code->mainWorkRead, &work)) { in mainWorkCallback()
284 code->mainWorkRead = msgpipe[0]; in loadNativeCode_native()
286 int result = fcntl(code->mainWorkRead, F_SETFL, O_NONBLOCK); in loadNativeCode_native()
293 code->mainWorkRead, 0, ALOOPER_EVENT_INPUT, mainWorkCallback, code); in loadNativeCode_native()