Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraDeviceCallbacks.cpp39 mCbLooper = new ALooper; in initializeLooper()
40 mCbLooper->setName("cs-looper"); in initializeLooper()
41 status_t err = mCbLooper->start(/*runOnCallingThread*/ false, /*canCallJava*/ false, in initializeLooper()
48 mCbLooper->registerHandler(mHandler); in initializeLooper()
53 if (mCbLooper != nullptr) { in ~H2BCameraDeviceCallbacks()
55 mCbLooper->unregisterHandler(mHandler->id()); in ~H2BCameraDeviceCallbacks()
57 mCbLooper->stop(); in ~H2BCameraDeviceCallbacks()
59 mCbLooper.clear(); in ~H2BCameraDeviceCallbacks()
DAidlCameraDeviceCallbacks.h125 sp<ALooper> mCbLooper = nullptr; member
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraDeviceCallbacks.cpp45 mCbLooper = new ALooper; in initializeLooper()
46 mCbLooper->setName("cs-looper"); in initializeLooper()
47 status_t err = mCbLooper->start(/*runOnCallingThread*/ false, /*canCallJava*/ false, in initializeLooper()
54 mCbLooper->registerHandler(mHandler); in initializeLooper()
63 if (mCbLooper != nullptr) { in ~AidlCameraDeviceCallbacks()
65 mCbLooper->unregisterHandler(mHandler->id()); in ~AidlCameraDeviceCallbacks()
67 mCbLooper->stop(); in ~AidlCameraDeviceCallbacks()
69 mCbLooper.clear(); in ~AidlCameraDeviceCallbacks()
DAidlCameraDeviceCallbacks.h126 sp<ALooper> mCbLooper = nullptr; variable
/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()
101 if (mCbLooper == nullptr) { in getCameraServiceLocked()
102 mCbLooper = new ALooper; in getCameraServiceLocked()
103 mCbLooper->setName("C2N-mgr-looper"); in getCameraServiceLocked()
104 status_t err = mCbLooper->start( in getCameraServiceLocked()
111 mCbLooper.clear(); in getCameraServiceLocked()
117 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()
948 if (mCbLooper != nullptr) { in stopLooperAndDisconnect()
949 mCbLooper->unregisterHandler(mHandler->id()); in stopLooperAndDisconnect()
950 mCbLooper->stop(); in stopLooperAndDisconnect()
952 mCbLooper.clear(); in stopLooperAndDisconnect()
DACameraManager.h202 sp<ALooper> mCbLooper; // Looper thread where callbacks actually happen on variable
DACameraDevice.h210 sp<ALooper> mCbLooper; variable
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp181 if (mCbLooper != nullptr) { in ~CameraManagerGlobal()
182 mCbLooper->unregisterHandler(mHandler->id()); in ~CameraManagerGlobal()
183 mCbLooper->stop(); in ~CameraManagerGlobal()
185 mCbLooper.clear(); in ~CameraManagerGlobal()
275 if (mCbLooper == nullptr) { in getCameraService()
276 mCbLooper = new ALooper; in getCameraService()
277 mCbLooper->setName("C2N-mgr-looper"); in getCameraService()
278 status_t err = mCbLooper->start( in getCameraService()
285 mCbLooper.clear(); in getCameraService()
291 mCbLooper->registerHandler(mHandler); in getCameraService()
DACameraDevice.cpp98 mCbLooper = new ALooper; in CameraDevice()
99 mCbLooper->setName("C2N-dev-looper"); in CameraDevice()
100 status_t err = mCbLooper->start( in CameraDevice()
110 mCbLooper->registerHandler(mHandler); in CameraDevice()
1534 if (mCbLooper != nullptr) { in stopLooperAndDisconnect()
1535 mCbLooper->unregisterHandler(mHandler->id()); in stopLooperAndDisconnect()
1536 mCbLooper->stop(); in stopLooperAndDisconnect()
1538 mCbLooper.clear(); in stopLooperAndDisconnect()
DACameraManager.h183 sp<ALooper> mCbLooper; // Looper thread where callbacks actually happen on variable
DACameraDevice.h258 sp<ALooper> mCbLooper; variable
/frameworks/av/media/ndk/
DNdkImageReader.cpp346 mCbLooper = new ALooper; in init()
347 mCbLooper->setName(consumerName.string()); in init()
348 res = mCbLooper->start( in init()
357 mCbLooper->registerHandler(mHandler); in init()
374 if (mCbLooper != nullptr) { in close()
375 mCbLooper->unregisterHandler(mHandler->id()); in close()
376 mCbLooper->stop(); in close()
378 mCbLooper.clear(); in close()
DNdkImageReaderPriv.h117 sp<ALooper> mCbLooper; // Looper thread where callbacks actually happen on member