Searched refs:iconFile (Results 1 – 4 of 4) sorted by relevance
94 File iconFile = getIconFileName(printerId); in getIcon() local95 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() local144 if (iconFile == null) { in onCustomPrinterIconLoaded()148 try (FileOutputStream os = new FileOutputStream(iconFile)) { in onCustomPrinterIconLoaded()
566 File iconFile = new File(iconsDir, index + ".png"); in storeDrawable() local568 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()
317 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)) {
7392 final File iconFile = new File(TaskPersister.getUserImagesDir(task.mUserId), in setTaskDescription() local7394 final String iconFilePath = iconFile.getAbsolutePath(); in setTaskDescription()