Home
last modified time | relevance | path

Searched refs:mFileName (Results 1 – 25 of 34) 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/modules/Gki/test/src/com/android/gki/tests/
DGkiInstallTest.java81 public String mFileName; field in GkiInstallTest
110 if (mFileName.endsWith(HIGH_SUFFIX)) { in inferPackageName()
111 mPackageName = mFileName.substring(0, mFileName.length() - HIGH_SUFFIX.length()); in inferPackageName()
113 } else if (mFileName.endsWith(LOW_SUFFIX)) { in inferPackageName()
114 mPackageName = mFileName.substring(0, mFileName.length() - LOW_SUFFIX.length()); in inferPackageName()
117 fail("Unrecognized test data file: " + mFileName); in inferPackageName()
175 mApexFile = buildHelper.getTestFile(mFileName); in findTestApexFile()
180 assertThat("Test is not built properly. It does not contain a non-empty " + mFileName, in findTestApexFile()
/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/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()
672 if (mInfoDelta.mFileName != null) { in finalizeDestination()
673 new File(mInfoDelta.mFileName).delete(); in finalizeDestination()
674 mInfoDelta.mFileName = null; in finalizeDestination()
679 if (mInfoDelta.mFileName != null) { in finalizeDestination()
680 if (Helpers.isFileInExternalAndroidDirs(mInfoDelta.mFileName)) { in finalizeDestination()
684 File file = new File(mInfoDelta.mFileName); in finalizeDestination()
690 final File before = new File(mInfoDelta.mFileName); in finalizeDestination()
[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()
/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()
DBluetoothOppTransferActivity.java266 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
285 tmp = getString(R.string.download_line2, mTransInfo.mFileName); in customizeViewContent()
307 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
318 tmp = getString(R.string.download_fail_line2, mTransInfo.mFileName); in customizeViewContent()
333 tmp = getString(R.string.upload_fail_line1_2, mTransInfo.mFileName); in customizeViewContent()
356 BluetoothOppUtility.openReceivedFile(this, mTransInfo.mFileName, in onClick()
DBluetoothOppReceiver.java143 BluetoothOppUtility.openReceivedFile(context, transInfo.mFileName, in onReceive()
245 transInfo.mFileName); in onReceive()
259 toastMsg = context.getString(R.string.notification_sent, transInfo.mFileName); in onReceive()
262 context.getString(R.string.notification_received, transInfo.mFileName); in onReceive()
268 context.getString(R.string.notification_sent_fail, transInfo.mFileName); in onReceive()
DBluetoothOppObexServerSession.java356 if (mFileInfo.mFileName == null) { in onPut()
365 if (mFileInfo.mFileName != null && mFileInfo.mInsertUri != null) { in onPut()
369 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
446 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
528 Log.d(TAG, "Receiving file completed for " + fileInfo.mFileName); in receiveFile()
561 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.java64 public String mFileName; field in BluetoothOppReceiveFileInfo
81 mFileName = filename; in BluetoothOppReceiveFileInfo()
DBluetoothOppTransferInfo.java54 String mFileName; field in BluetoothOppTransferInfo
/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/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/modules/StatsD/statsd/tests/storage/
DStorageManager_test.cpp94 EXPECT_EQ("200_5000_123454", list[0].mFileName); in TEST()
95 EXPECT_EQ("100_2000_123454", list[1].mFileName); in TEST()
96 EXPECT_EQ("400_100009_123454_history", list[2].mFileName); in TEST()
97 EXPECT_EQ("300_2000_123454_history", list[3].mFileName); in TEST()
/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/modules/StatsD/statsd/src/storage/
DStorageManager.h36 : mFileName(name), in FileInfo()
41 std::string mFileName; member
DStorageManager.cpp673 return lhs.mFileName.compare(rhs.mFileName) > 0; in sortFiles()
731 deleteFile(fileNames.at(fileNames.size() - 1).mFileName.c_str()); in trimToFit()
/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()
199 mFileName.setText(fileName); in onActivityResult()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java820 pw.print("Name: " + storeFile.mFileName); in dump()
861 private final String mFileName; field in WifiConfigStore.StoreFile
879 mFileName = file.getAbsolutePath(); in StoreFile()
941 FileUtils.chmod(mFileName, FILE_MODE); in writeBufferedRawData()
/packages/apps/Bluetooth/tests/robotests/src/com/android/bluetooth/opp/
DOppSendFileInfoTest.java69 assertThat(sendFileInfo.mFileName).isEqualTo("OppTestFile.txt"); in testFileOpen()

12