Home
last modified time | relevance | path

Searched refs:PackageDownloadInfo (Results 1 – 23 of 23) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DPackageDownloadInfoTest.java37 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testBuilderWriteAndReadBack()
57 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testFailToConstructPackageInfoWithDownloadLocationWithoutChecksum()
70 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testFailToConstructPackageInfoWithoutDownloadLocation()
83 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testConstructPackageInfoWithDownloadLocationAndPackageChecksum()
96 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testConstructPackageInfoWithDownloadLocationAndSignatureChecksum()
108 PackageDownloadInfo downloadInfo1 = PackageDownloadInfo.Builder.builder() in testEquals()
115 PackageDownloadInfo downloadInfo2 = PackageDownloadInfo.Builder.builder() in testEquals()
130 PackageDownloadInfo downloadInfo1 = PackageDownloadInfo.Builder.builder() in testNotEquals()
137 PackageDownloadInfo downloadInfo2 = PackageDownloadInfo.Builder.builder() in testNotEquals()
152 PackageDownloadInfo expectedDownloadInfo = PackageDownloadInfo.Builder.builder() in testParceable()
[all …]
DProvisioningParamsTest.java105 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO =
106 PackageDownloadInfo.Builder.builder()
113 private static final PackageDownloadInfo ROLE_HOLDER_DOWNLOAD_INFO_LOCATION_AND_SIGNATURE =
114 PackageDownloadInfo.Builder.builder()
118 private static final PackageDownloadInfo ROLE_HOLDER_DOWNLOAD_INFO =
119 PackageDownloadInfo.Builder.builder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DPackageDownloadInfo.java45 public final class PackageDownloadInfo extends PersistableBundlable { class
51 public static final Parcelable.Creator<PackageDownloadInfo> CREATOR
52 = new Parcelable.Creator<PackageDownloadInfo>() {
54 public PackageDownloadInfo createFromParcel(Parcel in) {
55 return new PackageDownloadInfo(in);
59 public PackageDownloadInfo[] newArray(int size) {
60 return new PackageDownloadInfo[size];
82 private PackageDownloadInfo(Builder builder) { in PackageDownloadInfo() method in PackageDownloadInfo
93 private PackageDownloadInfo(Parcel in) { in PackageDownloadInfo() method in PackageDownloadInfo
108 /* package */ static PackageDownloadInfo fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle()
[all …]
DProvisioningParams.java230 public final PackageDownloadInfo deviceAdminDownloadInfo;
349 public final PackageDownloadInfo roleHolderDownloadInfo;
515 TAG_PACKAGE_DOWNLOAD_INFO, PackageDownloadInfo::fromPersistableBundle)); in createBuilderFromPersistableBundle()
548 PackageDownloadInfo::fromPersistableBundle)); in createBuilderFromPersistableBundle()
656 private PackageDownloadInfo mDeviceAdminDownloadInfo;
683 public PackageDownloadInfo mRoleHolderDownloadInfo;
751 public Builder setDeviceAdminDownloadInfo(PackageDownloadInfo deviceAdminDownloadInfo) { in setDeviceAdminDownloadInfo()
875 public Builder setRoleHolderDownloadInfo(PackageDownloadInfo roleHolderDownloadInfo) { in setRoleHolderDownloadInfo()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/contracts/
DDownloadRoleHolderContract.kt9 import com.android.managedprovisioning.model.PackageDownloadInfo
101 PackageDownloadInfo.Builder() in invoke()
120 override val location by params.map(PackageDownloadInfo::location) in invoke()
121 …override val checksum by params.map(PackageDownloadInfo::signatureChecksum).map(::SignatureChecksu… in invoke()
122 override val cookieHeader by params.map(PackageDownloadInfo::cookieHeader) in invoke()
123 override val minVersion by params.map(PackageDownloadInfo::minVersion) in invoke()
DProvisioningArgumentsSerializer.kt5 import com.android.managedprovisioning.model.PackageDownloadInfo
32 val deviceAdminDownloadInfo: PackageDownloadInfo?
45 deviceAdminDownloadInfo: PackageDownloadInfo?, in invoke()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DAdminIntegratedFlowPrepareActivityTest.java29 import com.android.managedprovisioning.model.PackageDownloadInfo;
96 new PackageDownloadInfo.Builder() in shouldRunPrepareActivity_download_notSideloaded_returnsTrue()
114 new PackageDownloadInfo.Builder() in shouldRunPrepareActivity_download_noMinimum_sideloaded_returnsTrue()
133 new PackageDownloadInfo.Builder() in shouldRunPrepareActivity_download_minimum_sideloaded_meetsMinimum_returnsFalse()
152 new PackageDownloadInfo.Builder() in shouldRunPrepareActivity_download_minimum_sideloaded_doesNotMeetMinimum_returnsFalse()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DVerifyRoleHolderPackageTask.java33 import com.android.managedprovisioning.model.PackageDownloadInfo;
54 private final PackageDownloadInfo mPackageDownloadInfo;
61 PackageDownloadInfo packageDownloadInfo, in VerifyRoleHolderPackageTask()
75 PackageDownloadInfo packageDownloadInfo, in VerifyRoleHolderPackageTask()
DVerifyAdminPackageTask.java34 import com.android.managedprovisioning.model.PackageDownloadInfo;
57 private final PackageDownloadInfo mPackageDownloadInfo;
64 PackageDownloadInfo packageDownloadInfo, in VerifyAdminPackageTask()
79 PackageDownloadInfo packageDownloadInfo, in VerifyAdminPackageTask()
DDownloadPackageTask.java44 import com.android.managedprovisioning.model.PackageDownloadInfo;
63 private final PackageDownloadInfo mPackageDownloadInfo;
74 PackageDownloadInfo packageDownloadInfo, in DownloadPackageTask()
87 PackageDownloadInfo packageDownloadInfo, in DownloadPackageTask()
DChecksumUtils.java27 import com.android.managedprovisioning.model.PackageDownloadInfo;
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/task/
DDownloadPackageTaskRoboTest.java33 import com.android.managedprovisioning.model.PackageDownloadInfo;
74 new PackageDownloadInfo.Builder() in run_alreadyInstalled_doesNotSetManagedProvisioningDpcDownloaded()
94 new PackageDownloadInfo.Builder() in run_installsUpdate_doesSetManagedProvisioningDpcDownloaded()
146 new PackageDownloadInfo.Builder() in createDefaultProvisioningParamsBuilder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DFinancedDeviceProvisioningControllerTest.java27 import com.android.managedprovisioning.model.PackageDownloadInfo;
49 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO = new PackageDownloadInfo.Builder()
DDeviceOwnerProvisioningControllerTest.java34 import com.android.managedprovisioning.model.PackageDownloadInfo;
62 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO = new PackageDownloadInfo.Builder()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/contracts/
Ddata.kt6 import com.android.managedprovisioning.model.PackageDownloadInfo
34 PackageDownloadInfo.Builder() in <lambda>()
41 val packageDownloadInfo = PackageDownloadInfo.Builder() in <lambda>()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyRoleHolderPackageTaskTest.java40 import com.android.managedprovisioning.model.PackageDownloadInfo;
181 PackageDownloadInfo downloadInfo = new PackageDownloadInfo.Builder() in runWithDownloadInfo()
DVerifyAdminPackageTaskTest.java42 import com.android.managedprovisioning.model.PackageDownloadInfo;
201 PackageDownloadInfo downloadInfo = new PackageDownloadInfo.Builder() in runWithDownloadInfo()
DDownloadPackageTaskTest.java49 import com.android.managedprovisioning.model.PackageDownloadInfo;
75 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO = new PackageDownloadInfo.Builder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParser.java98 import com.android.managedprovisioning.model.PackageDownloadInfo;
787 private PackageDownloadInfo parsePackageDownloadInfoFromExtras(Intent intent) { in parsePackageDownloadInfoFromExtras()
792 PackageDownloadInfo.Builder downloadInfoBuilder = PackageDownloadInfo.Builder.builder() in parsePackageDownloadInfoFromExtras()
795 PackageDownloadInfo.DEFAULT_MINIMUM_VERSION)) in parsePackageDownloadInfoFromExtras()
824 private PackageDownloadInfo parseRoleHolderDownloadInfoFromExtras(Intent intent) { in parseRoleHolderDownloadInfoFromExtras()
844 PackageDownloadInfo.Builder downloadInfoBuilder = PackageDownloadInfo.Builder.builder() in parseRoleHolderDownloadInfoFromExtras()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DDeviceManagementRoleHolderUpdaterHelperTest.java36 import com.android.managedprovisioning.model.PackageDownloadInfo;
89 private static final PackageDownloadInfo ROLE_HOLDER_DOWNLOAD_INFO =
90 PackageDownloadInfo.Builder.builder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java68 import com.android.managedprovisioning.model.PackageDownloadInfo;
344 if (minSupportedVersion != PackageDownloadInfo.DEFAULT_MINIMUM_VERSION in packageRequiresUpdate()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java146 import com.android.managedprovisioning.model.PackageDownloadInfo;
220 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO =
221 PackageDownloadInfo.Builder.builder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityControllerTest.java114 import com.android.managedprovisioning.model.PackageDownloadInfo;
142 private static final PackageDownloadInfo PACKAGE_DOWNLOAD_INFO =
143 PackageDownloadInfo.Builder.builder()