Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxShellCommandUnitTest.java53 private static final String DEBUGGABLE_PACKAGE = "android.app.debuggable"; field in SdkSandboxShellCommandUnitTest
105 Mockito.eq(DEBUGGABLE_PACKAGE), in setup()
146 assertThat(cmd.exec(mService, mIn, mOut, mErr, new String[] {"start", DEBUGGABLE_PACKAGE})) in testCommandFailsIfCallerNotShellOrRoot()
167 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartFailsWhenSdkSandboxDisabled()
173 assertThat(cmd.exec(mService, mIn, mOut, mErr, new String[] {"start", DEBUGGABLE_PACKAGE})) in testStartFailsWhenSdkSandboxDisabled()
213 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartFailsWhenSandboxAlreadyRunning()
219 assertThat(cmd.exec(mService, mIn, mOut, mErr, new String[] {"start", DEBUGGABLE_PACKAGE})) in testStartFailsWhenSandboxAlreadyRunning()
224 Mockito.eq(DEBUGGABLE_PACKAGE), in testStartFailsWhenSandboxAlreadyRunning()
239 final CallingInfo callingInfo = new CallingInfo(UID, DEBUGGABLE_PACKAGE); in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning()
245 assertThat(cmd.exec(mService, mIn, mOut, mErr, new String[] {"start", DEBUGGABLE_PACKAGE})) in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning()
[all …]