/frameworks/base/tests/ApkVerityTest/block_device_writer/ |
D | block_device_writer.cpp | 55 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/ |
D | tdi | 5 file_name='tdi' 14 echo "Usage: $file_name $cmd <dc> <count> <cause> <retry-time>"
|
/frameworks/base/startop/scripts/iorap/ |
D | analyze_prefetch_file.py | 130 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
|
D | compiler_ri.py | 103 def is_filename_matching_filter(file_name, filters=[]): argument 110 res = re.search(filt, file_name) 151 file_index_entry.file_name = filename
|
D | compile_handcrafted_file.py | 227 file_index_entry.file_name = filename
|
/frameworks/av/media/libstagefright/xmlparser/vts/ |
D | ValidateMediaCodecs.cpp | 57 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/ |
D | ValidatePermission.cpp | 58 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/ |
D | ValidateDefaultPermissions.cpp | 58 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/ |
D | test_base_remote.py | 40 def set_src_map(self, file_name, new_src_path): argument 53 + file_name) 58 + file_name)
|
/frameworks/native/cmds/dumpstate/ |
D | DumpPool.cpp | 161 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/ |
D | Files.cpp | 363 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/ |
D | Idmap2Service.cpp | 245 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/ |
D | Compile_test.cpp | 195 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/ |
D | analyze_metrics.py | 440 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/ |
D | build_rs.py | 185 file_name = os.path.basename(built_file) 190 ['strip', os.path.join(install_path, file_name)])
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 723 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/ |
D | otapreopt.cpp | 636 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()
|
D | dexopt.cpp | 841 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/ |
D | android_content_res_ApkAssets.cpp | 411 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/ |
D | Asset.cpp | 681 const char* fname = mMap->file_name(); in openFileDescriptor()
|
D | AssetManager.cpp | 944 dataMap->file_name(), mode, pAsset.get()); in openAssetFromZipLocked() 949 dataMap->file_name(), mode, pAsset.get()); in openAssetFromZipLocked()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 1703 std::string file_name(de->d_name); in getTempFileCounts() local 1704 if (file_name.find(DumpPool::PREFIX_TMPFILE_NAME) != 0) { in getTempFileCounts()
|