Lines Matching refs:cm
189 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in binderDied() local
190 if (cm != nullptr) { in binderDied()
191 AutoMutex lock(cm->mLock); in binderDied()
192 for (auto& pair : cm->mDeviceStatusMap) { in binderDied()
194 cm->onStatusChangedLocked( in binderDied()
197 cm->mCameraService.clear(); in binderDied()
449 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onCameraAccessPrioritiesChanged() local
450 if (cm != nullptr) { in onCameraAccessPrioritiesChanged()
451 cm->onCameraAccessPrioritiesChanged(); in onCameraAccessPrioritiesChanged()
460 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onStatusChanged() local
461 if (cm != nullptr) { in onStatusChanged()
462 cm->onStatusChanged(status, String8(cameraId)); in onStatusChanged()
471 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onPhysicalCameraStatusChanged() local
472 if (cm != nullptr) { in onPhysicalCameraStatusChanged()
473 cm->onStatusChanged(status, String8(cameraId), String8(physicalCameraId)); in onPhysicalCameraStatusChanged()