Home
last modified time | relevance | path

Searched refs:orgName (Results 1 – 3 of 3) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java347 shortInfoText.setText(assembleDOTermsMessage(termsHeaders, customization.orgName)); in initiateUIDeviceOwner()
378 setDpcIconAndLabel(packageName, packageIcon, customization.orgName); in initiateUIDeviceOwner()
400 private Spannable assembleDOTermsMessage(@NonNull String termsHeaders, String orgName) { in assembleDOTermsMessage() argument
403 if (TextUtils.isEmpty(orgName)) { in assembleDOTermsMessage()
404 orgName = getString(R.string.your_organization_middle); in assembleDOTermsMessage()
407 ? getString(R.string.device_owner_info, orgName, linkText) in assembleDOTermsMessage()
408 : getString(R.string.device_owner_info_with_terms_headers, orgName, termsHeaders, in assembleDOTermsMessage()
419 private void setDpcIconAndLabel(@NonNull String appName, Drawable packageIcon, String orgName) { in setDpcIconAndLabel() argument
427 if (TextUtils.isEmpty(orgName)) { in setDpcIconAndLabel()
428 orgName = getString(R.string.your_organization_beginning); in setDpcIconAndLabel()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DCustomizationParamsTest.java102 assertThat(instance.orgName, nullValue()); in orgNameDefaultsToNull()
114 assertThat(instance.orgName, equalTo(SAMPLE_ORG_NAME)); in respectsOrgName()
158 String supportUrl, String orgName) { in createParams() argument
173 if (orgName != null) { in createParams()
174 builder.setOrganizationName(orgName); in createParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DCustomizationParams.java45 public final @Nullable String orgName; field in CustomizationParams
77 String orgName, String supportUrl) { in CustomizationParams() argument
81 this.orgName = orgName; in CustomizationParams()