Searched refs:allowedPackages (Results 1 – 3 of 3) sorted by relevance
31 final ArraySet<String> allowedPackages = new ArraySet(); in testSetInitialLockPermission() local40 allowedPackages.add(ri.activityInfo.packageName); in testSetInitialLockPermission()48 if (!allowedPackages.contains(pi.packageName)) { in testSetInitialLockPermission()
1656 final ArraySet<String> allowedPackages = new ArraySet(); in testNetworkSettingsPermission() local1672 allowedPackages.add(info.packageName); in testNetworkSettingsPermission()1679 allowedPackages.add(ri.activityInfo.packageName); in testNetworkSettingsPermission()1690 if (allowedPackages.contains(packageName)) continue; in testNetworkSettingsPermission()1722 final ArraySet<String> allowedPackages = new ArraySet(); in testNetworkSetupWizardPermission() local1731 allowedPackages.add(ri.activityInfo.packageName); in testNetworkSetupWizardPermission()1754 allowedPackages.add(prePackageName); in testNetworkSetupWizardPermission()1761 if (!allowedPackages.contains(pi.packageName)) { in testNetworkSetupWizardPermission()
4421 List<String> allowedPackages = Arrays.asList( in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController() local4429 && !allowedPackages.contains(pkg.packageName)) { in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController()