Home
last modified time | relevance | path

Searched refs:Message (Results 1 – 25 of 45) 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.cpp32 SCOPED_TRACE(::testing::Message() in TEST_F()
34 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
47 SCOPED_TRACE(::testing::Message() in TEST_F()
49 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
62 SCOPED_TRACE(::testing::Message() in TEST_F()
64 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
78 SCOPED_TRACE(::testing::Message() in TEST_F()
80 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
84 SCOPED_TRACE(::testing::Message() << "iteration " << i); in TEST_F()
100 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.h55 struct Message { struct
56 Message() : what(0) { } in Message() argument
57 Message(int w) : what(w) { } in Message() function
80 virtual void handleMessage(const Message& message) = 0; argument
93 virtual void handleMessage(const Message& message);
365 void sendMessage(const sp<MessageHandler>& handler, const Message& message);
376 const Message& message);
387 const Message& message);
458 MessageEnvelope(nsecs_t u, sp<MessageHandler> h, const Message& m) in MessageEnvelope()
463 Message message;
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/proto/
Dfilter.proto17 // Message from host to CHRE to set Filters.
23 // Message from host to CHRE to request extended configuration.
25 // Message from CHRE to host for the response of extended configuration.
27 // Message from CHRE to host for the tracker report.
29 // Message from CHRE to host for the storage full event.
/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/verify/include/jsonpb/
Dverify.h66 bool AllFieldsAreKnown(const google::protobuf::Message& message, const std::string& json,
80 bool EqReformattedJson(const std::string& json, google::protobuf::Message* scratch_space,
85 ErrorOr<std::string> FormatJson(const std::string& json, google::protobuf::Message* scratch_space);
Djson_schema_test.h43 virtual std::unique_ptr<google::protobuf::Message> CreateMessage() const = 0;
56 std::unique_ptr<google::protobuf::Message> CreateMessage() const override { in CreateMessage()
89 google::protobuf::Message* message() const { return object_.get(); } in message()
92 std::unique_ptr<google::protobuf::Message> object_;
/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/extras/libjsonpb/verify/
Dverify.cpp38 using google::protobuf::Message;
52 bool AllFieldsAreKnown(const Message& message, const Json::Value& json, in AllFieldsAreKnown()
98 auto&& fields = reflection->GetRepeatedFieldRef<Message>(message, field_descriptor); in AllFieldsAreKnown()
113 std::unique_ptr<Message> scratch_space(fields.NewMessage()); in AllFieldsAreKnown()
136 bool AllFieldsAreKnown(const google::protobuf::Message& message, const std::string& json, in AllFieldsAreKnown()
154 bool EqReformattedJson(const std::string& json, google::protobuf::Message* scratch_space, in EqReformattedJson()
201 ErrorOr<std::string> FormatJson(const std::string& json, google::protobuf::Message* scratch_space) { in FormatJson()
/system/core/libutils/
DLooper_test.cpp117 Vector<Message> messages;
119 virtual void handleMessage(const Message& message) { in handleMessage()
465 mLooper->sendMessage(handler, Message(MSG_TEST1)); in TEST_F()
484 mLooper->sendMessage(handler1, Message(MSG_TEST1)); in TEST_F()
485 mLooper->sendMessage(handler2, Message(MSG_TEST2)); in TEST_F()
486 mLooper->sendMessage(handler1, Message(MSG_TEST3)); in TEST_F()
487 mLooper->sendMessage(handler1, Message(MSG_TEST4)); in TEST_F()
513 mLooper->sendMessageDelayed(ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F()
549 mLooper->sendMessageDelayed(ms2ns(-1000), handler, Message(MSG_TEST1)); in TEST_F()
567 mLooper->sendMessageDelayed(0, handler, Message(MSG_TEST1)); in TEST_F()
[all …]
/system/extras/simpleperf/demo/SimpleperfExampleJava/app/src/main/java/simpleperf/example/java/
DMultiProcessActivity.java11 import android.os.Message;
35 Message message = new Message();
DMultiProcessService.java8 import android.os.Message;
19 public void handleMessage(Message msg) { in handleMessage()
/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/connectivity/wificond/
Dlooper_backed_event_loop.cpp33 void handleMessage(const android::Message& message) override { in handleMessage()
80 looper_->sendMessage(sp<EventLoopCallback>::make(callback), Message()); in PostTask()
86 looper_->sendMessageDelayed(ms2ns(delay_ms), sp<EventLoopCallback>::make(callback), Message()); in PostDelayedTask()
/system/extras/libjsonpb/parse/include/jsonpb/
Djsonpb.h30 google::protobuf::Message* message);
56 ErrorOr<std::string> MessageToJsonString(const google::protobuf::Message& message);
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp133 SCOPED_TRACE(::testing::Message() in TEST_F()
145 SCOPED_TRACE(::testing::Message() in TEST_F()
158 SCOPED_TRACE(::testing::Message() in TEST_F()
161 SCOPED_TRACE(::testing::Message() << "iteration " << i); in TEST_F()
257 SCOPED_TRACE(::testing::Message() in TEST_F()
309 SCOPED_TRACE(::testing::Message() << "cpu_access_needed: " << cpu_access_needed); in TEST_F()
/system/apex/libs/libapexsupport/src/
Dapexinfo.rs20 use protobuf::Message;
77Message::parse_from_reader(&mut f).map_err(|err| AApexInfoError::InvalidApex(format!("{err:?}"))) in parse_apex_manifest()
/system/update_engine/scripts/
Dupdate_metadata_pb2.py938 Extent = _reflection.GeneratedProtocolMessageType('Extent', (_message.Message,), {
945 Signatures = _reflection.GeneratedProtocolMessageType('Signatures', (_message.Message,), {
947 'Signature' : _reflection.GeneratedProtocolMessageType('Signature', (_message.Message,), {
960 PartitionInfo = _reflection.GeneratedProtocolMessageType('PartitionInfo', (_message.Message,), {
967 InstallOperation = _reflection.GeneratedProtocolMessageType('InstallOperation', (_message.Message,)…
974 CowMergeOperation = _reflection.GeneratedProtocolMessageType('CowMergeOperation', (_message.Message
981 PartitionUpdate = _reflection.GeneratedProtocolMessageType('PartitionUpdate', (_message.Message,), {
988 …ionGroup = _reflection.GeneratedProtocolMessageType('DynamicPartitionGroup', (_message.Message,), {
995 VABCFeatureSet = _reflection.GeneratedProtocolMessageType('VABCFeatureSet', (_message.Message,), {
1002 …adata = _reflection.GeneratedProtocolMessageType('DynamicPartitionMetadata', (_message.Message,), {
[all …]
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp282 template <typename Message> void parse_garbage() { in parse_garbage()
283 Message msg; in parse_garbage()
293 #define GARBAGE_TEST(Message) \ argument
294 TEST(GarbageTest, Message) { parse_garbage<Message>(); }

12