Home
last modified time | relevance | path

Searched refs:downloadUrl (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java100 public void store(String downloadUrl, File file) { in store() argument
105 entry.hashCode = Utils.crc64Long(downloadUrl); in store()
106 entry.contentUrl = downloadUrl; in store()
115 FileEntry original = queryDatabase(downloadUrl); in store()
129 public CacheEntry lookup(String downloadUrl) { in lookup() argument
133 entry = mEntryMap.get(downloadUrl); in lookup()
144 FileEntry file = queryDatabase(downloadUrl); in lookup()
147 file.id, downloadUrl, new File(mRootDir, file.filename)); in lookup()
159 mEntryMap.put(downloadUrl, entry); in lookup()
165 private FileEntry queryDatabase(String downloadUrl) { in queryDatabase() argument
[all …]
/packages/apps/Car/Provision/src/com/android/car/provision/
DDpcInfo.java32 public final String downloadUrl; field in DpcInfo
35 String receiverName, String checkSum, String downloadUrl) { in DpcInfo() argument
41 this.downloadUrl = downloadUrl; in DpcInfo()
64 + ", downloadUrl=" + downloadUrl in toString()
DDefaultActivity.java273 String downloadUrl = null; in addDpc() local
294 downloadUrl = args[++i]; in addDpc()
308 downloadUrl); in addDpc()
528 if (dpcInfo.downloadUrl != null) { in launchProvisioningWorkflow()
530 dpcInfo.downloadUrl); in launchProvisioningWorkflow()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/mdd/
DOnDevicePersonalizationFileGroupPopulatorTest.java134 String downloadUrl = OnDevicePersonalizationFileGroupPopulator.createDownloadUrl( in testCreateDownloadUrlNoSyncToken() local
136 assertTrue(downloadUrl.startsWith(BASE_URL)); in testCreateDownloadUrlNoSyncToken()
147 String downloadUrl = OnDevicePersonalizationFileGroupPopulator.createDownloadUrl( in testCreateDownloadUrlOverrideManifest() local
149 assertTrue(downloadUrl.startsWith(overrideUrl)); in testCreateDownloadUrlOverrideManifest()
162 String downloadUrl = in testCreateDownloadUrlQueryParameters() local
164 assertTrue(downloadUrl.startsWith(BASE_URL)); in testCreateDownloadUrlQueryParameters()
165 assertTrue(downloadUrl.contains(String.valueOf(timestamp))); in testCreateDownloadUrlQueryParameters()
175 String downloadUrl = "http://google.com/"; in addTestFileGroup() local
187 new String[]{downloadUrl}, in addTestFileGroup()
DOnDevicePersonalizationFileDownloaderTest.java76 String downloadUrl = in testUnsecureUrl() local
81 downloadUrl).setFileUri(fileUri).setDownloadConstraints( in testUnsecureUrl()
/packages/apps/Provision/src/com/android/provision/
DDpcInfo.java43 public final String downloadUrl; field in DpcInfo
58 private DpcInfo(String packageName, String receiverName, String checkSum, String downloadUrl, in DpcInfo() argument
65 this.downloadUrl = downloadUrl; in DpcInfo()
81 + ", downloadUrl=" + downloadUrl in toString()
DDefaultActivity.java137 if (dpcInfo.downloadUrl != null) { in provisionDeviceOwner()
139 dpcInfo.downloadUrl); in provisionDeviceOwner()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/manifest/
DAppManifestConfigParser.java50 String downloadUrl = null; in getConfig() local
74 downloadUrl = parser.getAttributeValue(null, ATTR_DOWNLOAD_URL); in getConfig()
85 return new AppManifestConfig(downloadUrl, serviceName, fcServerUrl); in getConfig()
DAppManifestConfig.java27 public AppManifestConfig(String downloadUrl, String serviceName, String fcRemoteServerUrl) { in AppManifestConfig() argument
28 mDownloadUrl = downloadUrl; in AppManifestConfig()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
DRoboJarFetcherTask.kt119 val downloadUrl = buildClient().buildartifact() in downloadAndroidJarFromServer() constant
124 LOGGER.info("Download url $downloadUrl") in downloadAndroidJarFromServer()
127 FileOutputStream(tempFile).use { o -> IOUtils.copy(URL(downloadUrl).openStream(), o) } in downloadAndroidJarFromServer()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DOnDevicePersonalizationFileGroupPopulator.java234 String downloadUrl = createDownloadUrl(packageName, in refreshFileGroups() local
245 new String[]{downloadUrl}, in refreshFileGroups()