Home
last modified time | relevance | path

Searched refs:allowList (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DFgsTempAllowListTest.java51 assertTrue(allowList.isAllowed(10001)); in testIsAllowed()
56 assertTrue(allowList.isAllowed(10002)); in testIsAllowed()
61 allowList.removeUid(10001); in testIsAllowed()
62 assertFalse(allowList.isAllowed(10001)); in testIsAllowed()
63 assertNull(allowList.get(10001)); in testIsAllowed()
78 assertNull(allowList.get(10001)); in testExpired()
88 assertTrue(allowList.isAllowed(10001)); in testRemoveAppId()
89 assertTrue(allowList.isAllowed(10002)); in testRemoveAppId()
92 allowList.removeAppId(10001); in testRemoveAppId()
120 allowList.add(1, 2000, "uid1"); in testForEach()
[all …]
/aosp12/build/soong/cmd/diff_target_files/
H A Dallow_list.go28 type allowList struct { struct
33 func parseAllowLists(allowLists []string, allowListFiles []string) ([]allowList, error) {
34 var ret []allowList
44 ret = append(ret, allowList{
73 func parseAllowListFile(file string) ([]allowList, error) {
91 var allowLists []allowList
94 allowLists = append(allowLists, allowList{
104 func filterModifiedPaths(l [][2]*ZipArtifactFile, allowLists []allowList) ([][2]*ZipArtifactFile, e… argument
129 func filterNewPaths(l []*ZipArtifactFile, allowLists []allowList) ([]*ZipArtifactFile, error) { argument
195 func applyAllowLists(diff zipDiff, allowLists []allowList) (zipDiff, error) { argument
H A Dallow_list_test.go63 allowLists []allowList
77 allowLists: []allowList{{path: "dir/f1"}},
89 allowLists: []allowList{{path: "dir/*"}},
99 allowLists: []allowList{{path: "dir/*"}},
109 allowLists: []allowList{{path: "dir/*", ignoreMatchingLines: []string{"foo: .*"}}},
H A Dcompare.go24 func compareTargetFiles(priZip, refZip ZipArtifact, artifact string, allowLists []allowList, filter… argument
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DSuspendPackagesBroadcastTest.kt79 mockAllowList(packageSetting1, allowList(10001, 10002, 10003))
80 mockAllowList(packageSetting2, allowList(10001, 10002, 10003))
97 mockAllowList(packageSetting1, allowList(10001, 10002, 10003))
98 mockAllowList(packageSetting2, allowList(10001, 10002, 10007))
118 mockAllowList(packageSetting1, allowList(10001, 10002, 10003))
152 private fun allowList(vararg uids: Int) = SparseArray<IntArray>().apply { regex
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DUiccProfileTest.java141 String allowList = ""; in testParseAllowListMapFromString() local
142 Map<String, String> parsedMap = UiccProfile.parseToCertificateToPackageMap(allowList); in testParseAllowListMapFromString()
145 allowList = "nokey;value;separation"; in testParseAllowListMapFromString()
146 parsedMap = UiccProfile.parseToCertificateToPackageMap(allowList); in testParseAllowListMapFromString()
149 allowList = "KEY1:value1"; in testParseAllowListMapFromString()
150 parsedMap = UiccProfile.parseToCertificateToPackageMap(allowList); in testParseAllowListMapFromString()
153 allowList = "KEY1:value1; KEY2:value2 ;KEY3:value3"; in testParseAllowListMapFromString()
154 parsedMap = UiccProfile.parseToCertificateToPackageMap(allowList); in testParseAllowListMapFromString()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/toast/
H A DCarToastUI.java61 String[] allowList = resources.getStringArray( in CarToastUI() local
63 mPackageNameAllowList = new HashSet<>(Arrays.asList(allowList)); in CarToastUI()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
H A DResetAppsHelper.java115 final List<String> allowList = Arrays.asList( in onClick()
121 if (allowList.contains(app.packageName)) { in onClick()
/aosp12/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
H A DCursorToSearchResultConverter.java64 private static final String[] allowList = { field in CursorToSearchResultConverter
76 private static final Set<String> prioritySettings = new HashSet(Arrays.asList(allowList));
/aosp12/build/soong/java/
H A Dsdk_library_test.go712 allowList []string
748 variables.InterPartitionJavaLibraryAllowList = info.allowList
813 allowList: []string{"bar"},
/aosp12/packages/apps/Settings/src/com/android/settings/panel/
H A DPanelFragment.java382 final List<String> allowList = Arrays.asList( in removeSliceLiveData() local
385 if (!allowList.contains(uri.toString())) { in removeSliceLiveData()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/
H A DConnectivityServiceTest.java7747 final ArrayList<String> allowList = new ArrayList<>(); in testLockdownVpnWithRestrictedProfiles() local
7749 true /* lockdown */, allowList); in testLockdownVpnWithRestrictedProfiles()
7782 allowList); in testLockdownVpnWithRestrictedProfiles()
8241 final ArrayList<String> allowList = new ArrayList<>(); in testNetworkBlockedStatusAlwaysOnVpn() local
8243 allowList); in testNetworkBlockedStatusAlwaysOnVpn()
8281 allowList.add(TEST_PACKAGE_NAME); in testNetworkBlockedStatusAlwaysOnVpn()
8283 allowList); in testNetworkBlockedStatusAlwaysOnVpn()
8323 allowList.clear(); in testNetworkBlockedStatusAlwaysOnVpn()
8325 allowList); in testNetworkBlockedStatusAlwaysOnVpn()
8355 allowList); in testNetworkBlockedStatusAlwaysOnVpn()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java16176 SparseArray<int[]> allowList = mAppsFilter.getVisibilityAllowList( in sendPackagesSuspendedForUser() local
16179 if (allowList == null) { in sendPackagesSuspendedForUser()
16180 allowList = new SparseArray<>(0); in sendPackagesSuspendedForUser()
16184 if (Arrays.equals(allowListsToSend.get(j).get(userId), allowList.get(userId))) { in sendPackagesSuspendedForUser()
16194 allowListsToSend.add(allowList); in sendPackagesSuspendedForUser()
16204 final SparseArray<int[]> allowList = allowListsToSend.get(i).size() == 0 in sendPackagesSuspendedForUser() local
16207 null, userIds, null, allowList, null); in sendPackagesSuspendedForUser()