Home
last modified time | relevance | path

Searched refs:hasCameraPermission (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraPreview.java96 if (CameraManager.hasCameraPermission()) { in onVisibilityChanged()
118 if (CameraManager.hasCameraPermission()) { in onAttachedToWindow()
128 if (CameraManager.hasCameraPermission()) { in onRestoreInstanceState()
DCameraMediaChooser.java221 updateForPermissionState(CameraManager.hasCameraPermission()); in createView()
262 if (CameraManager.hasCameraPermission()) { in setSelected()
DCameraManager.java1198 static boolean hasCameraPermission() { in hasCameraPermission() method in CameraManager
/packages/apps/Dialer/java/com/android/incallui/videotech/utils/
DVideoUtils.java39 return PermissionsUtil.hasCameraPrivacyToastShown(context) && hasCameraPermission(context); in hasCameraPermissionAndShownPrivacyToast()
42 public static boolean hasCameraPermission(@NonNull Context context) { in hasCameraPermission() method in VideoUtils
/packages/apps/Dialer/java/com/android/incallui/
DCallButtonPresenter.java481 final boolean hasCameraPermission = in updateButtonsState()
515 isVideo && hasCameraPermission && call.getVideoTech().isTransmitting()); in updateButtonsState()
518 inCallButtonUi.setVideoPaused(!call.getVideoTech().isTransmitting() || !hasCameraPermission); in updateButtonsState()
DVideoCallPresenter.java853 boolean hasCameraPermission = VideoUtils.hasCameraPermissionAndShownPrivacyToast(context); in enableCamera()
854 if (!hasCameraPermission) { in enableCamera()
1110 return !VideoUtils.hasCameraPermission(context) in shouldShowCameraPermissionToast()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DSurfaceViewVideoCallFragment.java1056 if (!VideoUtils.hasCameraPermission(getContext())) { in checkCameraPermission()
DVideoCallFragment.java1336 if (!VideoUtils.hasCameraPermission(getContext())) { in checkCameraPermission()