Searched refs:FactoryResetProtectionPolicy (Results 1 – 9 of 9) sorted by relevance
24 import android.app.admin.FactoryResetProtectionPolicy;63 FactoryResetProtectionPolicy policy = new FactoryResetProtectionPolicy.Builder() in testNonDefaultFactoryResetProtectionPolicyObject()78 FactoryResetProtectionPolicy policy = new FactoryResetProtectionPolicy.Builder() in testInvalidXmlFactoryResetProtectionPolicyObject()87 private void testParcelAndUnparcel(FactoryResetProtectionPolicy policy) { in testParcelAndUnparcel()91 FactoryResetProtectionPolicy actualPolicy = in testParcelAndUnparcel()92 FactoryResetProtectionPolicy.CREATOR.createFromParcel(parcel); in testParcelAndUnparcel()97 private void testSerializationAndDeserialization(FactoryResetProtectionPolicy policy) in testSerializationAndDeserialization()108 private void testInvalidXmlSerializationAndDeserialization(FactoryResetProtectionPolicy policy) in testInvalidXmlSerializationAndDeserialization()120 private ByteArrayOutputStream serialize(FactoryResetProtectionPolicy policy) in serialize()134 private void assertPoliciesAreEqual(FactoryResetProtectionPolicy expectedPolicy, in assertPoliciesAreEqual()[all …]
56 public final class FactoryResetProtectionPolicy implements Parcelable { class69 private FactoryResetProtectionPolicy(List<String> factoryResetProtectionAccounts, in FactoryResetProtectionPolicy() method in FactoryResetProtectionPolicy145 public FactoryResetProtectionPolicy build() { in build()146 return new FactoryResetProtectionPolicy(mFactoryResetProtectionAccounts, in build()174 public static final @NonNull Creator<FactoryResetProtectionPolicy> CREATOR =175 new Creator<FactoryResetProtectionPolicy>() {178 public FactoryResetProtectionPolicy createFromParcel(Parcel in) {186 return new FactoryResetProtectionPolicy(factoryResetProtectionAccounts,191 public FactoryResetProtectionPolicy[] newArray(int size) {192 return new FactoryResetProtectionPolicy[size];[all …]
19 parcelable FactoryResetProtectionPolicy;
27 import android.app.admin.FactoryResetProtectionPolicy;109 …void setFactoryResetProtectionPolicy(in ComponentName who, in FactoryResetProtectionPolicy policy); in setFactoryResetProtectionPolicy()110 FactoryResetProtectionPolicy getFactoryResetProtectionPolicy(in ComponentName who); in getFactoryResetProtectionPolicy()
4447 @Nullable FactoryResetProtectionPolicy policy) { in setFactoryResetProtectionPolicy()4476 public @Nullable FactoryResetProtectionPolicy getFactoryResetProtectionPolicy( in getFactoryResetProtectionPolicy()
762 android.app.admin.FactoryResetProtectionPolicy$1763 android.app.admin.FactoryResetProtectionPolicy
40853 Landroid/app/admin/FactoryResetProtectionPolicy$1;40854 Landroid/app/admin/FactoryResetProtectionPolicy;
6879 …method @Nullable public android.app.admin.FactoryResetProtectionPolicy getFactoryResetProtectionPo…7005 …(@NonNull android.content.ComponentName, @Nullable android.app.admin.FactoryResetProtectionPolicy);7247 public final class FactoryResetProtectionPolicy implements android.os.Parcelable {7252 … static final android.os.Parcelable.Creator<android.app.admin.FactoryResetProtectionPolicy> CREATO…7255 public static class FactoryResetProtectionPolicy.Builder {7256 ctor public FactoryResetProtectionPolicy.Builder();7257 method @NonNull public android.app.admin.FactoryResetProtectionPolicy build();7258 …method @NonNull public android.app.admin.FactoryResetProtectionPolicy.Builder setFactoryResetProte…7259 …method @NonNull public android.app.admin.FactoryResetProtectionPolicy.Builder setFactoryResetProte…
14202 …etProtectionPolicy(Landroid/content/ComponentName;)Landroid/app/admin/FactoryResetProtectionPolicy;