Searched refs:PackagePolicy (Results 1 – 10 of 10) sorted by relevance
19 import static android.app.admin.PackagePolicy.PACKAGE_POLICY_ALLOWLIST;20 import static android.app.admin.PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM;21 import static android.app.admin.PackagePolicy.PACKAGE_POLICY_BLOCKLIST;60 PackagePolicy packagePolicy = new PackagePolicy(policyType, packageNames); in testParceling()64 packagePolicy = PackagePolicy.CREATOR.createFromParcel(parcel); in testParceling()77 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_BLOCKLIST); in testEmptyBlocklistCreation()85 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST); in testEmptyAllowlistCreation()93 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM); in testEmptyAllowlistAndSystemCreation()103 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_BLOCKLIST, packageNames); in testSuppliedBlocklistCreation()114 PackagePolicy policy = new PackagePolicy(PACKAGE_POLICY_ALLOWLIST, packageNames); in testSuppliedAllowlistCreation()[all …]
39 public final class PackagePolicy implements Parcelable { class98 public PackagePolicy(@PackagePolicyType int policyType) { in PackagePolicy() method in PackagePolicy107 public PackagePolicy(@PackagePolicyType int policyType, @NonNull Set<String> packageNames) { in PackagePolicy() method in PackagePolicy117 private PackagePolicy(Parcel in) { in PackagePolicy() method in PackagePolicy164 public static final Creator<PackagePolicy> CREATOR = new Creator<PackagePolicy>() {166 public PackagePolicy createFromParcel(Parcel in) {167 return new PackagePolicy(in);171 public PackagePolicy[] newArray(int size) {172 return new PackagePolicy[size];187 if (!(thatObject instanceof PackagePolicy)) { in equals()[all …]
20 parcelable PackagePolicy;
32 import android.app.admin.PackagePolicy;346 void setManagedProfileCallerIdAccessPolicy(in PackagePolicy policy); in setManagedProfileCallerIdAccessPolicy()347 PackagePolicy getManagedProfileCallerIdAccessPolicy(); in getManagedProfileCallerIdAccessPolicy()350 void setCredentialManagerPolicy(in PackagePolicy policy); in setCredentialManagerPolicy()351 PackagePolicy getCredentialManagerPolicy(int userId); in getCredentialManagerPolicy()353 void setManagedProfileContactsAccessPolicy(in PackagePolicy policy); in setManagedProfileContactsAccessPolicy()354 PackagePolicy getManagedProfileContactsAccessPolicy(); in getManagedProfileContactsAccessPolicy()
10665 public void setCredentialManagerPolicy(@Nullable PackagePolicy policy) { in setCredentialManagerPolicy()10688 public @Nullable PackagePolicy getCredentialManagerPolicy() { in getCredentialManagerPolicy()10719 public void setManagedProfileCallerIdAccessPolicy(@Nullable PackagePolicy policy) { in setManagedProfileCallerIdAccessPolicy()10739 public @Nullable PackagePolicy getManagedProfileCallerIdAccessPolicy() { in getManagedProfileCallerIdAccessPolicy()10793 public void setManagedProfileContactsAccessPolicy(@Nullable PackagePolicy policy) { in setManagedProfileContactsAccessPolicy()10814 public @Nullable PackagePolicy getManagedProfileContactsAccessPolicy() { in getManagedProfileContactsAccessPolicy()
27 import android.app.admin.PackagePolicy;455 private static @Nullable PackagePolicy getDeviceManagerPolicy( in getDeviceManagerPolicy()461 PackagePolicy pp = dpm.getCredentialManagerPolicy(); in getDeviceManagerPolicy()486 PackagePolicy pp = in getCredentialProviderServices()524 PackagePolicy pp = in getCredentialProviderServicesForTesting()549 private final PackagePolicy mPp;556 PackagePolicy pp, in ProviderGenerator()571 return mPp.getPolicyType() == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM; in isPackageAllowed()
38 import android.app.admin.PackagePolicy;339 PackagePolicy mManagedProfileCallerIdAccess = null;342 PackagePolicy mManagedProfileContactsAccess = null;345 PackagePolicy mCredentialManagerPolicy = null;700 PackagePolicy packagePolicy) throws IOException { in writePackagePolicy()1016 private PackagePolicy readPackagePolicy(TypedXmlPullParser parser) in readPackagePolicy()1021 return new PackagePolicy(policy, packageNames); in readPackagePolicy()1209 void dumpPackagePolicy(IndentingPrintWriter pw, String name, PackagePolicy policy) { in dumpPackagePolicy()
341 import android.app.admin.PackagePolicy;14292 new PackagePolicy(PackagePolicy.PACKAGE_POLICY_ALLOWLIST); in setCrossProfileCallerIdDisabled()14295 new PackagePolicy(PackagePolicy.PACKAGE_POLICY_BLOCKLIST); in setCrossProfileCallerIdDisabled()14326 == PackagePolicy.PACKAGE_POLICY_ALLOWLIST_AND_SYSTEM) { in getCrossProfileCallerIdDisabled()14331 != PackagePolicy.PACKAGE_POLICY_BLOCKLIST; in getCrossProfileCallerIdDisabled()14353 == PackagePolicy.PACKAGE_POLICY_ALLOWLIST; in getCrossProfileCallerIdDisabledForUser()14358 public void setManagedProfileCallerIdAccessPolicy(PackagePolicy policy) { in setManagedProfileCallerIdAccessPolicy()14374 public PackagePolicy getManagedProfileCallerIdAccessPolicy() { in getManagedProfileCallerIdAccessPolicy()14408 public void setManagedProfileContactsAccessPolicy(PackagePolicy policy) { in setManagedProfileContactsAccessPolicy()14425 public PackagePolicy getManagedProfileContactsAccessPolicy() { in getManagedProfileContactsAccessPolicy()[all …]
31 import android.app.admin.PackagePolicy;841 final PackagePolicy pp = dpm.getCredentialManagerPolicy(); in checkIfApplicationCanBeCredentialManagerProvider()
8013 method @Nullable public android.app.admin.PackagePolicy getCredentialManagerPolicy();8036 method @Nullable public android.app.admin.PackagePolicy getManagedProfileCallerIdAccessPolicy();8037 method @Nullable public android.app.admin.PackagePolicy getManagedProfileContactsAccessPolicy();8172 method public void setCredentialManagerPolicy(@Nullable android.app.admin.PackagePolicy);8195 …ethod public void setManagedProfileCallerIdAccessPolicy(@Nullable android.app.admin.PackagePolicy);8196 …ethod public void setManagedProfileContactsAccessPolicy(@Nullable android.app.admin.PackagePolicy);8524 public final class PackagePolicy implements android.os.Parcelable {8525 ctor public PackagePolicy(int);8526 ctor public PackagePolicy(int, @NonNull java.util.Set<java.lang.String>);8531 …NonNull public static final android.os.Parcelable.Creator<android.app.admin.PackagePolicy> CREATOR;