Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraDeviceCallbacks.cpp38 mCbLooper = new ALooper; in initializeLooper()
39 mCbLooper->setName("cs-looper"); in initializeLooper()
40 status_t err = mCbLooper->start(/*runOnCallingThread*/ false, /*canCallJava*/ false, in initializeLooper()
47 mCbLooper->registerHandler(mHandler); in initializeLooper()
52 if (mCbLooper != nullptr) { in ~H2BCameraDeviceCallbacks()
54 mCbLooper->unregisterHandler(mHandler->id()); in ~H2BCameraDeviceCallbacks()
56 mCbLooper->stop(); in ~H2BCameraDeviceCallbacks()
58 mCbLooper.clear(); in ~H2BCameraDeviceCallbacks()
DAidlCameraDeviceCallbacks.h123 sp<ALooper> mCbLooper = nullptr; member
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp63 if (mCbLooper != nullptr) { in ~CameraManagerGlobal()
64 mCbLooper->unregisterHandler(mHandler->id()); in ~CameraManagerGlobal()
65 mCbLooper->stop(); in ~CameraManagerGlobal()
67 mCbLooper.clear(); in ~CameraManagerGlobal()
107 if (mCbLooper == nullptr) { in getCameraServiceLocked()
108 mCbLooper = new ALooper; in getCameraServiceLocked()
109 mCbLooper->setName("C2N-mgr-looper"); in getCameraServiceLocked()
110 status_t err = mCbLooper->start( in getCameraServiceLocked()
117 mCbLooper.clear(); in getCameraServiceLocked()
123 mCbLooper->registerHandler(mHandler); in getCameraServiceLocked()
DACameraManager.h196 sp<ALooper> mCbLooper; // Looper thread where callbacks actually happen on variable
DACameraDevice.h208 sp<ALooper> mCbLooper; variable
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp171 if (mCbLooper != nullptr) { in ~CameraManagerGlobal()
172 mCbLooper->unregisterHandler(mHandler->id()); in ~CameraManagerGlobal()
173 mCbLooper->stop(); in ~CameraManagerGlobal()
175 mCbLooper.clear(); in ~CameraManagerGlobal()
239 if (mCbLooper == nullptr) { in getCameraService()
240 mCbLooper = new ALooper; in getCameraService()
241 mCbLooper->setName("C2N-mgr-looper"); in getCameraService()
242 status_t err = mCbLooper->start( in getCameraService()
249 mCbLooper.clear(); in getCameraService()
255 mCbLooper->registerHandler(mHandler); in getCameraService()
DACameraDevice.cpp94 mCbLooper = new ALooper; in CameraDevice()
95 mCbLooper->setName("C2N-dev-looper"); in CameraDevice()
96 status_t err = mCbLooper->start( in CameraDevice()
106 mCbLooper->registerHandler(mHandler); in CameraDevice()
1399 if (mCbLooper != nullptr) { in stopLooperAndDisconnect()
1400 mCbLooper->unregisterHandler(mHandler->id()); in stopLooperAndDisconnect()
1401 mCbLooper->stop(); in stopLooperAndDisconnect()
1403 mCbLooper.clear(); in stopLooperAndDisconnect()
DACameraManager.h187 sp<ALooper> mCbLooper; // Looper thread where callbacks actually happen on variable
DACameraDevice.h237 sp<ALooper> mCbLooper; variable
/frameworks/av/media/ndk/
DNdkImageReader.cpp339 mCbLooper = new ALooper; in init()
340 mCbLooper->setName(consumerName.string()); in init()
341 res = mCbLooper->start( in init()
350 mCbLooper->registerHandler(mHandler); in init()
367 if (mCbLooper != nullptr) { in close()
368 mCbLooper->unregisterHandler(mHandler->id()); in close()
369 mCbLooper->stop(); in close()
371 mCbLooper.clear(); in close()
DNdkImageReaderPriv.h116 sp<ALooper> mCbLooper; // Looper thread where callbacks actually happen on member