Home
last modified time | relevance | path

Searched refs:DisclaimersParam (Results 1 – 7 of 7) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DDisclaimersParam.java31 public class DisclaimersParam extends PersistableBundlable { class
35 public static final Parcelable.Creator<DisclaimersParam> CREATOR
36 = new Parcelable.Creator<DisclaimersParam>() {
38 public DisclaimersParam createFromParcel(Parcel in) {
39 return new DisclaimersParam(in);
43 public DisclaimersParam[] newArray(int size) {
44 return new DisclaimersParam[size];
50 private DisclaimersParam(Builder builder) { in DisclaimersParam() method in DisclaimersParam
54 private DisclaimersParam(Parcel in) { in DisclaimersParam() method in DisclaimersParam
59 public static DisclaimersParam fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle()
[all …]
DProvisioningParams.java213 public final DisclaimersParam disclaimersParam;
408 EXTRA_PROVISIONING_DISCLAIMERS, DisclaimersParam::fromPersistableBundle)); in createBuilderFromPersistableBundle()
528 private DisclaimersParam mDisclaimersParam;
619 public Builder setDisclaimersParam(DisclaimersParam disclaimersParam) { in setDisclaimersParam()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java45 import com.android.managedprovisioning.model.DisclaimersParam;
105 DisclaimersParam.Disclaimer[] extraDisclaimers = { in expanderTest()
116 for (DisclaimersParam.Disclaimer d : extraDisclaimers) { in expanderTest()
158 DisclaimersParam.Disclaimer... disclaimers) {
159 DisclaimersParam disclaimersParam = new DisclaimersParam.Builder().setDisclaimers(
171 private DisclaimersParam.Disclaimer setUpDisclaimer(String header, String contentPath,
174 return new DisclaimersParam.Disclaimer(header, contentPath);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DDisclaimersParser.java32 import com.android.managedprovisioning.model.DisclaimersParam;
33 import com.android.managedprovisioning.model.DisclaimersParam.Disclaimer;
56 public DisclaimersParam parse(Parcelable[] parcelables) throws ClassCastException { in parse()
89 return disclaimers.isEmpty() ? null : new DisclaimersParam.Builder() in parse()
DExtrasProvisioningDataParser.java93 import com.android.managedprovisioning.model.DisclaimersParam;
585 DisclaimersParam disclaimersParam = new DisclaimersParser(context, provisioningId) in parseMinimalistSupportedProvisioningDataInternal()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDisclaimersParserTest.java37 import com.android.managedprovisioning.model.DisclaimersParam;
133 DisclaimersParam disclaimers = mDisclaimersParser.parse(new Bundle[] { bundle }); in testOneParsing()
155 DisclaimersParam disclaimers = mDisclaimersParser.parse( in testThreeParsing()
175 private String getDisclaimerContentString(DisclaimersParam.Disclaimer disclaimer) in getDisclaimerContentString()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsProvider.java33 import com.android.managedprovisioning.model.DisclaimersParam;
135 DisclaimersParam.Disclaimer[] disclaimers = params.disclaimersParam == null ? null in getExtraDisclaimers()
138 for (DisclaimersParam.Disclaimer disclaimer : disclaimers) { in getExtraDisclaimers()