Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java267 if (mFileInfo.mFileName != null) { in doSend()
300 if (fileInfo.mFileName == null || fileInfo.mLength == 0) { in processShareInfo()
307 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
315 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in processShareInfo()
333 request.setHeader(HeaderSet.NAME, fileInfo.mFileName); in sendFile()
349 if (V) Log.v(TAG, "put headerset for " + fileInfo.mFileName); in sendFile()
364 if (V) Log.v(TAG, "openOutputStream " + fileInfo.mFileName); in sendFile()
466 Log.i(TAG, "Remote reject file " + fileInfo.mFileName + " length " in sendFile()
473 Log.i(TAG, "SendFile finished send out file " + fileInfo.mFileName in sendFile()
481 Log.i(TAG, "SendFile interrupted when send out file " + fileInfo.mFileName in sendFile()
[all …]
DBluetoothOppUtility.java82 info.mFileName = cursor.getString(cursor in queryRecord()
84 if (info.mFileName == null) { in queryRecord()
85 info.mFileName = cursor.getString(cursor in queryRecord()
88 if (info.mFileName == null) { in queryRecord()
89 info.mFileName = context.getString(R.string.unknown_file); in queryRecord()
98 Uri u = Uri.parse(info.mFileName); in queryRecord()
110 if (V) Log.v(TAG, "Get data from db:" + info.mFileName + info.mFileType in queryRecord()
DBluetoothOppSendFileInfo.java60 public final String mFileName; field in BluetoothOppSendFileInfo
79 mFileName = fileName; in BluetoothOppSendFileInfo()
91 mFileName = null; in BluetoothOppSendFileInfo()
DBluetoothOppObexServerSession.java338 if (mFileInfo.mFileName == null) { in onPut()
347 if (mFileInfo.mFileName != null) { in onPut()
351 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
389 if (mFileInfo.mFileName != null) { in onPut()
395 new File(mFileInfo.mFileName).delete(); in onPut()
432 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
483 if (D) Log.d(TAG, "Receiving file completed for " + fileInfo.mFileName); in receiveFile()
509 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
DBluetoothOppTransferActivity.java272 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
291 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
310 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
321 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
335 tmp = getString(R.string.upload_fail_line1_2, mTransInfo.mFileName); in customizeViewContent()
356 BluetoothOppUtility.openReceivedFile(this, mTransInfo.mFileName, in onClick()
DBluetoothOppTransferInfo.java54 String mFileName; field in BluetoothOppTransferInfo
DBluetoothOppReceiver.java156 BluetoothOppUtility.openReceivedFile(context, transInfo.mFileName, in onReceive()
228 toastMsg = context.getString(R.string.notification_sent, transInfo.mFileName); in onReceive()
231 transInfo.mFileName); in onReceive()
237 transInfo.mFileName); in onReceive()
DBluetoothOppReceiveFileInfo.java61 public String mFileName; field in BluetoothOppReceiveFileInfo
79 mFileName = filename; in BluetoothOppReceiveFileInfo()
DBluetoothOppIncomingFileConfirmActivity.java133 mTransInfo.mFileName, Formatter.formatFileSize(this, mTransInfo.mTotalBytes)); in createView()
DBluetoothOppTransferHistory.java269 BluetoothOppUtility.openReceivedFile(this, transInfo.mFileName, transInfo.mFileType, in openCompleteTransfer()
DBluetoothOppTransfer.java338 if (fileInfo.mFileName != null) { in markBatchFailed()
339 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadService.java371 Helpers.deleteFile(getContentResolver(), info.mId, info.mFileName, in run()
381 Helpers.deleteFile(getContentResolver(), info.mId, info.mFileName, in run()
541 if (info.mDestination != Downloads.Impl.DESTINATION_EXTERNAL && info.mFileName != null) { in deleteDownload()
542 new File(info.mFileName).delete(); in deleteDownload()
573 Log.v(Constants.TAG, "Scanning file " + info.mFileName); in scanFile()
580 mMediaScannerService.requestScanFile(info.mFileName, info.mMimeType, in scanFile()
606 Log.w(Constants.TAG, "Failed to scan file " + info.mFileName); in scanFile()
DDownloadInfo.java68 info.mFileName = getString(info.mFileName, Downloads.Impl._DATA); in updateFromDatabase()
217 public String mFileName; field in DownloadInfo
499 Log.v(Constants.TAG, "FILENAME: " + mFileName); in logVerboseInfo()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactImporterTest.java53 private String mFileName; field in LegacyContactImporterTest.LegacyMockContext
56 mFileName = fileName; in LegacyMockContext()
62 return SQLiteDatabase.openDatabase(mFileName, factory, SQLiteDatabase.OPEN_READONLY); in openOrCreateDatabase()
67 return new File(mFileName); in getDatabasePath()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java306 attachment.mFileName = "the file.jpg"; in setupSimpleAttachment()
334 mockTransport.expect(" name=\"" + attachment.mFileName + "\""); in expectSimpleAttachment()
337 mockTransport.expect(" filename=\"" + attachment.mFileName + "\";"); in expectSimpleAttachment()
DRfc822OutputTests.java190 att.mFileName = "invite.ics"; in testWriteToAlternativePart()
234 att.mFileName = "test.html"; in testWriteToMixedPart()
/packages/apps/Contacts/src/com/android/contacts/
DExportVCardActivity.java105 private final String mFileName; field in ExportVCardActivity.ExportConfirmationListener
108 mFileName = fileName; in ExportConfirmationListener()
113 mActualExportThread = new ActualExportThread(mFileName); in onClick()
/packages/apps/Email/src/com/android/email/mail/transport/
DRfc822Output.java221 attachment.mMimeType + ";\n name=\"" + attachment.mFileName + "\""); in writeOneAttachment()
228 + "\n filename=\"" + attachment.mFileName + "\";" in writeOneAttachment()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java196 att.mFileName = fileName; in setupAttachment()
361 assertEquals(caller + " mFileName", expect.mFileName, actual.mFileName); in assertAttachmentEqual()
/packages/apps/Email/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java275 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Reply()
314 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Invite_AllDay()
376 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Invite()
442 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Recurring()
524 assertEquals("invite.ics", att.mFileName); in testCreateMessageForEntity_Exception_Cancel()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java362 localAttachment.mFileName = name; in addOneAttachment()
389 if (stringNotEqual(dbAttachment.mFileName, localAttachment.mFileName)) continue; in addOneAttachment()
/packages/apps/Email/src/com/android/email/provider/
DEmailContent.java1661 public String mFileName; field in EmailContent.Attachment
1786 mFileName= cursor.getString(CONTENT_FILENAME_COLUMN); in restore()
1803 values.put(AttachmentColumns.FILENAME, mFileName); in toContentValues()
1824 dest.writeString(mFileName); in writeToParcel()
1845 mFileName = in.readString(); in Attachment()
1877 return "[" + mFileName + ", " + mMimeType + ", " + mSize + ", " + mContentId + ", " in toString()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java328 if (name.equals(attachment.mFileName)) { in testLocalUpgradeAttachments()
335 checkAttachment(attachment.mFileName, fromPart, attachment); in testLocalUpgradeAttachments()
438 assertEquals(tag, expectedName, actual.mFileName); in checkAttachment()
/packages/apps/Email/src/com/android/email/activity/
DMessageView.java1008 AttachmentProvider.inferMimeType(attachment.mFileName, attachment.mMimeType); in addAttachment()
1009 attachmentInfo.name = attachment.mFileName; in addAttachment()
1627 attachment.mFileName); in doFinishLoadAttachment()
DMessageCompose.java1075 attachment.mFileName = name; in loadAttachmentInfo()
1094 nameView.setText(attachment.mFileName); in addAttachment()

12