Home
last modified time | relevance | path

Searched refs:FactoryResetProtectionPolicy (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DFactoryResetProtectionPolicyTest.java24 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 …]
/frameworks/base/core/java/android/app/admin/
DFactoryResetProtectionPolicy.java56 public final class FactoryResetProtectionPolicy implements Parcelable { class
69 private FactoryResetProtectionPolicy(List<String> factoryResetProtectionAccounts, in FactoryResetProtectionPolicy() method in FactoryResetProtectionPolicy
145 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 …]
DFactoryResetProtectionPolicy.aidl19 parcelable FactoryResetProtectionPolicy;
DIDevicePolicyManager.aidl27 import android.app.admin.FactoryResetProtectionPolicy;
109 …void setFactoryResetProtectionPolicy(in ComponentName who, in FactoryResetProtectionPolicy policy); in setFactoryResetProtectionPolicy()
110 FactoryResetProtectionPolicy getFactoryResetProtectionPolicy(in ComponentName who); in getFactoryResetProtectionPolicy()
DDevicePolicyManager.java4447 @Nullable FactoryResetProtectionPolicy policy) { in setFactoryResetProtectionPolicy()
4476 public @Nullable FactoryResetProtectionPolicy getFactoryResetProtectionPolicy( in getFactoryResetProtectionPolicy()
/frameworks/base/config/
Dpreloaded-classes762 android.app.admin.FactoryResetProtectionPolicy$1
763 android.app.admin.FactoryResetProtectionPolicy
Dboot-image-profile.txt40853 Landroid/app/admin/FactoryResetProtectionPolicy$1;
40854 Landroid/app/admin/FactoryResetProtectionPolicy;
/frameworks/base/api/
Dcurrent.txt6879 …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…
/frameworks/base/services/
Dart-profile14202 …etProtectionPolicy(Landroid/content/ComponentName;)Landroid/app/admin/FactoryResetProtectionPolicy;