Searched refs:hasCameraPermission (Results 1 – 8 of 8) sorted by relevance
96 if (CameraManager.hasCameraPermission()) { in onVisibilityChanged()118 if (CameraManager.hasCameraPermission()) { in onAttachedToWindow()128 if (CameraManager.hasCameraPermission()) { in onRestoreInstanceState()
221 updateForPermissionState(CameraManager.hasCameraPermission()); in createView()262 if (CameraManager.hasCameraPermission()) { in setSelected()
1197 static boolean hasCameraPermission() { in hasCameraPermission() method in CameraManager
39 return PermissionsUtil.hasCameraPrivacyToastShown(context) && hasCameraPermission(context); in hasCameraPermissionAndShownPrivacyToast()42 public static boolean hasCameraPermission(@NonNull Context context) { in hasCameraPermission() method in VideoUtils
482 final boolean hasCameraPermission = in updateButtonsState()516 isVideo && hasCameraPermission && call.getVideoTech().isTransmitting()); in updateButtonsState()519 inCallButtonUi.setVideoPaused(!call.getVideoTech().isTransmitting() || !hasCameraPermission); in updateButtonsState()
837 boolean hasCameraPermission = VideoUtils.hasCameraPermissionAndShownPrivacyToast(context); in enableCamera()838 if (!hasCameraPermission) { in enableCamera()1094 return !VideoUtils.hasCameraPermission(context) in shouldShowCameraPermissionToast()
1057 if (!VideoUtils.hasCameraPermission(getContext())) { in checkCameraPermission()
1292 if (!VideoUtils.hasCameraPermission(getContext())) { in checkCameraPermission()