Home
last modified time | relevance | path

Searched refs:hasFrontAndBackCamera (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java46 assertEquals(false, CameraManager.get().hasFrontAndBackCamera()); in testNoCameraDeviceGetInfo()
59 assertEquals(false, CameraManager.get().hasFrontAndBackCamera()); in testFrontFacingOnlyGetInfo()
71 assertEquals(false, CameraManager.get().hasFrontAndBackCamera()); in testBackFacingOnlyGetInfo()
84 assertEquals(true, CameraManager.get().hasFrontAndBackCamera()); in testFrontAndBackGetInfo()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java105 private final boolean hasFrontAndBackCamera; field in CameraManager
172 hasFrontAndBackCamera = hasFrontCamera && hasBackCamera; in CameraManager()
320 public boolean hasFrontAndBackCamera() { in hasFrontAndBackCamera() method in CameraManager
321 return hasFrontAndBackCamera; in hasFrontAndBackCamera()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraMediaChooser.java435 fullScreen && !isRecording && CameraManager.get().hasFrontAndBackCamera() ? in updateViewState()
DCameraManager.java387 boolean hasFrontAndBackCamera() { in hasFrontAndBackCamera() method in CameraManager
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java356 if (!CameraManager.get().hasFrontAndBackCamera()) { in updateViewState()