Home
last modified time | relevance | path

Searched refs:allowlists (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/
DTestAppBlockingPolicyService.java62 AppBlockingPackageInfo[] allowlists = new AppBlockingPackageInfo[] { selfInfo }; in getAppBlockingPolicy() local
63 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(allowlists, null); in getAppBlockingPolicy()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppBlockingPolicyTest.java44 AppBlockingPackageInfo[] allowlists = new AppBlockingPackageInfo[] { carServiceInfo, in testParcelling() local
47 CarAppBlockingPolicy policyExpected = new CarAppBlockingPolicy(allowlists, denylists); in testParcelling()
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java1130 ArrayMap<Integer, IntArray> allowlists = null; in doSyncWithCarServiceHelper() local
1136 allowlists = createDisplayAllowlistsLocked(); in doSyncWithCarServiceHelper()
1143 updateUserAssignmentForDisplays(allowlists); in doSyncWithCarServiceHelper()
1172 ArrayMap<Integer, IntArray> allowlists = new ArrayMap<>(); in createDisplayAllowlistsLocked() local
1186 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() argument
1199 if (allowlists == null || allowlists.isEmpty()) { in updateUserAssignmentForDisplays()
1202 for (int i = 0; i < allowlists.size(); i++) { in updateUserAssignmentForDisplays()
[all …]
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java1879 private void replaceAllowlists(AppBlockingPackageInfoWrapper[] allowlists) { in replaceAllowlists() argument
1881 addToAllowlists(allowlists); in replaceAllowlists()
1884 private void addToAllowlists(AppBlockingPackageInfoWrapper[] allowlists) { in addToAllowlists() argument
1885 if (allowlists == null) { in addToAllowlists()
1888 for (AppBlockingPackageInfoWrapper wrapper : allowlists) { in addToAllowlists()
1895 private void removeAllowlists(AppBlockingPackageInfoWrapper[] allowlists) { in removeAllowlists() argument
1896 if (allowlists == null) { in removeAllowlists()
1899 for (AppBlockingPackageInfoWrapper wrapper : allowlists) { in removeAllowlists()