Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraService.cpp155 Return<void> HidlCameraService::addListener(const sp<HCameraServiceListener>& hCsListener, in addListener() argument
161 if (hCsListener == nullptr) { in addListener()
170 csListener = searchListenerCacheLocked(hCsListener); in addListener()
174 csListener = new H2BCameraServiceListener(hCsListener); in addListener()
176 addToListenerCacheLocked(hCsListener, csListener); in addListener()
179 __FUNCTION__, hCsListener.get()); in addListener()
209 Return<HStatus> HidlCameraService::removeListener(const sp<HCameraServiceListener>& hCsListener) { in removeListener() argument
210 if (hCsListener == nullptr) { in removeListener()
217 csListener = searchListenerCacheLocked(hCsListener, /*removeIfFound*/true); in removeListener()
222 ALOGE("%s Removing unregistered listener %p", __FUNCTION__, hCsListener.get()); in removeListener()