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()
1198 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
477 final boolean hasCameraPermission = in updateButtonsState()511 isVideo && hasCameraPermission && call.getVideoTech().isTransmitting()); in updateButtonsState()514 inCallButtonUi.setVideoPaused(!call.getVideoTech().isTransmitting() || !hasCameraPermission); in updateButtonsState()
853 boolean hasCameraPermission = VideoUtils.hasCameraPermissionAndShownPrivacyToast(context); in enableCamera()854 if (!hasCameraPermission) { in enableCamera()1110 return !VideoUtils.hasCameraPermission(context) in shouldShowCameraPermissionToast()
1056 if (!VideoUtils.hasCameraPermission(getContext())) { in checkCameraPermission()
1336 if (!VideoUtils.hasCameraPermission(getContext())) { in checkCameraPermission()