Searched defs:message (Results 1 - 25 of 79) sorted by relevance

1234

/system/connectivity/shill/net/
H A Drtnl_listener_unittest.cc61 RTNLMessage message; local
63 listener.NotifyEvent(RTNLHandler::kRequestLink, message);
74 RTNLMessage message; local
76 listener.NotifyEvent(RTNLHandler::kRequestLink, message);
H A Dnetlink_socket.cc85 bool NetlinkSocket::RecvMessage(ByteString* message) { argument
86 if (!message) {
87 LOG(ERROR) << "Null |message|";
108 message->Resize(result);
111 message->GetData(),
112 message->GetLength(),
H A Dnetlink_socket_unittest.cc141 ByteString message(message_string.c_str(), message_string.size());
145 Send(kFakeFd, message.GetConstData(), message.GetLength(), 0))
146 .WillOnce(Return(message.GetLength()));
147 EXPECT_TRUE(netlink_socket_.SendMessage(message));
151 Send(kFakeFd, message.GetConstData(), message.GetLength(), 0))
152 .WillOnce(Return(message.GetLength() - 3));
153 EXPECT_FALSE(netlink_socket_.SendMessage(message));
157 Send(kFakeFd, message
183 ByteString message; local
211 ByteString message; local
[all...]
/system/connectivity/apmanager/
H A Derror.cc39 const string& message,
43 message_ = message;
76 const string& message,
80 << from_here.line_number() << ")]: "<< message;
82 error->Populate(type, message, from_here);
38 Populate(Type type, const string& message, const tracked_objects::Location& location) argument
H A Derror_unittest.cc44 void PopulateError(Error* error, Error::Type type, string message) { argument
46 error->message_ = message;
50 static const std::string kMessage = "Test error message";
H A Derror.h48 const std::string& message,
54 const std::string& message() const { return message_; } function in class:apmanager::Error
60 // Log an error message from |from_here|. If |error| is non-NULL, also
64 const std::string& message,
H A Ddevice_unittest.cc218 shill::NewWiphyMessage message; local
221 message.attributes()->CreateNestedAttribute(
224 message.attributes()->GetNestedAttributeList(
230 message.attributes()->SetNestedAttributeHasAValue(
234 message.attributes()->CreateNestedAttribute(
237 message.attributes()->GetNestedAttributeList(
270 message.attributes()->SetNestedAttributeHasAValue(NL80211_ATTR_WIPHY_BANDS);
272 device_->ParseWiphyCapability(message);
H A Dhostapd_monitor.cc175 // Method for sending message to hostapd control interface.
176 bool HostapdMonitor::SendMessage(const char* message, size_t length) { argument
177 if (sockets_->Send(hostapd_socket_, message, length, 0) < 0) {
193 // Event messages are in format of <[Level]>[Event] [Detail message].
222 LOG(INFO) << "Received unknown message: " << str;
/system/connectivity/shill/
H A Derror.cc73 Error::Error(Type type, const string& message) { argument
74 Populate(type, message);
83 void Error::Populate(Type type, const string& message) { argument
86 message_ = message;
90 const string& message,
94 message_ = message;
127 return kInfos[type].message;
132 Error* error, Type type, const string& message) {
135 << from_here.line_number() << ")]: "<< message;
137 error->Populate(type, message, from_her
[all...]
/system/core/fastboot/
H A Dtcp_test.cpp61 EXPECT_NE(std::string::npos, error.find("Failed to send initialization message"));
71 EXPECT_NE(std::string::npos, error.find("No initialization message received"));
81 EXPECT_NE(std::string::npos, error.find("Unrecognized initialization message"));
108 // Writes |message| to |transport_|, returns true on success.
109 bool Write(const std::string& message) { argument
110 return transport_->Write(message.data(), message.length()) ==
111 static_cast<ssize_t>(message.length());
114 // Reads from |transport_|, returns true if it matches |message|.
115 bool Read(const std::string& message) { argument
[all...]
H A Dsocket_mock.h66 void ExpectSend(std::string message);
69 void ExpectSendFailure(std::string message);
72 void AddReceive(std::string message);
91 std::string message; member in struct:SocketMock::Event
H A Dsocket_test.cpp64 static bool SendString(Socket* sock, const std::string& message) { argument
65 return sock->Send(message.c_str(), message.length());
70 static bool ReceiveString(Socket* sock, const std::string& message) { argument
71 std::string received(message.length(), '\0');
73 return static_cast<size_t>(bytes) == received.length() && received == message;
137 std::string message(1024, '\0');
145 // Use a different message each iteration to prevent false positives.
146 for (size_t j = 0; j < message.length(); ++j) {
147 message[
[all...]
H A Dsocket_mock.cpp43 ADD_FAILURE() << "Send() was called when no message was expected";
52 std::string message(reinterpret_cast<const char*>(data), length);
53 if (events_.front().message != message) {
54 ADD_FAILURE() << "Send() expected " << events_.front().message << ", but got " << message; local
75 ADD_FAILURE() << "Receive() was called when no message was ready";
85 const std::string& message = event.message; local
86 if (message
87 ADD_FAILURE() << "Receive(): not enough bytes (" << length << ") for " << message; local
125 ExpectSend(std::string message) argument
129 ExpectSendFailure(std::string message) argument
133 AddReceive(std::string message) argument
[all...]
/system/core/libmincrypt/
H A Dp256_ecdsa.c33 const p256_int* message,
46 p256_modmul(&SECP256r1_n, message, 0, &v, &u); // message / s % n
32 p256_ecdsa_verify(const p256_int* key_x, const p256_int* key_y, const p256_int* message, const p256_int* r, const p256_int* s) argument
/system/core/libutils/
H A DLog.cpp25 int timeoutMillis, const char* message) :
26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
24 LogIfSlow(const char* tag, android_LogPriority priority, int timeoutMillis, const char* message) argument
/system/connectivity/shill/wifi/
H A Dcallback80211_metrics.cc51 SLOG(this, 1) << "Invalid reason code in disconnect message";
69 const Nl80211Message& message = local
73 // deauthenticate message but AP-instigated disconnects provide it in the
74 // disconnect message.
76 if (message.command() == DeauthenticateMessage::kCommand) {
78 message.Print(3, 3);
80 // there'll be a disconnect message to tell us about that.
82 if (!message.const_attributes()->GetRawAttributeValue(NL80211_ATTR_FRAME,
84 SLOG(this, 5) << "No frame in deauthenticate message, ignoring";
89 } else if (message
[all...]
/system/netd/client/
H A DFwmarkClient.cpp64 msghdr message; local
65 memset(&message, 0, sizeof(message));
66 message.msg_iov = &iov;
67 message.msg_iovlen = 1;
76 message.msg_control = cmsgu.cmsg;
77 message.msg_controllen = sizeof(cmsgu.cmsg);
79 cmsghdr* const cmsgh = CMSG_FIRSTHDR(&message);
86 if (TEMP_FAILURE_RETRY(sendmsg(mChannel, &message, 0)) == -1) {
/system/weaved/common/
H A Dbinder_utils.cc50 std::string message; local
53 &error, &message)
58 error, android::String8{message.c_str()});
/system/connectivity/apmanager/dbus/
H A Dmanager_dbus_adaptor.cc51 dbus::Message* message,
72 message->GetSender(),
80 dbus::Message* message,
50 CreateService(brillo::ErrorPtr* dbus_error, dbus::Message* message, dbus::ObjectPath* out_service) argument
79 RemoveService(brillo::ErrorPtr* dbus_error, dbus::Message* message, const dbus::ObjectPath& in_service) argument
/system/core/liblog/tests/
H A Dlibc_test.cpp141 static const char message[] = "libc.__pstore_append\n"; local
142 ASSERT_EQ((size_t)1, fwrite(message, sizeof(message), 1, fp));
/system/nativepower/daemon/
H A DBnPowerManager.cc90 String16 message = data.readString16(); local
91 return crash(message);
/system/netd/server/
H A DFwmarkServer.cpp55 msghdr message; local
56 memset(&message, 0, sizeof(message));
57 message.msg_iov = &iov;
58 message.msg_iovlen = 1;
66 message.msg_control = cmsgu.cmsg;
67 message.msg_controllen = sizeof(cmsgu.cmsg);
69 int messageLength = TEMP_FAILURE_RETRY(recvmsg(client->getSocket(), &message, 0));
87 cmsghdr* const cmsgh = CMSG_FIRSTHDR(&message);
/system/connectivity/shill/dbus/
H A Dchromeos_third_party_vpn_dbus_adaptor.cc87 void ChromeosThirdPartyVpnDBusAdaptor::EmitPlatformMessage(uint32_t message) { argument
88 SLOG(this, 2) << __func__ << "(" << message << ")"; local
89 SendOnPlatformMessageSignal(message);
/system/core/base/
H A Dlogging_test.cpp124 const char* message) {
130 log_char, basename(&holder[0]), message);
138 // many characters are in the log message.
123 make_log_pattern(android::base::LogSeverity severity, const char* message) argument
/system/extras/ext4_utils/
H A Dext4_crypt_init_extensions.cpp46 const char*, unsigned int, const char* message) {
48 KLOG_ERROR(TAG, "%s\n", message);
50 KLOG_WARNING(TAG, "%s\n", message);
52 KLOG_INFO(TAG, "%s\n", message);
45 kernel_logger(android::base::LogId, android::base::LogSeverity severity, const char*, const char*, unsigned int, const char* message) argument

Completed in 558 milliseconds

1234