Home
last modified time | relevance | path

Searched refs:TestCommand (Results 1 – 12 of 12) sorted by relevance

/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubGnssSettingsTestExecutor.java52 runTest(ChreSettingsTest.TestCommand.Feature.GNSS_LOCATION, false /* enableFeature */); in runGnssLocationTest()
53 runTest(ChreSettingsTest.TestCommand.Feature.GNSS_LOCATION, true /* enableFeature */); in runGnssLocationTest()
57 runTest(ChreSettingsTest.TestCommand.Feature.GNSS_MEASUREMENT, false /* enableFeature */); in runGnssMeasurementTest()
58 runTest(ChreSettingsTest.TestCommand.Feature.GNSS_MEASUREMENT, true /* enableFeature */); in runGnssMeasurementTest()
74 private void runTest(ChreSettingsTest.TestCommand.Feature feature, boolean enableFeature) { in runTest()
77 ChreSettingsTest.TestCommand.State state = enableFeature in runTest()
78 ? ChreSettingsTest.TestCommand.State.ENABLED in runTest()
79 : ChreSettingsTest.TestCommand.State.DISABLED; in runTest()
DContextHubMicDisableSettingsTestExecutor.java55 runTest(ChreSettingsTest.TestCommand.Feature.AUDIO, false /* enableFeature */); in runMicDisableSettingsTest()
58 runTest(ChreSettingsTest.TestCommand.Feature.AUDIO, true /* enableFeature */); in runMicDisableSettingsTest()
90 private void runTest(ChreSettingsTest.TestCommand.Feature feature, boolean enableFeature) { in runTest()
91 ChreSettingsTest.TestCommand.State state = enableFeature in runTest()
92 ? ChreSettingsTest.TestCommand.State.ENABLED in runTest()
93 : ChreSettingsTest.TestCommand.State.DISABLED; in runTest()
DContextHubWifiSettingsTestExecutor.java150 ChreSettingsTest.TestCommand.State state = enableFeature in runWifiScanningTest()
151 ? ChreSettingsTest.TestCommand.State.ENABLED in runWifiScanningTest()
152 : ChreSettingsTest.TestCommand.State.DISABLED; in runWifiScanningTest()
154 ChreSettingsTest.TestCommand.Feature.WIFI_SCANNING, state); in runWifiScanningTest()
167 mExecutor.setupTestAssertSuccess(ChreSettingsTest.TestCommand.Feature.WIFI_RTT); in runWifiRangingTest()
171 ChreSettingsTest.TestCommand.State state = enableFeature in runWifiRangingTest()
172 ? ChreSettingsTest.TestCommand.State.ENABLED in runWifiRangingTest()
173 : ChreSettingsTest.TestCommand.State.DISABLED; in runWifiRangingTest()
174 mExecutor.startTestAssertSuccess(ChreSettingsTest.TestCommand.Feature.WIFI_RTT, state); in runWifiRangingTest()
DContextHubSettingsTestExecutor.java142 public void setupTestAssertSuccess(ChreSettingsTest.TestCommand.Feature feature) { in setupTestAssertSuccess()
147 ChreSettingsTest.TestCommand testCommand = in setupTestAssertSuccess()
148 ChreSettingsTest.TestCommand.newBuilder() in setupTestAssertSuccess()
150 .setStep(ChreSettingsTest.TestCommand.Step.SETUP).build(); in setupTestAssertSuccess()
176 ChreSettingsTest.TestCommand.Feature feature, in startTestAssertSuccess()
177 ChreSettingsTest.TestCommand.State state) { in startTestAssertSuccess()
181 ChreSettingsTest.TestCommand testCommand = ChreSettingsTest.TestCommand.newBuilder() in startTestAssertSuccess()
DContextHubWwanSettingsTestExecutor.java127 ChreSettingsTest.TestCommand.State state = enableFeature in runTest()
128 ? ChreSettingsTest.TestCommand.State.ENABLED in runTest()
129 : ChreSettingsTest.TestCommand.State.DISABLED; in runTest()
131 ChreSettingsTest.TestCommand.Feature.WWAN_CELL_INFO, state); in runTest()
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/
DContextHubStressTestExecutor.java162 ChreStressTest.TestCommand.Feature[] features = { in runStressTest()
163 ChreStressTest.TestCommand.Feature.WIFI_ON_DEMAND_SCAN, in runStressTest()
164 ChreStressTest.TestCommand.Feature.GNSS_LOCATION, in runStressTest()
165 ChreStressTest.TestCommand.Feature.GNSS_MEASUREMENT, in runStressTest()
166 ChreStressTest.TestCommand.Feature.WWAN, in runStressTest()
172 for (ChreStressTest.TestCommand.Feature feature : features) { in runStressTest()
185 for (ChreStressTest.TestCommand.Feature feature : features) { in runStressTest()
202 sendTestMessage(ChreStressTest.TestCommand.Feature.WIFI_SCAN_MONITOR, true /* start */); in sendScanMonitorCommand()
239 sendTestMessage(ChreStressTest.TestCommand.Feature.WIFI_SCAN_MONITOR, false /* start */); in runWifiScanMonitorRestartTest()
262 private void sendTestMessage(ChreStressTest.TestCommand.Feature feature, boolean start) { in sendTestMessage()
[all …]
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
DContextHubAudioConcurrencyTestExecutor.java136 sendTestCommandMessage(ChreAudioConcurrencyTest.TestCommand.Step.ENABLE_AUDIO); in run()
149 sendTestCommandMessage(ChreAudioConcurrencyTest.TestCommand.Step.VERIFY_AUDIO_RESUME); in run()
202 private void sendTestCommandMessage(ChreAudioConcurrencyTest.TestCommand.Step step) { in sendTestCommandMessage()
203 ChreAudioConcurrencyTest.TestCommand testCommand = in sendTestCommandMessage()
204 ChreAudioConcurrencyTest.TestCommand.newBuilder().setStep(step).build(); in sendTestCommandMessage()
/system/update_engine/scripts/
Dpayload_info_unittest.py205 def TestCommand(self, payload_cmd, payload, expected_out): member in PayloadCommandTest
234 self.TestCommand(payload_cmd, payload, expected_out)
263 self.TestCommand(payload_cmd, payload, expected_out)
281 self.TestCommand(payload_cmd, payload, expected_out)
298 self.TestCommand(payload_cmd, payload, expected_out)
330 self.TestCommand(payload_cmd, payload, expected_out)
/system/core/libsysutils/src/
DSocketListener_test.cpp100 class TestCommand : public FrameworkCommand { class
102 TestCommand() : FrameworkCommand("test") {} in TestCommand() function in __anonc5b7691e0111::TestCommand
103 ~TestCommand() override {} in ~TestCommand()
117 registerCmd(new TestCommand); // Leaked :-( in TestListener()
/system/chre/apps/test/common/proto/
Dchre_audio_concurrency_test.proto16 // Payload must be TestCommand.
30 message TestCommand { message
Dchre_stress_test.proto14 // Payload must be TestCommand.
36 message TestCommand { message
Dchre_settings_test.proto14 // Payload must be TestCommand.
26 message TestCommand { message