Home
last modified time | relevance | path

Searched refs:Message (Results 1 – 25 of 40) sorted by relevance

12

/system/memory/libion/tests/
Dexit_test.cpp31 SCOPED_TRACE(::testing::Message() in TEST_F()
33 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
53 SCOPED_TRACE(::testing::Message() in TEST_F()
55 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
77 SCOPED_TRACE(::testing::Message() in TEST_F()
79 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
101 SCOPED_TRACE(::testing::Message() in TEST_F()
103 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
127 SCOPED_TRACE(::testing::Message() in TEST_F()
129 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
[all …]
Dallocate_test.cpp31 SCOPED_TRACE(::testing::Message() in TEST_F()
33 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
46 SCOPED_TRACE(::testing::Message() in TEST_F()
48 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
61 SCOPED_TRACE(::testing::Message() in TEST_F()
63 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
77 SCOPED_TRACE(::testing::Message() in TEST_F()
79 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
83 SCOPED_TRACE(::testing::Message() << "iteration " << i); in TEST_F()
94 SCOPED_TRACE(::testing::Message() in TEST_F()
[all …]
Dmap_test.cpp31 SCOPED_TRACE(::testing::Message() in TEST_F()
33 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
53 SCOPED_TRACE(::testing::Message() in TEST_F()
84 SCOPED_TRACE(::testing::Message() in TEST_F()
86 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
109 SCOPED_TRACE(::testing::Message() in TEST_F()
111 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
Dheap_query.cpp31 SCOPED_TRACE(::testing::Message() << "Invalid id for heap:" << heap.name << ":" << heap.type in TEST_F()
/system/teeui/libteeui/include/teeui/
Dgeneric_messages.h53 using PromptUserConfirmationMsg = Message<CmdPromptUserConfirmation, MsgString, MsgVector<uint8_t>,
55 using PromptUserConfirmationResponse = Message<ResponseCode>;
56 using DeliverTestCommandMessage = Message<CmdDeliverTestCommand, TestModeCommands>;
57 using DeliverTestCommandResponse = Message<ResponseCode>;
58 using AbortMsg = Message<CmdAbort>;
59 using ResultMsg = Message<ResponseCode, MsgVector<uint8_t>, MsgVector<uint8_t>>;
60 using FetchConfirmationResult = Message<CmdFetchConfirmationResult>;
76 WriteStream write(Message<CmdSpec, Tail...>, WriteStream out, const Tail&... tail) { in write()
78 return write(Message<Tail...>(), out, tail...); in write()
82 std::tuple<ReadStream, Fields...> read(Message<Cmd<proto, CmdT, cmd>, Fields...>, ReadStream in) { in read()
[all …]
Dmsg_formatting.h33 template <typename... fields> class Message {};
143 inline WriteStream write(Message<>, WriteStream out) { in write() argument
148 WriteStream write(Message<Head, Tail...>, WriteStream out, const Head& head, const Tail&... tail) { in write()
150 return write(Message<Tail...>(), out, tail...); in write()
153 template <typename... Msg> std::tuple<ReadStream, Msg...> read(Message<Msg...>, ReadStream in) { in read()
156 std::tie(in, result) = read(Message<Msg>(), in); in read()
163 template <typename... T> struct msg2tuple<Message<T...>> { using type = std::tuple<T...>; };
190 using msg::Message;
Dcommon_message_types.h109 inline std::tuple<ReadStream, ResponseCode> read(Message<ResponseCode>, ReadStream in) { in read()
117 inline std::tuple<ReadStream, TestModeCommands> read(Message<TestModeCommands>, ReadStream in) { in read()
127 inline std::tuple<ReadStream, MsgVector<uint8_t>> read(Message<MsgVector<uint8_t>>, ReadStream in) { in read()
135 inline std::tuple<ReadStream, MsgString> read(Message<MsgString>, ReadStream in) { in read()
143 inline std::tuple<ReadStream, MsgVector<UIOption>> read(Message<MsgVector<UIOption>>, in read()
156 read(teeui::Message<teeui::Array<uint8_t, size>>, teeui::ReadStream in) { in read()
/system/teeui/libteeui/include/secure_input/
Dsecure_input_proto.h64 using InputHandshake = teeui::Message<CmdInputHandshake>;
65 using InputHandshakeResponse = teeui::Message<teeui::ResponseCode, Nonce>;
73 using FinalizeInputSessionHandshake = teeui::Message<CmdFinalizeInputSession, Nonce, Signature>;
74 using FinalizeInputSessionHandshakeResponse = teeui::Message<teeui::ResponseCode>;
82 using DeliverInputEvent = teeui::Message<CmdDeliverInputEvent, DTupKeyEvent, Nonce>;
83 using DeliverInputEventResponse = teeui::Message<teeui::ResponseCode, InputResponse>;
86 inline std::tuple<teeui::ReadStream, DTupKeyEvent> read(teeui::Message<DTupKeyEvent>, in read()
95 inline std::tuple<teeui::ReadStream, InputResponse> read(teeui::Message<InputResponse>, in read()
/system/core/libutils/include/utils/
DLooper.h54 struct Message { struct
55 Message() : what(0) { } in Message() function
56 Message(int w) : what(w) { } in Message() function
79 virtual void handleMessage(const Message& message) = 0; argument
92 virtual void handleMessage(const Message& message);
352 void sendMessage(const sp<MessageHandler>& handler, const Message& message);
363 const Message& message);
374 const Message& message);
443 MessageEnvelope(nsecs_t u, sp<MessageHandler> h, const Message& m) in MessageEnvelope()
448 Message message;
/system/extras/libjsonpb/verify/include/jsonpb/
Dverify.h67 bool AllFieldsAreKnown(const google::protobuf::Message& message,
82 google::protobuf::Message* scratch_space,
88 google::protobuf::Message* scratch_space);
Djson_schema_test.h44 virtual std::unique_ptr<google::protobuf::Message> CreateMessage() const = 0;
60 std::unique_ptr<google::protobuf::Message> CreateMessage() const override { in CreateMessage()
98 google::protobuf::Message* message() const { in message()
103 std::unique_ptr<google::protobuf::Message> object_;
/system/nvram/messages/include/nvram/messages/
Dnvram_messages.h183 template <typename Message>
184 bool Encode(const Message& msg, Blob* blob);
188 template <typename Message>
189 bool Encode(const Message& msg, void* buffer, size_t* size);
193 template <typename Message>
194 bool Decode(const uint8_t* data, size_t size, Message* msg);
/system/extras/libjsonpb/parse/
Djsonpb.cpp29 using google::protobuf::Message;
35 std::string GetTypeUrl(const Message& message) { in GetTypeUrl()
39 ErrorOr<std::string> MessageToJsonString(const Message& message) { in MessageToJsonString()
57 ErrorOr<std::monostate> JsonStringToMessage(const std::string& content, Message* message) { in JsonStringToMessage()
/system/connectivity/wifilogd/tests/
Dmemory_reader_unittest.cpp76 constexpr struct Message { in TEST() struct
82 .CopyOutOrDie<Message>(); in TEST()
166 constexpr struct Message { in TEST() struct
170 EXPECT_DEATH(MemoryReader(nullptr, sizeof(original)).CopyOutOrDie<Message>(), in TEST()
175 constexpr struct Message { in TEST() struct
180 MemoryReader(&original, sizeof(original) - 1).CopyOutOrDie<Message>(), in TEST()
185 constexpr struct Message { in TEST() struct
190 memory_reader.CopyOutOrDie<Message>(); in TEST()
191 EXPECT_DEATH(memory_reader.CopyOutOrDie<Message>(), "Check failed"); in TEST()
Dlocal_utils_unittest.cpp49 struct Message { in TEST() struct
53 const Message original{5, 'c'}; in TEST()
55 CopyFromBufferOrDie<Message>(&original, sizeof(original)); in TEST()
164 struct Message { in TEST() struct
168 const Message original{5, 'c'}; in TEST()
169 EXPECT_DEATH((CopyFromBufferOrDie<Message>(&original, sizeof(original) - 1)), in TEST()
/system/extras/libjsonpb/verify/
Dverify.cpp39 using google::protobuf::Message;
54 bool AllFieldsAreKnown(const Message& message, const Json::Value& json, in AllFieldsAreKnown()
105 reflection->GetRepeatedFieldRef<Message>(message, field_descriptor); in AllFieldsAreKnown()
122 std::unique_ptr<Message> scratch_space(fields.NewMessage()); in AllFieldsAreKnown()
145 bool AllFieldsAreKnown(const google::protobuf::Message& message, in AllFieldsAreKnown()
164 google::protobuf::Message* scratch_space, in EqReformattedJson()
211 google::protobuf::Message* scratch_space) { in FormatJson()
/system/core/libutils/
DLooper_test.cpp148 Vector<Message> messages;
150 virtual void handleMessage(const Message& message) { in handleMessage()
496 mLooper->sendMessage(handler, Message(MSG_TEST1)); in TEST_F()
515 mLooper->sendMessage(handler1, Message(MSG_TEST1)); in TEST_F()
516 mLooper->sendMessage(handler2, Message(MSG_TEST2)); in TEST_F()
517 mLooper->sendMessage(handler1, Message(MSG_TEST3)); in TEST_F()
518 mLooper->sendMessage(handler1, Message(MSG_TEST4)); in TEST_F()
544 mLooper->sendMessageDelayed(ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F()
580 mLooper->sendMessageDelayed(ms2ns(-1000), handler, Message(MSG_TEST1)); in TEST_F()
598 mLooper->sendMessageDelayed(0, handler, Message(MSG_TEST1)); in TEST_F()
[all …]
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/main/java/com/example/simpleperf/simpleperfexamplepurejava/
DMultiProcessActivity.java8 import android.os.Message;
36 Message message = new Message();
DMultiProcessService.java7 import android.os.Message;
18 public void handleMessage(Message msg) { in handleMessage()
/system/core/fs_mgr/libsnapshot/
Dfuzz_utils.h44 std::map<int, std::function<void(Class*, const google::protobuf::Message& action_proto,
109 const T* SafeCast(const google::protobuf::Message& message) { in SafeCast()
118 const T& CheckedCast(const google::protobuf::Message& message) { in CheckedCast()
150 typename std::enable_if_t<std::is_base_of_v<google::protobuf::Message, MessageProto>>> {
152 typename FuzzFunction::ClassType* module, const google::protobuf::Message& action_proto,
164 typename FuzzFunction::ClassType* module, const google::protobuf::Message& action_proto,
175 const google::protobuf::Message&,
184 typename FuzzFunction::ClassType* module, const google::protobuf::Message& action_proto,
/system/nvram/messages/
Dnvram_messages.cpp176 template <typename Message>
177 bool Encode(const Message& msg, Blob* blob) { in Encode()
182 template <typename Message>
183 bool Encode(const Message& msg, void* buffer, size_t* size) { in Encode()
192 template <typename Message>
193 bool Decode(const uint8_t* data, size_t size, Message* msg) { in Decode()
/system/extras/libjsonpb/parse/include/jsonpb/
Djsonpb.h31 google::protobuf::Message* message);
57 ErrorOr<std::string> MessageToJsonString(const google::protobuf::Message& message);
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp43 SCOPED_TRACE(::testing::Message() in TEST_F()
54 SCOPED_TRACE(::testing::Message() in TEST_F()
66 SCOPED_TRACE(::testing::Message() in TEST_F()
78 SCOPED_TRACE(::testing::Message() in TEST_F()
81 SCOPED_TRACE(::testing::Message() << "iteration " << i); in TEST_F()
233 SCOPED_TRACE(::testing::Message() in TEST_F()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp33 template <typename Message>
34 Message* round_trip(int32_t ver, const Message& message, size_t expected_size) { in round_trip()
43 Message* deserialized = new Message(ver); in round_trip()
661 template <typename Message> void parse_garbage() { in parse_garbage()
663 Message msg(ver); in parse_garbage()
683 Message msg(ver); in parse_garbage()
693 #define GARBAGE_TEST(Message) \ argument
694 TEST(GarbageTest, Message) { parse_garbage<Message>(); }
/system/extras/simpleperf/scripts/
Dprofile_pb2.py538 Profile = _reflection.GeneratedProtocolMessageType('Profile', (_message.Message,), dict(
545 ValueType = _reflection.GeneratedProtocolMessageType('ValueType', (_message.Message,), dict(
552 Sample = _reflection.GeneratedProtocolMessageType('Sample', (_message.Message,), dict(
559 Label = _reflection.GeneratedProtocolMessageType('Label', (_message.Message,), dict(
566 Mapping = _reflection.GeneratedProtocolMessageType('Mapping', (_message.Message,), dict(
573 Location = _reflection.GeneratedProtocolMessageType('Location', (_message.Message,), dict(
580 Line = _reflection.GeneratedProtocolMessageType('Line', (_message.Message,), dict(
587 Function = _reflection.GeneratedProtocolMessageType('Function', (_message.Message,), dict(

12