Lines Matching refs:CameraManagerGlobal
124 const char* CameraManagerGlobal::kCameraIdKey = "CameraId";
125 const char* CameraManagerGlobal::kPhysicalCameraIdKey = "PhysicalCameraId";
126 const char* CameraManagerGlobal::kCallbackFpKey = "CallbackFp";
127 const char* CameraManagerGlobal::kContextKey = "CallbackContext";
128 const nsecs_t CameraManagerGlobal::kCallbackDrainTimeout = 5000000; // 5 ms
129 Mutex CameraManagerGlobal::sLock;
130 wp<CameraManagerGlobal> CameraManagerGlobal::sInstance = nullptr;
137 sp<CameraManagerGlobal> CameraManagerGlobal::getInstance() { in getInstance()
139 sp<CameraManagerGlobal> instance = sInstance.promote(); in getInstance()
141 instance = new CameraManagerGlobal(); in getInstance()
147 CameraManagerGlobal::~CameraManagerGlobal() { in ~CameraManagerGlobal()
167 sp<hardware::ICameraService> CameraManagerGlobal::getCameraService() { in getCameraService()
172 sp<hardware::ICameraService> CameraManagerGlobal::getCameraServiceLocked() { in getCameraServiceLocked()
279 void CameraManagerGlobal::DeathNotifier::binderDied(const wp<IBinder>&) in binderDied()
282 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in binderDied()
300 void CameraManagerGlobal::registerExtendedAvailabilityCallback( in registerExtendedAvailabilityCallback()
307 void CameraManagerGlobal::unregisterExtendedAvailabilityCallback( in unregisterExtendedAvailabilityCallback()
318 void CameraManagerGlobal::registerAvailabilityCallback( in registerAvailabilityCallback()
323 void CameraManagerGlobal::unregisterAvailabilityCallback( in unregisterAvailabilityCallback()
333 void CameraManagerGlobal::onCallbackCalled() { in onCallbackCalled()
341 void CameraManagerGlobal::drainPendingCallbacksLocked() { in drainPendingCallbacksLocked()
353 void CameraManagerGlobal::registerAvailCallback(const DeviceContext& deviceContext, in registerAvailCallback()
401 bool CameraManagerGlobal::supportsCamera2ApiLocked(const std::string &cameraId) { in supportsCamera2ApiLocked()
415 void CameraManagerGlobal::getCameraIdList(const DeviceContext& context, in getCameraIdList()
438 bool CameraManagerGlobal::validStatus(int32_t status) { in validStatus()
450 bool CameraManagerGlobal::isStatusAvailable(int32_t status) { in isStatusAvailable()
459 void CameraManagerGlobal::CallbackHandler::onMessageReceived( in onMessageReceived()
469 void CameraManagerGlobal::CallbackHandler::onMessageReceivedInternal( in onMessageReceivedInternal()
552 void CameraManagerGlobal::CallbackHandler::notifyParent() { in notifyParent()
553 sp<CameraManagerGlobal> parent = mParent.promote(); in notifyParent()
559 binder::Status CameraManagerGlobal::CameraServiceListener::onCameraAccessPrioritiesChanged() { in onCameraAccessPrioritiesChanged()
560 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onCameraAccessPrioritiesChanged()
569 binder::Status CameraManagerGlobal::CameraServiceListener::onStatusChanged( in onStatusChanged()
571 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onStatusChanged()
580 binder::Status CameraManagerGlobal::CameraServiceListener::onPhysicalCameraStatusChanged( in onPhysicalCameraStatusChanged()
583 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onPhysicalCameraStatusChanged()
592 void CameraManagerGlobal::onCameraAccessPrioritiesChanged() { in onCameraAccessPrioritiesChanged()
606 void CameraManagerGlobal::onStatusChanged(int32_t status, const int deviceId, in onStatusChanged()
612 void CameraManagerGlobal::onStatusChangedLocked(int32_t status, const int deviceId, in onStatusChangedLocked()
659 void CameraManagerGlobal::onStatusChanged(int32_t status, const int deviceId, in onStatusChanged()
665 void CameraManagerGlobal::onStatusChangedLocked(int32_t status, const int deviceId, in onStatusChangedLocked()
715 int32_t CameraManagerGlobal::StatusAndHAL3Support::getStatus() { in getStatus()
720 void CameraManagerGlobal::StatusAndHAL3Support::updateStatus(int32_t newStatus) { in updateStatus()
725 bool CameraManagerGlobal::StatusAndHAL3Support::addUnavailablePhysicalId( in addUnavailablePhysicalId()
732 bool CameraManagerGlobal::StatusAndHAL3Support::removeUnavailablePhysicalId( in removeUnavailablePhysicalId()
739 std::set<std::string> CameraManagerGlobal::StatusAndHAL3Support::getUnavailablePhysicalIds() { in getUnavailablePhysicalIds()