Searched refs:looper (Results 1 – 3 of 3) sorted by relevance
46 ALooper *looper; in main() local115 looper = ALooper_forThread(); in main()116 if (looper == nullptr) { in main()117 looper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); in main()120 eventQueue = ASensorManager_createEventQueue(sensorManager, looper, 0, NULL, in main()
93 android::sp<Looper> looper; in vsyncThreadCamera() local95 looper = new android::Looper(false); in vsyncThreadCamera()101 looper->addFd(pQCameraDisplay->mDisplayEventReceiver.getFd(), 0, ALOOPER_EVENT_INPUT, in vsyncThreadCamera()106 looper->pollOnce(CAMERA_VSYNC_WAIT_MS); in vsyncThreadCamera()
2939 sp<ALooper> looper = new ALooper;2974 looper->setName("ViV_recording_looper");2975 looper->start();2978 looper, "video/avc", true);