Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp409 mainWorkRead = mainWorkWrite = -1; in NativeCode()
419 if (messageQueue != NULL && mainWorkRead >= 0) { in ~NativeCode()
420 messageQueue->getLooper()->removeFd(mainWorkRead); in ~NativeCode()
427 if (mainWorkRead >= 0) close(mainWorkRead); in ~NativeCode()
482 int mainWorkRead; member
528 if (!read_work(code->mainWorkRead, &work)) { in mainWorkCallback()
641 code->mainWorkRead = msgpipe[0]; in loadNativeCode_native()
643 int result = fcntl(code->mainWorkRead, F_SETFL, O_NONBLOCK); in loadNativeCode_native()
650 code->mainWorkRead, 0, ALOOPER_EVENT_INPUT, mainWorkCallback, code); in loadNativeCode_native()