Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceSetupImpl.java67 ICameraService cameraService = mCameraManager.getCameraService(); in createCaptureRequest() local
68 if (cameraService == null) { in createCaptureRequest()
74 CameraMetadataNative defaultRequest = cameraService.createDefaultRequest(mCameraId, in createCaptureRequest()
100 ICameraService cameraService = mCameraManager.getCameraService(); in isSessionConfigurationSupported() local
101 if (cameraService == null) { in isSessionConfigurationSupported()
107 return cameraService.isSessionConfigurationWithParametersSupported(mCameraId, in isSessionConfigurationSupported()
129 ICameraService cameraService = mCameraManager.getCameraService(); in getSessionCharacteristics() local
130 if (cameraService == null) { in getSessionCharacteristics()
136 CameraMetadataNative metadata = cameraService.getSessionCharacteristics( in getSessionCharacteristics()
144 cameraService); in getSessionCharacteristics()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java629 String cameraId, CameraMetadataNative info, ICameraService cameraService) in getPhysicalCameraMultiResolutionConfigs() argument
662 cameraService.getCameraCharacteristics(physicalCameraId, in getPhysicalCameraMultiResolutionConfigs()
751 ICameraService cameraService = CameraManagerGlobal.get().getCameraService(); in getCameraCharacteristics() local
752 if (cameraService == null) { in getCameraCharacteristics()
757 CameraMetadataNative info = cameraService.getCameraCharacteristics(cameraId, in getCameraCharacteristics()
760 characteristics = prepareCameraCharacteristics(cameraId, info, cameraService); in getCameraCharacteristics()
788 @NonNull String cameraId, CameraMetadataNative metadata, ICameraService cameraService) in prepareCameraCharacteristics() argument
806 getPhysicalCameraMultiResolutionConfigs(cameraId, metadata, cameraService); in prepareCameraCharacteristics()
999 ICameraService cameraService = CameraManagerGlobal.get().getCameraService(); in openCameraDeviceUserAsync() local
1000 if (cameraService == null) { in openCameraDeviceUserAsync()
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DAttributionAndPermissionUtils.cpp92 auto cameraService = mCameraService.promote(); in checkAutomotivePrivilegedClient() local
93 if (cameraService == nullptr) { in checkAutomotivePrivilegedClient()
101 return cameraService->isAutomotiveExteriorSystemCamera(cameraId); in checkAutomotivePrivilegedClient()
DAttributionAndPermissionUtils.h40 void setCameraService(wp<CameraService> cameraService) { in setCameraService() argument
41 mCameraService = cameraService; in setCameraService()
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraService.h43 static bool registerService(::android::CameraService* cameraService);
45 explicit AidlCameraService(::android::CameraService* cameraService);
DAidlCameraService.cpp65 bool AidlCameraService::registerService(::android::CameraService* cameraService) { in registerService() argument
66 kCameraService = SharedRefBase::make<AidlCameraService>(cameraService); in registerService()
83 AidlCameraService::AidlCameraService(::android::CameraService* cameraService): in AidlCameraService() argument
84 mCameraService(cameraService) { in AidlCameraService()
/frameworks/av/camera/tests/fuzzer/
Dcamera_fuzzer.cpp123 sp<ICameraService> cameraService = nullptr; in initCamera() local
124 cameraService = interface_cast<ICameraService>(binder); in initCamera()
127 cameraService->connect(this, mFDP->ConsumeIntegral<int32_t>() /* cameraId */, "CAMERAFUZZ", in initCamera()
134 cameraService->connect(this, mFDP->ConsumeIntegral<int32_t>() /* cameraId */, in initCamera()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.h47 const sp<CameraService>& cameraService, in CameraOfflineSessionClient() argument
57 cameraService, in CameraOfflineSessionClient()
DCameraDeviceClient.h51 CameraDeviceClientBase(const sp<CameraService>& cameraService,
182 CameraDeviceClient(const sp<CameraService>& cameraService,
DCameraDeviceClient.cpp61 const sp<CameraService>& cameraService, in CameraDeviceClientBase() argument
75 BasicClient(cameraService, in CameraDeviceClientBase()
93 CameraDeviceClient::CameraDeviceClient(const sp<CameraService>& cameraService, in CameraDeviceClient() argument
109 Camera2ClientBase(cameraService, remoteCallback, cameraServiceProxyWrapper, in CameraDeviceClient()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java1241 ICameraService cameraService = getCameraServiceRawLocked(); in notifyCameraserverLocked() local
1242 if (cameraService == null) { in notifyCameraserverLocked()
1277 ICameraService cameraService = getCameraServiceRawLocked(); in notifyDeviceStateChangeLocked() local
1278 if (cameraService == null) { in notifyDeviceStateChangeLocked()
1300 ICameraService cameraService = getCameraServiceRawLocked(); in notifyUsbDeviceHotplugLocked() local
1301 if (cameraService == null) { in notifyUsbDeviceHotplugLocked()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp257 std::shared_ptr<ICameraService> cameraService = in getCameraService() local
260 if (cameraService == nullptr) { in getCameraService()
269 AIBinder_linkToDeath(cameraService->asBinder().get(), in getCameraService()
272 mCameraService = cameraService; in getCameraService()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp941 sp<hardware::ICameraService> cameraService; in CameraMetadata_setupGlobalVendorTagDescriptor() local
942 status_t err = getService(NAME, /*out*/&cameraService); in CameraMetadata_setupGlobalVendorTagDescriptor()
951 binder::Status res = cameraService->getCameraVendorTagDescriptor(/*out*/desc.get()); in CameraMetadata_setupGlobalVendorTagDescriptor()
967 binder::Status res = cameraService->getCameraVendorTagCache(/*out*/cache.get()); in CameraMetadata_setupGlobalVendorTagDescriptor()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.h52 Camera2ClientBase(const sp<CameraService>& cameraService,
DCamera2ClientBase.cpp53 const sp<CameraService>& cameraService, in Camera2ClientBase() argument
70 TClientBase(cameraService, remoteCallback, attributionAndPermissionUtils, clientPackageName, in Camera2ClientBase()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsAidlCameraServiceTargetTest.cpp286 std::shared_ptr<ICameraService> cameraService = in SetUp() local
288 ASSERT_NE(cameraService.get(), nullptr); in SetUp()
289 mCameraService = cameraService; in SetUp()
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h103 Camera2Client(const sp<CameraService>& cameraService,
DCamera2Client.cpp55 Camera2Client::Camera2Client(const sp<CameraService>& cameraService, in Camera2Client() argument
71 Camera2ClientBase(cameraService, cameraClient, cameraServiceProxyWrapper, in Camera2Client()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h449 BasicClient(const sp<CameraService>& cameraService,
563 Client(const sp<CameraService>& cameraService,
1497 static binder::Status makeClient(const sp<CameraService>& cameraService,
DCameraService.cpp1470 Status CameraService::makeClient(const sp<CameraService>& cameraService, in makeClient() argument
1508 *client = new Camera2Client(cameraService, tmp, cameraService->mCameraServiceProxyWrapper, in makeClient()
1509 cameraService->mAttributionAndPermissionUtils, packageName, featureId, cameraId, in makeClient()
1518 *client = new CameraDeviceClient(cameraService, tmp, in makeClient()
1519 cameraService->mCameraServiceProxyWrapper, in makeClient()
1520 cameraService->mAttributionAndPermissionUtils, packageName, systemNativeClient, in makeClient()
4063 CameraService::Client::Client(const sp<CameraService>& cameraService, in Client() argument
4072 CameraService::BasicClient(cameraService, in Client()
4086 cameraService->increaseSoundRef(); in Client()
4103 CameraService::BasicClient::BasicClient(const sp<CameraService>& cameraService, in BasicClient() argument
[all …]