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()
201 Return<HStatus> HidlCameraService::removeListener(const sp<HCameraServiceListener>& hCsListener) { in removeListener() argument
202 if (hCsListener == nullptr) { in removeListener()
209 csListener = searchListenerCacheLocked(hCsListener, /*removeIfFound*/true); in removeListener()
214 ALOGE("%s Removing unregistered listener %p", __FUNCTION__, hCsListener.get()); in removeListener()