Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DSimulatedLocationTimeZoneProviderProxy.java72 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument
75 Objects.requireNonNull(testCommand); in handleTestCommand()
79 switch (testCommand.getName()) { in handleTestCommand()
81 mLastEvent.set("Simulating onProviderBound(), testCommand=" + testCommand); in handleTestCommand()
87 mLastEvent.set("Simulating onProviderUnbound(), testCommand=" + testCommand); in handleTestCommand()
96 String errorMsg = "testCommand=" + testCommand in handleTestCommand()
106 createTimeZoneProviderEventFromTestCommand(testCommand); in handleTestCommand()
112 String errorMsg = "Unknown test event type. testCommand=" + testCommand; in handleTestCommand()
182 @NonNull TestCommand testCommand) { in createTimeZoneProviderEventFromTestCommand()
183 String name = testCommand.getName(); in createTimeZoneProviderEventFromTestCommand()
[all …]
H A DLocationTimeZoneManagerShellCommand.java300 TestCommand testCommand; in runSendProviderTestCommand() local
303 testCommand = createTestCommandFromNextShellArg(); in runSendProviderTestCommand()
309 outPrintWriter.println("Injecting testCommand=" + testCommand in runSendProviderTestCommand()
312 Bundle result = mService.handleProviderTestCommand(providerIndex, testCommand); in runSendProviderTestCommand()
H A DControllerImpl.java608 @IntRange(from = 0, to = 1) int providerIndex, @NonNull TestCommand testCommand, in handleProviderTestCommand() argument
615 + " providerIndex=" + providerIndex + ", testCommand=" + testCommand); in handleProviderTestCommand()
621 targetProvider.handleTestCommand(testCommand, callback); in handleProviderTestCommand()
624 + " providerIndex=" + providerIndex + ", testCommand=" + testCommand, e); in handleProviderTestCommand()
H A DBinderLocationTimeZoneProvider.java176 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument
179 mProxy.handleTestCommand(testCommand, callback); in handleTestCommand()
H A DNullLocationTimeZoneProviderProxy.java70 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument
H A DLocationTimeZoneProviderProxy.java119 abstract void handleTestCommand(@NonNull TestCommand testCommand, in handleTestCommand() argument
H A DLocationTimeZoneManagerService.java352 @NonNull TestCommand testCommand) {
373 providerIndex, testCommand, remoteCallback);
H A DRealLocationTimeZoneProviderProxy.java162 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument
H A DLocationTimeZoneProvider.java614 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument
615 Objects.requireNonNull(testCommand); in handleTestCommand()
/aosp12/system/core/libsysutils/src/
H A 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()
/aosp12/system/chre/apps/test/common/chre_stress_test/src/
H A 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 …]
/aosp12/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
H A 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()
/aosp12/system/chre/apps/test/common/chre_audio_concurrency_test/src/
H A 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()
/aosp12/system/chre/apps/test/common/chre_settings_test/src/
H A 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()
/aosp12/system/teeui/libteeui/include/teeui/
H A 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()
/aosp12/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
H A DContextHubAudioConcurrencyTestExecutor.java203 ChreAudioConcurrencyTest.TestCommand testCommand = in sendTestCommandMessage() local
207 testCommand.toByteArray()); in sendTestCommandMessage()
/aosp12/system/chre/java/test/stress/src/com/google/android/chre/test/stress/
H A DContextHubStressTestExecutor.java263 ChreStressTest.TestCommand testCommand = ChreStressTest.TestCommand.newBuilder() in sendTestMessage() local
268 testCommand.toByteArray()); in sendTestMessage()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DLocationTimeZoneProviderTest.java181 TestCommand testCommand = TestCommand.createForTests("test", new Bundle()); in defaultHandleTestCommandImpl() local
184 provider.handleTestCommand(testCommand, callback); in defaultHandleTestCommandImpl()