Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DPackageDownloadInfoTest.java24 import com.android.managedprovisioning.model.PackageDownloadInfo;
43 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testBuilderWriteAndReadBack()
63 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testFailToConstructPackageInfoWithDownloadLocationWithoutChecksum()
76 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testFailToConstructPackageInfoWithoutDownloadLocation()
89 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testConstructPackageInfoWithDownloadLocationAndPackageChecksum()
102 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testConstructPackageInfoWithDownloadLocationAndSignatureChecksum()
114 PackageDownloadInfo downloadInfo1 = PackageDownloadInfo.Builder.builder() in testEquals()
121 PackageDownloadInfo downloadInfo2 = PackageDownloadInfo.Builder.builder() in testEquals()
136 PackageDownloadInfo downloadInfo1 = PackageDownloadInfo.Builder.builder() in testNotEquals()
143 PackageDownloadInfo downloadInfo2 = PackageDownloadInfo.Builder.builder() in testNotEquals()
[all …]
DProvisioningParamsTest.java105 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO =
106 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.java221 public final PackageDownloadInfo deviceAdminDownloadInfo;
471 TAG_PACKAGE_DOWNLOAD_INFO, PackageDownloadInfo::fromPersistableBundle)); in createBuilderFromPersistableBundle()
604 private PackageDownloadInfo mDeviceAdminDownloadInfo;
687 public Builder setDeviceAdminDownloadInfo(PackageDownloadInfo deviceAdminDownloadInfo) { in setDeviceAdminDownloadInfo()
/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/tests/robotests/src/com/android/managedprovisioning/task/
DDownloadPackageTaskRoboTest.java33 import com.android.managedprovisioning.model.PackageDownloadInfo;
73 new PackageDownloadInfo.Builder() in run_alreadyInstalled_doesNotSetManagedProvisioningDpcDownloaded()
92 new PackageDownloadInfo.Builder() in run_installsUpdate_doesSetManagedProvisioningDpcDownloaded()
142 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.java31 import com.android.managedprovisioning.model.PackageDownloadInfo;
59 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO = new PackageDownloadInfo.Builder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyPackageTaskTest.java41 import com.android.managedprovisioning.model.PackageDownloadInfo;
196 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/
DPropertiesProvisioningDataParser.java73 import com.android.managedprovisioning.model.PackageDownloadInfo;
261 private PackageDownloadInfo parsePackageDownloadInfoFromProperties(Properties props) { in parsePackageDownloadInfoFromProperties()
266 PackageDownloadInfo.Builder builder = PackageDownloadInfo.Builder.builder() in parsePackageDownloadInfoFromProperties()
DExtrasProvisioningDataParser.java95 import com.android.managedprovisioning.model.PackageDownloadInfo;
752 private PackageDownloadInfo parsePackageDownloadInfoFromExtras(Intent intent) { in parsePackageDownloadInfoFromExtras()
757 PackageDownloadInfo.Builder downloadInfoBuilder = PackageDownloadInfo.Builder.builder() in parsePackageDownloadInfoFromExtras()
760 PackageDownloadInfo.DEFAULT_MINIMUM_VERSION)) in parsePackageDownloadInfoFromExtras()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DVerifyPackageTask.java35 import com.android.managedprovisioning.model.PackageDownloadInfo;
61 private final PackageDownloadInfo mDownloadInfo;
DDownloadPackageTask.java44 import com.android.managedprovisioning.model.PackageDownloadInfo;
62 private final PackageDownloadInfo mPackageDownloadInfo;
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java123 import com.android.managedprovisioning.model.PackageDownloadInfo;
188 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO =
189 PackageDownloadInfo.Builder.builder()
257 PackageDownloadInfo.Builder.builder() in testParse_nfcProvisioningIntent()
DExtrasProvisioningDataParserTest.java144 import com.android.managedprovisioning.model.PackageDownloadInfo;
217 private static final PackageDownloadInfo TEST_DOWNLOAD_INFO =
218 PackageDownloadInfo.Builder.builder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityControllerTest.java89 import com.android.managedprovisioning.model.PackageDownloadInfo;
110 private static final PackageDownloadInfo PACKAGE_DOWNLOAD_INFO =
111 PackageDownloadInfo.Builder.builder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java70 import com.android.managedprovisioning.model.PackageDownloadInfo;
343 if (minSupportedVersion != PackageDownloadInfo.DEFAULT_MINIMUM_VERSION in packageRequiresUpdate()