Home
last modified time | relevance | path

Searched refs:errmsg (Results 1 – 9 of 9) sorted by relevance

/system/update_engine/update_manager/
Dreal_updater_provider.cc59 explicit GetStatusHelper(string* errmsg) { in GetStatusHelper() argument
62 if (!is_success_ && errmsg) { in GetStatusHelper()
63 *errmsg = "Failed to get a status update from the update engine"; in GetStatusHelper()
95 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
96 GetStatusHelper raw(errmsg); in GetValue()
114 const double* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
115 GetStatusHelper raw(errmsg); in GetValue()
120 if (errmsg) { in GetValue()
121 *errmsg = in GetValue()
147 const Stage* GetValue(TimeDelta /* timeout */, string* errmsg) override;
[all …]
Dgeneric_variables.h61 const std::string& errmsg) in PollCopyVariable() argument
65 errmsg_(errmsg) {} in PollCopyVariable()
75 const std::string& errmsg) in PollCopyVariable() argument
79 errmsg_(errmsg) {} in PollCopyVariable()
96 std::string* errmsg) override { in GetValue() argument
98 if (errmsg) { in GetValue()
100 *errmsg = "No value set for " + this->GetName(); in GetValue()
102 *errmsg = errmsg_; in GetValue()
210 std::string* errmsg) override { in GetValue() argument
212 if (errmsg) in GetValue()
[all …]
Devaluation_context-inl.h39 std::string errmsg; in GetValue() local
41 var->GetValue(RemainingTime(evaluation_monotonic_deadline_), &errmsg); in GetValue()
44 << errmsg << "\""; in GetValue()
Dfake_variable.h54 std::string* errmsg) override { in GetValue() argument
55 if (ptr_ == nullptr && errmsg != nullptr) in GetValue()
56 *errmsg = this->GetName() + " is an empty FakeVariable"; in GetValue()
Dreal_random_provider.cc53 string* errmsg) override { in GetValue() argument
63 if (errmsg) { in GetValue()
64 *errmsg = base::StringPrintf( in GetValue()
Dvariable.h222 virtual const T* GetValue(base::TimeDelta timeout, std::string* errmsg) = 0;
/system/sepolicy/tools/
Dcheck_seapp.c109 bool (*fn_validate)(char *value, char **errmsg);
195 static bool validate_bool(char *value, char **errmsg);
196 static bool validate_levelFrom(char *value, char **errmsg);
197 static bool validate_domain(char *value, char **errmsg);
198 static bool validate_type(char *value, char **errmsg);
199 static bool validate_selinux_level(char *value, char **errmsg);
200 static bool validate_uint(char *value, char **errmsg);
380 static bool validate_bool(char *value, char **errmsg) { in validate_bool() argument
386 *errmsg = "Expecting \"true\" or \"false\""; in validate_bool()
390 static bool validate_levelFrom(char *value, char **errmsg) { in validate_levelFrom() argument
[all …]
/system/core/libnetutils/
Ddhcpclient.c44 static char errmsg[2048]; variable
68 vsnprintf(errmsg, sizeof(errmsg), fmt, ap); in printerr()
71 ALOGD("%s", errmsg); in printerr()
76 return errmsg; in dhcp_lasterror()
/system/libvintf/
DRuntimeInfo-target.cpp80 const char *errmsg = gzerror(f, &errnum); in fetchKernelConfigs() local
81 LOG(ERROR) << "Could not read /proc/config.gz: " << errmsg; in fetchKernelConfigs()