Searched refs:allowlists (Results 1 – 4 of 4) sorted by relevance
62 AppBlockingPackageInfo[] allowlists = new AppBlockingPackageInfo[] { selfInfo }; in getAppBlockingPolicy() local63 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(allowlists, null); in getAppBlockingPolicy()
44 AppBlockingPackageInfo[] allowlists = new AppBlockingPackageInfo[] { carServiceInfo, in testParcelling() local47 CarAppBlockingPolicy policyExpected = new CarAppBlockingPolicy(allowlists, denylists); in testParcelling()
1130 ArrayMap<Integer, IntArray> allowlists = null; in doSyncWithCarServiceHelper() local1136 allowlists = createDisplayAllowlistsLocked(); in doSyncWithCarServiceHelper()1143 updateUserAssignmentForDisplays(allowlists); in doSyncWithCarServiceHelper()1172 ArrayMap<Integer, IntArray> allowlists = new ArrayMap<>(); in createDisplayAllowlistsLocked() local1186 IntArray displays = allowlists.get(config.userId); in createDisplayAllowlistsLocked()1189 allowlists.put(config.userId, displays); in createDisplayAllowlistsLocked()1195 return allowlists; in createDisplayAllowlistsLocked()1198 private void updateUserAssignmentForDisplays(ArrayMap<Integer, IntArray> allowlists) { in updateUserAssignmentForDisplays() argument1199 if (allowlists == null || allowlists.isEmpty()) { in updateUserAssignmentForDisplays()1202 for (int i = 0; i < allowlists.size(); i++) { in updateUserAssignmentForDisplays()[all …]
1879 private void replaceAllowlists(AppBlockingPackageInfoWrapper[] allowlists) { in replaceAllowlists() argument1881 addToAllowlists(allowlists); in replaceAllowlists()1884 private void addToAllowlists(AppBlockingPackageInfoWrapper[] allowlists) { in addToAllowlists() argument1885 if (allowlists == null) { in addToAllowlists()1888 for (AppBlockingPackageInfoWrapper wrapper : allowlists) { in addToAllowlists()1895 private void removeAllowlists(AppBlockingPackageInfoWrapper[] allowlists) { in removeAllowlists() argument1896 if (allowlists == null) { in removeAllowlists()1899 for (AppBlockingPackageInfoWrapper wrapper : allowlists) { in removeAllowlists()