Home
last modified time | relevance | path

Searched refs:mCameraService (Results 1 – 8 of 8) 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()
79 if (mCameraService.get() == nullptr) { in getCameraService()
81 return mCameraService; in getCameraService()
98 mCameraService = interface_cast<hardware::ICameraService>(binder); in getCameraService()
125 mCameraService->addListener(mCameraServiceListener, &cameraStatuses); in getCameraService()
132 binder::Status ret = mCameraService->getCameraVendorTagDescriptor(/*out*/desc.get()); in getCameraService()
145 mCameraService->getCameraVendorTagCache( in getCameraService()
[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.java918 private ICameraService mCameraService; field in CameraManager.CameraManagerGlobal
946 if (mCameraService == null && !sCameraServiceDisabled) { in getCameraService()
949 return mCameraService; in getCameraService()
961 if (mCameraService != null || sCameraServiceDisabled) return; in connectCameraServiceLocked()
990 mCameraService = cameraService; in connectCameraServiceLocked()
1333 if (mCameraService == null) { in registerAvailabilityCallback()
1362 if (mCameraService == null) { in registerTorchCallback()
1446 if (mCameraService == null) return; in binderDied()
1448 mCameraService = null; in binderDied()