Home
last modified time | relevance | path

Searched refs:SdkSandboxShellCommand (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxShellCommandUnitTest.java19 import static com.android.server.sdksandbox.SdkSandboxShellCommand.ADSERVICES_CMD;
136 final SdkSandboxShellCommand.Injector injector = in testCommandFailsIfCallerNotShellOrRoot()
137 new SdkSandboxShellCommand.Injector() { in testCommandFailsIfCallerNotShellOrRoot()
143 final SdkSandboxShellCommand cmd = in testCommandFailsIfCallerNotShellOrRoot()
144 new SdkSandboxShellCommand(mService, mSpyContext, injector); in testCommandFailsIfCallerNotShellOrRoot()
152 final SdkSandboxShellCommand cmd = in testStartFailsForInvalidPackage()
153 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsForInvalidPackage()
169 final SdkSandboxShellCommand cmd = in testStartFailsWhenSdkSandboxDisabled()
170 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsWhenSdkSandboxDisabled()
186 final SdkSandboxShellCommand cmd = in testStartFailsForNonDebuggablePackage()
[all …]
DSdkSandboxRestrictionsUnitTest.java1009 SdkSandboxShellCommand cmd = in setTestContentProviderAllowlist()
1010 new SdkSandboxShellCommand( in setTestContentProviderAllowlist()
1047 SdkSandboxShellCommand cmd = in setTestSendBroadcastAllowlist()
1048 new SdkSandboxShellCommand( in setTestSendBroadcastAllowlist()
1112 private static class ShellInjector extends SdkSandboxShellCommand.Injector {
DSdkSandboxManagerServiceUnitTest.java1627 SdkSandboxShellCommand command = Mockito.mock(SdkSandboxShellCommand.class); in testHandleShellCommandExecutesCommand()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxShellCommand.java42 class SdkSandboxShellCommand extends BasicShellCommandHandler { class
45 private static final String TAG = SdkSandboxShellCommand.class.getSimpleName();
62 SdkSandboxShellCommand( in SdkSandboxShellCommand() method in SdkSandboxShellCommand
74 SdkSandboxShellCommand(SdkSandboxManagerService service, Context context, Injector injector) { in SdkSandboxShellCommand() method in SdkSandboxShellCommand
78 SdkSandboxShellCommand( in SdkSandboxShellCommand() method in SdkSandboxShellCommand
DSdkSandboxManagerService.java273 SdkSandboxShellCommand createShellCommand( in createShellCommand()
277 return new SdkSandboxShellCommand(service, context, supportsAdServicesShellCmd); in createShellCommand()