Home
last modified time | relevance | path

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

12

/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTsStreamWriter.java42 private String mFileName = null; field in TsStreamWriter
85 mFileName = in openFile()
92 String filePath = mDirectoryPath + "/" + mFileName; in openFile()
113 mFileName = null; in closeFile()
148 if (mFileName == null) { in deleteOutdatedFiles()
155 if (mFileName == null) { in deleteOutdatedFiles()
162 && (deleteAll || !mFileName.equals(file.getName()))) { in deleteOutdatedFiles()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java323 if (mFileInfo.mFileName != null) { in doSend()
352 if (fileInfo.mFileName == null || fileInfo.mLength == 0) { in processShareInfo()
361 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
369 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in processShareInfo()
396 Log.v(TAG, "Set header items for " + fileInfo.mFileName); in sendFile()
398 request.setHeader(HeaderSet.NAME, fileInfo.mFileName); in sendFile()
401 applyRemoteDeviceQuirks(request, mInfo.mDestination, fileInfo.mFileName); in sendFile()
408 Log.v(TAG, "put headerset for " + fileInfo.mFileName); in sendFile()
431 Log.v(TAG, "openOutputStream " + fileInfo.mFileName); in sendFile()
549 Log.i(TAG, "Remote reject file " + fileInfo.mFileName + " length " in sendFile()
[all …]
DBluetoothOppObexServerSession.java355 if (mFileInfo.mFileName == null) { in onPut()
364 if (mFileInfo.mFileName != null) { in onPut()
368 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
406 if (mFileInfo.mFileName != null) { in onPut()
412 new File(mFileInfo.mFileName).delete(); in onPut()
449 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
526 Log.d(TAG, "Receiving file completed for " + fileInfo.mFileName); in receiveFile()
558 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
DBluetoothOppUtility.java109 info.mFileName = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)); in fillRecord()
110 if (info.mFileName == null) { in fillRecord()
111 info.mFileName = in fillRecord()
114 if (info.mFileName == null) { in fillRecord()
115 info.mFileName = context.getString(R.string.unknown_file); in fillRecord()
124 Uri u = Uri.parse(info.mFileName); in fillRecord()
141 Log.v(TAG, "Get data from db:" + info.mFileName + info.mFileType + info.mDestAddr); in fillRecord()
DBluetoothOppReceiver.java141 BluetoothOppUtility.openReceivedFile(context, transInfo.mFileName, in onReceive()
243 transInfo.mFileName); in onReceive()
256 toastMsg = context.getString(R.string.notification_sent, transInfo.mFileName); in onReceive()
259 context.getString(R.string.notification_received, transInfo.mFileName); in onReceive()
265 context.getString(R.string.notification_sent_fail, transInfo.mFileName); in onReceive()
DBluetoothOppTransferActivity.java277 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
296 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
318 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
329 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
344 tmp = getString(R.string.upload_fail_line1_2, mTransInfo.mFileName); in customizeViewContent()
367 BluetoothOppUtility.openReceivedFile(this, mTransInfo.mFileName, in onClick()
DBluetoothOppSendFileInfo.java67 public final String mFileName; field in BluetoothOppSendFileInfo
84 mFileName = fileName; in BluetoothOppSendFileInfo()
94 mFileName = null; in BluetoothOppSendFileInfo()
DBluetoothOppReceiveFileInfo.java66 public String mFileName; field in BluetoothOppReceiveFileInfo
84 mFileName = filename; in BluetoothOppReceiveFileInfo()
DBluetoothOppTransferInfo.java54 String mFileName; field in BluetoothOppTransferInfo
DBluetoothOppNotification.java588 .setContentText(info.mFileName) in updateIncomingFileConfirmNotification()
591 info.mDeviceName, info.mFileName))) in updateIncomingFileConfirmNotification()
DBluetoothOppTransfer.java426 if (fileInfo.mFileName != null) { in markBatchFailed()
427 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
DBluetoothOppIncomingFileConfirmActivity.java137 ((TextView) view.findViewById(R.id.filename_content)).setText(mTransInfo.mFileName); in createView()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java147 public String mFileName; field in DownloadThread.DownloadInfoDelta
168 mFileName = info.mFileName; in DownloadInfoDelta()
182 values.put(Downloads.Impl._DATA, mFileName); in buildContentValues()
683 if (mInfoDelta.mFileName != null) { in finalizeDestination()
684 new File(mInfoDelta.mFileName).delete(); in finalizeDestination()
685 mInfoDelta.mFileName = null; in finalizeDestination()
690 if (mInfoDelta.mFileName != null) { in finalizeDestination()
694 final File before = new File(mInfoDelta.mFileName); in finalizeDestination()
703 mInfoDelta.mFileName = after.getAbsolutePath(); in finalizeDestination()
781 if (mInfoDelta.mFileName == null) { in parseOkHeaders()
[all …]
DDownloadInfo.java70 info.mFileName = getString(Downloads.Impl._DATA); in updateFromDatabase()
159 public String mFileName; field in DownloadInfo
422 pw.printPair("mFileName", mFileName); in dump()
DDownloadScanner.java79 requestScanBlocking(context, info.mId, info.mFileName, info.mMimeType); in requestScanBlocking()
/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/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/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/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/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/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()
/packages/apps/Bluetooth/tests/robotests/src/com/android/bluetooth/opp/
DOppSendFileInfoTest.java69 assertThat(sendFileInfo.mFileName).isEqualTo("OppTestFile.txt"); in testFileOpen()

12