Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp125 mainWorkRead = mainWorkWrite = -1; in NativeCode()
140 if (messageQueue != NULL && mainWorkRead >= 0) { in ~NativeCode()
141 messageQueue->getLooper()->removeFd(mainWorkRead); in ~NativeCode()
144 if (mainWorkRead >= 0) close(mainWorkRead); in ~NativeCode()
176 int mainWorkRead; member
226 if (!read_work(code->mainWorkRead, &work)) { in mainWorkCallback()
333 code->mainWorkRead = msgpipe[0]; in loadNativeCode_native()
335 int result = fcntl(code->mainWorkRead, F_SETFL, O_NONBLOCK); in loadNativeCode_native()
342 code->mainWorkRead, 0, ALOOPER_EVENT_INPUT, mainWorkCallback, code.get()); in loadNativeCode_native()