/aosp12/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
H A D | SimulatedLocationTimeZoneProviderProxy.java | 72 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 D | LocationTimeZoneManagerShellCommand.java | 300 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 D | ControllerImpl.java | 608 @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 D | BinderLocationTimeZoneProvider.java | 176 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument 179 mProxy.handleTestCommand(testCommand, callback); in handleTestCommand()
|
H A D | NullLocationTimeZoneProviderProxy.java | 70 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument
|
H A D | LocationTimeZoneProviderProxy.java | 119 abstract void handleTestCommand(@NonNull TestCommand testCommand, in handleTestCommand() argument
|
H A D | LocationTimeZoneManagerService.java | 352 @NonNull TestCommand testCommand) { 373 providerIndex, testCommand, remoteCallback);
|
H A D | RealLocationTimeZoneProviderProxy.java | 162 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument
|
H A D | LocationTimeZoneProvider.java | 614 void handleTestCommand(@NonNull TestCommand testCommand, @Nullable RemoteCallback callback) { in handleTestCommand() argument 615 Objects.requireNonNull(testCommand); in handleTestCommand()
|
/aosp12/system/core/libsysutils/src/ |
H A D | SocketListener_test.cpp | 139 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 D | chre_stress_test_manager.cc | 84 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 D | ContextHubSettingsTestExecutor.java | 147 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 D | chre_audio_concurrency_test_manager.cc | 123 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 D | chre_settings_test_manager.cc | 196 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 D | generic_operation.h | 173 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 D | ContextHubAudioConcurrencyTestExecutor.java | 203 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 D | ContextHubStressTestExecutor.java | 263 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 D | LocationTimeZoneProviderTest.java | 181 TestCommand testCommand = TestCommand.createForTests("test", new Bundle()); in defaultHandleTestCommandImpl() local 184 provider.handleTestCommand(testCommand, callback); in defaultHandleTestCommandImpl()
|