Searched refs:fileId (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | FileProvider.java | 48 protected static boolean isValidFileId(final String fileId) { in isValidFileId() argument 50 for (int index = (fileId.startsWith("/") ? 1 : 0); index < fileId.length(); index++) { in isValidFileId() 51 final Character c = fileId.charAt(index); in isValidFileId() 83 final long fileId = Math.abs(RANDOM_ID.nextLong()); in buildFileUri() local 86 builder.appendPath(String.valueOf(fileId)); in buildFileUri() 100 final String fileId = uri.getPath(); in delete() local 101 if (isValidFileId(fileId)) { in delete() 102 final File file = getFile(fileId, getExtensionFromUri(uri)); in delete() 111 final String fileId = uri.getPath(); in openFile() local 112 if (isValidFileId(fileId)) { in openFile() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | UpdateHandler.java | 419 final long fileId = intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, NOT_AN_ID); in downloadFinished() local 420 Log.i(TAG, "downloadFinished() : DownloadId = " + fileId); in downloadFinished() 421 if (NOT_AN_ID == fileId) return; // Spurious wake-up: ignore in downloadFinished() 424 final CompletedDownloadInfo downloadInfo = getCompletedDownloadInfo(manager, fileId); in downloadFinished() 429 DebugLogUtils.l("Received result for download ", fileId); in downloadFinished() 441 downloadSuccessful = handleDownloadedFile(context, record, manager, fileId); in downloadFinished() 452 publishUpdateWordListCompleted(context, downloadSuccessful, fileId, in downloadFinished() 458 manager.remove(fileId); in downloadFinished() 486 final boolean downloadSuccessful, final long fileId, in publishUpdateWordListCompleted() argument 496 MetadataDbHelper.deleteDownloadingEntry(db, fileId); in publishUpdateWordListCompleted() [all …]
|
D | DownloadManagerWrapper.java | 69 public ParcelFileDescriptor openDownloadedFile(final long fileId) throws FileNotFoundException { in openDownloadedFile() argument 72 return mDownloadManager.openDownloadedFile(fileId); in openDownloadedFile() 77 Log.e(TAG, "Can't open downloaded file with ID " + fileId, e); in openDownloadedFile()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | DialerUtils.java | 212 long fileId = Math.abs(RANDOM.nextLong()); in createShareableFile() local 217 return new File(parentDir, String.valueOf(fileId)); in createShareableFile()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | DictionaryInfoUtils.java | 312 final String fileId = localeAndFileId[1]; 314 final String cacheFilename = cacheDirectoryForLocale + File.separator + fileId;
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 2733 String fileId = null; 2737 fileId = new String(retrieveConf.getMessageId()); 2739 fileId = new String(retrieveConf.getTransactionId()); 2742 if (TextUtils.isEmpty(fileId)) { 2743 fileId = UUID.randomUUID().toString(); 2745 return fileId;
|