/frameworks/av/services/camera/virtualcamera/tests/ |
D | VirtualCameraServiceTest.cc | 74 constexpr int kDefaultDeviceId = 0; variable 152 kDefaultDeviceId, &aidlRet) in createCamera() 228 kDefaultDeviceId, &aidlRet) in TEST_F() 244 ->registerCamera(ndkToken, config, kDefaultDeviceId, &aidlRet) in TEST_F() 257 kDefaultDeviceId, &aidlRet) in TEST_F() 269 kDefaultDeviceId, &aidlRet) in TEST_F() 286 ->registerCamera(ndkToken, config, kDefaultDeviceId, &aidlRet) in TEST_F() 301 ->registerCamera(mNdkOwnerToken, config, kDefaultDeviceId, &aidlRet) in TEST_F() 314 ->registerCamera(mNdkOwnerToken, config, kDefaultDeviceId, &aidlRet) in TEST_F() 327 ->registerCamera(mNdkOwnerToken, config, kDefaultDeviceId, &aidlRet) in TEST_F() [all …]
|
D | VirtualCameraProviderTest.cc | 57 constexpr int kDefaultDeviceId = 0; variable 122 mCameraProvider->createCamera(mInputConfig, kCameraId, kDefaultDeviceId); in TEST_F() 140 mCameraProvider->createCamera(mInputConfig, kCameraId, kDefaultDeviceId); in TEST_F() 152 mCameraProvider->createCamera(mInputConfig, kCameraId, kDefaultDeviceId); in TEST_F() 169 mCameraProvider->createCamera(mInputConfig, kCameraId, kDefaultDeviceId); in TEST_F()
|
D | VirtualCameraDeviceTest.cc | 65 constexpr int kDefaultDeviceId = 0; variable 140 kCameraId, param.inputConfig, kDefaultDeviceId); in TEST_P() 305 kDefaultDeviceId); in SetUp()
|
D | VirtualCameraSessionTest.cc | 50 constexpr int kDefaultDeviceId = 0; variable 165 kDefaultDeviceId); in SetUp() 316 kDefaultDeviceId); in createSession()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | VirtualDeviceCameraIdMapper.cpp | 36 if (deviceId == kDefaultDeviceId) { in addCamera() 64 if (deviceId == kDefaultDeviceId) { in getActualCameraId() 91 return std::make_pair(kDefaultDeviceId, cameraId); in getDeviceIdAndMappedCameraIdPair() 101 return std::make_pair(kDefaultDeviceId, cameraId); in getDeviceIdAndMappedCameraIdPair()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | CameraPermissionsTest.cpp | 240 kDefaultDeviceId, /*devicePolicy*/0, &device); in TEST_F() 256 kDefaultDeviceId, /*devicePolicy*/0, &device); in TEST_F() 277 kDefaultDeviceId, /*devicePolicy*/0, &deviceA); in TEST_F() 286 kDefaultDeviceId, /*devicePolicy*/0, &deviceB); in TEST_F() 309 kDefaultDeviceId, /*devicePolicy*/0, &deviceA); in TEST_F() 318 kDefaultDeviceId, /*devicePolicy*/0, &deviceB); in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/aidl/ |
D | AidlCameraServiceListener.cpp | 33 if (deviceId != kDefaultDeviceId) { in onStatusChanged() 45 if (deviceId != kDefaultDeviceId) { in onPhysicalCameraStatusChanged()
|
D | AidlCameraService.cpp | 95 kDefaultDeviceId, in getCameraCharacteristics() 155 kDefaultDeviceId, in connectDevice()
|
/frameworks/av/camera/tests/ |
D | CameraCharacteristicsPermission.cpp | 51 hardware::ICameraService::CAMERA_TYPE_ALL, kDefaultDeviceId, /*devicePolicy*/0, in SetUp() 78 /*overrideToPortrait*/false, kDefaultDeviceId, /*devicePolicy*/0, &metadata); in TEST_F()
|
D | CameraBinderTests.cpp | 350 res = service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, kDefaultDeviceId, in TEST() 363 listener->onStatusChanged(it.status, it.cameraId, kDefaultDeviceId); in TEST() 382 kDefaultDeviceId, /*devicePolicy*/0, &metadata); in TEST() 399 /*overrideToPortrait*/false, kDefaultDeviceId, /*devicePolicy*/0, /*out*/&device); in TEST() 409 /*enabled*/true, callbacks, kDefaultDeviceId, /*devicePolicy*/0); in TEST() 414 /*enabled*/false, callbacks, kDefaultDeviceId, /*devicePolicy*/0); in TEST() 443 /*overrideToPortrait*/false, kDefaultDeviceId, /*devicePolicy*/0, in openNewDevice() 477 serviceListener->onStatusChanged(it.status, it.cameraId, kDefaultDeviceId); in SetUp() 480 kDefaultDeviceId, /*devicePolicy*/0, &numCameras); in SetUp()
|
D | CameraZSLTests.cpp | 88 hardware::ICameraService::CAMERA_TYPE_ALL, kDefaultDeviceId, /*devicePolicy*/0, in SetUp() 188 kDefaultDeviceId, /*devicePolicy*/0, &metadata); in TEST_F() 216 /*overrideToPortrait*/false, /*forceSlowJpegMode*/false, kDefaultDeviceId, in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | AidlCameraServiceListener.cpp | 34 if (deviceId != kDefaultDeviceId) { in onStatusChanged() 52 if (deviceId != kDefaultDeviceId) { in onPhysicalCameraStatusChanged()
|
D | HidlCameraService.cpp | 74 kDefaultDeviceId, 0, &cameraMetadata); in getCameraCharacteristics() 126 kDefaultDeviceId, /*devicePolicy*/0, /*out*/&deviceRemote); in connectDevice()
|
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/ |
D | camera_service_fuzzer.cpp | 222 mCameraService->getNumberOfCameras(camType, kDefaultDeviceId, /*devicePolicy*/0, &mNumCameras); in getNumCameras() 242 mCameraService->getCameraInfo(cameraId, ROTATION_OVERRIDE_NONE, kDefaultDeviceId, in getCameraInformation() 248 kDefaultDeviceId, /*devicePolicy*/0, &metadata); in getCameraInformation() 330 mCameraService->setTorchMode(cameraIdStr, true, binder, kDefaultDeviceId, /*devicePolicy*/0); in invokeTorchAPIs() 335 kDefaultDeviceId, /*devicePolicy*/0); in invokeTorchAPIs() 336 mCameraService->setTorchMode(cameraIdStr, false, binder, kDefaultDeviceId, /*devicePolicy*/0); in invokeTorchAPIs() 358 kDefaultDeviceId, /*devicePolicy*/0, &cameraDevice); in invokeCameraAPIs() 597 kDefaultDeviceId, /*devicePolicy*/0, &device); in process()
|
/frameworks/av/camera/include/camera/ |
D | CameraUtils.h | 30 constexpr int32_t kDefaultDeviceId = 0; variable
|
D | Camera.h | 87 int32_t deviceId = kDefaultDeviceId, int32_t devicePolicy = 0);
|
/frameworks/av/camera/tests/fuzzer/ |
D | camera_fuzzer.cpp | 132 kDefaultDeviceId, /*devicePolicy*/0, &cameraDevice); in initCamera() 140 /*forceSlowJpegMode*/ mFDP->ConsumeBool(), kDefaultDeviceId, in initCamera() 168 Camera::getNumberOfCameras(kDefaultDeviceId, /*devicePolicy*/0); in invokeCamera() 174 Camera::getCameraInfo(cameraId, /*overrideToPortrait*/false, kDefaultDeviceId, in invokeCamera()
|
D | camera_c2ConcurrentCamera_fuzzer.cpp | 38 {concurrentCameraId, kDefaultDeviceId}); in LLVMFuzzerTestOneInput()
|
D | camera_utils_fuzzer.cpp | 116 kDefaultDeviceId); in invokeCameraBase()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.cpp | 64 return kDefaultDeviceId; in getCurrentDeviceId() 69 return kDefaultDeviceId; in getCurrentDeviceId() 78 return kDefaultDeviceId; in getCurrentDeviceId() 85 return kDefaultDeviceId; in getCurrentDeviceId() 92 if (!vd_flags::camera_device_awareness() || deviceId == kDefaultDeviceId) { in getDevicePolicyForDeviceId() 116 return cameraDeviceId == kDefaultDeviceId; in isCameraAccessible()
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraService.h | 81 static constexpr int kDefaultDeviceId = 0; variable
|
D | VirtualCameraService.cc | 486 kDefaultDeviceId, &ret); in enableTestCameraCmd()
|
D | VirtualCameraDevice.cc | 591 .value_or(VirtualCameraService::kDefaultDeviceId)); in dump()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 102 return android::kDefaultDeviceId; in getDeviceId() 368 int32_t deviceId = kDefaultDeviceId; in filterAPI1SystemCameraLocked() 377 if (deviceId != kDefaultDeviceId) { in filterAPI1SystemCameraLocked() 632 mapToInterface(newStatus), id, physicalId, kDefaultDeviceId); in onDeviceStatusChanged() 789 if (vd_flags::camera_device_awareness() && (deviceId != kDefaultDeviceId) in getNumberOfCameras() 1161 if (deviceId != kDefaultDeviceId) { in injectSessionParams() 1191 if ((deviceId == kDefaultDeviceId) in resolveCameraId() 1195 if (storedDeviceId != kDefaultDeviceId) { in resolveCameraId() 1258 if (vd_flags::camera_device_awareness() && (deviceId != kDefaultDeviceId) in cameraIdIntToStrLocked() 3343 ? kDefaultDeviceId : deviceId)); in isConcurrentSessionConfigurationSupported() [all …]
|