Home
last modified time | relevance | path

Searched refs:error_message (Results 1 – 13 of 13) sorted by relevance

/system/update_engine/
Domaha_request_params.cc147 string* error_message) { in SetTargetChannel() argument
155 if (!IsValidChannel(new_target_channel, error_message)) { in SetTargetChannel()
164 if (error_message) in SetTargetChannel()
165 *error_message = "Error storing the new channel value."; in SetTargetChannel()
188 string* error_message) const { in IsValidChannel()
191 if (error_message) { in IsValidChannel()
192 *error_message = base::StringPrintf( in IsValidChannel()
203 if (error_message) { in IsValidChannel()
204 *error_message = in IsValidChannel()
Domaha_request_params_unittest.cc146 string error_message; in TEST_F() local
148 params.SetTargetChannel("dogfood-channel", true, &error_message)); in TEST_F()
150 EXPECT_NE(string::npos, error_message.find("stable-channel")); in TEST_F()
Dcommon_service.cc200 string error_message; in SetChannel() local
202 in_target_channel, in_is_powerwash_allowed, &error_message)) { in SetChannel()
203 LogAndSetError(error, FROM_HERE, error_message); in SetChannel()
Domaha_request_params.h259 std::string* error_message);
318 std::string* error_message) const;
Dupdate_attempter.cc423 string error_message; in CalculateUpdateParams() local
425 target_channel, false, &error_message)) { in CalculateUpdateParams()
426 LOG(ERROR) << "Setting the channel failed: " << error_message; in CalculateUpdateParams()
/system/core/debuggerd/tombstoned/
Dintercept_manager.cpp125 snprintf(response.error_message, sizeof(response.error_message), "invalid intercept request"); in intercept_request_cb()
137 snprintf(response.error_message, sizeof(response.error_message), in intercept_request_cb()
141 LOG(WARNING) << response.error_message; in intercept_request_cb()
/system/extras/libjsonpb/parse/
Djsonpb.cpp51 return MakeError<std::string>(status.error_message().as_string()); in MessageToJsonString()
64 return MakeError<std::monostate>(status.error_message().as_string()); in JsonStringToMessage()
/system/core/debuggerd/
Dprotocol.h80 char error_message[127]; // always null-terminated member
/system/core/debuggerd/client/
Ddebuggerd_client.cpp250 response.error_message[sizeof(response.error_message) - 1] = '\0'; in debuggerd_trigger_dump()
251 LOG(ERROR) << "libdebuggerd_client: tombstoned reported failure: " << response.error_message; in debuggerd_trigger_dump()
/system/core/adb/client/
Dbugreport.cpp142 const char* error_message = &line[strlen(BUGZ_FAIL_PREFIX)]; in ProcessLine() local
143 fprintf(stderr, "adb: device failed to take a zipped bugreport: %s\n", error_message); in ProcessLine()
Dcommandline.cpp1028 std::string error_message; in ppp()
1029 int fd = adb_connect(adb_service_name, &error_message); in ppp()
1031 error_exit("could not open adb service %s: %s", adb_service_name, error_message.c_str()); in ppp()
1888 std::string cmd, error_message; in adb_commandline() local
1902 if (forward_targets_are_valid(argv[1], argv[2], &error_message)) { in adb_commandline()
1908 if (forward_targets_are_valid(argv[0], argv[1], &error_message)) { in adb_commandline()
1913 if (!error_message.empty()) { in adb_commandline()
1914 error_exit("error: %s", error_message.c_str()); in adb_commandline()
1917 unique_fd fd(adb_connect(nullptr, host_prefix + cmd, &error_message, true)); in adb_commandline()
1918 if (fd < 0 || !adb_status(fd.get(), &error_message)) { in adb_commandline()
[all …]
/system/core/adb/daemon/
Dshell_service.cpp407 std::string error_message = ReadAll(parent_error_sfd); in ForkAndExec() local
408 if (!error_message.empty()) { in ForkAndExec()
409 *error = error_message; in ForkAndExec()
/system/apex/apexd/
Dapexservice_test.cpp2210 const std::string& error_message = in TEST_F() local
2212 ASSERT_THAT(error_message, in TEST_F()
2636 const std::string& error_message = in TEST_F() local
2638 ASSERT_THAT(error_message, HasSubstr("has unexpected SHA512 hash")); in TEST_F()