Home
last modified time | relevance | path

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

12

/system/core/libion/tests/
Dexit_test.cpp33 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
34 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
51 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
52 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
70 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
71 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
93 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
94 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
116 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
117 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
[all …]
Dallocate_test.cpp33 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
34 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
48 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
49 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
63 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
64 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
78 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
79 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
83 SCOPED_TRACE(::testing::Message() << "iteration " << i); in TEST_F()
97 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
[all …]
Dmap_test.cpp33 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
34 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
62 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
63 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
85 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
117 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
118 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
143 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
144 SCOPED_TRACE(::testing::Message() << "size " << size); in TEST_F()
Ddevice_test.cpp141 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
176 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
205 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
238 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
267 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
302 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
331 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
366 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
396 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
431 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
[all …]
Dinvalid_values_test.cpp67 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
90 SCOPED_TRACE(::testing::Message() << "heap " << heapMask); in TEST_F()
/system/core/libutils/include/utils/
DLooper.h52 struct Message { struct
53 Message() : what(0) { } in Message() function
54 Message(int w) : what(w) { } in Message() argument
77 virtual void handleMessage(const Message& message) = 0; argument
90 virtual void handleMessage(const Message& message);
350 void sendMessage(const sp<MessageHandler>& handler, const Message& message);
361 const Message& message);
372 const Message& message);
442 const Message& m) : uptime(u), handler(h), message(m) { in MessageEnvelope()
447 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;
36 std::string GetTypeUrl(const Message& message) { in GetTypeUrl()
40 ErrorOr<std::string> MessageToJsonString(const Message& message) { in MessageToJsonString()
58 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.cpp147 Vector<Message> messages;
149 virtual void handleMessage(const Message& message) { in handleMessage()
495 mLooper->sendMessage(handler, Message(MSG_TEST1)); in TEST_F()
514 mLooper->sendMessage(handler1, Message(MSG_TEST1)); in TEST_F()
515 mLooper->sendMessage(handler2, Message(MSG_TEST2)); in TEST_F()
516 mLooper->sendMessage(handler1, Message(MSG_TEST3)); in TEST_F()
517 mLooper->sendMessage(handler1, Message(MSG_TEST4)); in TEST_F()
543 mLooper->sendMessageDelayed(ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F()
579 mLooper->sendMessageDelayed(ms2ns(-1000), handler, Message(MSG_TEST1)); in TEST_F()
597 mLooper->sendMessageDelayed(0, handler, Message(MSG_TEST1)); in TEST_F()
[all …]
DLooper.cpp30 void WeakMessageHandler::handleMessage(const Message& message) { in handleMessage()
314 Message message = messageEnvelope.message; in pollInner()
573 void Looper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage()
579 const Message& message) { in sendMessageDelayed()
585 const Message& message) { in sendMessageAtTime()
/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/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/extras/simpleperf/
DUnixSocket_test.cpp25 struct Message { in TEST() struct
68 Message* msg = reinterpret_cast<Message*>(read_buf.data()); in TEST()
71 msg = reinterpret_cast<Message*>(read_buf.data()); in TEST()
/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(
/system/update_engine/scripts/update_payload/
Dupdate_metadata_pb2.py721 class Extent(_message.Message):
727 class Signatures(_message.Message):
730 class Signature(_message.Message):
739 class PartitionInfo(_message.Message):
745 class ImageInfo(_message.Message):
751 class InstallOperation(_message.Message):
757 class PartitionUpdate(_message.Message):
763 class DynamicPartitionGroup(_message.Message):
769 class DynamicPartitionMetadata(_message.Message):
775 class DeltaArchiveManifest(_message.Message):
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp295 template <typename Message> void parse_garbage() { in parse_garbage()
296 Message msg; in parse_garbage()
306 #define GARBAGE_TEST(Message) \ argument
307 TEST(GarbageTest, Message) { parse_garbage<Message>(); }
/system/core/libprocessgroup/profiles/
Dtest_vendor.cpp37 std::unique_ptr<google::protobuf::Message> CreateMessage() const override { in CreateMessage()

12