/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | ACameraManagerTest.cpp | 137 mCameraManager = ACameraManager_create(); in SetUp() 138 if (mCameraManager == nullptr) { in SetUp() 143 camera_status_t ret = ACameraManager_getCameraIdList(mCameraManager, &mCameraIdList); in SetUp() 159 if (mCameraManager) { in TearDown() 160 ACameraManager_delete(mCameraManager); in TearDown() 161 mCameraManager = nullptr; in TearDown() 166 ACameraManager* mCameraManager = nullptr; member in __anonae9eeb2a0111::ACameraManagerTest 183 camera_status_t ret = ACameraManager_registerExtendedAvailabilityCallback(mCameraManager, in TEST_F() 206 ret = ACameraManager_getCameraCharacteristics(mCameraManager, cameraId, &chars); in TEST_F() 234 ret = ACameraManager_unregisterExtendedAvailabilityCallback(mCameraManager, &mCbs); in TEST_F()
|
D | AImageReaderVendorTest.cpp | 58 mImgReaderAnw(nullptr), mCameraId(id), mCameraManager(manager) {} in CameraHelper() 83 ret = ACameraManager_openCamera(mCameraManager, mCameraId, &mDeviceCb, &mDevice); in initCamera() 277 ACameraManager* mCameraManager; member in __anon511359ea0111::CameraHelper 542 mCameraManager = ACameraManager_create(); in SetUp() 543 if (mCameraManager == nullptr) { in SetUp() 548 camera_status_t ret = ACameraManager_getCameraIdList(mCameraManager, &mCameraIdList); in SetUp() 566 if (mCameraManager) { in TearDown() 567 ACameraManager_delete(mCameraManager); in TearDown() 568 mCameraManager = nullptr; in TearDown() 585 CameraHelper cameraHelper(id, mCameraManager); in takePictures() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | FlashlightControllerImpl.java | 57 private final CameraManager mCameraManager; field in FlashlightControllerImpl 74 mCameraManager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in FlashlightControllerImpl() 89 mCameraManager.registerTorchCallback(mTorchCallback, mHandler); in tryInitCamera() 100 mCameraManager.setTorchMode(mCameraId, enabled); in setFlashlight() 153 String[] ids = mCameraManager.getCameraIdList(); in getCameraId() 155 CameraCharacteristics c = mCameraManager.getCameraCharacteristics(id); in getCameraId()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewTestCase.java | 110 protected CameraManager mCameraManager; field in Camera2SurfaceViewTestCase 162 mCameraManager = (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in setUp() 163 assertNotNull("Unable to get CameraManager", mCameraManager); in setUp() 164 mCameraIds = mCameraManager.getCameraIdList(); in setUp() 606 mCameraManager, cameraId, mCameraListener, mHandler); in openDevice() 608 CameraCharacteristics properties = mCameraManager.getCameraCharacteristics(cameraId); in openDevice() 614 mOrderedPreviewSizes = getSupportedPreviewSizes(cameraId, mCameraManager, in openDevice() 617 cameraId, mCameraManager, PREVIEW_SIZE_BOUND); in openDevice() 618 mOrderedStillSizes = getSupportedStillSizes(cameraId, mCameraManager, null); in openDevice() 621 cameraId, mCameraManager, ImageFormat.RAW10, null); in openDevice() [all …]
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 76 CameraManager mCameraManager; field in CameraTooActivity 133 mCameraManager = (CameraManager) getSystemService(CAMERA_SERVICE); in onResume() 237 for (String cameraId : mCameraManager.getCameraIdList()) { 239 mCameraManager.getCameraCharacteristics(cameraId); 293 mCameraManager.openCamera(mCameraId, mCameraStateCallback,
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraManager.h | 86 explicit DeathNotifier(CameraManagerGlobal* cm) : mCameraManager(cm) {} in DeathNotifier() 91 const wp<CameraManagerGlobal> mCameraManager; 97 explicit CameraServiceListener(CameraManagerGlobal* cm) : mCameraManager(cm) {} in CameraServiceListener() 104 const wp<CameraManagerGlobal> mCameraManager;
|
D | ACameraManager.cpp | 299 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in serviceDied() 511 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onStatusChanged() 565 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onPhysicalCameraStatusChanged()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.h | 78 explicit DeathNotifier(CameraManagerGlobal* cm) : mCameraManager(cm) {} in DeathNotifier() 83 const wp<CameraManagerGlobal> mCameraManager; 89 explicit CameraServiceListener(CameraManagerGlobal* cm) : mCameraManager(cm) {} in CameraServiceListener() 108 const wp<CameraManagerGlobal> mCameraManager;
|
D | ACameraManager.cpp | 194 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in binderDied() 454 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onCameraAccessPrioritiesChanged() 465 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onStatusChanged() 476 sp<CameraManagerGlobal> cm = mCameraManager.promote(); in onPhysicalCameraStatusChanged()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | Camera2Source.java | 59 private CameraManager mCameraManager; field in Camera2Source 115 mCameraManager = (CameraManager) ctx.getSystemService(Context.CAMERA_SERVICE); in Camera2Source() 157 BlockingCameraManager blkManager = new BlockingCameraManager(mCameraManager); in onOpen() 214 mProperties = mCameraManager.getCameraCharacteristics(mCamera.getId()); in onOpen()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2AgentImpl.java | 66 private final CameraManager mCameraManager; field in AndroidCamera2AgentImpl 94 mCameraManager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in AndroidCamera2AgentImpl() 110 String[] currentCameraDevices = mCameraManager.getCameraIdList(); in updateCameraDevices() 145 return new AndroidCamera2DeviceInfo(mCameraManager, mCameraDevices.toArray(new String[0]), in getCameraDeviceInfo() 249 mCameraManager.openCamera(mCameraId, mCameraDeviceStateCallback, this); in handleMessage() 784 mCameraManager.getCameraCharacteristics(mCameraId); 1290 private final CameraManager mCameraManager; field in AndroidCamera2AgentImpl.AndroidCamera2DeviceInfo 1298 mCameraManager = cameraManager; in AndroidCamera2DeviceInfo() 1328 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(actualId); in getCharacteristics()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 66 private final CameraManager mCameraManager; field in CameraOps 109 String[] cameraIds = mCameraManager.getCameraIdList(); in resume() 111 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(id); in resume() 243 mCameraManager = manager; in CameraOps() 263 mCameraManager.openCamera(cameraId, mCameraDeviceListener, mCameraHandler); in openCamera()
|
D | CameraView.java | 54 CameraManager mCameraManager; field in CameraView 88 mCameraManager = (CameraManager) mContext.getSystemService(mContext.CAMERA_SERVICE); in CameraView() 129 mCameraOps = new CameraOps(mCameraManager, in CameraView()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraView.java | 54 CameraManager mCameraManager; field in CameraView 88 mCameraManager = (CameraManager) mContext.getSystemService(mContext.CAMERA_SERVICE); in CameraView() 128 mCameraOps = new CameraOps(mCameraManager, in CameraView()
|
D | CameraOps.java | 60 private final CameraManager mCameraManager; field in CameraOps 104 String[] cameraIds = mCameraManager.getCameraIdList(); in resume() 106 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(id); in resume() 267 mCameraManager = manager; in CameraOps() 287 mCameraManager.openCamera(cameraId, mCameraDeviceListener, mCameraHandler); in openCamera()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2SwitchPreviewTest.java | 330 getSupportedVideoSizes(cameraId, mCameraManager, maxVideoSize); in initSupportedVideoSize()
|
D | Camera2RecordingTest.java | 465 getSupportedVideoSizes(cameraId, mCameraManager, maxVideoSize); in initSupportedVideoSize()
|