Home
last modified time | relevance | path

Searched refs:whitelists (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/car-lib/src/android/car/content/pm/
DCarAppBlockingPolicy.java34 public final AppBlockingPackageInfo[] whitelists; field in CarAppBlockingPolicy
56 public CarAppBlockingPolicy(AppBlockingPackageInfo[] whitelists, in CarAppBlockingPolicy() argument
58 this.whitelists = whitelists; in CarAppBlockingPolicy()
68 whitelists = payloadParcel.createTypedArray(AppBlockingPackageInfo.CREATOR); in CarAppBlockingPolicy()
81 payloadParcel.writeTypedArray(whitelists, 0); in writeToParcel()
104 result = prime * result + Arrays.hashCode(whitelists); in hashCode()
123 if (!Arrays.equals(whitelists, other.whitelists)) { in equals()
131 return "CarAppBlockingPolicy [whitelists=" + Arrays.toString(whitelists) + ", blacklists=" in toString()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java473 AppBlockingPackageInfoWrapper[] whitelistWrapper = verifyList(policy.whitelists); in doUpdatePolicy()
1266 private void replaceWhitelists(AppBlockingPackageInfoWrapper[] whitelists) { in replaceWhitelists() argument
1268 addToWhitelists(whitelists); in replaceWhitelists()
1271 private void addToWhitelists(AppBlockingPackageInfoWrapper[] whitelists) { in addToWhitelists() argument
1272 if (whitelists == null) { in addToWhitelists()
1275 for (AppBlockingPackageInfoWrapper wrapper : whitelists) { in addToWhitelists()
1282 private void removeWhitelists(AppBlockingPackageInfoWrapper[] whitelists) { in removeWhitelists() argument
1283 if (whitelists == null) { in removeWhitelists()
1286 for (AppBlockingPackageInfoWrapper wrapper : whitelists) { in removeWhitelists()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppBlockingPolicyTest.java35 AppBlockingPackageInfo[] whitelists = new AppBlockingPackageInfo[] { carServiceInfo, in testParcelling() local
38 CarAppBlockingPolicy policyExpected = new CarAppBlockingPolicy(whitelists, blacklists); in testParcelling()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DTestAppBlockingPolicyService.java62 AppBlockingPackageInfo[] whitelists = new AppBlockingPackageInfo[] { selfInfo }; in getAppBlockingPolicy() local
63 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(whitelists, null); in getAppBlockingPolicy()
/packages/services/Car/car-lib/api/
Dsystem-current.txt260 field public final android.car.content.pm.AppBlockingPackageInfo[] whitelists;