Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCameraUtils.java67 public void onOpened(CameraDevice cameraDevice) { in onOpened() argument
70 if (cameraDevice != null) { in onOpened()
71 cameraDevice.close(); in onOpened()
77 public void onDisconnected(CameraDevice cameraDevice) { in onDisconnected() argument
83 public void onError(CameraDevice cameraDevice, int error) { in onError() argument
/cts/tests/camera/src/android/hardware/camera2/cts/
DIdleUidTest.java149 final CameraDevice cameraDevice = captor.getValue(); in assertCameraAccess() local
150 assertThat(cameraDevice).isNotNull(); in assertCameraAccess()
151 cameraDevice.close(); in assertCameraAccess()
190 final CameraDevice cameraDevice = captor.getValue(); in testCameraAccessBecomingInactiveUidByCamera() local
191 assertThat(cameraDevice).isNotNull(); in testCameraAccessBecomingInactiveUidByCamera()
192 cameraDevice.close(); in testCameraAccessBecomingInactiveUidByCamera()
DCameraDeviceTest.java540 public CameraDevice cameraDevice; in testChainedOperation() field in CameraDeviceTest.ChainedCameraListener
545 cameraDevice = camera; in testChainedOperation()
610 if (cameraListener.cameraDevice != null) cameraListener.cameraDevice.close(); in testChainedOperation()
621 if (cameraListener.cameraDevice != null) cameraListener.cameraDevice.close(); in testChainedOperation()
632 if (cameraListener.cameraDevice != null) cameraListener.cameraDevice.close(); in testChainedOperation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DCameraStreamManager.java84 public void onOpened(CameraDevice cameraDevice) {
87 mCameraDevice = cameraDevice;
92 public void onDisconnected(CameraDevice cameraDevice) {
94 cameraDevice.close();
99 public void onError(CameraDevice cameraDevice, int error) {
101 cameraDevice.close();
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCamera2Activity.java96 public void onOpened(CameraDevice cameraDevice) { in onResume()
103 public void onDisconnected(CameraDevice cameraDevice) { in onResume()
110 public void onError(CameraDevice cameraDevice, int i) { in onResume()
DCameraEvictionTest.java83 public void onOpened(CameraDevice cameraDevice) { in onOpened() argument
85 mCameraDevice = cameraDevice; in onOpened()
100 public void onDisconnected(CameraDevice cameraDevice) { in onDisconnected() argument
109 public void onError(CameraDevice cameraDevice, int i) { in onError() argument