Home
last modified time | relevance | path

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

/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 …]
DBluetoothOppUtility.java108 info.mFileName = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)); in fillRecord()
109 if (info.mFileName == null) { in fillRecord()
110 info.mFileName = in fillRecord()
113 if (info.mFileName == null) { in fillRecord()
114 info.mFileName = context.getString(R.string.unknown_file); in fillRecord()
123 Uri u = Uri.parse(info.mFileName); in fillRecord()
140 Log.v(TAG, "Get data from db:" + info.mFileName + info.mFileType + info.mDestAddr); in fillRecord()
DBluetoothOppReceiver.java142 BluetoothOppUtility.openReceivedFile(context, transInfo.mFileName, in onReceive()
244 transInfo.mFileName); in onReceive()
257 toastMsg = context.getString(R.string.notification_sent, transInfo.mFileName); in onReceive()
260 context.getString(R.string.notification_received, transInfo.mFileName); in onReceive()
266 context.getString(R.string.notification_sent_fail, transInfo.mFileName); in onReceive()
DBluetoothOppTransferActivity.java262 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
281 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
303 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
314 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
329 tmp = getString(R.string.upload_fail_line1_2, mTransInfo.mFileName); in customizeViewContent()
352 BluetoothOppUtility.openReceivedFile(this, mTransInfo.mFileName, in onClick()
DBluetoothOppObexServerSession.java355 if (mFileInfo.mFileName == null) { in onPut()
364 if (mFileInfo.mFileName != null && mFileInfo.mInsertUri != null) { in onPut()
368 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
445 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
527 Log.d(TAG, "Receiving file completed for " + fileInfo.mFileName); in receiveFile()
560 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
DBluetoothOppSendFileInfo.java67 public final String mFileName; field in BluetoothOppSendFileInfo
84 mFileName = fileName; in BluetoothOppSendFileInfo()
94 mFileName = null; in BluetoothOppSendFileInfo()
DBluetoothOppReceiveFileInfo.java61 public String mFileName; field in BluetoothOppReceiveFileInfo
78 mFileName = filename; in BluetoothOppReceiveFileInfo()
DBluetoothOppTransferInfo.java54 String mFileName; field in BluetoothOppTransferInfo
DBluetoothOppNotification.java591 .setContentText(info.mFileName) in updateIncomingFileConfirmNotification()
594 info.mDeviceName, info.mFileName))) in updateIncomingFileConfirmNotification()
DBluetoothOppTransfer.java425 if (fileInfo.mFileName != null) { in markBatchFailed()
426 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
DBluetoothOppIncomingFileConfirmActivity.java133 ((TextView) view.findViewById(R.id.filename_content)).setText(mTransInfo.mFileName); in createView()
DBluetoothOppTransferHistory.java321 BluetoothOppUtility.openReceivedFile(this, transInfo.mFileName, transInfo.mFileType, in openCompleteTransfer()
/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()
DDownloadProvider.java1040 filePath = new File(info.mFileName).getCanonicalPath(); in convertToMediaProviderValues()
1553 if (info.mFileName == null) { in update()
1573 mediaStoreUri = triggerMediaScan(client, new File(info.mFileName)); in update()
1730 final String path = info.mFileName; in delete()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DGalleryGridItemData.java68 private String mFileName; field in GalleryGridItemData
88 mFileName = cursor.getString(INDEX_DISPLAY_NAME); in bind()
155 return mFileName; in getFileName()
/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/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java64 private TextView mFileName; field in GalleryGridItemView
88 mFileName = (TextView) findViewById(R.id.file_name); in onFinishInflate()
170 mFileName.setText(mData.getFileName()); in updateImageView()
/packages/apps/Bluetooth/tests/robotests/src/com/android/bluetooth/opp/
DOppSendFileInfoTest.java69 assertThat(sendFileInfo.mFileName).isEqualTo("OppTestFile.txt"); in testFileOpen()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java44 public String mFileName = null; /* Do not seem to be used */ field in BluetoothMapbMessageMime.MimePart
DBluetoothMapContent.java3891 part.mFileName = filename; in extractMmsParts()
3964 part.mFileName = filename; in extractIMParts()