/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 474 string file_name = StorageManager::getDataHistoryFileName((long)getWallClockSec(), in onConfigMetricsReportLocked() local 476 StorageManager::writeFile(file_name.c_str(), buffer->data(), buffer->size()); in onConfigMetricsReportLocked() 596 string file_name = in WriteDataToDiskLocked() local 598 StorageManager::writeFile(file_name.c_str(), buffer.data(), buffer.size()); in WriteDataToDiskLocked() 619 string file_name = StringPrintf("%s/active_metrics", STATS_ACTIVE_METRIC_DIR); in SaveActiveConfigsToDisk() local 620 StorageManager::deleteFile(file_name.c_str()); in SaveActiveConfigsToDisk() 622 open(file_name.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR)); in SaveActiveConfigsToDisk() 624 ALOGE("Attempt to write %s but failed", file_name.c_str()); in SaveActiveConfigsToDisk() 648 string file_name = StringPrintf("%s/active_metrics", STATS_ACTIVE_METRIC_DIR); in LoadActiveConfigsFromDisk() local 649 int fd = open(file_name.c_str(), O_RDONLY | O_CLOEXEC); in LoadActiveConfigsFromDisk() [all …]
|
/frameworks/opt/telephony/tools/ |
D | tdi | 5 file_name='tdi' 14 echo "Usage: $file_name $cmd <dc> <count> <cause> <retry-time>"
|
/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/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/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 | 485 string file_name = output.getFullFileName(STATS_SERVICE_DIR); in readConfigFromDisk() local 486 int fd = open(file_name.c_str(), O_RDONLY | O_CLOEXEC); in readConfigFromDisk() 594 string file_name = output.getFullFileName(path); in trimToFit() local 600 deleteFile(file_name.c_str()); in trimToFit() 604 ifstream file(file_name.c_str(), ifstream::in | ifstream::binary); in trimToFit() 612 fileNames.emplace_back(file_name, output.mIsHistory, fileSize, fileAge); in trimToFit() 655 string file_name = output.getFullFileName(path); in printDirStats() local 656 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/core/jni/ |
D | android_content_res_ApkAssets.cpp | 113 static jlong NativeOpenXml(JNIEnv* env, jclass /*clazz*/, jlong ptr, jstring file_name) { in NativeOpenXml() argument 114 ScopedUtfChars path_utf8(env, file_name); in NativeOpenXml()
|
/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/base/cmds/statsd/src/config/ |
D | ConfigManager.cpp | 310 string file_name = in update_saved_configs_locked() local 313 StorageManager::writeFile(file_name.c_str(), &buffer[0], numBytes); in update_saved_configs_locked()
|
/frameworks/rs/ |
D | build_rs.py | 185 file_name = os.path.basename(built_file) 190 ['strip', os.path.join(install_path, file_name)])
|
/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 628 std::string file_name(file_name_start, file_name_len); in calculate_oat_file_path() local 636 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()
|