Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/tests/ApkVerityTest/block_device_writer/
Dblock_device_writer.cpp55 const char* file_name; member
96 int64_t get_physical_offset(const char* file_name, uint64_t byte_offset) { in get_physical_offset() argument
97 android::base::unique_fd fd(open(file_name, O_RDONLY)); in get_physical_offset()
99 fprintf(stderr, "open %s failed\n", file_name); in get_physical_offset()
196 args->file_name = *(arg++); in parse_args()
218 pinned_file = std::make_unique<ScopedF2fsFilePinning>(args->file_name); in main()
221 int64_t physical_offset_signed = get_physical_offset(args->file_name, args->byte_offset); in main()
/frameworks/opt/telephony/tools/
Dtdi5 file_name='tdi'
14 echo "Usage: $file_name $cmd <dc> <count> <cause> <retry-time>"
/frameworks/base/startop/scripts/iorap/
Danalyze_prefetch_file.py130 entries_map[entry.id] = entry.file_name
142 file_name = entries_map[entry.index_id]
144 … FileEntry(id=entry.index_id, name=file_name, offset=entry.file_offset, length=entry.file_length)
148 final_map[file_name] = lst
Dcompiler_ri.py103 def is_filename_matching_filter(file_name, filters=[]): argument
110 res = re.search(filt, file_name)
151 file_index_entry.file_name = filename
Dcompile_handcrafted_file.py227 file_index_entry.file_name = filename
/frameworks/av/media/libstagefright/xmlparser/vts/
DValidateMediaCodecs.cpp57 for (std::string file_name : files) { in TEST() local
58 EXPECT_ONE_VALID_XML_MULTIPLE_LOCATIONS(file_name.c_str(), {location}, in TEST()
/frameworks/base/core/xsd/vts/
DValidatePermission.cpp58 for (std::string file_name : files) { in TEST() local
59 EXPECT_ONE_VALID_XML_MULTIPLE_LOCATIONS(file_name.c_str(), {location}, in TEST()
/frameworks/base/services/core/xsd/vts/
DValidateDefaultPermissions.cpp58 for (auto& file_name : files) { in TEST() local
59 EXPECT_ONE_VALID_XML_MULTIPLE_LOCATIONS(file_name.c_str(), {dir_path}, in TEST()
/frameworks/rs/tests/lldb/tests/harness/
Dtest_base_remote.py40 def set_src_map(self, file_name, new_src_path): argument
53 + file_name)
58 + file_name)
/frameworks/native/cmds/dumpstate/
DDumpPool.cpp161 std::string file_name(de->d_name); in deleteTempFiles() local
162 if (file_name.find(PREFIX_TMPFILE_NAME) != 0) { in deleteTempFiles()
165 if (unlinkat(dir_fd, file_name.c_str(), 0)) { in deleteTempFiles()
166 MYLOGE("Failed to unlink (%s): %s\n", file_name.c_str(), in deleteTempFiles()
/frameworks/base/tools/aapt2/util/
DFiles.cpp363 std::string file_name = entry->d_name; in FindFiles() local
365 AppendPath(&full_path, file_name); in FindFiles()
369 if (!(*filter)(file_name, file_type)) { in FindFiles()
375 subdirs.push_back(std::move(file_name)); in FindFiles()
377 files.push_back(std::move(file_name)); in FindFiles()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp245 std::string file_name; in createFabricatedOverlay() local
249 file_name = StringPrintf("%s-%s-%s.frro", overlay.packageName.c_str(), in createFabricatedOverlay()
251 path = StringPrintf("%s/%s", kIdmapCacheDir, file_name.c_str()); in createFabricatedOverlay()
256 if (file_name.size() > kMaxFileNameLength) { in createFabricatedOverlay()
259 file_name.c_str(), kMaxFileNameLength)); in createFabricatedOverlay()
/frameworks/base/tools/aapt2/cmd/
DCompile_test.cpp195 static void AssertTranslations(CommandTestFixture *ctf, std::string file_name, in AssertTranslations() argument
200 const std::string source_file = ctf->GetTestPath("/res/values/" + file_name + ".xml"); in AssertTranslations()
201 const std::string compiled_files_dir = ctf->GetTestPath("/compiled_" + file_name); in AssertTranslations()
202 const std::string out_apk = ctf->GetTestPath("/" + file_name + ".apk"); in AssertTranslations()
/frameworks/base/startop/scripts/app_startup/
Danalyze_metrics.py440 for file_name in opts.input_files:
441 with open(file_name, 'r') as input_file:
445 with open(file_name, 'r') as input_file:
/frameworks/rs/
Dbuild_rs.py185 file_name = os.path.basename(built_file)
190 ['strip', os.path.join(install_path, file_name)])
/frameworks/base/tools/fonts/
Dfontchain_linter.py723 file_name, index = record.font
734 assert psName == file_name[:-4], ('file name %s should match with %s' % (
735 file_name, psName))
/frameworks/native/cmds/installd/
Dotapreopt.cpp636 std::string file_name(file_name_start, file_name_len); in calculate_oat_file_path() local
644 file_name.c_str(), in calculate_oat_file_path()
Ddexopt.cpp841 static int open_output_file(const char* file_name, bool recreate, int permissions) { in open_output_file() argument
844 if (unlink(file_name) < 0) { in open_output_file()
846 PLOG(ERROR) << "open_output_file: Couldn't unlink " << file_name; in open_output_file()
851 return open(file_name, flags, permissions); in open_output_file()
/frameworks/base/core/jni/
Dandroid_content_res_ApkAssets.cpp411 static jlong NativeOpenXml(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring file_name) { in NativeOpenXml() argument
412 ScopedUtfChars path_utf8(env, file_name); in NativeOpenXml()
/frameworks/base/libs/androidfw/
DAsset.cpp681 const char* fname = mMap->file_name(); in openFileDescriptor()
DAssetManager.cpp944 dataMap->file_name(), mode, pAsset.get()); in openAssetFromZipLocked()
949 dataMap->file_name(), mode, pAsset.get()); in openAssetFromZipLocked()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1703 std::string file_name(de->d_name); in getTempFileCounts() local
1704 if (file_name.find(DumpPool::PREFIX_TMPFILE_NAME) != 0) { in getTempFileCounts()