Home
last modified time | relevance | path

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

/hardware/google/pixel/pixelstats/
DOrientationCollector.cpp99 ALooper *looper = nullptr; in init() local
107 looper = ALooper_forThread(); in init()
108 if (looper == nullptr) { in init()
109 looper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); in init()
111 if (looper == nullptr) { in init()
115 mQueue = ASensorManager_createEventQueue(mSensorManager, looper, 0, nullptr, nullptr); in init()
/hardware/interfaces/automotive/vehicle/2.0/default/
DVehicleService.cpp57 sp<Looper> looper(Looper::prepare(0 /* opts */)); in main() local
59 ndk::SharedRefBase::make<WatchdogClient>(looper, service.get()); in main()
68 looper->pollAll(-1 /* timeoutMillis */); in main()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraDisplay.cpp93 android::sp<Looper> looper; in vsyncThreadCamera() local
95 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()
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
Dqcamera_test.cpp2934 sp<ALooper> looper = new ALooper; in configureViVCodec() local
2969 looper->setName("ViV_recording_looper"); in configureViVCodec()
2970 looper->start(); in configureViVCodec()
2973 looper, "video/avc", true); in configureViVCodec()