Lines Matching refs:screenWindow
630 if (distroFilterLeft.screenWindow != null && distroFilterRight.screenWindow != null) {
631 if (checkPolicyValueDisjoint(distroFilterLeft.screenWindow.policy, distroFilterLeft.screenWindow.value,
632 distroFilterRight.screenWindow.policy, distroFilterRight.screenWindow.value)) {
762 if (!checkScreenWindowCovered(featureHap.getDistroFilter().screenWindow, entryHaps)) {
763 LOG.warning("HapVerify::checkFeatureDistroFilter failed, screenWindow is not covered.");
876 * check feature screenWindow is subset of entry screenWindow
878 * @param screenWindow is the screenWindow of feature hap
880 * @return screenWindow is valid
882 private static boolean checkScreenWindowCovered(ScreenWindow screenWindow, List<HapVerifyInfo> entryHaps)
887 if (hapVerifyInfo.getDistroFilter() == null || hapVerifyInfo.getDistroFilter().screenWindow == null) {
890 if (hapVerifyInfo.getDistroFilter().screenWindow.policy == null) {
894 if (INCLUDE.equals(hapVerifyInfo.getDistroFilter().screenWindow.policy)) {
898 include.addAll(hapVerifyInfo.getDistroFilter().screenWindow.value);
899 } else if (EXCLUDE.equals(hapVerifyInfo.getDistroFilter().screenWindow.policy)) {
903 exclude = Stream.of(exclude, hapVerifyInfo.getDistroFilter().screenWindow.value).
916 if (screenWindow == null) {
919 return checkPolicyValueCovered(screenWindow.policy, screenWindow.value, include, exclude);