Home
last modified time | relevance | path

Searched refs:testCommand (Results 1 – 8 of 8) sorted by relevance

/system/core/libsysutils/src/
DSocketListener_test.cpp139 void testCommand(const char* command, const char* expected) { in testCommand() function in FrameworkListenerTest
159 testCommand("test", "42 test"); in TEST_F()
160 testCommand("test arg1 arg2", "42 test,arg1,arg2"); in TEST_F()
161 testCommand("test \"arg1 still_arg1\" arg2", "42 test,arg1 still_arg1,arg2"); in TEST_F()
162 testCommand("test \"escaped quote: '\\\"'\"", "42 test,escaped quote: '\"'"); in TEST_F()
166 testCommand("test ", "42 test,,,"); in TEST_F()
170 testCommand("unknown arg1 arg2", "500 Command not recognized"); in TEST_F()
171 testCommand("test \"arg1 arg2", "500 Unclosed quotes error"); in TEST_F()
172 testCommand("test \\a", "500 Unsupported escape sequence"); in TEST_F()
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc84 chre_stress_test_TestCommand testCommand = in handleMessageFromHost() local
88 &testCommand)) { in handleMessageFromHost()
91 LOGI("Got message from host: feature %d start %d", testCommand.feature, in handleMessageFromHost()
92 testCommand.start); in handleMessageFromHost()
95 switch (testCommand.feature) { in handleMessageFromHost()
97 handleWifiStartCommand(testCommand.start); in handleMessageFromHost()
101 handleGnssLocationStartCommand(testCommand.start); in handleMessageFromHost()
105 handleGnssMeasurementStartCommand(testCommand.start); in handleMessageFromHost()
109 handleWwanStartCommand(testCommand.start); in handleMessageFromHost()
113 handleWifiScanMonitoringCommand(testCommand.start); in handleMessageFromHost()
[all …]
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubSettingsTestExecutor.java147 ChreSettingsTest.TestCommand testCommand = in setupTestAssertSuccess() local
153 testCommand.toByteArray()); in setupTestAssertSuccess()
181 ChreSettingsTest.TestCommand testCommand = ChreSettingsTest.TestCommand.newBuilder() in startTestAssertSuccess() local
186 testCommand.toByteArray()); in startTestAssertSuccess()
/system/chre/apps/test/common/chre_audio_concurrency_test/src/
Dchre_audio_concurrency_test_manager.cc123 chre_audio_concurrency_test_TestCommand testCommand = in handleMessageFromHost() local
128 &testCommand)) { in handleMessageFromHost()
130 } else if (getTestStep(testCommand, &step)) { in handleMessageFromHost()
/system/chre/apps/test/common/chre_settings_test/src/
Dchre_settings_test_manager.cc196 chre_settings_test_TestCommand testCommand = in handleMessageFromHost() local
200 &testCommand)) { in handleMessageFromHost()
206 if (getFeature(testCommand, &feature) && in handleMessageFromHost()
207 getFeatureState(testCommand, &state) && in handleMessageFromHost()
208 getTestStep(testCommand, &step)) { in handleMessageFromHost()
/system/teeui/libteeui/include/teeui/
Dgeneric_operation.h173 ResponseCode deliverTestCommand(TestModeCommands testCommand) { in deliverTestCommand() argument
175 auto rc = static_cast<Derived*>(this)->testCommandHook(testCommand); in deliverTestCommand()
177 switch (testCommand) { in deliverTestCommand()
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
DContextHubAudioConcurrencyTestExecutor.java203 ChreAudioConcurrencyTest.TestCommand testCommand = in sendTestCommandMessage() local
207 testCommand.toByteArray()); in sendTestCommandMessage()
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/
DContextHubStressTestExecutor.java263 ChreStressTest.TestCommand testCommand = ChreStressTest.TestCommand.newBuilder() in sendTestMessage() local
268 testCommand.toByteArray()); in sendTestMessage()