/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceShellCommandFactoryTest.java | 48 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/ |
D | AdSelectionShellCommandFactoryTest.java | 55 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/ |
D | SignalsShellCommandFactoryTest.java | 44 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/ |
D | AdServicesShellCommandHandler.java | 185 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/ |
D | ShellCommandServiceImplTest.java | 241 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/ |
D | AdbUtils.java | 61 public static String shell(String shellCommand) { in shell() argument 67 .executeShellCommand(shellCommand))) { in shell()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareShellCommand.java | 41 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/ |
D | UwbServiceImpl.java | 564 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/ |
D | NfcService.java | 2582 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/ |
D | WifiP2pServiceImpl.java | 1354 WifiP2pShellCommand shellCommand = new WifiP2pShellCommand(mContext); in handleShellCommand() local 1355 return shellCommand.exec( in handleShellCommand()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 5478 WifiShellCommand shellCommand = mWifiInjector.makeWifiShellCommand(this); 5479 return shellCommand.exec(this, in.getFileDescriptor(), out.getFileDescriptor(),
|