Home
last modified time | relevance | path

Searched refs:testCommand (Results 1 – 6 of 6) 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/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_settings_test/src/
Dchre_settings_test_manager.cc180 chre_settings_test_TestCommand testCommand = in handleMessageFromHost() local
184 &testCommand)) { in handleMessageFromHost()
190 if (getFeature(testCommand, &feature) && in handleMessageFromHost()
191 getFeatureState(testCommand, &state) && in handleMessageFromHost()
192 getTestStep(testCommand, &step)) { in handleMessageFromHost()
/system/chre/apps/test/common/chre_audio_concurrency_test/src/
Dchre_audio_concurrency_test_manager.cc122 chre_audio_concurrency_test_TestCommand testCommand = in handleMessageFromHost() local
127 &testCommand)) { in handleMessageFromHost()
129 } else if (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.java212 ChreAudioConcurrencyTest.TestCommand testCommand = in sendTestCommandMessage() local
216 testCommand.toByteArray()); in sendTestCommandMessage()