Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DCustomPrinterIconCache.java94 File iconFile = getIconFileName(printerId); in getIcon() local
95 if (iconFile != null && iconFile.exists()) { in getIcon()
96 try (FileInputStream is = new FileInputStream(iconFile)) { in getIcon()
100 Log.e(LOG_TAG, "Could not read icon from " + iconFile, e); in getIcon()
104 iconFile.setLastModified(System.currentTimeMillis()); in getIcon()
142 File iconFile = getIconFileName(printerId); in onCustomPrinterIconLoaded() local
144 if (iconFile == null) { in onCustomPrinterIconLoaded()
148 try (FileOutputStream os = new FileOutputStream(iconFile)) { in onCustomPrinterIconLoaded()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageArchiver.java566 File iconFile = new File(iconsDir, index + ".png"); in storeDrawable() local
568 try (FileOutputStream out = new FileOutputStream(iconFile)) { in storeDrawable()
572 iconFile.getAbsolutePath())); in storeDrawable()
576 if (DEBUG && iconFile.exists()) { in storeDrawable()
577 Slog.i(TAG, "Stored icon at " + iconFile.getAbsolutePath()); in storeDrawable()
579 return iconFile.toPath(); in storeDrawable()
DInstantAppRegistry.java317 File iconFile = new File(getInstantApplicationDir(packageName, userId),
319 if (iconFile.exists()) {
320 return BitmapFactory.decodeFile(iconFile.toString());
645 File iconFile = new File(getInstantApplicationDir(pkg.getPackageName(), userId),
648 try (FileOutputStream out = new FileOutputStream(iconFile)) {
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java7392 final File iconFile = new File(TaskPersister.getUserImagesDir(task.mUserId), in setTaskDescription() local
7394 final String iconFilePath = iconFile.getAbsolutePath(); in setTaskDescription()