Home
last modified time | relevance | path

Searched refs:uiParams (Results 1 – 5 of 5) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/consent/
DLegacyConsentUiHelper.java161 public void initiateUi(UiParams uiParams) { in initiateUi() argument
167 if (mUtils.isProfileOwnerAction(uiParams.provisioningAction)) { in initiateUi()
171 } else if (mUtils.isDeviceOwnerAction(uiParams.provisioningAction)) { in initiateUi()
175 packageLabel = uiParams.packageInfo != null in initiateUi()
176 ? uiParams.packageInfo.appLabel in initiateUi()
177 : uiParams.deviceAdminLabel != null in initiateUi()
178 ? uiParams.deviceAdminLabel : uiParams.packageName; in initiateUi()
179 packageIcon = uiParams.packageInfo != null ? uiParams.packageInfo.packageIcon in initiateUi()
180 : getDeviceAdminIconDrawable(uiParams.deviceAdminIconFilePath); in initiateUi()
183 final CustomizationParams customization = uiParams.customization; in initiateUi()
[all …]
DPrimaryConsentUiHelper.java69 public void initiateUi(UiParams uiParams) { in initiateUi() argument
73 if (mUtils.isProfileOwnerAction(uiParams.provisioningAction)) { in initiateUi()
75 headerResId = uiParams.isOrganizationOwnedProvisioning in initiateUi()
79 } else if (mUtils.isDeviceOwnerAction(uiParams.provisioningAction)) { in initiateUi()
85 final CustomizationParams customization = uiParams.customization; in initiateUi()
92 setupAcceptAndContinueButton(uiParams.isSilentProvisioning); in initiateUi()
98 setupViewTermsButton(uiParams.viewTermsIntent); in initiateUi()
DConsentUiHelper.java40 void initiateUi(UiParams uiParams); in initiateUi() argument
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java199 void initiateUi(UiParams uiParams); in initiateUi() argument
365 final UiParams uiParams = new UiParams(); in showUserConsentScreen() local
366 uiParams.customization = customization; in showUserConsentScreen()
367 uiParams.deviceAdminIconFilePath = mParams.deviceAdminIconFilePath; in showUserConsentScreen()
368 uiParams.deviceAdminLabel = mParams.deviceAdminLabel; in showUserConsentScreen()
369 uiParams.disclaimerHeadings = getDisclaimerHeadings(); in showUserConsentScreen()
370 uiParams.provisioningMode = mParams.provisioningMode; in showUserConsentScreen()
371 uiParams.provisioningAction = mParams.provisioningAction; in showUserConsentScreen()
372 uiParams.packageName = packageName; in showUserConsentScreen()
373 uiParams.isDeviceManaged = mDevicePolicyManager.isDeviceManaged(); in showUserConsentScreen()
[all …]
DPreProvisioningActivity.java356 public void initiateUi(UiParams uiParams) { in initiateUi() argument
357 mConsentUiHelper.initiateUi(uiParams); in initiateUi()