Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp120 mainWorkRead = mainWorkWrite = -1; in NativeCode()
130 if (messageQueue != NULL && mainWorkRead >= 0) { in ~NativeCode()
131 messageQueue->getLooper()->removeFd(mainWorkRead); in ~NativeCode()
134 if (mainWorkRead >= 0) close(mainWorkRead); in ~NativeCode()
166 int mainWorkRead; member
212 if (!read_work(code->mainWorkRead, &work)) { in mainWorkCallback()
309 code->mainWorkRead = msgpipe[0]; in loadNativeCode_native()
311 int result = fcntl(code->mainWorkRead, F_SETFL, O_NONBLOCK); in loadNativeCode_native()
318 code->mainWorkRead, 0, ALOOPER_EVENT_INPUT, mainWorkCallback, code); in loadNativeCode_native()