Home
last modified time | relevance | path

Searched refs:roleHolderDownloadInfo (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/contracts/
DDownloadRoleHolderContract.kt65 location = provisioningParams.roleHolderDownloadInfo?.location in invoke()
68 checksum = provisioningParams.roleHolderDownloadInfo.signatureChecksum in invoke()
71 cookieHeader = provisioningParams.roleHolderDownloadInfo.cookieHeader, in invoke()
72 minVersion = provisioningParams.roleHolderDownloadInfo.minVersion in invoke()
115 it.roleHolderDownloadInfo ?: error("Missing role holder extras") in invoke()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java561 assertThat(params.roleHolderDownloadInfo).isNotNull(); in testRoleHolderDownload_roleHolderDownloadInfoSet_notNull()
570 assertThat(params.roleHolderDownloadInfo.location).isEqualTo(TEST_DOWNLOAD_LOCATION); in testRoleHolderDownload_roleHolderDownloadInfoWithLocationAndSignature_works()
571 assertThat(params.roleHolderDownloadInfo.signatureChecksum).isEqualTo( in testRoleHolderDownload_roleHolderDownloadInfoWithLocationAndSignature_works()
581 assertThat(params.roleHolderDownloadInfo.location).isEqualTo(TEST_DOWNLOAD_LOCATION); in testRoleHolderDownload_roleHolderDownloadInfo_works()
582 assertThat(params.roleHolderDownloadInfo.signatureChecksum).isEqualTo( in testRoleHolderDownload_roleHolderDownloadInfo_works()
584 assertThat(params.roleHolderDownloadInfo.cookieHeader).isEqualTo(TEST_COOKIE_HEADER); in testRoleHolderDownload_roleHolderDownloadInfo_works()
593 assertThat(params.roleHolderDownloadInfo.cookieHeader).isNull(); in testRoleHolderDownload_defaultCookieHeaderNull()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DDownloadRoleHolderController.java91 if (mParams.roleHolderDownloadInfo == null) { in addDownloadAndInstallRoleHolderPackageTasks()
96 mContext, mParams, mParams.roleHolderDownloadInfo, this); in addDownloadAndInstallRoleHolderPackageTasks()
99 downloadTask, mContext, mParams, mParams.roleHolderDownloadInfo, this), in addDownloadAndInstallRoleHolderPackageTasks()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java349 public final PackageDownloadInfo roleHolderDownloadInfo; field in ProvisioningParams
420 roleHolderDownloadInfo = builder.mRoleHolderDownloadInfo; in ProvisioningParams()
485 roleHolderDownloadInfo); in toPersistableBundle()
875 public Builder setRoleHolderDownloadInfo(PackageDownloadInfo roleHolderDownloadInfo) { in setRoleHolderDownloadInfo() argument
876 mRoleHolderDownloadInfo = roleHolderDownloadInfo; in setRoleHolderDownloadInfo()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/contracts/
DDownloadRoleHolderContractTest.kt33 override val data = requireNotNull(aProvisioningParams.roleHolderDownloadInfo).let { in <lambda>()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java1098 assertThat(params.roleHolderDownloadInfo).isNotNull(); in testParse_trustedSourceProvisioningWithRoleHolderDownloadInfo_works()
1099 assertThat(params.roleHolderDownloadInfo.location).isEqualTo(TEST_DOWNLOAD_LOCATION); in testParse_trustedSourceProvisioningWithRoleHolderDownloadInfo_works()
1100 assertThat(params.roleHolderDownloadInfo.signatureChecksum) in testParse_trustedSourceProvisioningWithRoleHolderDownloadInfo_works()
1102 assertThat(params.roleHolderDownloadInfo.cookieHeader).isEqualTo(TEST_COOKIE_HEADER); in testParse_trustedSourceProvisioningWithRoleHolderDownloadInfo_works()
1118 assertThat(params.roleHolderDownloadInfo).isNull(); in testParse_managedProfileProvisioningWithRoleHolderDownloadInfo_notParsed()
1134 assertThat(params.roleHolderDownloadInfo).isNull(); in testParse_financedDeviceProvisioningWithRoleHolderDownloadInfo_notParsed()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DDownloadRoleHolderActivity.java70 if (params.roleHolderDownloadInfo == null) { in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DDeviceManagementRoleHolderUpdaterHelper.java119 if (params.roleHolderDownloadInfo == null) { in shouldPlatformDownloadRoleHolder()