Home
last modified time | relevance | path

Searched refs:downloadInfo (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DPackageDownloadInfoTest.java43 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testBuilderWriteAndReadBack() local
51 assertEquals(TEST_DOWNLOAD_LOCATION, downloadInfo.location); in testBuilderWriteAndReadBack()
52 assertEquals(TEST_COOKIE_HEADER, downloadInfo.cookieHeader); in testBuilderWriteAndReadBack()
53 assertEquals(TEST_PACKAGE_CHECKSUM, downloadInfo.packageChecksum); in testBuilderWriteAndReadBack()
54 assertEquals(TEST_SIGNATURE_CHECKSUM, downloadInfo.signatureChecksum); in testBuilderWriteAndReadBack()
55 assertEquals(TEST_MIN_SUPPORT_VERSION, downloadInfo.minVersion); in testBuilderWriteAndReadBack()
63 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testFailToConstructPackageInfoWithDownloadLocationWithoutChecksum() local
76 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testFailToConstructPackageInfoWithoutDownloadLocation() local
89 PackageDownloadInfo downloadInfo = PackageDownloadInfo.Builder.builder() in testConstructPackageInfoWithDownloadLocationAndPackageChecksum() local
94 assertEquals(TEST_DOWNLOAD_LOCATION, downloadInfo.location); in testConstructPackageInfoWithDownloadLocationAndPackageChecksum()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageIncrementalDownloadUpdatedTask.java47 PackageInstallInfo downloadInfo = new PackageInstallInfo( in execute() local
54 List<AppInfo> updatedAppInfos = appsList.updatePromiseInstallInfo(downloadInfo); in execute()
70 si.setProgressLevel(downloadInfo); in execute()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java383 final Context context, final CompletedDownloadInfo downloadInfo) { in getDownloadRecordsForCompletedDownloadInfo() argument
388 downloadInfo.mDownloadId); in getDownloadRecordsForCompletedDownloadInfo()
398 writeMetadataDownloadId(context, downloadInfo.mUri, NOT_AN_ID); in getDownloadRecordsForCompletedDownloadInfo()
399 MetadataDbHelper.saveLastUpdateTimeOfUri(context, downloadInfo.mUri); in getDownloadRecordsForCompletedDownloadInfo()
424 final CompletedDownloadInfo downloadInfo = getCompletedDownloadInfo(manager, fileId); in downloadFinished() local
427 getDownloadRecordsForCompletedDownloadInfo(context, downloadInfo); in downloadFinished()
440 if (downloadInfo.wasSuccessful()) { in downloadFinished()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DVerifyPackageTaskTest.java196 PackageDownloadInfo downloadInfo = new PackageDownloadInfo.Builder() in runWithDownloadInfo() local
204 .setDeviceAdminDownloadInfo(downloadInfo) in runWithDownloadInfo()