/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileUtilsTest.java | 645 final File file = new File(mDir, name); in touch() local 650 private void writeFile(File file, String data) throws Exception { in writeFile() 654 private void writeFile(File file, byte[] data) throws Exception { in writeFile() 660 private byte[] readFile(File file) throws Exception { in readFile()
|
/aosp12/frameworks/base/cmds/incidentd/src/ |
H A D | Broadcaster.cpp | 173 for (const sp<ReportFile>& file: files) { in sendBroadcasts() local 330 sp<ReportFile> file = mWorkDirectory->getReport(reportId.pkg, reportId.cls, reportId.id, in report_approved() local 357 sp<ReportFile> file = mWorkDirectory->getReport(reportId.pkg, reportId.cls, reportId.id, in report_denied() local 385 status_t Broadcaster::send_to_dropbox(const sp<ReportFile>& file, in send_to_dropbox()
|
/aosp14/frameworks/base/cmds/incidentd/src/ |
H A D | Broadcaster.cpp | 173 for (const sp<ReportFile>& file: files) { in sendBroadcasts() local 330 sp<ReportFile> file = mWorkDirectory->getReport(reportId.pkg, reportId.cls, reportId.id, in report_approved() local 357 sp<ReportFile> file = mWorkDirectory->getReport(reportId.pkg, reportId.cls, reportId.id, in report_denied() local 385 status_t Broadcaster::send_to_dropbox(const sp<ReportFile>& file, in send_to_dropbox()
|
/aosp14/frameworks/base/tools/aapt2/cmd/ |
H A D | Convert.cpp | 99 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile() 171 bool SerializeFile(FileReference* file, IArchiveWriter* writer) override { in SerializeFile() 304 FileReference* file = ValueCast<FileReference>(config_value->value.get()); in Convert() local 337 io::IFile* file = iterator->Next(); in Convert() local
|
/aosp14/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileUtilsTest.java | 705 final File file = new File(mDir, name); in touch() local 710 private void writeFile(File file, String data) throws Exception { in writeFile() 714 private void writeFile(File file, byte[] data) throws Exception { in writeFile() 720 private byte[] readFile(File file) throws Exception { in readFile()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
H A D | DebugSmsMmsFromDumpFileDialogFragment.java | 110 final String file = getItem(position); in getView() local 159 private void emailDumpFile(final String file) { in emailDumpFile()
|
/aosp12/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
H A D | RandomAccessObject.java | 43 public static RandomAccessObject ofFile(File file) throws IOException { in ofFile() 57 RandomAccessFileObject(File file) throws IOException { in RandomAccessFileObject()
|
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
H A D | RandomAccessObject.java | 43 public static RandomAccessObject ofFile(File file) throws IOException { in ofFile() 57 RandomAccessFileObject(File file) throws IOException { in RandomAccessFileObject()
|
/aosp12/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.cpp | 236 auto file = OpenFile("tasks", O_RDWR); in AttachTask() local 258 if (auto file = OpenFilePointer("tasks")) { in GetTasks() local 272 if (auto file = OpenPropertyFilePointer("cpus")) { in GetCpuList() local
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserDataPreparer.java | 298 void enforceSerialNumber(File file, int serialNumber) throws IOException { in enforceSerialNumber() 321 private static void setSerialNumber(File file, int serialNumber) throws IOException { in setSerialNumber() 336 static int getSerialNumber(File file) throws IOException { in getSerialNumber()
|
/aosp12/frameworks/base/tools/aapt/ |
H A D | OutputSet.h | 30 OutputEntry(const android::String8& path, const android::sp<const AaptFile>& file) in OutputEntry()
|
/aosp12/art/libelffile/stream/ |
H A D | file_output_stream.cc | 26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} in FileOutputStream()
|
/aosp12/system/extras/tests/cpueater/ |
H A D | daemonize.c | 36 char *file = 0; in main() local
|
/aosp12/packages/apps/Settings/src/com/android/settings/ |
H A D | ManualDisplayActivity.java | 47 final File file = new File(MANUAL_PATH); in onCreate() local
|
/aosp12/system/apex/apexer/ |
H A D | apex_manifest.py | 29 def ValidateApexManifest(file): argument
|
/aosp12/frameworks/base/tools/aapt2/io/ |
H A D | File.h | 73 explicit FileSegment(IFile* file, size_t offset, size_t len) in FileSegment()
|
H A D | Util.cpp | 44 bool CopyFileToArchive(IAaptContext* context, io::IFile* file, const std::string& out_path, in CopyFileToArchive() 55 bool CopyFileToArchivePreserveCompression(IAaptContext* context, io::IFile* file, in CopyFileToArchivePreserveCompression()
|
/aosp14/frameworks/base/tools/aapt2/io/ |
H A D | File.h | 72 explicit FileSegment(IFile* file, size_t offset, size_t len) in FileSegment()
|
H A D | Util.cpp | 46 bool CopyFileToArchive(IAaptContext* context, io::IFile* file, std::string_view out_path, in CopyFileToArchive() 58 bool CopyFileToArchivePreserveCompression(IAaptContext* context, io::IFile* file, in CopyFileToArchivePreserveCompression()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | OutputSet.h | 30 OutputEntry(const android::String8& path, const android::sp<const AaptFile>& file) in OutputEntry()
|
/aosp12/frameworks/multidex/library/src/androidx/multidex/ |
H A D | MultiDex.java | 589 Object newInstance(File file, DexFile dex) in newInstance() 608 public Object newInstance(File file, DexFile dex) in newInstance() 631 public Object newInstance(File file, DexFile dex) in newInstance() 654 public Object newInstance(File file, DexFile dex) in newInstance() 715 File file = files.get(i); in makeDexElements() local
|
/aosp12/packages/modules/Connectivity/core/tests/coretests/src/com/android/internal/net/ |
H A D | NetworkStatsFactoryTest.java | 132 private void stageFile(int rawId, File file) throws Exception { in stageFile() 146 private void stageLong(long value, File file) throws Exception { in stageLong()
|
/aosp12/system/apex/tests/src/com/android/tests/apex/ |
H A D | ApexdHostTest.java | 297 File file = File.createTempFile("foo", "bar"); in testSessionsDirMigrationToMetadata() local 320 final File file = in testFailsToActivateApexOnDataFallbacksToPreInstalled() local
|
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | VolumeCache.java | 144 public @NonNull MediaVolume findVolumeForFile(@NonNull File file) throws FileNotFoundException { in findVolumeForFile() 164 public @NonNull String getVolumeId(@NonNull File file) throws FileNotFoundException { in getVolumeId()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
H A D | single_dict_content.h | 54 bool flush(FILE *const file) const { in flush()
|