Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DIconInfo.java47 private final String mFileName; field in IconInfo
55 mFileName = fileName; in IconInfo()
100 return mFileName; in getFileName()
117 && TextUtils.equals(mFileName, that.mFileName); in equals()
122 return Objects.hash(mWidth, mHeight, mLanguage, mIconType, mFileName); in hashCode()
132 + ", FileName='" + mFileName + "\'" in toString()
/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/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DIconEvent.java5 private final String mFileName; field in IconEvent
11 mFileName = fileName; in IconEvent()
21 return mFileName; in getFileName()
36 ", fileName='" + mFileName + '\'' + in toString()
/packages/modules/Profiling/service/java/com/android/os/profiling/
DTracingSession.java59 private String mFileName; field in TracingSession
124 mFileName = fileName; in setFileName()
195 return mFileName; in getFileName()
216 if (mFileName == null) { in getDestinationFileName()
221 + ((this.getRedactedFileName() == null) ? mFileName : mRedactedFileName); in getDestinationFileName()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPersistedItemArray.java60 private final String mFileName; field in PersistedItemArray
63 mFileName = fileName + ".xml"; in PersistedItemArray()
76 Log.e(TAG, "Unable to persist items in " + mFileName, e); in write()
104 Log.e(TAG, "Unable to persist items in " + mFileName, e); in write()
160 Log.e(TAG, "Unable to read items in " + mFileName, e); in read()
170 return new AtomicFile(context.getFileStreamPath(mFileName)); in getFile()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java148 public String mFileName; field in DownloadThread.DownloadInfoDelta
169 mFileName = info.mFileName; in DownloadInfoDelta()
183 values.put(Downloads.Impl._DATA, mFileName); in buildContentValues()
673 if (mInfoDelta.mFileName != null) { in finalizeDestination()
674 new File(mInfoDelta.mFileName).delete(); in finalizeDestination()
675 mInfoDelta.mFileName = null; in finalizeDestination()
680 if (mInfoDelta.mFileName != null) { in finalizeDestination()
681 if (Helpers.isFileInExternalAndroidDirs(mInfoDelta.mFileName)) { in finalizeDestination()
685 File file = new File(mInfoDelta.mFileName); in finalizeDestination()
691 final File before = new File(mInfoDelta.mFileName); in finalizeDestination()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java336 if (mFileInfo.mFileName != null) { in doSend()
364 if (fileInfo.mFileName == null || fileInfo.mLength == 0) { in processShareInfo()
370 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
377 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in processShareInfo()
408 Log.v(TAG, "Set header items for " + fileInfo.mFileName); in sendFile()
409 request.setHeader(HeaderSet.NAME, fileInfo.mFileName); in sendFile()
412 applyRemoteDeviceQuirks(request, mInfo.mDestination, fileInfo.mFileName); in sendFile()
418 Log.v(TAG, "put headerset for " + fileInfo.mFileName); in sendFile()
451 Log.v(TAG, "openOutputStream " + fileInfo.mFileName); in sendFile()
579 + fileInfo.mFileName in sendFile()
[all …]
DBluetoothOppTransferActivity.java264 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
285 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
311 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
324 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
341 tmp = getString(R.string.upload_fail_line1_2, mTransInfo.mFileName); in customizeViewContent()
368 mTransInfo.mFileName, in onClick()
DBluetoothOppReceiver.java155 transInfo.mFileName, in onReceive()
289 Constants.EXTRA_BT_OPP_TRANSFER_URI, transInfo.mFileName); in onReceive()
306 toastMsg = context.getString(R.string.notification_sent, transInfo.mFileName); in onReceive()
309 context.getString(R.string.notification_received, transInfo.mFileName); in onReceive()
315 context.getString(R.string.notification_sent_fail, transInfo.mFileName); in onReceive()
DBluetoothOppUtility.java124 info.mFileName = cursor.getString(cursor.getColumnIndexOrThrow(BluetoothShare._DATA)); in fillRecord()
125 if (info.mFileName == null) { in fillRecord()
126 info.mFileName = in fillRecord()
129 if (info.mFileName == null) { in fillRecord()
130 info.mFileName = context.getString(R.string.unknown_file); in fillRecord()
139 Uri u = Uri.parse(info.mFileName); in fillRecord()
155 Log.v(TAG, "Get data from db:" + info.mFileName + info.mFileType + info.mDestAddr); in fillRecord()
DBluetoothOppObexServerSession.java382 if (mFileInfo.mFileName == null) { in onPut()
390 if (mFileInfo.mFileName != null && mFileInfo.mInsertUri != null) { in onPut()
394 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
494 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
594 Log.d(TAG, "Receiving file completed for " + fileInfo.mFileName); in receiveFile()
626 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
DBluetoothOppSendFileInfo.java70 public final String mFileName; field in BluetoothOppSendFileInfo
87 mFileName = fileName; in BluetoothOppSendFileInfo()
97 mFileName = null; in BluetoothOppSendFileInfo()
DBluetoothOppReceiveFileInfo.java65 public String mFileName; field in BluetoothOppReceiveFileInfo
82 mFileName = filename; in BluetoothOppReceiveFileInfo()
DBluetoothOppTransferInfo.java54 String mFileName; field in BluetoothOppTransferInfo
/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audiorecorder/
DAudioRecorderTestFragment.java119 private String mFileName = ""; field in AudioRecorderTestFragment
254 Log.d(TAG, "startPlayback " + mFileName); in startPlayback()
261 if (mFileName.isEmpty()) { in startPlayback()
269 mediaPlayer.setDataSource(mFileName); in startPlayback()
393 mFileName = fileName; in startRecording()
395 setFilePath(mFileName); in startRecording()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DSaveVideoFileUtils.java51 dstFileInfo.mFileName = new SimpleDateFormat(fileNameFormat).format( in getDstMp4FileInfo()
54 dstFileInfo.mFile = new File(dstFileInfo.mDirectory, dstFileInfo.mFileName + ".mp4"); in getDstMp4FileInfo()
97 values.put(Video.Media.TITLE, mDstFileInfo.mFileName); in insertContent()
DSaveVideoFileInfo.java23 public String mFileName = null; field in SaveVideoFileInfo
/packages/modules/StatsD/statsd/tests/storage/
DStorageManager_test.cpp101 EXPECT_EQ("200_5000_123454", list[0].mFileName); in TEST()
102 EXPECT_EQ("100_2000_123454", list[1].mFileName); in TEST()
103 EXPECT_EQ("400_100009_123454_history", list[2].mFileName); in TEST()
104 EXPECT_EQ("300_2000_123454_history", list[3].mFileName); in TEST()
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.h46 : mFileName(name), in FileInfo()
51 std::string mFileName; member
/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/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DFileUploadActivity.java86 private TextView mFileName; field in FileUploadActivity
127 mFileName = findViewById(R.id.file_name); in initLayout()
200 mFileName.setText(fileName); in onActivityResult()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java743 pw.print("Name: " + storeFile.mFileName); in dump()
784 private final String mFileName; field in WifiConfigStore.StoreFile
802 mFileName = file.getAbsolutePath(); in StoreFile()
864 FileUtils.chmod(mFileName, FILE_MODE); in writeBufferedRawData()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigStore.java767 pw.print("Name: " + storeFile.mFileName); in dump()
802 private final String mFileName; field in UwbConfigStore.StoreFile
811 mFileName = file.getAbsolutePath(); in StoreFile()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppSendFileInfoTest.java82 assertThat(info.mFileName).isEqualTo(fileName); in createInstance_withFileInputStream()
200 assertThat(info.mFileName).isEqualTo(fileName); in generateFileInfo_withCorrectableMismatch_returnInfoWithCorrectLength()

12