Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp474 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/
Dtdi5 file_name='tdi'
14 echo "Usage: $file_name $cmd <dc> <count> <cause> <retry-time>"
/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/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/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/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/base/cmds/statsd/src/storage/
DStorageManager.cpp485 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/
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/tools/aapt2/cmd/
DCompile_test.cpp194 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/
Dandroid_content_res_ApkAssets.cpp113 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/
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/base/cmds/statsd/src/config/
DConfigManager.cpp310 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/
Dbuild_rs.py185 file_name = os.path.basename(built_file)
190 ['strip', os.path.join(install_path, file_name)])
/frameworks/native/cmds/installd/
Dotapreopt.cpp628 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()
Ddexopt.cpp1146 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()