Home
last modified time | relevance | path

Searched refs:mFileName (Results 1 – 25 of 41) sorted by relevance

12

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java124 public String mFileName; field in DownloadThread.DownloadInfoDelta
137 mFileName = info.mFileName; in DownloadInfoDelta()
151 values.put(Downloads.Impl._DATA, mFileName); in buildContentValues()
609 if (mInfoDelta.mFileName != null) { in finalizeDestination()
610 new File(mInfoDelta.mFileName).delete(); in finalizeDestination()
611 mInfoDelta.mFileName = null; in finalizeDestination()
616 if (mInfoDelta.mFileName != null) { in finalizeDestination()
619 Os.chmod(mInfoDelta.mFileName, 0644); in finalizeDestination()
626 final File before = new File(mInfoDelta.mFileName); in finalizeDestination()
635 mInfoDelta.mFileName = after.getAbsolutePath(); in finalizeDestination()
[all …]
DDownloadService.java382 deleteFileIfExists(info.mFileName); in updateLocked()
466 if (info.mDestination != Downloads.Impl.DESTINATION_EXTERNAL && info.mFileName != null) { in deleteDownloadLocked()
468 Log.d(TAG, "deleteDownloadLocked() deleting " + info.mFileName); in deleteDownloadLocked()
470 deleteFileIfExists(info.mFileName); in deleteDownloadLocked()
DDownloadInfo.java78 info.mFileName = getString(Downloads.Impl._DATA); in updateFromDatabase()
213 public String mFileName; field in DownloadInfo
544 pw.printPair("mFileName", mFileName); in dump()
DDownloadScanner.java102 if (LOGV) Log.v(TAG, "requestScan() for " + info.mFileName); in requestScan()
104 final ScanRequest req = new ScanRequest(info.mId, info.mFileName, info.mMimeType); in requestScan()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java280 if (mFileInfo.mFileName != null) { in doSend()
312 if (fileInfo.mFileName == null || fileInfo.mLength == 0) { in processShareInfo()
319 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
327 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in processShareInfo()
345 request.setHeader(HeaderSet.NAME, fileInfo.mFileName); in sendFile()
348 applyRemoteDeviceQuirks(request, mInfo.mDestination, fileInfo.mFileName); in sendFile()
361 if (V) Log.v(TAG, "put headerset for " + fileInfo.mFileName); in sendFile()
376 if (V) Log.v(TAG, "openOutputStream " + fileInfo.mFileName); in sendFile()
478 Log.i(TAG, "Remote reject file " + fileInfo.mFileName + " length " in sendFile()
485 Log.i(TAG, "SendFile finished send out file " + fileInfo.mFileName in sendFile()
[all …]
DBluetoothOppObexServerSession.java356 if (mFileInfo.mFileName == null) { in onPut()
365 if (mFileInfo.mFileName != null) { in onPut()
369 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
407 if (mFileInfo.mFileName != null) { in onPut()
413 new File(mFileInfo.mFileName).delete(); in onPut()
450 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
506 if (D) Log.d(TAG, "Receiving file completed for " + fileInfo.mFileName); in receiveFile()
532 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
DBluetoothOppUtility.java87 info.mFileName = cursor.getString(cursor in queryRecord()
89 if (info.mFileName == null) { in queryRecord()
90 info.mFileName = cursor.getString(cursor in queryRecord()
93 if (info.mFileName == null) { in queryRecord()
94 info.mFileName = context.getString(R.string.unknown_file); in queryRecord()
103 Uri u = Uri.parse(info.mFileName); in queryRecord()
120 if (V) Log.v(TAG, "Get data from db:" + info.mFileName + info.mFileType in queryRecord()
DBluetoothOppTransferActivity.java270 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
289 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
308 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
319 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
333 tmp = getString(R.string.upload_fail_line1_2, mTransInfo.mFileName); in customizeViewContent()
354 BluetoothOppUtility.openReceivedFile(this, mTransInfo.mFileName, in onClick()
DBluetoothOppReceiver.java154 BluetoothOppUtility.openReceivedFile(context, transInfo.mFileName, in onReceive()
249 transInfo.mFileName); in onReceive()
262 toastMsg = context.getString(R.string.notification_sent, transInfo.mFileName); in onReceive()
265 transInfo.mFileName); in onReceive()
271 transInfo.mFileName); in onReceive()
DBluetoothOppSendFileInfo.java65 public final String mFileName; field in BluetoothOppSendFileInfo
82 mFileName = fileName; in BluetoothOppSendFileInfo()
92 mFileName = null; in BluetoothOppSendFileInfo()
DBluetoothOppReceiveFileInfo.java61 public String mFileName; field in BluetoothOppReceiveFileInfo
79 mFileName = filename; in BluetoothOppReceiveFileInfo()
DBluetoothOppTransfer.java321 if (fileInfo.mFileName != null) { in markBatchFailed()
322 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java411 if (TextUtils.isEmpty(attachment.mFileName)) { in saveAttachment()
421 File file = Utility.createUniqueFile(downloads, attachment.mFileName); in saveAttachment()
439 long id = dm.addCompletedDownload(attachment.mFileName, attachment.mFileName, in saveAttachment()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DSaveVideoFileUtils.java50 dstFileInfo.mFileName = new SimpleDateFormat(fileNameFormat).format( in getDstMp4FileInfo()
53 dstFileInfo.mFile = new File(dstFileInfo.mDirectory, dstFileInfo.mFileName + ".mp4"); in getDstMp4FileInfo()
96 values.put(Video.Media.TITLE, mDstFileInfo.mFileName); in insertContent()
DSaveVideoFileInfo.java23 public String mFileName = null; field in SaveVideoFileInfo
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java230 localAttachment.mFileName = name; in mimePartToAttachment()
283 if (!TextUtils.equals(dbAttachment.mFileName, localAttachment.mFileName) || in addOneAttachment()
446 final String filename = att.mFileName; in makeMessage()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java196 attachment.mFileName = "the file.jpg"; in setupSimpleAttachment()
213 mockTransport.expect(" name=\"" + attachment.mFileName + "\""); in expectSimpleAttachment()
216 mockTransport.expect(" filename=\"" + attachment.mFileName + "\";"); in expectSimpleAttachment()
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java334 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Reply()
376 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Invite_AllDay()
438 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Invite()
504 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Recurring()
586 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Exception_Cancel()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java1355 public String mFileName; field in EmailContent.Attachment
1545 mFileName= cursor.getString(CONTENT_FILENAME_COLUMN); in restore()
1566 values.put(AttachmentColumns.FILENAME, mFileName); in toContentValues()
1594 dest.writeString(mFileName); in writeToParcel()
1620 mFileName = in.readString(); in Attachment()
1659 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", " in toString()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageMeasurement.java516 final String mFileName; field in StorageMeasurement.FileInfo
521 mFileName = fileName; in FileInfo()
534 return mFileName + " : " + mSize + ", id:" + mId; in toString()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageMeasurement.java510 final String mFileName; field in StorageMeasurement.FileInfo
515 mFileName = fileName; in FileInfo()
528 return mFileName + " : " + mSize + ", id:" + mId; in toString()
DMiscFilesHandler.java116 File file = new File(mAdapter.getItem(i).mFileName); in onActionItemClicked()
253 view.setFileName(item.mFileName); in getView()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java239 att.mFileName = fileName; in setupAttachment()
435 assertEquals(caller + " mFileName", expect.mFileName, actual.mFileName); in assertAttachmentEqual()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java217 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()
224 + "\n filename=\"" + attachment.mFileName + "\";" in writeOneAttachment()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java153 att.mFileName = "invite.ics"; in testWriteToAlternativePart()
197 att.mFileName = "test.html"; in testWriteToMixedPart()

12