Home
last modified time | relevance | path

Searched refs:shellCommand (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceShellCommandFactoryTest.java48 ShellCommand shellCommand = mFactory.getShellCommand(CustomAudienceViewCommand.CMD); in test_viewCmd() local
49 Truth.assertThat(shellCommand).isInstanceOf(CustomAudienceViewCommand.class); in test_viewCmd()
54 ShellCommand shellCommand = mFactory.getShellCommand(CustomAudienceListCommand.CMD); in test_listCmd() local
55 Truth.assertThat(shellCommand).isInstanceOf(CustomAudienceListCommand.class); in test_listCmd()
60 ShellCommand shellCommand = mFactory.getShellCommand(CustomAudienceRefreshCommand.CMD); in test_refreshCmd() local
61 Truth.assertThat(shellCommand).isInstanceOf(CustomAudienceRefreshCommand.class); in test_refreshCmd()
66 ShellCommand shellCommand = mFactory.getShellCommand("invalid"); in test_invalidCmd() local
67 Truth.assertThat(shellCommand).isNull(); in test_invalidCmd()
72 ShellCommand shellCommand = mFactory.getShellCommand(null); in test_nullCmd() local
73 Truth.assertThat(shellCommand).isNull(); in test_nullCmd()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adselection/
DAdSelectionShellCommandFactoryTest.java55 ShellCommand shellCommand = mFactory.getShellCommand(ConsentedDebugShellCommand.CMD); in test_consentedDebugCmd() local
56 Truth.assertThat(shellCommand).isInstanceOf(ConsentedDebugShellCommand.class); in test_consentedDebugCmd()
61 ShellCommand shellCommand = mFactory.getShellCommand(GetAdSelectionDataCommand.CMD); in test_GetAdSelectionDataCmd() local
62 Truth.assertThat(shellCommand).isInstanceOf(GetAdSelectionDataCommand.class); in test_GetAdSelectionDataCmd()
74 ShellCommand shellCommand = mFactory.getShellCommand(ConsentedDebugShellCommand.CMD); in test_consentedDebugCmdDisabled() local
75 Truth.assertThat(shellCommand).isInstanceOf(NoOpShellCommand.class); in test_consentedDebugCmdDisabled()
87 ShellCommand shellCommand = mFactory.getShellCommand(GetAdSelectionDataCommand.CMD); in test_GetAdSelectionDataCmdDisabled() local
88 Truth.assertThat(shellCommand).isInstanceOf(NoOpShellCommand.class); in test_GetAdSelectionDataCmdDisabled()
93 ShellCommand shellCommand = mFactory.getShellCommand("invalid"); in test_invalidCmd() local
94 Truth.assertThat(shellCommand).isNull(); in test_invalidCmd()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/signals/
DSignalsShellCommandFactoryTest.java44 ShellCommand shellCommand = mFactory.getShellCommand(GenerateInputForEncodingCommand.CMD); in test_generateInputCmd() local
45 Truth.assertThat(shellCommand).isInstanceOf(GenerateInputForEncodingCommand.class); in test_generateInputCmd()
50 ShellCommand shellCommand = mFactory.getShellCommand("invalid"); in test_invalidCmd() local
51 Truth.assertThat(shellCommand).isNull(); in test_invalidCmd()
56 ShellCommand shellCommand = mFactory.getShellCommand(null); in test_nullCmd() local
57 Truth.assertThat(shellCommand).isNull(); in test_nullCmd()
62 ShellCommand shellCommand = mFactory.getShellCommand(""); in test_emptyCmd() local
63 Truth.assertThat(shellCommand).isNull(); in test_emptyCmd()
69 ShellCommand shellCommand = mFactory.getShellCommand(GenerateInputForEncodingCommand.CMD); in test_cliDisabled() local
70 Truth.assertThat(shellCommand).isInstanceOf(NoOpShellCommand.class); in test_cliDisabled()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/
DAdServicesShellCommandHandler.java185 ShellCommand shellCommand; in onCommand() local
189 shellCommand = shellCommandFactory.getShellCommand(subCommand); in onCommand()
191 shellCommand = COMMON_SHELL_COMMAND_FACTORY.getShellCommand(cmd); in onCommand()
194 if (shellCommand == null) { in onCommand()
200 ShellCommandResult shellCommandResult = shellCommand.run(mOut, mErr, mArgs); in onCommand()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/
DShellCommandServiceImplTest.java241 ShellCommand shellCommand = in testRunShellCommand_offloadsWorkToExecutor() local
271 injectCommandToService(shellCommand, commandPrefix), in testRunShellCommand_offloadsWorkToExecutor()
302 ShellCommand shellCommand = in testRunShellCommand_commandTimesOut() local
332 injectCommandToService(shellCommand, commandPrefix), in testRunShellCommand_commandTimesOut()
356 ShellCommand shellCommand = in testRunShellCommand_commandThrowsException() local
382 injectCommandToService(shellCommand, commandPrefix), in testRunShellCommand_commandThrowsException()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DAdbUtils.java61 public static String shell(String shellCommand) { in shell() argument
67 .executeShellCommand(shellCommand))) { in shell()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareShellCommand.java41 public void register(String command, DelegatedShellCommand shellCommand) { in register() argument
46 mDelegatedCommands.put(command, shellCommand); in register()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceImpl.java564 UwbShellCommand shellCommand = mUwbInjector.makeUwbShellCommand(this); in handleShellCommand() local
565 return shellCommand.exec(this, in.getFileDescriptor(), out.getFileDescriptor(), in handleShellCommand()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java2582 NfcShellCommand shellCommand = new NfcShellCommand(NfcService.this, mContext); in handleShellCommand() local
2583 return shellCommand.exec(this, in.getFileDescriptor(), out.getFileDescriptor(), in handleShellCommand()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1354 WifiP2pShellCommand shellCommand = new WifiP2pShellCommand(mContext); in handleShellCommand() local
1355 return shellCommand.exec( in handleShellCommand()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java5478 WifiShellCommand shellCommand = mWifiInjector.makeWifiShellCommand(this);
5479 return shellCommand.exec(this, in.getFileDescriptor(), out.getFileDescriptor(),