Home
last modified time | relevance | path

Searched refs:mCameraService (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/camera/tests/
DCameraCharacteristicsPermission.cpp41 sp<ICameraService> mCameraService; member in CameraCharacteristicsPermission
49 mCameraService = interface_cast<ICameraService>(binder); in SetUp()
50 rc = mCameraService->getNumberOfCameras( in SetUp()
56 mCameraService.clear(); in TearDown()
67 auto rc = mCameraService->supportsCameraApi(cameraIdStr, in TEST_F()
76 rc = mCameraService->getCameraCharacteristics(cameraIdStr, &metadata); in TEST_F()
DCameraZSLTests.cpp70 sp<ICameraService> mCameraService; member in CameraZSLTests
84 mCameraService = interface_cast<ICameraService>(binder); in SetUp()
85 rc = mCameraService->getNumberOfCameras( in SetUp()
94 mCameraService.clear(); in TearDown()
174 rc = mCameraService->supportsCameraApi(cameraIdStr, in TEST_F()
184 rc = mCameraService->getCameraCharacteristics(cameraIdStr, &metadata); in TEST_F()
208 rc = mCameraService->connect(this, cameraId, in TEST_F()
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp56 if (mCameraService != nullptr) { in ~CameraManagerGlobal()
57 IInterface::asBinder(mCameraService)->unlinkToDeath(mDeathNotifier); in ~CameraManagerGlobal()
58 mCameraService->removeListener(mCameraServiceListener); in ~CameraManagerGlobal()
68 mCameraService.clear(); in ~CameraManagerGlobal()
83 if (mCameraService.get() == nullptr) { in getCameraServiceLocked()
85 return mCameraService; in getCameraServiceLocked()
102 mCameraService = interface_cast<hardware::ICameraService>(binder); in getCameraServiceLocked()
129 mCameraService->addListener(mCameraServiceListener, &cameraStatuses); in getCameraServiceLocked()
136 binder::Status ret = mCameraService->getCameraVendorTagDescriptor(/*out*/desc.get()); in getCameraServiceLocked()
149 mCameraService->getCameraVendorTagCache( in getCameraServiceLocked()
[all …]
DACameraManager.h68 sp<hardware::ICameraService> mCameraService;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTestUtils.java16 private final ICameraService mCameraService; field in CameraBinderTestUtils
34 this.mCameraService = ICameraService.Stub.asInterface(cameraServiceBinder); in CameraBinderTestUtils()
84 return mCameraService; in getCameraService()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp165 if (mCameraService != nullptr) { in ~CameraManagerGlobal()
166 mCameraService->unlinkToDeath(mDeathNotifier); in ~CameraManagerGlobal()
167 mCameraService->removeListener(mCameraServiceListener); in ~CameraManagerGlobal()
177 mCameraService.clear(); in ~CameraManagerGlobal()
190 auto remoteRet = mCameraService->getCameraVendorTagSections([&status, &providerIdsAndVts] in setupVendorTags()
217 if (mCameraService.get() == nullptr) { in getCameraService()
219 return mCameraService; in getCameraService()
235 mCameraService = cameraServiceBinder; in getCameraService()
263 auto remoteRet = mCameraService->addListener(mCameraServiceListener, in getCameraService()
283 return mCameraService; in getCameraService()
[all …]
DACameraManager.h78 sp<ICameraService> mCameraService;
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java945 private ICameraService mCameraService; field in CameraManager.CameraManagerGlobal
973 if (mCameraService == null && !sCameraServiceDisabled) { in getCameraService()
976 return mCameraService; in getCameraService()
988 if (mCameraService != null || sCameraServiceDisabled) return; in connectCameraServiceLocked()
1017 mCameraService = cameraService; in connectCameraServiceLocked()
1392 if (mCameraService == null) { in registerAvailabilityCallback()
1421 if (mCameraService == null) { in registerTorchCallback()
1531 if (mCameraService == null) return; in binderDied()
1533 mCameraService = null; in binderDied()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt21592 Landroid/hardware/camera2/CameraManager$CameraManagerGlobal;->mCameraService:Landroid/hardware/ICam…