Home
last modified time | relevance | path

Searched refs:MessageType (Results 1 – 25 of 35) sorted by relevance

12

/system/chre/apps/test/chqts/src/shared/
Dsend_message.h37 enum class MessageType : uint32_t { enum
115 void sendMessageToHost(MessageType messageType, const void *data = nullptr,
133 void sendStringToHost(MessageType messageType, const char *message,
141 sendStringToHost(MessageType::kFailure, message, value);
176 sendMessageToHost(MessageType::kSuccess); in sendSuccessToHost()
Dsend_message.cc62 static_cast<uint32_t>(MessageType::kFailure), in fatalError()
97 static void *prependMessageType(MessageType messageType, void *memory) { in prependMessageType()
109 static void internalSendMessage(MessageType messageType, void *data, in internalSendMessage()
122 void sendMessageToHost(MessageType messageType, const void *data, in sendMessageToHost()
135 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost()
191 sendStringToHost(MessageType::kInternalFailure, message, value); in sendInternalFailureToHost()
/system/chre/apps/test/chqts/src/general_test/
Dget_time_test.cc27 using nanoapp_testing::MessageType;
68 sendMessageToHost(MessageType::kContinue, &prevTime, sizeof(prevTime)); in setUp()
77 MessageType::kContinue, 0); in handleEvent()
84 sendMessageToHost(MessageType::kContinue, &time, sizeof(time)); in handleEvent()
Dnanoapp_info_by_app_id_test.cc33 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp()
43 nanoapp_testing::MessageType::kContinue, sizeof(&appVersion)); in handleEvent()
Dnanoapp_info_by_instance_id_test.cc34 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp()
44 nanoapp_testing::MessageType::kContinue, sizeof(&appVersion)); in handleEvent()
Devent_between_apps_test.cc30 using nanoapp_testing::MessageType;
57 senderInstanceId, eventType, eventData, MessageType::kContinue, in handleEvent()
94 senderInstanceId, eventType, eventData, MessageType::kContinue, in handleEvent()
Dsimple_heap_alloc_test.cc29 using nanoapp_testing::MessageType;
156 sendMessageToHost(MessageType::kContinue); in setUp()
164 MessageType::kContinue, 0); in handleEvent()
Destimated_host_time_test.cc62 nanoapp_testing::MessageType::kContinue, sizeof(givenHostTime)); in handleEvent()
90 nanoapp_testing::MessageType::kContinue); in verifyIncreasingTime()
Dnanoapp_info_events_test_observer.cc30 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp()
52 nanoapp_testing::MessageType::kContinue, sizeof(performerInstanceId)); in handleEvent()
Dtest.cc38 sendMessageToHost(nanoapp_testing::MessageType::kSkipped); in testSetUp()
88 nanoapp_testing::MessageType expectedMessageType, in getMessageDataFromHostEvent()
Dtest.h107 nanoapp_testing::MessageType expectedMessageType,
Dnanoapp_info.cc45 sendMessageToHost(nanoapp_testing::MessageType::kContinue, &info, in sendToHost()
Dsend_message_to_host_test.cc30 using nanoapp_testing::MessageType;
235 nanoapp_testing::sendMessageToHost(MessageType::kContinue, &maxSize, in sendMessageMaxSize()
/system/chre/apps/power_test/common/
Drequest_manager.cc103 static_cast<power_test::MessageType>(hostMessage.messageType))); in verifyMessage()
114 using power_test::MessageType;
277 switch (static_cast<MessageType>(hostMessage.messageType)) { in handleMessageFromHost()
278 case MessageType::TIMER_TEST: { in handleMessageFromHost()
286 case MessageType::WIFI_SCAN_TEST: { in handleMessageFromHost()
294 case MessageType::GNSS_LOCATION_TEST: { in handleMessageFromHost()
303 case MessageType::CELL_QUERY_TEST: { in handleMessageFromHost()
311 case MessageType::AUDIO_REQUEST_TEST: { in handleMessageFromHost()
318 case MessageType::SENSOR_REQUEST_TEST: { in handleMessageFromHost()
327 case MessageType::BREAK_IT_TEST: { in handleMessageFromHost()
Dpower_test.cc31 using chre::power_test::MessageType;
60 static_cast<uint32_t>(MessageType::NANOAPP_RESPONSE), in sendResponseMessageToHost()
/system/chre/apps/power_test/common/include/generated/
Dchre_power_test_generated.h39 enum class MessageType : uint32_t { enum
61 inline const MessageType (&EnumValuesMessageType())[9] { in EnumValuesMessageType()
62 static const MessageType values[] = { in EnumValuesMessageType()
63 MessageType::UNSPECIFIED, in EnumValuesMessageType()
64 MessageType::TIMER_TEST, in EnumValuesMessageType()
65 MessageType::WIFI_SCAN_TEST, in EnumValuesMessageType()
66 MessageType::GNSS_LOCATION_TEST, in EnumValuesMessageType()
67 MessageType::CELL_QUERY_TEST, in EnumValuesMessageType()
68 MessageType::AUDIO_REQUEST_TEST, in EnumValuesMessageType()
69 MessageType::SENSOR_REQUEST_TEST, in EnumValuesMessageType()
[all …]
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc102 using chre::power_test::MessageType;
150 std::unordered_map<string, MessageType> messageTypeMap{
151 {"timer", MessageType::TIMER_TEST},
152 {"wifi", MessageType::WIFI_SCAN_TEST},
153 {"gnss", MessageType::GNSS_LOCATION_TEST},
154 {"cell", MessageType::CELL_QUERY_TEST},
155 {"audio", MessageType::AUDIO_REQUEST_TEST},
156 {"sensor", MessageType::SENSOR_REQUEST_TEST},
157 {"breakit", MessageType::BREAK_IT_TEST}};
206 static_cast<uint32_t>(MessageType::NANOAPP_RESPONSE)) { in handleNanoappMessage()
[all …]
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubSettingsTestExecutor.java92 case ChreSettingsTest.MessageType.TEST_RESULT_VALUE: { in onMessageFromNanoApp()
103 case ChreSettingsTest.MessageType.TEST_SETUP_COMPLETE_VALUE: { in onMessageFromNanoApp()
152 mNanoAppId, ChreSettingsTest.MessageType.TEST_COMMAND_VALUE, in setupTestAssertSuccess()
185 mNanoAppId, ChreSettingsTest.MessageType.TEST_COMMAND_VALUE, in startTestAssertSuccess()
/system/connectivity/wificond/net/
Dnetlink_manager.h40 struct MessageType { struct
42 MessageType() {}; in MessageType() argument
43 explicit MessageType(uint16_t id) { in MessageType() function
329 std::map<std::string, MessageType> message_types_;
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorWifi.java153 int messageType = ChreCrossValidationWifi.MessageType.STEP_START_VALUE; in makeStepStartMessage()
207 int messageType = ChreCrossValidationWifi.MessageType.SCAN_RESULT_VALUE; in makeWifiScanResultMessage()
221 == ChreCrossValidationWifi.MessageType.STEP_RESULT_VALUE) { in parseDataFromNanoAppMessage()
242 == ChreCrossValidationWifi.MessageType.WIFI_CAPABILITIES_VALUE) { in parseDataFromNanoAppMessage()
DChreCrossValidatorSensor.java146 int messageType = ChreCrossValidationSensor.MessageType.CHRE_CROSS_VALIDATION_START_VALUE; in makeStartNanoAppMessage()
165 int messageType = ChreCrossValidationSensor.MessageType.CHRE_CROSS_VALIDATION_INFO_VALUE; in makeInfoCommandMessage()
177 == ChreCrossValidationSensor.MessageType in parseDataFromNanoAppMessage()
181 == ChreCrossValidationSensor.MessageType.CHRE_CROSS_VALIDATION_DATA_VALUE) { in parseDataFromNanoAppMessage()
/system/chre/apps/power_test/common/idl/
Dchre_power_test_generated.h47 enum class MessageType : uint32_t { enum
69 inline const MessageType (&EnumValuesMessageType())[9] { in EnumValuesMessageType()
70 static const MessageType values[] = { in EnumValuesMessageType()
71 MessageType::UNSPECIFIED, in EnumValuesMessageType()
72 MessageType::TIMER_TEST, in EnumValuesMessageType()
73 MessageType::WIFI_SCAN_TEST, in EnumValuesMessageType()
74 MessageType::GNSS_LOCATION_TEST, in EnumValuesMessageType()
75 MessageType::CELL_QUERY_TEST, in EnumValuesMessageType()
76 MessageType::AUDIO_REQUEST_TEST, in EnumValuesMessageType()
77 MessageType::SENSOR_REQUEST_TEST, in EnumValuesMessageType()
[all …]
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
DContextHubAudioConcurrencyTestExecutor.java90 case ChreAudioConcurrencyTest.MessageType.TEST_RESULT_VALUE: { in onMessageFromNanoApp()
101 case ChreAudioConcurrencyTest.MessageType.TEST_AUDIO_ENABLED_VALUE: { in onMessageFromNanoApp()
215 mNanoAppId, ChreAudioConcurrencyTest.MessageType.TEST_COMMAND_VALUE, in sendTestCommandMessage()
/system/chre/apps/test/pts/proto/
Dpts_chre.proto13 enum MessageType { enum
/system/chre/apps/test/common/proto/
Dchre_audio_concurrency_test.proto11 enum MessageType { enum

12