/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/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 685 string file_name = StorageManager::getDataHistoryFileName((long)getWallClockSec(), in onConfigMetricsReportLocked() local 687 StorageManager::writeFile(file_name.c_str(), buffer->data(), buffer->size()); in onConfigMetricsReportLocked() 809 string file_name = in WriteDataToDiskLocked() local 811 StorageManager::writeFile(file_name.c_str(), buffer.data(), buffer.size()); in WriteDataToDiskLocked() 832 string file_name = StringPrintf("%s/active_metrics", STATS_ACTIVE_METRIC_DIR); in SaveActiveConfigsToDisk() local 833 StorageManager::deleteFile(file_name.c_str()); in SaveActiveConfigsToDisk() 835 open(file_name.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR)); in SaveActiveConfigsToDisk() 837 ALOGE("Attempt to write %s but failed", file_name.c_str()); in SaveActiveConfigsToDisk() 859 string file_name = StringPrintf("%s/metadata", STATS_METADATA_DIR); in SaveMetadataToDisk() local 860 StorageManager::deleteFile(file_name.c_str()); in SaveMetadataToDisk() [all …]
|
/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 | 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/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/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/base/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 586 string file_name = output.getFullFileName(STATS_SERVICE_DIR); in readConfigFromDisk() local 587 int fd = open(file_name.c_str(), O_RDONLY | O_CLOEXEC); in readConfigFromDisk() 693 string file_name; in trimToFit() local 695 file_name = StringPrintf("%s/%s", path, name); in trimToFit() 700 file_name = output.getFullFileName(path); in trimToFit() 708 deleteFile(file_name.c_str()); in trimToFit() 712 ifstream file(file_name.c_str(), ifstream::in | ifstream::binary); in trimToFit() 720 fileNames.emplace_back(file_name, output.mIsHistory, fileSize, fileAge); in trimToFit() 763 string file_name = output.getFullFileName(path); in printDirStats() local 764 ifstream file(file_name.c_str(), ifstream::in | ifstream::binary); in printDirStats()
|
/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/tools/aapt2/cmd/ |
D | Compile_test.cpp | 194 static void AssertTranslations(CommandTestFixture *ctf, std::string file_name, in AssertTranslations() argument 199 const std::string source_file = ctf->GetTestPath("/res/values/" + file_name + ".xml"); in AssertTranslations() 200 const std::string compiled_files_dir = ctf->GetTestPath("/compiled_" + file_name); in AssertTranslations() 201 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/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 367 string file_name = in update_saved_configs_locked() local 370 StorageManager::writeFile(file_name.c_str(), &buffer[0], numBytes); in update_saved_configs_locked()
|
/frameworks/base/core/jni/ |
D | android_content_res_ApkAssets.cpp | 336 static jlong NativeOpenXml(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring file_name) { in NativeOpenXml() argument 337 ScopedUtfChars path_utf8(env, file_name); in NativeOpenXml()
|
/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 627 std::string file_name(file_name_start, file_name_len); in calculate_oat_file_path() local 635 file_name.c_str(), in calculate_oat_file_path()
|
D | dexopt.cpp | 1146 static int open_output_file(const char* file_name, bool recreate, int permissions) { in open_output_file() argument 1149 if (unlink(file_name) < 0) { in open_output_file() 1151 PLOG(ERROR) << "open_output_file: Couldn't unlink " << file_name; in open_output_file() 1156 return open(file_name, flags, permissions); in open_output_file()
|