/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | device_properties.cc | 50 DeviceProperties::DeviceProperties(const std::string& file_name) argument 80 file_name.c_str()); 81 if (!base::ReadFileToString(base::FilePath(file_name), &properties_raw)) {
|
/system/core/adb/ |
H A D | bugreport.h | 45 virtual void UpdateProgress(const std::string& file_name, int progress_percentage);
|
/system/core/fs_mgr/ |
H A D | fs_mgr_boot_config.cpp | 67 std::string file_name = get_android_dt_dir() + "/" + key; local 68 if (android::base::ReadFileToString(file_name, out_val)) {
|
H A D | fs_mgr_fstab.cpp | 193 static bool read_dt_file(const std::string& file_name, std::string* dt_value) argument 195 if (android::base::ReadFileToString(file_name, dt_value)) { 402 std::string file_name = get_android_dt_dir() + "/fstab/compatible"; local 403 if (read_dt_file(file_name, &dt_value)) { 430 std::string file_name; local 433 file_name = android::base::StringPrintf("%s/%s/status", fstabdir_name.c_str(), dp->d_name); 434 if (read_dt_file(file_name, &value)) { 441 file_name = android::base::StringPrintf("%s/%s/dev", fstabdir_name.c_str(), dp->d_name); 442 if (!read_dt_file(file_name, &value)) { 449 file_name 495 std::string file_name = get_android_dt_dir() + "/compatible"; local 904 std::string file_name = get_android_dt_dir() + "/boot_devices"; local [all...] |
/system/update_engine/ |
H A D | p2p_manager_unittest.cc | 167 string file_name; local 171 file_name = base::StringPrintf( 174 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); 176 file_name = base::StringPrintf( 179 EXPECT_TRUE(utils::FileExists(file_name.c_str())); 240 string file_name; local 244 file_name = base::StringPrintf( 247 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); 249 file_name = base::StringPrintf( 252 EXPECT_TRUE(utils::FileExists(file_name 258 CheckP2PFile(const string& p2p_dir, const string& file_name, ssize_t expected_size, ssize_t expected_size_xattr) argument 312 CreateP2PFile(string p2p_dir, string file_name, size_t size, size_t size_xattr) argument [all...] |
/system/media/camera/docs/ |
H A D | metadata_parser_xml.py | 64 def __init__(self, xml, file_name): 71 file_name: Source of the XML block, only for debugging/errors 79 raise ValueError("%s has an invalid XML file" % (file_name)) 86 def create_from_file(file_name): 91 file_name: Name of the XML file to load and parse. 99 return MetadataParserXml(file(file_name).read(), file_name) 363 file_name = sys.argv[1] variable in class:MetadataParserXml 368 parser = MetadataParserXml.create_from_file(file_name)
|
H A D | metadata_validate.py | 353 file_name = sys.argv[1] variable 354 succ = validate_xml(file(file_name).read()) is not None 357 print "%s: SUCCESS! Document validated" %(file_name) 360 print >> sys.stderr, "%s: ERRORS: Document failed to validate" %(file_name)
|
/system/nfc/src/adaptation/ |
H A D | nfc_config.cc | 34 const string file_name = "libnfc-nci.conf"; local 37 path.append(file_name);
|
/system/nfc/utils/ |
H A D | config.cc | 110 void ConfigFile::parseFromFile(const std::string& file_name) { argument 112 bool config_read = ReadFileToString(file_name, &config); 114 LOG(INFO) << "ConfigFile - Parsing file '" << file_name << "'";
|
/system/nfc/utils/include/ |
H A D | config.h | 46 void parseFromFile(const std::string& file_name);
|
/system/extras/boottime_tools/io_analysis/ |
H A D | check_file_read.py | 129 def __init__(self, open_time, file_name, process_name, inode, flags): 130 self.file_name = file_name 157 % (self.file_name, self.read.total_access, self.write.total_access, self.total_open,\ 172 print " filename %s, total reads %d, total writes %d" % (self.file_name, 263 file_name = match.group(4) 268 #print "open", pid, process_name, file_name, inode 270 if file_name.startswith(p): 274 print "Ignore open for file", file_name 279 fevent = FileEvent(time, file_name, process_nam [all...] |
/system/bt/vendor_libs/test_vendor_lib/include/ |
H A D | device_properties.h | 46 explicit DeviceProperties(const std::string& file_name);
|
/system/core/libunwindstack/tools/ |
H A D | unwind_for_offline.cpp | 84 std::string file_name; local 86 file_name = "stack" + std::to_string(i) + ".data"; 88 file_name = "stack.data"; 103 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(file_name.c_str(), "w+"), &fclose);
|
/system/extras/tests/fstest/ |
H A D | recovery_test.cpp | 50 explicit DataFileVerifier(const char* file_name) { argument 51 strncpy(test_file_, file_name, FILENAME_MAX);
|
/system/core/libnativeloader/ |
H A D | native_loader.cpp | 137 static void insert_vndk_version_str(std::string* file_name) { argument 138 CHECK(file_name != nullptr); 139 size_t insert_pos = file_name->find_last_of("."); 141 insert_pos = file_name->length(); 143 file_name->insert(insert_pos, vndk_version_str());
|
/system/extras/simpleperf/scripts/ |
H A D | report_html.py | 436 for file_name in file_names: 437 if self.is_source_filename(file_name): 438 rparents = self.filename_to_rparents.get(file_name) 440 rparents = self.filename_to_rparents[file_name] = [] 447 abstract_parent, file_name = os.path.split(abstract_path) 449 real_rparents = self.filename_to_rparents.get(file_name) 461 return os.path.join(best_matched_rparent[::-1], file_name)
|
/system/core/libprocessgroup/ |
H A D | processgroup.cpp | 324 static bool SetProcessGroupValue(uid_t uid, int pid, const std::string& file_name, int64_t value) { argument 330 auto path = ConvertUidPidToPath(uid, pid) + file_name;
|
/system/core/debuggerd/tombstoned/ |
H A D | tombstoned.cpp | 132 std::string file_name = local 135 return file_name;
|
/system/core/init/ |
H A D | util.cpp | 398 const std::string file_name = get_android_dt_dir() + sub_path; local 399 if (android::base::ReadFileToString(file_name, dt_content)) {
|
H A D | init.cpp | 408 std::string file_name = get_android_dt_dir() + dp->d_name; local 410 android::base::ReadFileToString(file_name, &dt_file);
|
/system/iot/attestation/at-factory-tool/ |
H A D | atft.py | 124 for file_name in os.listdir(self.log_dir): 125 if (os.path.isfile(os.path.join(self.log_dir, file_name)) and 126 file_name.startswith('atft_log_')): 127 log_files.append(file_name) 207 for file_name in os.listdir(self.log_dir): 208 if (os.path.isfile(os.path.join(self.log_dir, file_name)) and 209 file_name.startswith('atft_log_')): 210 log_files.append(file_name)
|
/system/tools/aidl/ |
H A D | type_cpp.cpp | 528 const string& file_name) { 529 Add(new BinderType(b, file_name)); 527 AddBinderType(const AidlInterface& b, const string& file_name) argument
|
/system/core/libziparchive/ |
H A D | zip_archive.cc | 360 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); local 362 if (file_name + file_name_length > cd_end) { 370 if (!IsValidEntryName(file_name, file_name_length)) { 376 entry_name.name = file_name;
|
/system/core/logcat/ |
H A D | logcat.cpp | 671 std::string file_name = directory; local 672 file_name += "/"; 673 file_name += dp->d_name; 675 if (!android::base::ReadFileToString(file_name, &file)) continue; 1362 std::string file_name = android::base::StringPrintf( local 1365 bool file_ok = android::base::ReadFileToString(file_name, &file); 1366 android::base::WriteStringToFile(setId, file_name, S_IRUSR | S_IWUSR,
|
/system/tpm/attestation/common/ |
H A D | tpm_utility_v1.cc | 56 std::string GetFirstByte(const char* file_name) { argument 58 base::ReadFileToString(base::FilePath(file_name), &content);
|