Searched refs:error_msg (Results 1 - 17 of 17) sorted by relevance

/system/extras/perfprofd/dropbox/
H A Ddropbox_host.cc28 std::string* error_msg) {
29 *error_msg = "Dropbox not supported on host";
26 SendToDropbox(android::perfprofd::PerfprofdRecord* profile, const std::string& temp_directory ATTRIBUTE_UNUSED, std::string* error_msg) argument
H A Ddropbox.h31 std::string* error_msg);
H A Ddropbox.cc46 std::string* error_msg) {
53 *error_msg = android::base::StringPrintf("Could not create temp file %s: %s",
71 *error_msg = android::base::StringPrintf("Could not create read-only fd: %s",
84 *error_msg = "Could not serialize to temp file";
93 *error_msg = status.toString8();
103 std::string* error_msg) {
117 *error_msg = status.toString8();
123 return WriteDropboxFile(profile, temp_directory, error_msg);
44 WriteDropboxFile(android::perfprofd::PerfprofdRecord* encodedProfile, const std::string& temp_dir, std::string* error_msg) argument
101 SendToDropbox(android::perfprofd::PerfprofdRecord* profile, const std::string& temp_directory, std::string* error_msg) argument
/system/core/libnativeloader/
H A Dnative_loader.cpp161 std::string* error_msg) {
184 if (!initialized_ && !InitPublicNamespace(library_path.c_str(), error_msg)) {
261 *error_msg = dlerror();
271 *error_msg = dlerror();
278 *error_msg = dlerror();
285 *error_msg = dlerror();
300 *error_msg = NativeBridgeGetError();
307 *error_msg = NativeBridgeGetError();
313 *error_msg = NativeBridgeGetError();
363 std::string error_msg; local
153 Create(JNIEnv* env, uint32_t target_sdk_version, jobject class_loader, bool is_shared, bool is_for_vendor, jstring java_library_path, jstring java_permitted_path, NativeLoaderNamespace* ns, std::string* error_msg) argument
451 std::string error_msg; local
524 InitPublicNamespace(const char* library_path, std::string* error_msg) argument
616 std::string error_msg; local
637 OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* path, jobject class_loader, jstring library_path, bool* needs_native_bridge, std::string* error_msg) argument
[all...]
/system/tools/aidl/
H A Dtype_namespace.cpp103 string error_msg; local
104 const ValidatableType* return_type = GetValidatableType(raw_type, &error_msg,
110 << error_msg;
125 string error_msg; local
126 const ValidatableType* t = GetValidatableType(a.GetType(), &error_msg,
129 LOG(ERROR) << error_prefix << error_msg; local
H A Dtype_namespace.h136 const AidlType& type, std::string* error_msg,
189 const AidlType& type, std::string* error_msg,
388 const AidlType& aidl_type, std::string* error_msg,
394 *error_msg = "unknown type";
400 *error_msg = "void type cannot be an array";
405 *error_msg = "void type cannot be annotated";
414 *error_msg = StringPrintf("Type cannot be marked as both %s and %s.",
436 *error_msg = StringPrintf("type '%s' may not be annotated as %s.",
452 *error_msg = StringPrintf(
459 *error_msg
387 GetValidatableType( const AidlType& aidl_type, std::string* error_msg, const AidlInterface& interface) const argument
[all...]
/system/extras/perfprofd/
H A Dperfprofd_threaded_handler.h103 template <typename ConfigFn> bool StartProfiling(ConfigFn fn, std::string* error_msg) { argument
107 *error_msg = "Already profiling";
129 bool StopProfiling(std::string* error_msg) { argument
132 *error_msg = "Not profiling";
151 std::string error_msg; local
152 if (!dropbox::SendToDropbox(encodedProfile, config->destination_directory, &error_msg)) {
153 LOG(WARNING) << "Failed dropbox submission: " << error_msg;
H A Dperfprofd_io.cc64 std::string* error_msg);
126 std::string* error_msg) {
149 *error_msg = StringPrintf("Could not initialize compression: %d (%s)",
270 std::string error_msg; local
271 gzip = GzipOutputStream::Create(&cosa, &error_msg);
273 LOG(ERROR) << error_msg;
125 Create(ZeroCopyOutputStream* next, std::string* error_msg) argument
H A Dperfprofd_cmdline.cc229 std::string error_msg;
232 &error_msg)) {
233 LOG(ERROR) << "Failed dropbox submission: " << error_msg;
/system/extras/perfprofd/binder_interface/
H A Dperfprofd_binder.cc150 std::string error_msg; local
151 if (!StartProfiling(config_fn, &error_msg)) {
152 return Status::fromExceptionCode(1, error_msg.c_str());
158 std::string error_msg; local
163 error_msg = base::StringPrintf("Could not parse %s", arg.c_str());
164 return Status::fromExceptionCode(1, error_msg.c_str());
171 if (!StartProfiling(config_fn, &error_msg)) {
172 return Status::fromExceptionCode(1, error_msg.c_str());
220 std::string error_msg; local
221 if (!StartProfiling(config_fn, &error_msg)) {
255 std::string error_msg; local
293 std::string error_msg; local
[all...]
/system/media/camera/docs/
H A 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)
243 error_msg = ("Clone '%s' HAL version '%d.%d' is older than entry target HAL version '%d.%d'" \
245 validate_error(error_msg)
/system/core/libnativeloader/include/nativeloader/
H A Dnative_loader.h48 std::string* error_msg);
/system/core/libunwindstack/
H A DDexFile.cpp139 std::string error_msg; local
141 false, false, &error_msg);
178 std::string error_msg; local
180 loader.Open(memory_.data(), header->file_size_, "", 0, nullptr, false, false, &error_msg);
/system/netd/tests/dns_responder/
H A Ddns_tls_frontend.cpp63 char error_msg[512] = { 0 }; local
64 if (strerror_r(errno, error_msg, sizeof(error_msg)))
66 return std::string(error_msg);
H A Ddns_responder.cpp43 char error_msg[512] = { 0 }; local
44 if (strerror_r(errno, error_msg, sizeof(error_msg)))
46 return std::string(error_msg);
626 char error_msg[512] = { 0 }; local
627 if (strerror_r(errno, error_msg, sizeof(error_msg)))
628 strncpy(error_msg, "UNKNOWN", sizeof(error_msg));
629 APLOGI("epoll_create() failed: %s", error_msg);
[all...]
/system/extras/perfprofd/tests/
H A Dperfprofd_test.cc1315 std::string error_msg; local
1316 EXPECT_FALSE(threaded_handler_->StopProfiling(&error_msg));
1331 std::string error_msg; local
1332 ASSERT_TRUE(threaded_handler_->StartProfiling(config_fn, &error_msg)) << error_msg;
1333 EXPECT_TRUE(threaded_handler_->StopProfiling(&error_msg)) << error_msg;
/system/core/adb/
H A Dsockets.cpp741 std::string error_msg = "unknown failure"; local
742 s->transport = acquire_one_transport(kTransportAny, nullptr, 0, nullptr, &error_msg);
744 SendFail(s->peer->fd, error_msg);

Completed in 159 milliseconds