Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp216 string file_name = getFilePath(STATS_DATA_DIR, timestamp, uid, configID); in appendConfigMetricsReport() local
217 int fd = open(file_name.c_str(), O_RDONLY | O_CLOEXEC); in appendConfigMetricsReport()
228 remove(file_name.c_str()); in appendConfigMetricsReport()
267 string file_name = getFilePath(STATS_SERVICE_DIR, timestamp, uid, configID); in readConfigFromDisk() local
268 int fd = open(file_name.c_str(), O_RDONLY | O_CLOEXEC); in readConfigFromDisk()
353 string file_name = getFilePath(path, timestamp, uid, configID); in trimToFit() local
358 deleteFile(file_name.c_str()); in trimToFit()
361 fileNames.push_back(file_name); in trimToFit()
362 ifstream file(file_name.c_str(), ifstream::in | ifstream::binary); in trimToFit()
381 string file_name = fileNames.at(fileNames.size() - 1); in trimToFit() local
[all …]
/frameworks/opt/telephony/tools/
Dtdi5 file_name='tdi'
14 echo "Usage: $file_name $cmd <dc> <count> <cause> <retry-time>"
/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/tools/aapt2/util/
DFiles.cpp307 std::string file_name = entry->d_name; in FindFiles() local
309 AppendPath(&full_path, file_name); in FindFiles()
313 if (!(*filter)(file_name, file_type)) { in FindFiles()
319 subdirs.push_back(std::move(file_name)); in FindFiles()
321 files.push_back(std::move(file_name)); in FindFiles()
/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/cmds/statsd/src/config/
DConfigManager.cpp276 string file_name = in update_saved_configs_locked() local
279 StorageManager::writeFile(file_name.c_str(), &buffer[0], numBytes); in update_saved_configs_locked()
/frameworks/rs/
Dbuild_rs.py187 file_name = os.path.basename(built_file)
192 ['strip', os.path.join(install_path, file_name)])
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp514 string file_name = StringPrintf("%s/%ld_%d_%lld", STATS_DATA_DIR, in WriteDataToDiskLocked() local
516 android::base::unique_fd fd(open(file_name.c_str(), in WriteDataToDiskLocked()
519 ALOGE("Attempt to write %s but failed", file_name.c_str()); in WriteDataToDiskLocked()
/frameworks/native/cmds/installd/
Dotapreopt.cpp794 std::string file_name(file_name_start, file_name_len); in calculate_oat_file_path() local
802 file_name.c_str(), in calculate_oat_file_path()
Ddexopt.cpp1109 static int open_output_file(const char* file_name, bool recreate, int permissions) { in open_output_file() argument
1112 if (unlink(file_name) < 0) { in open_output_file()
1114 PLOG(ERROR) << "open_output_file: Couldn't unlink " << file_name; in open_output_file()
1119 return open(file_name, flags, permissions); in open_output_file()