Home
last modified time | relevance | path

Searched refs:kDefaultDeviceId (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/services/camera/virtualcamera/tests/
DVirtualCameraServiceTest.cc74 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 …]
DVirtualCameraProviderTest.cc57 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()
DVirtualCameraDeviceTest.cc65 constexpr int kDefaultDeviceId = 0; variable
140 kCameraId, param.inputConfig, kDefaultDeviceId); in TEST_P()
305 kDefaultDeviceId); in SetUp()
DVirtualCameraSessionTest.cc50 constexpr int kDefaultDeviceId = 0; variable
165 kDefaultDeviceId); in SetUp()
316 kDefaultDeviceId); in createSession()
/frameworks/av/services/camera/libcameraservice/utils/
DVirtualDeviceCameraIdMapper.cpp36 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/
DCameraPermissionsTest.cpp240 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/
DAidlCameraServiceListener.cpp33 if (deviceId != kDefaultDeviceId) { in onStatusChanged()
45 if (deviceId != kDefaultDeviceId) { in onPhysicalCameraStatusChanged()
DAidlCameraService.cpp95 kDefaultDeviceId, in getCameraCharacteristics()
155 kDefaultDeviceId, in connectDevice()
/frameworks/av/camera/tests/
DCameraCharacteristicsPermission.cpp51 hardware::ICameraService::CAMERA_TYPE_ALL, kDefaultDeviceId, /*devicePolicy*/0, in SetUp()
78 /*overrideToPortrait*/false, kDefaultDeviceId, /*devicePolicy*/0, &metadata); in TEST_F()
DCameraBinderTests.cpp350 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()
DCameraZSLTests.cpp88 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/
DAidlCameraServiceListener.cpp34 if (deviceId != kDefaultDeviceId) { in onStatusChanged()
52 if (deviceId != kDefaultDeviceId) { in onPhysicalCameraStatusChanged()
DHidlCameraService.cpp74 kDefaultDeviceId, 0, &cameraMetadata); in getCameraCharacteristics()
126 kDefaultDeviceId, /*devicePolicy*/0, /*out*/&deviceRemote); in connectDevice()
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp222 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/
DCameraUtils.h30 constexpr int32_t kDefaultDeviceId = 0; variable
DCamera.h87 int32_t deviceId = kDefaultDeviceId, int32_t devicePolicy = 0);
/frameworks/av/camera/tests/fuzzer/
Dcamera_fuzzer.cpp132 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()
Dcamera_c2ConcurrentCamera_fuzzer.cpp38 {concurrentCameraId, kDefaultDeviceId}); in LLVMFuzzerTestOneInput()
Dcamera_utils_fuzzer.cpp116 kDefaultDeviceId); in invokeCameraBase()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp64 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/
DVirtualCameraService.h81 static constexpr int kDefaultDeviceId = 0; variable
DVirtualCameraService.cc486 kDefaultDeviceId, &ret); in enableTestCameraCmd()
DVirtualCameraDevice.cc591 .value_or(VirtualCameraService::kDefaultDeviceId)); in dump()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp102 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 …]