Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxShellCommandUnitTest.java130 final SdkSandboxShellCommand.Injector injector = in testCommandFailsIfCallerNotShellOrRoot()
131 new SdkSandboxShellCommand.Injector() { in testCommandFailsIfCallerNotShellOrRoot()
137 final SdkSandboxShellCommand cmd = in testCommandFailsIfCallerNotShellOrRoot()
138 new SdkSandboxShellCommand(mService, mSpyContext, injector); in testCommandFailsIfCallerNotShellOrRoot()
146 final SdkSandboxShellCommand cmd = in testStartFailsForInvalidPackage()
147 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsForInvalidPackage()
163 final SdkSandboxShellCommand cmd = in testStartFailsWhenSdkSandboxDisabled()
164 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsWhenSdkSandboxDisabled()
181 final SdkSandboxShellCommand cmd = in testStartFailsForNonDebuggablePackage()
182 new SdkSandboxShellCommand(mService, mSpyContext, new ShellInjector()); in testStartFailsForNonDebuggablePackage()
[all …]
DSdkSandboxManagerServiceUnitTest.java1857 final SdkSandboxShellCommand command = Mockito.mock(SdkSandboxShellCommand.class); in testHandleShellCommandExecutesCommand()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxShellCommand.java35 class SdkSandboxShellCommand extends BasicShellCommandHandler { class
51 SdkSandboxShellCommand(SdkSandboxManagerService service, Context context, Injector injector) { in SdkSandboxShellCommand() method in SdkSandboxShellCommand
57 SdkSandboxShellCommand(SdkSandboxManagerService service, Context context) { in SdkSandboxShellCommand() method in SdkSandboxShellCommand
DSdkSandboxManagerService.java254 SdkSandboxShellCommand createShellCommand( in createShellCommand()
256 return new SdkSandboxShellCommand(service, context); in createShellCommand()