/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyExceptionUtils.java | 19 import android.hardware.ICameraService; 88 int errorCode = ICameraService.ERROR_INVALID_OPERATION; in throwOnServiceError() 94 errorCode = ICameraService.ERROR_PERMISSION_DENIED; in throwOnServiceError() 101 errorCode = ICameraService.ERROR_ILLEGAL_ARGUMENT; in throwOnServiceError() 104 errorCode = ICameraService.ERROR_DISCONNECTED; in throwOnServiceError() 107 errorCode = ICameraService.ERROR_INVALID_OPERATION; in throwOnServiceError() 110 errorCode = ICameraService.ERROR_DISABLED; in throwOnServiceError() 113 errorCode = ICameraService.ERROR_CAMERA_IN_USE; in throwOnServiceError() 116 errorCode = ICameraService.ERROR_MAX_CAMERAS_IN_USE; in throwOnServiceError() 119 errorCode = ICameraService.ERROR_DISCONNECTED; in throwOnServiceError() [all …]
|
D | CameraDeviceUserShim.java | 19 import android.hardware.ICameraService; 99 return ICameraService.ERROR_PERMISSION_DENIED; in translateErrorsFromCamera1() 192 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION); in waitForOpen() 392 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, in connectBinderShim() 430 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); in submitRequest() 437 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err); in submitRequest() 451 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); in submitRequestList() 458 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err); in submitRequestList() 472 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); in cancelRequest() 479 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err); in cancelRequest() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 27 import android.hardware.ICameraService; 293 ICameraService cameraService = CameraManagerGlobal.get().getCameraService(); in getCameraCharacteristics() 383 ICameraService cameraService = CameraManagerGlobal.get().getCameraService(); in openCameraDeviceUserAsync() 386 ICameraService.ERROR_DISCONNECTED, in openCameraDeviceUserAsync() 406 if (e.errorCode == ICameraService.ERROR_DEPRECATED_HAL) { in openCameraDeviceUserAsync() 408 } else if (e.errorCode == ICameraService.ERROR_CAMERA_IN_USE || in openCameraDeviceUserAsync() 409 e.errorCode == ICameraService.ERROR_MAX_CAMERAS_IN_USE || in openCameraDeviceUserAsync() 410 e.errorCode == ICameraService.ERROR_DISABLED || in openCameraDeviceUserAsync() 411 e.errorCode == ICameraService.ERROR_DISCONNECTED || in openCameraDeviceUserAsync() 412 e.errorCode == ICameraService.ERROR_INVALID_OPERATION) { in openCameraDeviceUserAsync() [all …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.cpp | 77 sp<hardware::ICameraService> CameraManagerGlobal::getCameraService() { in getCameraService() 82 sp<hardware::ICameraService> CameraManagerGlobal::getCameraServiceLocked() { in getCameraServiceLocked() 102 mCameraService = interface_cast<hardware::ICameraService>(binder); in getCameraServiceLocked() 152 hardware::ICameraService::ERROR_DISCONNECTED) { in getCameraServiceLocked() 171 hardware::ICameraService::ERROR_DEPRECATED_HAL) { in getCameraServiceLocked() 252 hardware::ICameraService::API_VERSION_2, &camera2Support); in supportsCamera2ApiLocked() 488 sp<hardware::ICameraService> cs = CameraManagerGlobal::getInstance().getCameraService(); in getCameraCharacteristics() 497 case hardware::ICameraService::ERROR_DISCONNECTED: in getCameraCharacteristics() 500 case hardware::ICameraService::ERROR_ILLEGAL_ARGUMENT: in getCameraCharacteristics() 531 sp<hardware::ICameraService> cs = CameraManagerGlobal::getInstance().getCameraService(); in openCamera() [all …]
|
D | ACameraManager.h | 50 sp<hardware::ICameraService> getCameraService(); 68 sp<hardware::ICameraService> mCameraService; 165 sp<hardware::ICameraService> getCameraServiceLocked();
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTestUtils.java | 10 import android.hardware.ICameraService; 16 private final ICameraService mCameraService; 34 this.mCameraService = ICameraService.Stub.asInterface(cameraServiceBinder); in CameraBinderTestUtils() 83 ICameraService getCameraService() { in getCameraService()
|
D | CameraBinderTest.java | 22 import android.hardware.ICameraService; 160 ICameraService.USE_CALLING_UID, in testConnect() 161 ICameraService.USE_CALLING_PID); in testConnect() 183 ICameraService.USE_CALLING_UID); in testConnectLegacy() 292 ICameraService.USE_CALLING_UID); in testConnectDevice() 345 e.errorCode, ICameraService.ERROR_ILLEGAL_ARGUMENT); in testAddRemoveListeners() 355 e.errorCode, ICameraService.ERROR_ALREADY_EXISTS); in testAddRemoveListeners() 365 e.errorCode, ICameraService.ERROR_ILLEGAL_ARGUMENT); in testAddRemoveListeners()
|
D | CameraDeviceBinderTest.java | 30 import android.hardware.ICameraService; 245 clientPackageName, ICameraService.USE_CALLING_UID); in setUp() 284 e.errorCode, ICameraService.ERROR_ALREADY_EXISTS); in testCreateStream() 298 assertEquals(e.errorCode, ICameraService.ERROR_ILLEGAL_ARGUMENT); in testDeleteInvalidStream() 315 ICameraService.ERROR_ALREADY_EXISTS, e.errorCode); in testCreateStreamTwo() 342 "since we had 0 surface targets set.", ICameraService.ERROR_ILLEGAL_ARGUMENT, in testSubmitBadRequest() 354 ICameraService.ERROR_ILLEGAL_ARGUMENT, e.errorCode); in testSubmitBadRequest() 393 ICameraService.ERROR_ILLEGAL_ARGUMENT, e.errorCode); in testSubmitStreamingRequest() 401 ICameraService.ERROR_ILLEGAL_ARGUMENT, e.errorCode); in testSubmitStreamingRequest() 433 ICameraService.ERROR_INVALID_OPERATION, e.errorCode); in testWaitUntilIdle()
|
/frameworks/av/camera/ |
D | CameraBase.cpp | 79 sp<::android::hardware::ICameraService> gCameraService; 108 const sp<::android::hardware::ICameraService> CameraBase<TCam, TCamTraits>::getCameraService() in getCameraService() 132 gCameraService = interface_cast<::android::hardware::ICameraService>(binder); in getCameraService() 146 const sp<::android::hardware::ICameraService> cs = getCameraService(); in connect() 232 const sp<::android::hardware::ICameraService> cs = getCameraService(); in getNumberOfCameras() 240 ::android::hardware::ICameraService::CAMERA_TYPE_BACKWARD_COMPATIBLE, in getNumberOfCameras() 254 const sp<::android::hardware::ICameraService> cs = getCameraService(); in getCameraInfo()
|
D | Camera.cpp | 43 &::android::hardware::ICameraService::connect; 89 const sp<::android::hardware::ICameraService>& cs = CameraBaseT::getCameraService(); in connectLegacy() 102 case hardware::ICameraService::ERROR_DISCONNECTED: in connectLegacy() 105 case hardware::ICameraService::ERROR_CAMERA_IN_USE: in connectLegacy() 108 case hardware::ICameraService::ERROR_INVALID_OPERATION: in connectLegacy() 111 case hardware::ICameraService::ERROR_MAX_CAMERAS_IN_USE: in connectLegacy() 114 case hardware::ICameraService::ERROR_ILLEGAL_ARGUMENT: in connectLegacy() 117 case hardware::ICameraService::ERROR_DEPRECATED_HAL: in connectLegacy() 120 case hardware::ICameraService::ERROR_DISABLED: in connectLegacy() 123 case hardware::ICameraService::ERROR_PERMISSION_DENIED: in connectLegacy()
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | Convert.cpp | 214 case hardware::ICameraService::ERROR_DISCONNECTED: in B2HStatus() 217 case hardware::ICameraService::ERROR_CAMERA_IN_USE: in B2HStatus() 220 case hardware::ICameraService::ERROR_MAX_CAMERAS_IN_USE: in B2HStatus() 223 case hardware::ICameraService::ERROR_ILLEGAL_ARGUMENT: in B2HStatus() 226 case hardware::ICameraService::ERROR_DEPRECATED_HAL: in B2HStatus() 230 case hardware::ICameraService::ERROR_DISABLED: in B2HStatus() 233 case hardware::ICameraService::ERROR_PERMISSION_DENIED: in B2HStatus() 236 case hardware::ICameraService::ERROR_INVALID_OPERATION: in B2HStatus()
|
D | HidlCameraService.cpp | 67 case hardware::ICameraService::ERROR_ILLEGAL_ARGUMENT: in getCameraCharacteristics() 107 hardware::ICameraService::USE_CALLING_UID, /*out*/&deviceRemote); in connectDevice() 199 hardware::ICameraService::API_VERSION_2, &supportsHAL3); in addListener()
|
/frameworks/av/camera/tests/ |
D | CameraCharacteristicsPermission.cpp | 41 sp<ICameraService> mCameraService; 49 mCameraService = interface_cast<ICameraService>(binder); in SetUp() 51 hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras); in SetUp() 68 hardware::ICameraService::API_VERSION_2, &isSupported); in TEST_F()
|
D | CameraZSLTests.cpp | 70 sp<ICameraService> mCameraService; 84 mCameraService = interface_cast<ICameraService>(binder); in SetUp() 86 hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras); in SetUp() 175 hardware::ICameraService::API_VERSION_1, &isSupported); in TEST_F() 209 String16("ZSLTest"), hardware::ICameraService::USE_CALLING_UID, in TEST_F() 210 hardware::ICameraService::USE_CALLING_PID, &cameraDevice); in TEST_F()
|
D | CameraBinderTests.cpp | 325 sp<hardware::ICameraService> service = in TEST() 326 interface_cast<hardware::ICameraService>(binder); in TEST() 331 res = service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras); in TEST() 350 hardware::ICameraService::API_VERSION_2, &isSupported); in TEST() 375 hardware::ICameraService::USE_CALLING_UID, /*out*/&device); in TEST() 404 sp<hardware::ICameraService> service; 417 hardware::ICameraService::USE_CALLING_UID, /*out*/&device); in openNewDevice() 445 service = interface_cast<hardware::ICameraService>(binder); in SetUp() 452 service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_BACKWARD_COMPATIBLE, in SetUp()
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraManager.h | 39 using ICameraService = frameworks::cameraservice::service::V2_0::ICameraService; variable 60 sp<ICameraService> getCameraService(); 78 sp<ICameraService> mCameraService;
|
D | ACameraManager.cpp | 215 sp<ICameraService> CameraManagerGlobal::getCameraService() { in getCameraService() 222 sp<ICameraService> cameraServiceBinder; in getCameraService() 224 cameraServiceBinder = ICameraService::getService(); in getCameraService() 514 sp<ICameraService> cs = CameraManagerGlobal::getInstance().getCameraService(); in getCameraCharacteristics() 556 sp<ICameraService> cs = CameraManagerGlobal::getInstance().getCameraService(); in openCamera()
|
/frameworks/av/camera/include/camera/ |
D | Camera.h | 60 typedef ::android::binder::Status(::android::hardware::ICameraService::*TCamConnectService) 75 USE_CALLING_UID = ::android::hardware::ICameraService::USE_CALLING_UID 78 USE_CALLING_PID = ::android::hardware::ICameraService::USE_CALLING_PID
|
D | CameraBase.h | 32 class ICameraService; variable 144 static const sp<::android::hardware::ICameraService> getCameraService();
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | ICameraDeviceUserWrapper.java | 26 import android.hardware.ICameraService; 191 if (e.errorCode == ICameraService.ERROR_INVALID_OPERATION) { in isSessionConfigurationSupported() 194 } else if (e.errorCode == ICameraService.ERROR_ILLEGAL_ARGUMENT) { in isSessionConfigurationSupported()
|
/frameworks/hardware/interfaces/cameraservice/service/2.0/ |
D | Android.bp | 8 "ICameraService.hal",
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraServiceProxy.java | 23 import android.hardware.ICameraService; 95 private ICameraService mCameraServiceRaw; 383 if (notifyCameraserverLocked(ICameraService.EVENT_USER_SWITCHED, mEnabledCameraUsers)) { in notifySwitchWithRetriesLocked() 410 mCameraServiceRaw = ICameraService.Stub.asInterface(cameraServiceBinder); in notifyCameraserverLocked()
|
/frameworks/hardware/interfaces/cameraservice/vts/functional/ |
D | VtsHalCameraServiceV2_0TargetTest.cpp | 67 using android::frameworks::cameraservice::service::V2_0::ICameraService; 235 cs = ICameraService::getService(GetParam()); in SetUp() 304 sp<ICameraService> cs = nullptr; 456 testing::ValuesIn(android::hardware::getAllHalInstanceNames(ICameraService::descriptor)),
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_CameraMetadata.cpp | 855 sp<hardware::ICameraService> cameraService; in CameraMetadata_setupGlobalVendorTagDescriptor() 861 return hardware::ICameraService::ERROR_DISCONNECTED; in CameraMetadata_setupGlobalVendorTagDescriptor() 867 if (res.serviceSpecificErrorCode() == hardware::ICameraService::ERROR_DISCONNECTED) { in CameraMetadata_setupGlobalVendorTagDescriptor() 882 if (res.serviceSpecificErrorCode() == hardware::ICameraService::ERROR_DISCONNECTED) { in CameraMetadata_setupGlobalVendorTagDescriptor() 897 return hardware::ICameraService::ERROR_INVALID_OPERATION; in CameraMetadata_setupGlobalVendorTagDescriptor()
|
/frameworks/av/camera/aidl/android/hardware/ |
D | ICameraService.aidl | 35 interface ICameraService interface
|