/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 | 183 static bool read_dt_file(const std::string& file_name, std::string* dt_value) argument 185 if (android::base::ReadFileToString(file_name, dt_value)) { 389 std::string file_name = get_android_dt_dir() + "/fstab/compatible"; local 390 if (read_dt_file(file_name, &dt_value)) { 416 std::string file_name; local 419 file_name = android::base::StringPrintf("%s/%s/status", fstabdir_name.c_str(), dp->d_name); 420 if (read_dt_file(file_name, &value)) { 427 file_name = android::base::StringPrintf("%s/%s/dev", fstabdir_name.c_str(), dp->d_name); 428 if (!read_dt_file(file_name, &value)) { 436 file_name 468 std::string file_name = get_android_dt_dir() + "/compatible"; 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) 335 file_name = sys.argv[1] variable in class:MetadataParserXml 338 parser = MetadataParserXml.create_from_file(file_name)
|
H A D | metadata_validate.py | 316 file_name = sys.argv[1] variable 317 succ = validate_xml(file(file_name).read()) is not None 320 print "%s: SUCCESS! Document validated" %(file_name) 323 print >> sys.stderr, "%s: ERRORS: Document failed to validate" %(file_name)
|
/system/core/debuggerd/tombstoned/ |
H A D | tombstoned.cpp | 114 std::string file_name = StringPrintf("%s%02d", file_name_prefix_.c_str(), next_artifact_); local 118 if (unlinkat(dir_fd_, file_name.c_str(), 0) != 0 && errno != ENOENT) { 119 PLOG(FATAL) << "failed to unlink tombstone at " << dir_path_ << "/" << file_name; local 122 result.reset(openat(dir_fd_, file_name.c_str(), 125 PLOG(FATAL) << "failed to create tombstone at " << dir_path_ << "/" << file_name; local 129 return {std::move(result), dir_path_ + "/" + file_name};
|
/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/init/ |
H A D | util.cpp | 403 const std::string file_name = get_android_dt_dir() + sub_path; local 404 if (android::base::ReadFileToString(file_name, dt_content)) {
|
H A D | init.cpp | 535 std::string file_name = get_android_dt_dir() + dp->d_name; local 537 android::base::ReadFileToString(file_name, &dt_file);
|
/system/tools/aidl/ |
H A D | type_cpp.cpp | 525 const string& file_name) { 526 Add(new BinderType(b, file_name)); 524 AddBinderType(const AidlInterface& b, const string& file_name) argument
|
/system/core/libziparchive/ |
H A D | zip_archive.cc | 352 const uint8_t* file_name = ptr + sizeof(CentralDirectoryRecord); local 354 if (file_name + file_name_length > cd_end) { 362 if (!IsValidEntryName(file_name, file_name_length)) { 368 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; 1363 std::string file_name = android::base::StringPrintf( local 1366 bool file_ok = android::base::ReadFileToString(file_name, &file); 1367 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);
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
H A D | dual_mode_controller.h | 50 explicit Properties(const std::string& file_name);
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | dual_mode_controller.cc | 671 DualModeController::Properties::Properties(const std::string& file_name) argument 702 file_name.c_str()); 703 if (!base::ReadFileToString(base::FilePath(file_name), &properties_raw)) {
|
/system/core/trusty/keymaster/ |
H A D | trusty_keymaster_device_test.cpp | 436 static string read_file(const string& file_name) { argument 437 ifstream file_stream(file_name, std::ios::binary);
|
/system/keymaster/ |
H A D | android_keymaster_test.cpp | 1671 static string read_file(const string& file_name) { argument 1672 ifstream file_stream(file_name, std::ios::binary);
|