Lines Matching refs:List

24 import java.util.List;

57 public static boolean checkHapIsValid(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
113 private static boolean checkContinueTypeIsValid(List<HapVerifyInfo> hapVerifyInfos) {
130 List<String> abilityNames = hapVerifyInfo.getAbilityNames();
135 List<String> typeList = hapVerifyInfo.getContinueTypeMap().get(abilityNames.get(i));
140 List<String> typeList2 = hapVerifyInfo.getContinueTypeMap().get(abilityNames.get(j));
161 List<String> typeList = hapVerifyInfo.getContinueTypeMap().values().stream()
163 List<String> typeList2 = hapVerifyInfo2.getContinueTypeMap().values().stream()
184 public static boolean checkSharedApppIsValid(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
222 private static boolean checkAppFieldsIsSame(List<HapVerifyInfo> hapVerifyInfos) {
330 private static boolean checkModuleNameIsValid(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
370 private static boolean checkPackageNameIsValid(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
409 private static boolean checkAbilityNameIsValid(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
448 private static boolean checkTargetModuleNameIsExisted(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
449 List<HapVerifyInfo> internalOverlayHap = new ArrayList<>();
450 List<HapVerifyInfo> nonOverlayHap = new ArrayList<>();
451 List<String> targetModuleList = new ArrayList<>();
452 List<String> moduleList = new ArrayList<>();
483 private static boolean checkCompileSdkIsValid(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
498 private static boolean checkProxyDataUriIsUnique(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
525 private static boolean checkEntryIsValid(List<HapVerifyInfo> hapVerifyInfos) throws BundleException {
526 List<HapVerifyInfo> entryHapVerifyInfos = new ArrayList<>();
527 List<HapVerifyInfo> featureHapVerifyInfos = new ArrayList<>();
567 Map<String, List<HapVerifyInfo>> deviceHap = classifyEntry(entryHapVerifyInfos);
655 private static boolean checkPolicyValueDisjoint(String policyLeft, List<String> valueLeft, String policyRight,
656 List<String> valueRight) throws BundleException {
688 private static Map<String, List<HapVerifyInfo>> classifyEntry(List<HapVerifyInfo> entryHapVerifyInfos) {
689 Map<String, List<HapVerifyInfo>> deviceHaps = new HashMap<>();
711 private static boolean checkFeature(HapVerifyInfo featureHap, Map<String, List<HapVerifyInfo>> deviceHap)
719 List<HapVerifyInfo> entryHaps = deviceHap.get(device);
741 private static boolean checkFeatureDistroFilter(HapVerifyInfo featureHap, List<HapVerifyInfo> entryHaps)
785 private static boolean checkApiVersionCovered(ApiVersion apiVersion, List<HapVerifyInfo> entryHaps)
787 List<String> include = null;
788 List<String> exclude = null;
835 private static boolean checkScreenShapeCovered(ScreenShape screenShape, List<HapVerifyInfo> entryHaps)
837 List<String> include = null;
838 List<String> exclude = null;
882 private static boolean checkScreenWindowCovered(ScreenWindow screenWindow, List<HapVerifyInfo> entryHaps)
884 List<String> include = null;
885 List<String> exclude = null;
929 private static boolean checkScreenDensityCovered(ScreenDensity screenDensity, List<HapVerifyInfo> entryHaps)
931 List<String> include = null;
932 List<String> exclude = null;
976 private static boolean checkCountryCodeCovered(CountryCode countryCode, List<HapVerifyInfo> entryHaps)
978 List<String> include = null;
979 List<String> exclude = null;
1023 private static boolean checkEntryPolicyValueCoverAll(List<String> include, List<String> exclude) {
1038 String policy, List<String> value, List<String> include, List<String> exclude) {
1061 List<String> value, List<String> include, List<String> exclude) {
1081 List<String> value, List<String> include, List<String> exclude) {
1099 private static boolean checkDependencyIsValid(List<HapVerifyInfo> allHapVerifyInfo) throws BundleException {
1112 List<HapVerifyInfo> dependencyList = new ArrayList<>();
1132 HapVerifyInfo hapVerifyInfo, List<HapVerifyInfo> allHapVerifyInfo,
1133 List<HapVerifyInfo> dependencyList) throws BundleException {
1146 List<HapVerifyInfo> layerDependencyList = getLayerDependency(
1164 DependencyItem dependencyItem, List<HapVerifyInfo> allHapVerifyInfo) {
1183 private static List<HapVerifyInfo> getLayerDependency(
1184 String moduleName, HapVerifyInfo hapVerifyInfo, List<HapVerifyInfo> allHapVerifyInfo) throws BundleException {
1185 List<HapVerifyInfo> layerHapVerifyInfoList = new ArrayList<>();
1211 private static boolean checkDependencyListCirculate(List<HapVerifyInfo> dependencyList) throws BundleException {
1239 * get moduleNames from List<HapVerifyInfo>
1244 private static List<String> getHapVerifyInfoListNames(List<HapVerifyInfo> hapVerifyInfoList) {
1245 List<String> moduleNames = new ArrayList<>();
1252 private static boolean checkAtomicServiceModuleSize(List<HapVerifyInfo> hapVerifyInfoList) throws BundleException {
1260 List<String> dependencies = getModuleDependency(hapVerifyInfo, hapVerifyInfoList);
1261 List<HapVerifyInfo> dependenciesInfos = new ArrayList<>();
1298 private static Map<String, List<HapVerifyInfo>> getDeviceHapVerifyInfoMap(List<HapVerifyInfo> hapVerifyInfoList)
1304 Map<String, List<HapVerifyInfo>> deviceInfoMap = new HashMap<String, List<HapVerifyInfo>>();
1306 List<String> deviceTypes = hapVerifyInfo.getDeviceType();
1309 List<HapVerifyInfo> infos = new ArrayList<>();
1320 private static boolean checkAtomicServiceIsValid(List<HapVerifyInfo> hapVerifyInfoList) throws BundleException {
1334 Map<String, List<HapVerifyInfo>> deviceInfoMap = getDeviceHapVerifyInfoMap(hapVerifyInfoList);
1336 List<HapVerifyInfo> hapVerifyInfos = deviceInfoMap.get(device);
1346 private static boolean checkAtomicServiceSumLimit(List<HapVerifyInfo>hapVerifyInfos) {
1363 private static boolean checkAtomicServicePreloadsIsValid(List<HapVerifyInfo> hapVerifyInfoList)
1369 List<String> moduleNames = new ArrayList<>();
1375 List<String> preloadModuleName = new ArrayList<>();
1376 List<PreloadItem> preloadItems = hapVerifyInfo.getPreloadItems();
1402 List<PreloadItem> preloadItems = hapVerifyInfo.getPreloadItems();
1419 * check file size is valid from List<HapVerifyInfo>
1424 public static boolean checkFileSizeIsValid(List<HapVerifyInfo> hapVerifyInfoList) throws BundleException {
1436 private static boolean checkFileSize(List<HapVerifyInfo> hapVerifyInfoList) throws BundleException {
1461 Map<String, List<HapVerifyInfo>> deviceInfoMap = getDeviceHapVerifyInfoMap(hapVerifyInfoList);
1463 List<HapVerifyInfo>hapVerifyInfoList1 = deviceInfoMap.get(device);
1472 private static List<String> getModuleDependency(HapVerifyInfo hapVerifyInfo,
1473 List<HapVerifyInfo> hapVerifyInfoList) throws BundleException {
1474 List<String> dependencyModules = new ArrayList<>();
1476 List<String> dependencyItems = hapVerifyInfo.getDependencies();
1482 List<String> childDependencies = getModuleDependency(dependencyHapVerifyInfo, hapVerifyInfoList);
1493 List<HapVerifyInfo> hapVerifyInfoList) {