Home
last modified time | relevance | path

Searched refs:AppBlockingPackageInfo (Results 1 – 16 of 16) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DAppBlockingPackageInfoTest.java20 import android.car.content.pm.AppBlockingPackageInfo;
41 AppBlockingPackageInfo carServiceInfo = createInfoCarService(mContext); in testParcellingSystemInfo()
45 AppBlockingPackageInfo carServiceInfoRead = new AppBlockingPackageInfo(dest); in testParcellingSystemInfo()
53 AppBlockingPackageInfo selfInfo = createInfoSelf(mContext); in testParcellingNonSystemInfo()
57 AppBlockingPackageInfo selfInfoRead = new AppBlockingPackageInfo(dest); in testParcellingNonSystemInfo()
62 public static AppBlockingPackageInfo createInfoCarService(Context context) { in createInfoCarService()
64 return new AppBlockingPackageInfo(packageName, 0, 0, AppBlockingPackageInfo.FLAG_SYSTEM_APP, in createInfoCarService()
68 public static final AppBlockingPackageInfo createInfoSelf(Context context) { in createInfoSelf()
78 return new AppBlockingPackageInfo(packageName, 0, 100, 0, signatures, activties); in createInfoSelf()
DCarAppBlockingPolicyTest.java20 import android.car.content.pm.AppBlockingPackageInfo;
39 AppBlockingPackageInfo carServiceInfo = in testParcelling()
41 AppBlockingPackageInfo selfInfo = in testParcelling()
44 AppBlockingPackageInfo[] allowlists = new AppBlockingPackageInfo[] { carServiceInfo, in testParcelling()
46 AppBlockingPackageInfo[] denylists = new AppBlockingPackageInfo[] { selfInfo }; in testParcelling()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPackageManagerTest.java21 import android.car.content.pm.AppBlockingPackageInfo;
93 AppBlockingPackageInfo info = new AppBlockingPackageInfo(carServicePackageName, 0, 0, in testSettingAllowlist()
94 AppBlockingPackageInfo.FLAG_SYSTEM_APP, null, new String[] { activityAllowed }); in testSettingAllowlist()
95 CarAppBlockingPolicy policy = new CarAppBlockingPolicy(new AppBlockingPackageInfo[] { info } in testSettingAllowlist()
107 info = new AppBlockingPackageInfo(carServicePackageName, 0, 0, in testSettingAllowlist()
108 AppBlockingPackageInfo.FLAG_SYSTEM_APP, null, new String[] { acticityAllowed2 }); in testSettingAllowlist()
109 policy = new CarAppBlockingPolicy(new AppBlockingPackageInfo[] { info } in testSettingAllowlist()
121 info = new AppBlockingPackageInfo(carServicePackageName, 0, 0, in testSettingAllowlist()
122 AppBlockingPackageInfo.FLAG_SYSTEM_APP, null, new String[] { activityAllowed }); in testSettingAllowlist()
123 policy = new CarAppBlockingPolicy(new AppBlockingPackageInfo[] { info } in testSettingAllowlist()
[all …]
DTestAppBlockingPolicyService.java18 import android.car.content.pm.AppBlockingPackageInfo;
60 AppBlockingPackageInfo selfInfo = new AppBlockingPackageInfo(packageName, 0, 0, 0, in getAppBlockingPolicy()
62 AppBlockingPackageInfo[] allowlists = new AppBlockingPackageInfo[] { selfInfo }; in getAppBlockingPolicy()
/packages/services/Car/car-lib/src/android/car/content/pm/
DAppBlockingPackageInfo.java38 public final class AppBlockingPackageInfo implements Parcelable { class
88 public AppBlockingPackageInfo(String packageName, int minRevisionCode, int maxRevisionCode, in AppBlockingPackageInfo() method in AppBlockingPackageInfo
103 public AppBlockingPackageInfo(Parcel in) { in AppBlockingPackageInfo() method in AppBlockingPackageInfo
129 public static final Parcelable.Creator<AppBlockingPackageInfo> CREATOR =
130 new Parcelable.Creator<AppBlockingPackageInfo>() {
133 public AppBlockingPackageInfo createFromParcel(Parcel in) {
134 return new AppBlockingPackageInfo(in);
138 public AppBlockingPackageInfo[] newArray(int size) {
139 return new AppBlockingPackageInfo[size];
191 AppBlockingPackageInfo other = (AppBlockingPackageInfo) obj; in equals()
DCarAppBlockingPolicy.java38 public final AppBlockingPackageInfo[] whitelists;
39 public final AppBlockingPackageInfo[] blacklists;
41 public CarAppBlockingPolicy(AppBlockingPackageInfo[] whitelists, in CarAppBlockingPolicy()
42 AppBlockingPackageInfo[] blacklists) { in CarAppBlockingPolicy()
53 whitelists = payloadParcel.createTypedArray(AppBlockingPackageInfo.CREATOR); in CarAppBlockingPolicy()
54 blacklists = payloadParcel.createTypedArray(AppBlockingPackageInfo.CREATOR); in CarAppBlockingPolicy()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java49 import android.car.content.pm.AppBlockingPackageInfo;
871 private AppBlockingPackageInfoWrapper[] verifyList(@Nullable AppBlockingPackageInfo[] list) { in verifyList()
877 AppBlockingPackageInfo info = list[i]; in verifyList()
887 boolean isInstalledPackageMatching(AppBlockingPackageInfo info) { in isInstalledPackageMatching()
899 if ((info.flags & AppBlockingPackageInfo.FLAG_SYSTEM_APP) == 0 || in isInstalledPackageMatching()
971 flags = AppBlockingPackageInfo.FLAG_SYSTEM_APP; in getPackageInfoWrapperForUser()
984 flags |= AppBlockingPackageInfo.FLAG_WHOLE_ACTIVITY; in getPackageInfoWrapperForUser()
1064 AppBlockingPackageInfo appBlockingInfo = new AppBlockingPackageInfo(info.packageName, in getPackageInfoWrapperForUser()
1850 private final AppBlockingPackageInfo info;
1857 private AppBlockingPackageInfoWrapper(AppBlockingPackageInfo info, boolean isMatching) { in AppBlockingPackageInfoWrapper()
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt14 ArrayReturn: android.car.content.pm.AppBlockingPackageInfo#AppBlockingPackageInfo(String, int, int,…
16 ArrayReturn: android.car.content.pm.AppBlockingPackageInfo#signatures:
18 …AppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlock…
19 …should be Collection<AppBlockingPackageInfo> (or subclass) instead of raw array; was `android.car.…
20 …AppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlock…
21 …should be Collection<AppBlockingPackageInfo> (or subclass) instead of raw array; was `android.car.…
23 …should be Collection<AppBlockingPackageInfo> (or subclass) instead of raw array; was `android.car.…
25 …should be Collection<AppBlockingPackageInfo> (or subclass) instead of raw array; was `android.car.…
298 MissingNullability: android.car.content.pm.AppBlockingPackageInfo#AppBlockingPackageInfo(String, in…
299 Missing nullability on parameter `packageName` in method `AppBlockingPackageInfo`
[all …]
Dsystem-current.txt612 public final class AppBlockingPackageInfo implements android.os.Parcelable {
613 …ctor public AppBlockingPackageInfo(String, int, int, int, @Nullable android.content.pm.Signature[]…
614 ctor public AppBlockingPackageInfo(android.os.Parcel);
617 … static final android.os.Parcelable.Creator<android.car.content.pm.AppBlockingPackageInfo> CREATOR;
629 …AppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlock…
634 field public final android.car.content.pm.AppBlockingPackageInfo[] blacklists;
635 field public final android.car.content.pm.AppBlockingPackageInfo[] whitelists;
Dtest-current.txt683 public final class AppBlockingPackageInfo implements android.os.Parcelable {
684 …ctor public AppBlockingPackageInfo(String, int, int, int, @Nullable android.content.pm.Signature[]…
685 ctor public AppBlockingPackageInfo(android.os.Parcel);
688 … static final android.os.Parcelable.Creator<android.car.content.pm.AppBlockingPackageInfo> CREATOR;
700 …AppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlock…
705 field public final android.car.content.pm.AppBlockingPackageInfo[] blacklists;
706 field public final android.car.content.pm.AppBlockingPackageInfo[] whitelists;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt612 public final class AppBlockingPackageInfo implements android.os.Parcelable {
613 …ctor public AppBlockingPackageInfo(String, int, int, int, @Nullable android.content.pm.Signature[]…
614 ctor public AppBlockingPackageInfo(android.os.Parcel);
617 … static final android.os.Parcelable.Creator<android.car.content.pm.AppBlockingPackageInfo> CREATOR;
629 …AppBlockingPolicy(android.car.content.pm.AppBlockingPackageInfo[], android.car.content.pm.AppBlock…
634 field public final android.car.content.pm.AppBlockingPackageInfo[] blacklists;
635 field public final android.car.content.pm.AppBlockingPackageInfo[] whitelists;
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt181 android.car.content.pm AppBlockingPackageInfo void verify()
182 android.car.content.pm AppBlockingPackageInfo boolean isActivityCovered(String className)
Dcar_hidden_apis_release_33.1.txt181 android.car.content.pm AppBlockingPackageInfo void verify()
182 android.car.content.pm AppBlockingPackageInfo boolean isActivityCovered(String className)
Dcar_hidden_apis.txt253 android.car.content.pm AppBlockingPackageInfo boolean isActivityCovered(String className)
254 android.car.content.pm AppBlockingPackageInfo void verify()
Dcar_hidden_apis_release_33.3.txt200 android.car.content.pm AppBlockingPackageInfo void verify()
201 android.car.content.pm AppBlockingPackageInfo boolean isActivityCovered(String className)
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt298 field TIRAMISU_0 AppBlockingPackageInfo[] whitelists;
299 field TIRAMISU_0 AppBlockingPackageInfo[] blacklists;
332 class @hide @SystemApi AppBlockingPackageInfo package android.car.content.pm
341 field TIRAMISU_0 Parcelable.Creator<AppBlockingPackageInfo> CREATOR;