Home
last modified time | relevance | path

Searched refs:cameraDevice (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/device/
DCamera2Actions.java124 public CloseCameraRunnable(CameraDevice cameraDevice, in CloseCameraRunnable() argument
127 mCameraDevice = cameraDevice; in CloseCameraRunnable()
160 public void onOpened(CameraDevice cameraDevice) { in onOpened() argument
162 mLogger.i("onOpened(id: " + cameraDevice.getId() + ")"); in onOpened()
163 mOpenListener.onDeviceOpened(cameraDevice); in onOpened()
168 public void onClosed(CameraDevice cameraDevice) { in onClosed() argument
170 mLogger.w("onClosed(id: " + cameraDevice.getId() + ")"); in onClosed()
171 mOpenListener.onDeviceOpenException(cameraDevice); in onClosed()
176 public void onDisconnected(CameraDevice cameraDevice) { in onDisconnected() argument
178 mLogger.w("onDisconnected(id: " + cameraDevice.getId() + ")"); in onDisconnected()
[all …]
DLegacyCameraActions.java120 Camera cameraDevice, in CloseCameraRunnable() argument
123 mCameraDevice = cameraDevice; in CloseCameraRunnable()
DPortabilityCameraActions.java158 public CloseCameraRunnable(CameraProxy cameraDevice, CameraAgent cameraAgent, in CloseCameraRunnable() argument
160 mCameraDevice = cameraDevice; in CloseCameraRunnable()
/packages/modules/Permission/tests/cts/permissionui/AppThatAccessesCameraAndMic/src/android/permissionui/cts/appthataccessescameraandmic/
DAccessCameraOrMicActivity.kt59 private var cameraDevice: CameraDevice? = null variable in android.permissionui.cts.appthataccessescameraandmic.AccessCameraOrMicActivity
119 cameraDevice?.close() in finish()
120 cameraDevice = null in finish()
144 cameraDevice = camDevice in onOpened()
156 val builder = cameraDevice!!.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW) in onOpened()
189 cameraDevice!!.createCaptureSession(sessionConfiguration) in onOpened()
218 if (camDevice == cameraDevice) { in startBackupCamera()
219 cameraDevice = null in startBackupCamera()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java118 public void onOpened(CameraDevice cameraDevice) {
119 mCameraDevice = cameraDevice;
170 public void onDisconnected(CameraDevice cameraDevice) {
171 cameraDevice.close();
176 public void onError(CameraDevice cameraDevice, int error) {
177 cameraDevice.close();
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DCameraDeviceRequestBuilderFactory.java31 public CameraDeviceRequestBuilderFactory(CameraDeviceProxy cameraDevice) { in CameraDeviceRequestBuilderFactory() argument
32 mCameraDevice = cameraDevice; in CameraDeviceRequestBuilderFactory()
DAndroidCameraDeviceProxy.java70 public AndroidCameraDeviceProxy(CameraDevice cameraDevice) { in AndroidCameraDeviceProxy() argument
71 mCameraDevice = cameraDevice; in AndroidCameraDeviceProxy()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DCameraController.java188 public void onOpened(@NonNull CameraDevice cameraDevice) {
192 mCameraDevice = cameraDevice;
197 public void onDisconnected(CameraDevice cameraDevice) {
199 Log.v(TAG, "onDisconnected: " + cameraDevice.getId() +
201 mCameraAvailabilityState.get(cameraDevice.getId()));
218 public void onError(@NonNull CameraDevice cameraDevice, int error) {
220 Log.e(TAG, "Camera id " + cameraDevice.getId() + ": onError " + error);
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraFactory.java31 OneCamera createOneCamera(CameraDeviceProxy cameraDevice, in createOneCamera() argument
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java144 public void setCamera(Camera cameraDevice) { in setCamera() argument
156 mCameraDevice = cameraDevice; in setCamera()