/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubTestConstants.java | 249 public enum MessageType { enum in ContextHubTestConstants 324 MessageType(int value) { in MessageType() method in ContextHubTestConstants.MessageType 352 public static MessageType fromInt(int value, String errorMessage) { in fromInt() 353 for (MessageType type : MessageType.values()) { in fromInt() 362 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 | ContextHubEstimatedHostTimeTestExecutor.java | 45 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp() 46 if (type != ContextHubTestConstants.MessageType.CONTINUE) { in handleMessageFromNanoApp() 54 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 | 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()
|
/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()
|
/system/chre/apps/power_test/common/ |
D | request_manager.cc | 105 static_cast<power_test::MessageType>(hostMessage.messageType))); in verifyMessage() 117 using power_test::MessageType; 305 switch (static_cast<MessageType>(hostMessage.messageType)) { in handleMessageFromHost() 306 case MessageType::TIMER_TEST: { in handleMessageFromHost() 314 case MessageType::WIFI_SCAN_TEST: { in handleMessageFromHost() 325 case MessageType::GNSS_LOCATION_TEST: { in handleMessageFromHost() 334 case MessageType::CELL_QUERY_TEST: { in handleMessageFromHost() 342 case MessageType::AUDIO_REQUEST_TEST: { in handleMessageFromHost() 349 case MessageType::SENSOR_REQUEST_TEST: { in handleMessageFromHost() 358 case MessageType::BREAK_IT_TEST: { in handleMessageFromHost() [all …]
|
/system/chre/apps/power_test/common/include/generated/ |
D | chre_power_test_generated.h | 42 enum class MessageType : uint32_t { enum 66 inline const MessageType (&EnumValuesMessageType())[10] { in EnumValuesMessageType() 67 static const MessageType values[] = { in EnumValuesMessageType() 68 MessageType::UNSPECIFIED, in EnumValuesMessageType() 69 MessageType::TIMER_TEST, in EnumValuesMessageType() 70 MessageType::WIFI_SCAN_TEST, in EnumValuesMessageType() 71 MessageType::GNSS_LOCATION_TEST, in EnumValuesMessageType() 72 MessageType::CELL_QUERY_TEST, in EnumValuesMessageType() 73 MessageType::AUDIO_REQUEST_TEST, in EnumValuesMessageType() 74 MessageType::SENSOR_REQUEST_TEST, in EnumValuesMessageType() [all …]
|
/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/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/chre/host/common/test/power_test/ |
D | chre_power_test_client.cc | 126 using chre::power_test::MessageType; 179 std::unordered_map<string, MessageType> messageTypeMap{ 180 {"timer", MessageType::TIMER_TEST}, 181 {"wifi", MessageType::WIFI_SCAN_TEST}, 182 {"gnss", MessageType::GNSS_LOCATION_TEST}, 183 {"cell", MessageType::CELL_QUERY_TEST}, 184 {"audio", MessageType::AUDIO_REQUEST_TEST}, 185 {"sensor", MessageType::SENSOR_REQUEST_TEST}, 186 {"breakit", MessageType::BREAK_IT_TEST}, 187 {"gnss_meas", MessageType::GNSS_MEASUREMENT_TEST}}; [all …]
|
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/ |
D | ContextHubStressTestExecutor.java | 91 case ChreStressTest.MessageType.TEST_RESULT_VALUE: { in onMessageFromNanoApp() 101 case ChreStressTest.MessageType.TEST_WIFI_SCAN_MONITOR_TRIGGERED_VALUE: { in onMessageFromNanoApp() 219 mNanoAppId, ChreStressTest.MessageType.TEST_HOST_RESTARTED_VALUE, in runWifiScanMonitorRestartTest() 267 mNanoAppId, ChreStressTest.MessageType.TEST_COMMAND_VALUE, in sendTestMessage()
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorWifi.java | 166 int messageType = ChreCrossValidationWifi.MessageType.STEP_START_VALUE; in makeStepStartMessage() 219 int messageType = ChreCrossValidationWifi.MessageType.USE_SCAN_RESULTS_SIZE_THRESHOLD_VALUE; in sendMessageUseScanResultsThresholdMessage() 230 int messageType = ChreCrossValidationWifi.MessageType.SCAN_RESULT_VALUE; in makeWifiScanResultMessage() 244 == ChreCrossValidationWifi.MessageType.STEP_RESULT_VALUE) { in parseDataFromNanoAppMessage() 265 == ChreCrossValidationWifi.MessageType.WIFI_CAPABILITIES_VALUE) { in parseDataFromNanoAppMessage()
|