Home
last modified time | relevance | path

Searched refs:error_msg (Results 1 – 11 of 11) sorted by relevance

/system/iorap/src/inode2filename/
Dinode.cc31 bool Inode::Parse(const std::string& str, Inode* out, std::string* error_msg) { in Parse() argument
33 DCHECK(error_msg != nullptr); in Parse()
40 *error_msg = "Failed to parse the whole device id as uint."; in Parse()
49 *error_msg = "Failed to parse inode as uint."; in Parse()
59 *error_msg = "Too few : separated items"; in Parse()
64 *error_msg = "Failed to parse 0th element as a uint"; in Parse()
69 *error_msg = "Failed to parse 1st element as a uint"; in Parse()
74 *error_msg = "Failed to parse 2nd element as a uint"; in Parse()
Dmain.cc76 std::string error_msg; in main() local
77 if (Inode::Parse(argstr, /*out*/&maybe_inode, /*out*/&error_msg)) { in main()
87 std::cerr << "Failed to parse inode (" << argstr << ") because: " << error_msg << std::endl; in main()
Dinode.h31 static bool Parse(const std::string& str, /*out*/Inode* out, /*out*/std::string* error_msg);
/system/extras/simpleperf/
Dread_dex_file.cpp68 std::string error_msg; in ReadSymbolsFromDexFileInMemory() local
70 art_api::dex::DexFile::OpenFromMemory(file_addr, &max_file_size, "", &error_msg); in ReadSymbolsFromDexFileInMemory()
72 LOG(WARNING) << "Failed to read dex file symbols: " << error_msg; in ReadSymbolsFromDexFileInMemory()
88 std::string error_msg; in ReadSymbolsFromDexFile() local
90 art_api::dex::DexFile::OpenFromFd(fd, offset, file_path, &error_msg); in ReadSymbolsFromDexFile()
93 << "': " << error_msg; in ReadSymbolsFromDexFile()
/system/security/keystore/include/keystore/
DKeystoreResponse.h33 explicit KeystoreResponse(const int response_code, const String16& error_msg) in KeystoreResponse()
34 : response_code_(response_code), error_msg_(std::make_unique<String16>(error_msg)) {} in KeystoreResponse()
52 const String16* error_msg() const { return error_msg_.get(); } in error_msg() function
/system/core/libunwindstack/
DDexFile.cpp101 std::string error_msg; in Create() local
103 OpenFromFd(fd, dex_file_offset_in_file, file, &error_msg); in Create()
122 std::string error_msg; in Create() local
124 OpenFromMemory(backing_memory.data(), &size, name, &error_msg); in Create()
134 if (!error_msg.empty()) { in Create()
/system/media/camera/docs/
Dmetadata_validate.py213 error_msg = ("Did not find corresponding clone entry '%s' " + \
215 validate_error(error_msg)
220 error_msg = ("Clone entry target '%s' did not match fully qualified " + \
222 validate_error(error_msg)
243error_msg = ("Clone '%s' HAL version '%d.%d' is older than entry target HAL version '%d.%d'" \
245 validate_error(error_msg)
/system/core/fastboot/fuzzy_fastboot/
Dtest_utils.h91 int WaitProgram(const pid_t pid, const int pipe, std::string* error_msg);
Dtest_utils.cpp183 int WaitProgram(const int pid, const int pipe, std::string* error_msg) { in WaitProgram() argument
194 error_msg->append(buf, n); in WaitProgram()
Dmain.cpp1534 std::string error_msg; in TEST_P() local
1535 int ret = WaitProgram(pid, pipe, &error_msg); in TEST_P()
1536 EXPECT_EQ(ret, 0) << error_msg; // Program exited correctly in TEST_P()
/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc1412 std::string error_msg; in ParseInodes() local
1413 bool inode_parse_succeeded = Inode::Parse(s, /*out*/&inode, /*out*/&error_msg); in ParseInodes()
1414 CHECK(inode_parse_succeeded) << s << ", error: " << error_msg; in ParseInodes()
2797 std::string error_msg; in MakeAllPassInodes() local
2799 CHECK(Inode::Parse(inode_str, &inode, &error_msg)); in MakeAllPassInodes()