/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubTestConstants.java | 254 public enum MessageType { enum in ContextHubTestConstants 329 MessageType(int value) { in MessageType() method in ContextHubTestConstants.MessageType 357 public static MessageType fromInt(int value, String errorMessage) { in fromInt() 358 for (MessageType type : MessageType.values()) { in fromInt() 367 return MessageType.INVALID_MESSAGE_TYPE; in fromInt()
|
D | ContextHubSimpleHeapAllocTestExecutor.java | 46 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp() 47 if (type != ContextHubTestConstants.MessageType.CONTINUE) { in handleMessageFromNanoApp() 60 sendMessageToNanoAppOrFail(nanoAppId, ContextHubTestConstants.MessageType.CONTINUE.asInt(), in handleMessageFromNanoApp()
|
D | ContextHubInfoByIdTestExecutor.java | 46 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp() 47 if (type != ContextHubTestConstants.MessageType.CONTINUE) { in handleMessageFromNanoApp() 59 sendMessageToNanoAppOrFail(nanoAppId, ContextHubTestConstants.MessageType.CONTINUE.asInt(), in handleMessageFromNanoApp()
|
D | ContextHubEventBetweenAppsTestExecutor.java | 70 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp() 71 if (type != ContextHubTestConstants.MessageType.CONTINUE) { in handleMessageFromNanoApp() 114 ContextHubTestConstants.MessageType.CONTINUE.asInt(), buffer.array()); in handleMessageFromNanoApp() 119 ContextHubTestConstants.MessageType.CONTINUE.asInt(), buffer.array()); in handleMessageFromNanoApp()
|
D | ContextHubSendMessageToHostTestExecutor.java | 76 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp() 77 if (type != ContextHubTestConstants.MessageType.CONTINUE) { in handleMessageFromNanoApp() 150 message.getNanoAppId(), ContextHubTestConstants.MessageType.CONTINUE.asInt(), in hackMessageFromNanoApp() 185 sendMessageToNanoAppOrFail(nanoAppId, ContextHubTestConstants.MessageType.CONTINUE.asInt(), in sendEmptyMessage()
|
D | ContextHubEstimatedHostTimeTestExecutor.java | 51 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp() 52 if (type != ContextHubTestConstants.MessageType.CONTINUE) { in handleMessageFromNanoApp() 86 ContextHubTestConstants.MessageType.CONTINUE.asInt(), in handleMessageFromNanoApp()
|
D | ContextHubGetTimeTestExecutor.java | 74 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp() 75 if (type != ContextHubTestConstants.MessageType.CONTINUE) { in handleMessageFromNanoApp() 97 ContextHubTestConstants.MessageType.CONTINUE.asInt(), in handleMessageFromNanoApp()
|
D | ContextHubNanoAppInfoEventsTestExecutor.java | 62 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp() 63 if (type != ContextHubTestConstants.MessageType.CONTINUE) { in handleMessageFromNanoApp() 104 ContextHubTestConstants.MessageType.CONTINUE.asInt(), buffer.array()); in handleMessageFromNanoApp()
|
D | ContextHubReliableMessageTestExecutor.java | 117 case ChreReliableMessageTest.MessageType.TEST_RESULT_VALUE: in messageToHostTest() 132 case ChreReliableMessageTest.MessageType.HOST_ECHO_MESSAGE_VALUE: in messageToHostTest() 162 ChreReliableMessageTest.MessageType.SEND_MESSAGES_VALUE, in messageToHostTest() 198 == ChreReliableMessageTest.MessageType.NANOAPP_ECHO_MESSAGE_VALUE) { in messageToNanoappTest() 213 ChreReliableMessageTest.MessageType.NANOAPP_ECHO_MESSAGE_VALUE, in messageToNanoappTest()
|
/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 | 66 static_cast<uint32_t>(MessageType::kFailure), in fatalError() 101 static void *prependMessageType(MessageType messageType, void *memory) { in prependMessageType() 113 static void internalSendMessage(MessageType messageType, void *data, in internalSendMessage() 126 void sendMessageToHost(MessageType messageType, const void *data, in sendMessageToHost() 139 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() 195 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 | estimated_host_time_test.cc | 55 nanoapp_testing::sendMessageToHost(nanoapp_testing::MessageType::kContinue, in handleEvent() 68 nanoapp_testing::MessageType::kContinue); in verifyIncreasingTime()
|
D | simple_heap_alloc_test.cc | 29 using nanoapp_testing::MessageType; 156 sendMessageToHost(MessageType::kContinue); in setUp() 164 MessageType::kContinue, 0); in handleEvent()
|
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 | 42 sendMessageToHost(nanoapp_testing::MessageType::kSkipped); in testSetUp() 91 nanoapp_testing::MessageType expectedMessageType, in getMessageDataFromHostEvent()
|
/system/chre/apps/power_test/common/ |
D | request_manager.cc | 107 static_cast<power_test::MessageType>(hostMessage.messageType))); in verifyMessage() 119 using power_test::MessageType; 143 static_cast<uint32_t>(MessageType::NANOAPP_RESPONSE), in sendResponseMessageToHost() 345 static_cast<uint32_t>(MessageType::WIFI_NAN_SUB_RESP), in handleNanIdResult() 393 switch (static_cast<MessageType>(hostMessage.messageType)) { in handleMessageFromHost() 394 case MessageType::TIMER_TEST: { in handleMessageFromHost() 402 case MessageType::WIFI_SCAN_TEST: { in handleMessageFromHost() 413 case MessageType::GNSS_LOCATION_TEST: { in handleMessageFromHost() 422 case MessageType::CELL_QUERY_TEST: { in handleMessageFromHost() 430 case MessageType::AUDIO_REQUEST_TEST: { in handleMessageFromHost() [all …]
|
/system/chre/apps/power_test/common/include/generated/ |
D | chre_power_test_generated.h | 51 enum class MessageType : uint32_t { enum 81 inline const MessageType (&EnumValuesMessageType())[13] { in EnumValuesMessageType() 82 static const MessageType values[] = { in EnumValuesMessageType() 83 MessageType::UNSPECIFIED, in EnumValuesMessageType() 84 MessageType::TIMER_TEST, in EnumValuesMessageType() 85 MessageType::WIFI_SCAN_TEST, in EnumValuesMessageType() 86 MessageType::GNSS_LOCATION_TEST, in EnumValuesMessageType() 87 MessageType::CELL_QUERY_TEST, in EnumValuesMessageType() 88 MessageType::AUDIO_REQUEST_TEST, in EnumValuesMessageType() 89 MessageType::SENSOR_REQUEST_TEST, in EnumValuesMessageType() [all …]
|
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/ |
D | ContextHubStressTestExecutor.java | 105 case ChreStressTest.MessageType.TEST_RESULT_VALUE: { in onMessageFromNanoApp() 115 case ChreStressTest.MessageType.TEST_WIFI_SCAN_MONITOR_TRIGGERED_VALUE: { in onMessageFromNanoApp() 120 case ChreStressTest.MessageType.CAPABILITIES_VALUE: { in onMessageFromNanoApp() 242 mNanoAppId, ChreStressTest.MessageType.TEST_HOST_RESTARTED_VALUE, in runWifiScanMonitorRestartTest() 248 mNanoAppId, ChreStressTest.MessageType.GET_CAPABILITIES_VALUE, in runWifiScanMonitorRestartTest() 327 mNanoAppId, ChreStressTest.MessageType.TEST_COMMAND_VALUE, in sendTestMessage()
|
/system/chre/host/common/test/power_test/ |
D | chre_power_test_client.cc | 133 using chre::power_test::MessageType; 196 std::unordered_map<string, MessageType> messageTypeMap{ 197 {"timer", MessageType::TIMER_TEST}, 198 {"wifi", MessageType::WIFI_SCAN_TEST}, 199 {"gnss", MessageType::GNSS_LOCATION_TEST}, 200 {"cell", MessageType::CELL_QUERY_TEST}, 201 {"audio", MessageType::AUDIO_REQUEST_TEST}, 202 {"sensor", MessageType::SENSOR_REQUEST_TEST}, 203 {"breakit", MessageType::BREAK_IT_TEST}, 204 {"gnss_meas", MessageType::GNSS_MEASUREMENT_TEST}, [all …]
|
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/ |
D | ContextHubSettingsTestExecutor.java | 91 case ChreSettingsTest.MessageType.TEST_RESULT_VALUE: { in onMessageFromNanoApp() 102 case ChreSettingsTest.MessageType.TEST_SETUP_COMPLETE_VALUE: { in onMessageFromNanoApp() 152 mNanoAppId, ChreSettingsTest.MessageType.TEST_COMMAND_VALUE, in setupTestAssertSuccess() 181 mNanoAppId, ChreSettingsTest.MessageType.TEST_COMMAND_VALUE, in startTestAssertSuccess()
|
/system/connectivity/wificond/net/ |
D | netlink_manager.h | 41 struct MessageType { struct 43 MessageType() {}; in MessageType() argument 44 explicit MessageType(uint16_t id) { in MessageType() function 339 std::map<std::string, MessageType> message_types_;
|