Searched refs:message (Results 1 - 25 of 167) sorted by relevance

1234567

/system/core/include/utils/
H A DLog.h44 int timeoutMillis, const char* message);
56 * Writes the specified debug log message if this block takes longer than the
64 #define ALOGD_IF_SLOW(timeoutMillis, message) \
65 android::LogIfSlow _logIfSlow(LOG_TAG, ANDROID_LOG_DEBUG, timeoutMillis, message);
H A DLooper.h48 * A message that can be posted to a Looper.
54 /* The message type. (interpretation is left up to the handler) */
60 * Interface for a Looper message handler.
62 * The Looper holds a strong reference to the message handler whenever it has
63 * a message to deliver to it. Make sure to call Looper::removeMessages
73 * Handles a message.
75 virtual void handleMessage(const Message& message) = 0;
80 * A simple proxy that holds a weak reference to a message handler.
88 virtual void handleMessage(const Message& message);
343 * Enqueues a message t
439 MessageEnvelope(nsecs_t uptime, const sp<MessageHandler> handler, const Message& message) argument
445 Message message; member in struct:android::Looper::MessageEnvelope
[all...]
/system/core/fastboot/
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...]
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
/system/netd/client/
H A DFwmarkClient.cpp72 msghdr message; local
73 memset(&message, 0, sizeof(message));
74 message.msg_iov = iov;
75 message.msg_iovlen = ARRAY_SIZE(iov);
84 message.msg_control = cmsgu.cmsg;
85 message.msg_controllen = sizeof(cmsgu.cmsg);
87 cmsghdr* const cmsgh = CMSG_FIRSTHDR(&message);
94 if (TEMP_FAILURE_RETRY(sendmsg(mChannel, &message, 0)) == -1) {
/system/core/include/mincrypt/
H A Dp256_ecdsa.h39 // Returns 0 if {r,s} is not a signature on message for
42 // Note: message is a p256_int.
46 const p256_int* message,
/system/core/metricsd/uploader/proto/
H A Dhistogram_event.proto28 message HistogramEventProto {
39 message Bucket {
H A Duser_action_event.proto29 message UserActionEventProto {
H A Dsystem_profile.proto29 message SystemProfileProto {
90 message BrilloDeviceData {
96 message OS {
121 message Hardware {
158 message CPU {
171 message Graphics {
195 message Bluetooth {
203 message PairedDevice {
272 message TouchScreen {
283 message Driv
[all...]
/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...]
H A Drouting_table.cc291 bool RoutingTable::ParseRoutingTableMessage(const RTNLMessage& message, argument
294 if (message.type() != RTNLMessage::kTypeRoute ||
295 message.family() == IPAddress::kFamilyUnknown ||
296 !message.HasAttribute(RTA_OIF)) {
300 const RTNLMessage::RouteStatus& route_status = message.route_status();
307 if (!message.GetAttribute(RTA_OIF).ConvertToCPUUInt32(&interface_index_u32)) {
313 if (message.HasAttribute(RTA_PRIORITY)) {
314 message.GetAttribute(RTA_PRIORITY).ConvertToCPUUInt32(&metric);
317 IPAddress default_addr(message.family());
321 if (message
344 RouteMsgHandler(const RTNLMessage& message) argument
[all...]
H A Derror.h71 explicit Error(Type type); // Uses the default message for |type|.
72 Error(Type type, const std::string& message);
75 void Populate(Type type); // Uses the default message for |type|.
76 void Populate(Type type, const std::string& message);
78 const std::string& message,
90 const std::string& message() const { return message_; } function in class:shill::Error
99 // Log an error message from |from_here|. If |error| is non-NULL, also
103 const std::string& message);
108 const char* message; // Default Error type message member in struct:shill::Error::Info
[all...]
/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/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/vpn/
H A Dopenvpn_management_server.cc208 void OpenVPNManagementServer::ProcessMessage(const string& message) { argument
209 SLOG(this, 2) << __func__ << "(" << message << ")"; local
210 if (message.empty()) {
213 if (!ProcessInfoMessage(message) &&
214 !ProcessNeedPasswordMessage(message) &&
215 !ProcessFailedPasswordMessage(message) &&
216 !ProcessAuthTokenMessage(message) &&
217 !ProcessStateMessage(message) &&
218 !ProcessHoldMessage(message) &&
219 !ProcessSuccessMessage(message)) {
224 ProcessInfoMessage(const string& message) argument
232 ProcessNeedPasswordMessage( const string& message) argument
257 ParseSubstring(const string& message, const string& start, const string& end) argument
276 ParsePasswordTag(const string& message) argument
281 ParsePasswordFailedReason( const string& message) argument
346 ProcessFailedPasswordMessage( const string& message) argument
361 ProcessAuthTokenMessage(const string& message) argument
380 ProcessStateMessage(const string& message) argument
402 ProcessHoldMessage(const string& message) argument
415 ProcessSuccessMessage(const string& message) argument
[all...]
H A Dopenvpn_management_server.h113 void ProcessMessage(const std::string& message);
114 bool ProcessInfoMessage(const std::string& message);
115 bool ProcessNeedPasswordMessage(const std::string& message);
116 bool ProcessFailedPasswordMessage(const std::string& message);
117 bool ProcessAuthTokenMessage(const std::string& message);
118 bool ProcessStateMessage(const std::string& message);
119 bool ProcessHoldMessage(const std::string& message);
120 bool ProcessSuccessMessage(const std::string& message);
126 // Returns the first substring in |message| enclosed by the |start| and |end|
129 static std::string ParseSubstring(const std::string& message,
[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 Ddevice_info_unittest.cc100 RTNLMessage message(RTNLMessage::kTypeLink,
107 message.SetAttribute(static_cast<uint16_t>(IFLA_IFNAME),
109 device_info_.LinkMsgHandler(message);
138 void OnWiFiPhyInfoReceived(const Nl80211Message& message) { argument
139 device_info_.OnWiFiPhyInfoReceived(message);
142 void OnWiFiInterfaceInfoReceived(const Nl80211Message& message) { argument
143 device_info_.OnWiFiInterfaceInfoReceived(message);
147 const Nl80211Message& message) {
148 device_info_.OnWiFiInterfacePhyInfoReceived(interface_index, message);
193 shill::NewWiphyMessage message; local
146 OnWiFiInterfacePhyInfoReceived(uint32_t interface_index, const Nl80211Message& message) argument
302 shill::NewInterfaceMessage message; local
336 shill::NewWiphyMessage message; local
370 shill::NewWiphyMessage message; local
[all...]
/system/connectivity/dhcp_client/
H A Ddhcp_message.cc104 DHCPMessage* message) {
110 LOG(ERROR) << "Invalid DHCP message length";
117 message->opcode_ = raw_message->op;
118 message->hardware_address_type_ = raw_message->htype;
119 message->hardware_address_length_ = raw_message->hlen;
120 if (message->hardware_address_length_ > kClientHardwareAddressLength) {
124 message->relay_hops_ = raw_message->hops;
125 message->transaction_id_ = ntohl(raw_message->xid);
126 message->seconds_ = ntohs(raw_message->secs);
127 message
102 InitFromBuffer(const unsigned char* buffer, size_t length, DHCPMessage* message) argument
436 InitRequest(DHCPMessage* message) argument
[all...]
/system/connectivity/shill/net/
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...]
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_message_unittest.cc18 // NetlinkMessageFactory's ability to create specific message types and it
364 // This is just a NL80211_CMD_NEW_STATION message with the command changed to
389 // Helper function to provide an array of scan frequencies from a message's
391 static bool GetScanFrequenciesFromMessage(const Nl80211Message& message, argument
399 if (!message.const_attributes()->ConstGetNestedAttributeList(
416 // Helper function to provide an array of SSIDs from a message's
418 static bool GetScanSsidsFromMessage(const Nl80211Message& message, argument
426 if (!message.const_attributes()->ConstGetNestedAttributeList(
456 unique_ptr<Nl80211Message> message(static_cast<Nl80211Message*>(
459 EXPECT_EQ(NL80211_CMD_TRIGGER_SCAN, message
726 ConnectMessage message; local
[all...]
H A Dnetlink_manager.cc116 const ControlNetlinkMessage* message = variable
118 handler_.Run(*message);
157 const Nl80211Message* message = variable
159 handler_.Run(*message);
215 void NetlinkManager::OnNewFamilyMessage(const ControlNetlinkMessage& message) { argument
219 if (!message.const_attributes()->GetU16AttributeValue(CTRL_ATTR_FAMILY_ID,
225 if (!message.const_attributes()->GetStringAttributeValue(
233 // Extract the available multicast groups from the message.
235 if (message.const_attributes()->ConstGetNestedAttributeList(
284 LOG(ERROR) << "Message not handled by regular message handle
460 SendControlMessage( ControlNetlinkMessage* message, const ControlNetlinkMessageHandler& message_handler, const NetlinkAckHandler& ack_handler, const NetlinkAuxilliaryMessageHandler& error_handler) argument
471 SendNl80211Message( Nl80211Message* message, const Nl80211MessageHandler& message_handler, const NetlinkAckHandler& ack_handler, const NetlinkAuxilliaryMessageHandler& error_handler) argument
482 SendOrPostMessage( NetlinkMessage* message, NetlinkManager::NetlinkResponseHandler* response_handler) argument
628 RemoveMessageHandler(const NetlinkMessage& message) argument
[all...]
/system/keymaster/
H A Dandroid_keymaster_test.cpp447 string message = "12345678901234567890123456789012"; local
449 SignMessage(message, &signature, KM_DIGEST_NONE, KM_PAD_NONE);
460 // Use large message, which won't work without digesting.
461 string message(1024, 'a');
463 SignMessage(message, &signature, KM_DIGEST_SHA_2_256, KM_PAD_RSA_PSS);
474 string message = "12345678901234567890123456789012"; local
491 string message(1024, 'a');
493 SignMessage(message, &signature, KM_DIGEST_SHA_2_256, KM_PAD_RSA_PKCS1_1_5_SIGN);
504 string message(53, 'a');
506 SignMessage(message,
630 string message = "1234567890123456789012345678901"; local
768 string message = "12345678901234567890123456789012"; local
785 string message = "12345678901234567890123456789012"; local
802 string message = "12345678901234567890123456789012"; local
820 string message = "12345678901234567890123456789012"; local
837 string message = "12345678901234567890123456789012"; local
851 string message = "12345678901234567890123456789012"; local
864 string message = "Hi There"; local
902 string message = "what do ya want for nothing?"; local
1017 string message = "Test With Truncation"; local
1048 string message = "Test Using Larger Than Block-Size Key - Hash Key First"; local
1085 string message = "This is a test using a larger than block-size key and a larger than " local
1160 string message = "12345678901234567890123456789012"; local
1466 string message = "12345678901234567890123456789012"; local
1478 string message = "12345678901234567890"; local
1509 string message = "12345678901234567890123456789012"; local
1533 string message = "12345678901234567890123456789012"; local
1560 string message = "1234567890"; local
1590 string message = "123456789012345678901234567890123456789012345678"; local
1607 string message = "123456789012345678901234567890123456789012345678"; local
1620 string message = "123456789012345678901234567890123456789012345678"; local
1633 string message = "123456789012345678901234567890123456789012345678"; local
1663 string message = "123456789012345678901234567890123456789012345678"; local
1680 string message = "123456789012345678901234567890123456789012345678"; local
1915 string message = "Hello World!"; local
1935 string message = "Hello World!"; local
1950 string message = "12345678901234567890123456789012"; local
1968 string message = "1"; local
1986 string message = "123456789012345678901234567890123"; local
2050 string message = "Hello"; local
2071 string message = "Hello"; local
2091 string message = "Hello World!"; local
2108 string message = "Hello World!"; local
2124 string message = "Hello World!"; local
2144 string message = "Hello World!"; local
2168 string message = "Hello World!"; local
2190 string message = "12345678901234567890123"; local
2212 string message = "Hello World!"; local
2236 string message = "Hello World!"; local
2253 string message = "Hello World!"; local
2278 string message = "Hello World!"; local
2306 string message = "123456789012345678901234567890123456789012345678901234"; local
2324 string message = "Hello World!"; local
2384 string message = "12345678901234567890123456789012"; local
2406 string message = "12345678901234567890123456789012"; local
2421 string message = "1234567890123456789012345678901"; local
2478 string message = "a"; local
2502 string message = "123"; local
2649 string message = "12345678901234567890123456789012"; local
2674 string message = "12345678901234567890123456789012"; local
2717 string message = "12345678901234567890123456789012"; local
2808 string message = "123456789012345678901234567890123456"; local
2851 string message = "123456789012345678901234567890123456"; local
2874 string message = "123456789012345678901234567890123456"; local
3085 string message = "123456789012345678901234567890123456"; local
3136 string message = "12345678901234567890123456789012"; local
3183 string message = "12345678901234567890123456789012"; local
3225 string message = "123456789012345678901234567890123456"; local
3274 string message = "1234567890123456"; local
3295 string message = "1234567890123456"; local
3677 string message = "1234567890123456"; local
3723 string message = "1234567890123456"; local
3769 string message = "1234567890123456"; local
[all...]

Completed in 1290 milliseconds

1234567