Lines Matching refs:hardware
74 sp<hardware::ICameraService> CameraManagerGlobal::getCameraService() { in getCameraService()
91 mCameraService = interface_cast<hardware::ICameraService>(binder); in getCameraService()
130 hardware::ICameraService::ERROR_DEPRECATED_HAL) { in getCameraService()
190 case hardware::ICameraServiceListener::STATUS_NOT_PRESENT: in validStatus()
191 case hardware::ICameraServiceListener::STATUS_PRESENT: in validStatus()
192 case hardware::ICameraServiceListener::STATUS_ENUMERATING: in validStatus()
193 case hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE: in validStatus()
202 case hardware::ICameraServiceListener::STATUS_PRESENT: in isStatusAvailable()
307 sp<hardware::ICameraService> cs = CameraManagerGlobal::getInstance().getCameraService(); in getOrCreateCameraIdListLocked()
314 … binder::Status serviceRet = cs->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, in getOrCreateCameraIdListLocked()
325 serviceRet = cs->supportsCameraApi(i, hardware::ICameraService::API_VERSION_2, in getOrCreateCameraIdListLocked()
421 sp<hardware::ICameraService> cs = CameraManagerGlobal::getInstance().getCameraService(); in getCameraCharacteristics()
457 sp<hardware::ICameraService> cs = CameraManagerGlobal::getInstance().getCameraService(); in openCamera()
464 sp<hardware::camera2::ICameraDeviceCallbacks> callbacks = device->getServiceCallback(); in openCamera()
465 sp<hardware::camera2::ICameraDeviceUser> deviceRemote; in openCamera()
470 hardware::ICameraService::USE_CALLING_UID, /*out*/&deviceRemote); in openCamera()
476 case hardware::ICameraService::ERROR_DISCONNECTED: in openCamera()
479 case hardware::ICameraService::ERROR_CAMERA_IN_USE: in openCamera()
482 case hardware::ICameraService::ERROR_MAX_CAMERAS_IN_USE: in openCamera()
485 case hardware::ICameraService::ERROR_ILLEGAL_ARGUMENT: in openCamera()
488 case hardware::ICameraService::ERROR_DEPRECATED_HAL: in openCamera()
492 case hardware::ICameraService::ERROR_DISABLED: in openCamera()
495 case hardware::ICameraService::ERROR_PERMISSION_DENIED: in openCamera()
498 case hardware::ICameraService::ERROR_INVALID_OPERATION: in openCamera()