Searched refs:SdkSandboxShellCommand (Results 1 – 5 of 5) sorted by relevance
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxShellCommandUnitTest.java | 19 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 …]
|
D | SdkSandboxRestrictionsUnitTest.java | 1009 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 {
|
D | SdkSandboxManagerServiceUnitTest.java | 1627 SdkSandboxShellCommand command = Mockito.mock(SdkSandboxShellCommand.class); in testHandleShellCommandExecutesCommand()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxShellCommand.java | 42 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
|
D | SdkSandboxManagerService.java | 273 SdkSandboxShellCommand createShellCommand( in createShellCommand() 277 return new SdkSandboxShellCommand(service, context, supportsAdServicesShellCmd); in createShellCommand()
|