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.java1197 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.java482 final boolean hasCameraPermission = in updateButtonsState()
516 isVideo && hasCameraPermission && call.getVideoTech().isTransmitting()); in updateButtonsState()
519 inCallButtonUi.setVideoPaused(!call.getVideoTech().isTransmitting() || !hasCameraPermission); in updateButtonsState()
DVideoCallPresenter.java837 boolean hasCameraPermission = VideoUtils.hasCameraPermissionAndShownPrivacyToast(context); in enableCamera()
838 if (!hasCameraPermission) { in enableCamera()
1094 return !VideoUtils.hasCameraPermission(context) in shouldShowCameraPermissionToast()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DSurfaceViewVideoCallFragment.java1057 if (!VideoUtils.hasCameraPermission(getContext())) { in checkCameraPermission()
DVideoCallFragment.java1292 if (!VideoUtils.hasCameraPermission(getContext())) { in checkCameraPermission()