Home
last modified time | relevance | path

Searched refs:mCbLooper (Results 1 – 12 of 12) 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.h125 sp<ALooper> mCbLooper = nullptr; member
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp64 if (mCbLooper != nullptr) { in ~CameraManagerGlobal()
65 mCbLooper->unregisterHandler(mHandler->id()); in ~CameraManagerGlobal()
66 mCbLooper->stop(); in ~CameraManagerGlobal()
68 mCbLooper.clear(); in ~CameraManagerGlobal()
102 if (mCbLooper == nullptr) { in getCameraServiceLocked()
103 mCbLooper = new ALooper; in getCameraServiceLocked()
104 mCbLooper->setName("C2N-mgr-looper"); in getCameraServiceLocked()
105 status_t err = mCbLooper->start( in getCameraServiceLocked()
112 mCbLooper.clear(); in getCameraServiceLocked()
118 mCbLooper->registerHandler(mHandler); in getCameraServiceLocked()
DACameraDevice.cpp71 mCbLooper = new ALooper; in CameraDevice()
72 mCbLooper->setName("C2N-dev-looper"); in CameraDevice()
73 status_t err = mCbLooper->start( in CameraDevice()
83 mCbLooper->registerHandler(mHandler); in CameraDevice()
896 if (mCbLooper != nullptr) { in stopLooperAndDisconnect()
897 mCbLooper->unregisterHandler(mHandler->id()); in stopLooperAndDisconnect()
898 mCbLooper->stop(); in stopLooperAndDisconnect()
900 mCbLooper.clear(); in stopLooperAndDisconnect()
DACameraManager.h202 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.cpp92 mCbLooper = new ALooper; in CameraDevice()
93 mCbLooper->setName("C2N-dev-looper"); in CameraDevice()
94 status_t err = mCbLooper->start( in CameraDevice()
104 mCbLooper->registerHandler(mHandler); in CameraDevice()
1493 if (mCbLooper != nullptr) { in stopLooperAndDisconnect()
1494 mCbLooper->unregisterHandler(mHandler->id()); in stopLooperAndDisconnect()
1495 mCbLooper->stop(); in stopLooperAndDisconnect()
1497 mCbLooper.clear(); in stopLooperAndDisconnect()
DACameraManager.h191 sp<ALooper> mCbLooper; // Looper thread where callbacks actually happen on variable
DACameraDevice.h238 sp<ALooper> mCbLooper; variable
/frameworks/av/media/ndk/
DNdkImageReader.cpp342 mCbLooper = new ALooper; in init()
343 mCbLooper->setName(consumerName.string()); in init()
344 res = mCbLooper->start( in init()
353 mCbLooper->registerHandler(mHandler); in init()
370 if (mCbLooper != nullptr) { in close()
371 mCbLooper->unregisterHandler(mHandler->id()); in close()
372 mCbLooper->stop(); in close()
374 mCbLooper.clear(); in close()
DNdkImageReaderPriv.h116 sp<ALooper> mCbLooper; // Looper thread where callbacks actually happen on member