Home
last modified time | relevance | path

Searched refs:fileInfo (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexClientSession.java352 if (fileInfo.mFileName == null || fileInfo.mLength == 0) { in processShareInfo()
361 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
362 Log.v(TAG, "length :" + fileInfo.mLength); in processShareInfo()
363 Log.v(TAG, "mimetype :" + fileInfo.mMimetype); in processShareInfo()
376 return fileInfo; in processShareInfo()
379 private int sendFile(BluetoothOppSendFileInfo fileInfo) { in sendFile() argument
476 if (position == fileInfo.mLength) { in sendFile()
534 percent = position * 100 / fileInfo.mLength; in sendFile()
550 + fileInfo.mLength); in sendFile()
558 + fileInfo.mLength); in sendFile()
[all …]
H A DBluetoothOppObexServerSession.java426 private int receiveFile(BluetoothOppReceiveFileInfo fileInfo, Operation op) { in receiveFile() argument
446 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
471 while ((!mInterrupted) && (position != fileInfo.mLength)) { in receiveFile()
488 percent = position * 100 / fileInfo.mLength; in receiveFile()
526 if (position == fileInfo.mLength) { in receiveFile()
528 Log.d(TAG, "Receiving file completed for " + fileInfo.mFileName); in receiveFile()
557 BluetoothOppReceiveFileInfo fileInfo = in processShareInfo() local
561 Log.v(TAG, "filename :" + fileInfo.mFileName); in processShareInfo()
562 Log.v(TAG, "length :" + fileInfo.mLength); in processShareInfo()
563 Log.v(TAG, "status :" + fileInfo.mStatus); in processShareInfo()
[all …]
H A DBluetoothOppUtility.java398 String fileInfo = sendFileInfo.toString(); in generateUri() local
399 int atIndex = fileInfo.lastIndexOf("@"); in generateUri()
400 fileInfo = fileInfo.substring(atIndex); in generateUri()
401 uri = Uri.parse(uri + fileInfo); in generateUri()
H A DBluetoothOppTransfer.java428 BluetoothOppSendFileInfo fileInfo = in markBatchFailed() local
431 if (fileInfo.mFileName != null) { in markBatchFailed()
432 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
433 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
434 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in markBatchFailed()
/aosp12/frameworks/base/tools/codegen/src/com/android/codegen/
H A DClassPrinter.kt15 fileInfo: FileInfo
16 ) : ClassInfo(classAst, fileInfo), Printer<ClassPrinter>, ImportsProvider {
39 val cliArgs get() = fileInfo.cliArgs
42 currentIndent = fileInfo.sourceLines
47 +fileInfo.generatedWarning
75 …if (FeatureFlag.AIDL()) fileInfo.generateAidl() //TODO guard against nested classes requesting aidl
77 generateMetadata(fileInfo.file)
89 get() = fileInfo.currentIndent
90 set(value) { fileInfo.currentIndent = value }
91 override val stringBuilder get() = fileInfo.stringBuilder
[all …]
H A DFileInfo.kt77 ClassBounds(ast, fileInfo = this)
94 mainClassBounds.fileInfo.sourceLines.subList(0, mainClassBounds.range.start)))
120 ClassPrinter(ast, fileInfo = this).print()
141 val fileInfo: FileInfo,
152 …val baseIndentLength = fileInfo.sourceLines.find { "class $name" in it }!!.takeWhile { it == ' ' }…
155 val sourceNoPrefix = fileInfo.sourceLines.drop(range.start)
170 … range.start + start - fileInfo.generatedWarningNumPrecedingEmptyLines,
213 val initial = Code(lines = classBounds.fileInfo.sourceLines.subList(
224 chunks += Code(lines = classBounds.fileInfo.sourceLines.subList(
232 GeneratedCode(classBounds.fileInfo.sourceLines.subList(
H A DMain.kt125 val fileInfo = FileInfo(sourceLisnesOriginal, cliArgs, file) regex
126 fileInfo.main()
127 file.writeText(fileInfo.stringBuilder.toString().mapLines { trimEnd() })
H A DClassInfo.kt6 open class ClassInfo(val classAst: ClassOrInterfaceDeclaration, val fileInfo: FileInfo) {
8 val fileAst = fileInfo.fileAst
/aosp12/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DPackageDynamicCodeLoading.java530 DynamicCodeFile fileInfo = mFileUsageMap.get(path); in add() local
531 if (fileInfo == null) { in add()
536 mFileUsageMap.put(path, fileInfo); in add()
539 if (fileInfo.mUserId != userId) { in add()
555 DynamicCodeFile fileInfo = it.next(); in removeUser() local
556 if (fileInfo.mUserId == userId) { in removeUser()
565 DynamicCodeFile fileInfo = mFileUsageMap.get(filePath); in removeFile() local
566 if (fileInfo == null || fileInfo.mUserId != userId) { in removeFile()
578 DynamicCodeFile fileInfo = fileIt.next(); in syncData() local
579 int fileUserId = fileInfo.mUserId; in syncData()
[all …]
H A DDynamicCodeLogger.java95 DynamicCodeFile fileInfo = fileEntry.getValue(); in logDynamicCodeLoading() local
96 int userId = fileInfo.mUserId; in logDynamicCodeLoading()
149 String subtag = fileInfo.mFileType == FILE_TYPE_DEX in logDynamicCodeLoading()
164 for (String loadingPackageName : fileInfo.mLoadingPackages) { in logDynamicCodeLoading()
/aosp12/frameworks/base/telephony/java/android/telephony/mbms/
H A DFileInfo.java97 FileInfo fileInfo = (FileInfo) o; in equals() local
98 return Objects.equals(uri, fileInfo.uri) && in equals()
99 Objects.equals(mimeType, fileInfo.mimeType); in equals()
H A DInternalDownloadProgressListener.java39 public void onProgressUpdated(final DownloadRequest request, final FileInfo fileInfo, in onProgressUpdated() argument
51 mAppListener.onProgressUpdated(request, fileInfo, currentDownloadSize, in onProgressUpdated()
H A DInternalDownloadStatusListener.java39 public void onStatusUpdated(final DownloadRequest request, final FileInfo fileInfo, in onStatusUpdated() argument
50 mAppListener.onStatusUpdated(request, fileInfo, status); in onStatusUpdated()
H A DDownloadProgressListener.java44 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onProgressUpdated() argument
H A DIDownloadStatusListener.aidl28 void onStatusUpdated(in DownloadRequest request, in FileInfo fileInfo, int status); in onStatusUpdated() argument
H A DIDownloadProgressListener.aidl32 void onProgressUpdated(in DownloadRequest request, in FileInfo fileInfo, in onProgressUpdated() argument
H A DDownloadStatusListener.java43 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onStatusUpdated() argument
/aosp12/frameworks/base/tools/bit/
H A Dutil.cpp74 fileInfo() in TrackedFile()
81 fileInfo = that.fileInfo; in TrackedFile()
86 fileInfo(file) in TrackedFile()
98 return !updated.exists || fileInfo != updated; in HasChanged()
H A Dutil.h48 FileInfo fileInfo; member
/aosp12/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
H A DEmbmsTestDownloadApp.java314 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate()
318 "Progress Updated (" + fileInfo + ") cd: " + currentDecodedSize in onCreate()
342 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate()
345 "State Updated (" + fileInfo + ") state: " + state, in onCreate()
369 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate()
372 "State Updated (" + fileInfo + ") state: " + state, in onCreate()
380 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate()
384 "Progress Updated (" + fileInfo + ") cd: " + currentDecodedSize in onCreate()
/aosp12/frameworks/base/telephony/java/android/telephony/mbms/vendor/
H A DMbmsDownloadServiceBase.java61 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onStatusUpdated() argument
64 mListener.onStatusUpdated(request, fileInfo, state); in onStatusUpdated()
81 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onProgressUpdated() argument
85 mListener.onProgressUpdated(request, fileInfo, currentDownloadSize, in onProgressUpdated()
525 public int requestDownloadState(DownloadRequest downloadRequest, FileInfo fileInfo) in requestDownloadState() argument
H A DIMbmsDownloadService.aidl58 int requestDownloadState(in DownloadRequest downloadRequest, in FileInfo fileInfo); in requestDownloadState() argument
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DPackageDynamicCodeLoadingTests.java496 DynamicCodeFile fileInfo = fileEntry.getValue(); in entriesFrom() local
497 for (String loadingPackage : fileInfo.mLoadingPackages) { in entriesFrom()
498 entries.add(new Entry(owningPackage, path, fileInfo.mFileType, fileInfo.mUserId, in entriesFrom()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
H A DDexManagerTests.java938 for (DynamicCodeFile fileInfo : info.mFileUsageMap.values()) { in assertNoDclInfo()
939 assertNotEquals(userId, fileInfo.mUserId); in assertNoDclInfo()
947 DynamicCodeFile fileInfo = info.mFileUsageMap.get(path); in assertHasDclInfo() local
948 assertNotNull("No DCL data for path " + path, fileInfo); in assertHasDclInfo()
949 assertEquals(PackageDynamicCodeLoading.FILE_TYPE_DEX, fileInfo.mFileType); in assertHasDclInfo()
950 assertEquals(owner.mUserId, fileInfo.mUserId); in assertHasDclInfo()
952 fileInfo.mLoadingPackages.contains(loader.getPackageName())); in assertHasDclInfo()
/aosp12/build/soong/finder/
H A Dfinder.go1278 fileInfo, err := f.filesystem.Lstat(path)
1287 modTime := fileInfo.ModTime()
1289 inode, err := f.filesystem.InodeNumber(fileInfo)
1294 device, err := f.filesystem.DeviceNumber(fileInfo)
1299 permissionsChangeTime, err := f.filesystem.PermTime(fileInfo)

12