Home
last modified time | relevance | path

Searched refs:screenWindow (Results 1 - 7 of 7) sorted by relevance

/developtools/packing_tool/adapter/ohos/
H A DDistroFilter.java41 public ScreenWindow screenWindow = null; field in DistroFilter
56 && screenWindow == null && countryCode == null) { in dump()
73 if (screenWindow != null) { in dump()
74 String screenWindowStr = "screenWindow: policy is " + screenWindow.policy + ", value is " in dump()
75 + screenWindow.value; in dump()
H A DHapVerify.java630 if (distroFilterLeft.screenWindow != null && distroFilterRight.screenWindow != null) { in checkDistroFilterDisjoint()
631 if (checkPolicyValueDisjoint(distroFilterLeft.screenWindow.policy, distroFilterLeft.screenWindow.value, in checkDistroFilterDisjoint()
632 distroFilterRight.screenWindow.policy, distroFilterRight.screenWindow.value)) { in checkDistroFilterDisjoint()
762 if (!checkScreenWindowCovered(featureHap.getDistroFilter().screenWindow, entryHaps)) { in checkFeatureDistroFilter()
763 LOG.warning("HapVerify::checkFeatureDistroFilter failed, screenWindow is not covered."); in checkFeatureDistroFilter()
876 * check feature screenWindow is subset of entry screenWindow
882 checkScreenWindowCovered(ScreenWindow screenWindow, List<HapVerifyInfo> entryHaps) checkScreenWindowCovered() argument
[all...]
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Ddistro_filter.cpp31 const std::string SCREEN_WINDOW = "screenWindow";
164 if (!screenWindow.ParseFromJson(screenWindowObj)) { in ParseScreenWindow()
165 LOGE("Parse screenWindow failed!"); in ParseScreenWindow()
224 screenWindow.IsEmpty() && countryCode.IsEmpty()) { in IsEmpty()
234 && screenWindow.policy.empty() && countryCode.policy.empty()) { in Dump()
253 if (!screenWindow.policy.empty()) { in Dump()
254 std::string screenWindowStr = "screenWindow: policy is " + screenWindow.policy + ", value is " in Dump()
255 + Utils::ListToString(screenWindow.value); in Dump()
H A Dhap_verify_utils.cpp256 if (!distroFilter1.screenWindow.IsEmpty() && !distroFilter2.screenWindow.IsEmpty()) { in CheckDistroFilterDisjoint()
257 if (CheckPolicyValueDisjoint(distroFilter1.screenWindow, distroFilter2.screenWindow)) { in CheckDistroFilterDisjoint()
391 CheckScreenWindowCovered(featureHap.GetDistroFilter().screenWindow, entryHaps) && in CheckFeatureDistroFilter()
407 if (!CheckScreenWindowCovered(featureHap.GetDistroFilter().screenWindow, entryHaps)) { in CheckFeatureDistroFilter()
408 LOGW("CheckScreenWindowCovered failed, screenWindow is not covered."); in CheckFeatureDistroFilter()
482 bool HapVerifyUtils::CheckScreenWindowCovered(const ScreenWindow& screenWindow, in CheckScreenWindowCovered() argument
488 if (hapVerifyInfo.GetDistroFilter().IsEmpty() || hapVerifyInfo.GetDistroFilter().screenWindow.IsEmpty()) { in CheckScreenWindowCovered()
489 LOGE("distro filter is empty or screenWindow i in CheckScreenWindowCovered()
[all...]
/developtools/packing_tool/packing_tool/frameworks/include/json/
H A Ddistro_filter.h46 ScreenWindow screenWindow; member
H A Dhap_verify_utils.h94 static bool CheckScreenWindowCovered(const ScreenWindow& screenWindow,
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/hap_verify_utils_test/
H A Dhap_verify_utils_test.cpp111 distroFilter1.screenWindow = screenWindow1; in InitHapVerifyInfo1()
174 distroFilter2.screenWindow = screenWindow2; in InitHapVerifyInfo2()
196 distroFilter1.screenWindow = screenWindow1; in initDistroFilter()
216 distroFilter2.screenWindow = screenWindow2; in initDistroFilter()
579 distroFilter1.screenWindow = screenWindow1; in HWTEST_F()
759 distroFilter3.screenWindow = screenWindow3; in HWTEST_F()
766 distroFilter3.screenWindow = screenWindow3; in HWTEST_F()
862 OHOS::AppPackingTool::ScreenWindow screenWindow; in HWTEST_F() local
864 screenWindow.policy = "other"; in HWTEST_F()
869 distroFilter3.screenWindow in HWTEST_F()
[all...]

Completed in 7 milliseconds