Home
last modified time | relevance | path

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

/frameworks/base/cmds/uinput/jni/
Dcom_android_commands_uinput_Device.cpp146 ALooper* aLooper = ALooper_forThread(); in UinputDevice() local
147 if (aLooper == nullptr) { in UinputDevice()
149 aLooper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); in UinputDevice()
152 aLooper, mFd, 0, ALOOPER_EVENT_INPUT, in UinputDevice()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp186 ALooper* aLooper = ALooper_forThread(); in Device() local
187 if (aLooper == NULL) { in Device()
189 aLooper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); in Device()
191 ALooper_addFd(aLooper, mFd, 0, ALOOPER_EVENT_INPUT, handleLooperEvents, in Device()