/system/chre/apps/test/chqts/src/shared/ |
D | send_message.h | 37 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()
|
D | send_message.cc | 62 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/ |
D | get_time_test.cc | 27 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()
|
D | nanoapp_info_by_app_id_test.cc | 33 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp() 43 nanoapp_testing::MessageType::kContinue, sizeof(&appVersion)); in handleEvent()
|
D | nanoapp_info_by_instance_id_test.cc | 34 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp() 44 nanoapp_testing::MessageType::kContinue, sizeof(&appVersion)); in handleEvent()
|
D | event_between_apps_test.cc | 30 using nanoapp_testing::MessageType; 57 senderInstanceId, eventType, eventData, MessageType::kContinue, in handleEvent() 94 senderInstanceId, eventType, eventData, MessageType::kContinue, in handleEvent()
|
D | simple_heap_alloc_test.cc | 29 using nanoapp_testing::MessageType; 156 sendMessageToHost(MessageType::kContinue); in setUp() 164 MessageType::kContinue, 0); in handleEvent()
|
D | estimated_host_time_test.cc | 62 nanoapp_testing::MessageType::kContinue, sizeof(givenHostTime)); in handleEvent() 90 nanoapp_testing::MessageType::kContinue); in verifyIncreasingTime()
|
D | nanoapp_info_events_test_observer.cc | 30 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue); in setUp() 52 nanoapp_testing::MessageType::kContinue, sizeof(performerInstanceId)); in handleEvent()
|
D | test.cc | 38 sendMessageToHost(nanoapp_testing::MessageType::kSkipped); in testSetUp() 88 nanoapp_testing::MessageType expectedMessageType, in getMessageDataFromHostEvent()
|
D | test.h | 107 nanoapp_testing::MessageType expectedMessageType,
|
D | nanoapp_info.cc | 45 sendMessageToHost(nanoapp_testing::MessageType::kContinue, &info, in sendToHost()
|
D | send_message_to_host_test.cc | 30 using nanoapp_testing::MessageType; 235 nanoapp_testing::sendMessageToHost(MessageType::kContinue, &maxSize, in sendMessageMaxSize()
|
/system/chre/apps/power_test/common/ |
D | request_manager.cc | 103 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()
|
D | power_test.cc | 31 using chre::power_test::MessageType; 60 static_cast<uint32_t>(MessageType::NANOAPP_RESPONSE), in sendResponseMessageToHost()
|
/system/chre/apps/power_test/common/include/generated/ |
D | chre_power_test_generated.h | 39 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/ |
D | chre_power_test_client.cc | 102 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/ |
D | ContextHubSettingsTestExecutor.java | 92 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/ |
D | netlink_manager.h | 40 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/ |
D | ChreCrossValidatorWifi.java | 153 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()
|
D | ChreCrossValidatorSensor.java | 146 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/ |
D | chre_power_test_generated.h | 47 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/ |
D | ContextHubAudioConcurrencyTestExecutor.java | 90 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/ |
D | pts_chre.proto | 13 enum MessageType { enum
|
/system/chre/apps/test/common/proto/ |
D | chre_audio_concurrency_test.proto | 11 enum MessageType { enum
|