Searched refs:TermsDocument (Results 1 – 10 of 10) sorted by relevance
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/adapters/ |
D | TermsListAdapterTest.java | 27 import com.android.managedprovisioning.preprovisioning.terms.TermsDocument; 43 private List<TermsDocument> mDocs; 50 TermsDocument doc1 = TermsDocument.createInstance("h1", "c1"); in setUp() 51 TermsDocument doc2 = TermsDocument.createInstance("h2", "c2"); in setUp() 52 TermsDocument doc3 = TermsDocument.createInstance("h3", "c3"); in setUp()
|
D | TermsListAdapterCarTest.java | 31 import com.android.managedprovisioning.preprovisioning.terms.TermsDocument; 47 private List<TermsDocument> mDocs; 60 TermsDocument doc1 = TermsDocument.createInstance(header1, content1); in setUp() 61 TermsDocument doc2 = TermsDocument.createInstance(header2, content2); in setUp() 62 TermsDocument doc3 = TermsDocument.createInstance(header3, content3); in setUp()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsProvider.java | 79 public List<TermsDocument> getTerms(ProvisioningParams params, @Flags int flags) { in getTerms() 80 List<TermsDocument> result = new ArrayList<>(); in getTerms() 108 private TermsDocument getGeneralDisclaimer(@ProvisioningCase int provisioningCase) { in getGeneralDisclaimer() 115 return TermsDocument.createInstance(heading, content); in getGeneralDisclaimer() 118 private List<TermsDocument> getSystemAppTerms() { in getSystemAppTerms() 119 List<TermsDocument> terms = new ArrayList<>(); in getSystemAppTerms() 126 terms.add(TermsDocument.createInstance(header, content)); in getSystemAppTerms() 132 private List<TermsDocument> getExtraDisclaimers(ProvisioningParams params) { in getExtraDisclaimers() 133 List<TermsDocument> result = new ArrayList<>(); in getExtraDisclaimers() 142 result.add(TermsDocument.createInstance(disclaimer.mHeader, htmlContent)); in getExtraDisclaimers()
|
D | TermsDocument.java | 25 public final class TermsDocument { class 36 public static TermsDocument createInstance(String heading, String content) { in createInstance() 38 return new TermsDocument(heading, content); in createInstance() 45 private TermsDocument(String heading, String content) { in TermsDocument() method in TermsDocument
|
D | TermsActivity.java | 87 List<TermsDocument> terms = mTermsProvider.getTerms(params, 0); in onCreate() 100 private void setUpTermsList(List<TermsDocument> terms, @ColorInt int statusBarColor) { in setUpTermsList()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/ |
D | TermsListAdapter.java | 32 import com.android.managedprovisioning.preprovisioning.terms.TermsDocument; 41 private final List<TermsDocument> mTermsDocuments; 51 public TermsListAdapter(Context context, List<TermsDocument> termsDocuments, in TermsListAdapter() 74 public TermsDocument getGroup(int groupPosition) { in getGroup() 79 public TermsDocument getChild(int groupPosition, int childPosition) { in getChild() 135 TermsDocument disclaimer = getDisclaimer(groupPosition); in getChildView() 142 private TermsDocument getDisclaimer(int index) { in getDisclaimer()
|
D | TermsListAdapterCar.java | 30 import com.android.managedprovisioning.preprovisioning.terms.TermsDocument; 38 private final List<TermsDocument> mTerms; 42 public TermsListAdapterCar(Context context, List<TermsDocument> terms, in TermsListAdapterCar() 58 TermsDocument disclaimer = mTerms.get(position); in onBindViewHolder()
|
D | TermsAdapterUtils.java | 28 import com.android.managedprovisioning.preprovisioning.terms.TermsDocument; 43 TermsDocument disclaimer, @ColorInt int statusBarColor) { in populateContentTextView()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsProviderTest.java | 59 List<TermsDocument> terms = mTermsProvider.getTerms(PROFILE_OWNER_PARAMS, 0); in generalHeading_presentAsFirst_profileOwner() 66 List<TermsDocument> terms = mTermsProvider.getTerms(DEVICE_OWNER_PARAMS, 0); in generalHeading_presentAsFirst_deviceOwner() 75 List<TermsDocument> terms = mTermsProvider.getTerms(p, in flag_skipGeneral()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningController.java | 85 import com.android.managedprovisioning.preprovisioning.terms.TermsDocument; 451 .map(TermsDocument::getHeading) in getDisclaimerHeadings()
|