Home
last modified time | relevance | path

Searched refs:Message (Results 1 – 25 of 44) 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/bt/gd/rust/linux/stack/src/
Dlib.rs57 pub enum Message { enum
68 pub fn create_channel() -> (Sender<Message>, Receiver<Message>) { in create_channel()
69 channel::<Message>(1) in create_channel()
73 pub async fn dispatch(mut rx: Receiver<Message>, bluetooth: Arc<Mutex<Bluetooth>>) { in dispatch() argument
83 Message::BluetoothAdapterStateChanged(state) => { in dispatch()
87 Message::BluetoothAdapterPropertiesChanged(status, num_properties, properties) => { in dispatch()
95 Message::BluetoothCallbackDisconnected(id) => { in dispatch()
Dbluetooth.rs19 use crate::{BDAddr, Message, RPCProxy};
55 tx: Sender<Message>,
61 pub fn new(tx: Sender<Message>, intf: Arc<Mutex<BluetoothInterface>>) -> Bluetooth { in new() argument
171 let _result = tx.send(Message::BluetoothCallbackDisconnected(id)).await; in register_callback()
/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() argument
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.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/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/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.cpp114 Vector<Message> messages;
116 virtual void handleMessage(const Message& message) { in handleMessage()
462 mLooper->sendMessage(handler, Message(MSG_TEST1)); in TEST_F()
481 mLooper->sendMessage(handler1, Message(MSG_TEST1)); in TEST_F()
482 mLooper->sendMessage(handler2, Message(MSG_TEST2)); in TEST_F()
483 mLooper->sendMessage(handler1, Message(MSG_TEST3)); in TEST_F()
484 mLooper->sendMessage(handler1, Message(MSG_TEST4)); in TEST_F()
510 mLooper->sendMessageDelayed(ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F()
546 mLooper->sendMessageDelayed(ms2ns(-1000), handler, Message(MSG_TEST1)); in TEST_F()
564 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/extras/libjsonpb/parse/include/jsonpb/
Djsonpb.h30 google::protobuf::Message* message);
56 ErrorOr<std::string> MessageToJsonString(const google::protobuf::Message& message);
/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/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/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(
/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