Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxShellCommandUnitTest.java168 Mockito.doReturn(false).when(mService).isSdkSandboxServiceRunning(callingInfo); in testStartFailsWhenSdkSandboxDisabled()
214 Mockito.doReturn(true).when(mService).isSdkSandboxServiceRunning(callingInfo); in testStartFailsWhenSandboxAlreadyRunning()
228 Mockito.verify(mService).isSdkSandboxServiceRunning(callingInfo); in testStartFailsWhenSandboxAlreadyRunning()
240 Mockito.doReturn(false).when(mService).isSdkSandboxServiceRunning(callingInfo); in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning()
254 Mockito.verify(mService).isSdkSandboxServiceRunning(callingInfo); in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning()
268 Mockito.doReturn(false).when(mService).isSdkSandboxServiceRunning(callingInfo); in testStartFailsWhenBindingSandboxFails()
282 Mockito.verify(mService).isSdkSandboxServiceRunning(callingInfo); in testStartFailsWhenBindingSandboxFails()
336 Mockito.doReturn(false).when(mService).isSdkSandboxServiceRunning(callingInfo); in testStopFailsWhenSandboxIsNotRunning()
350 Mockito.verify(mService).isSdkSandboxServiceRunning(callingInfo); in testStopFailsWhenSandboxIsNotRunning()
359 Mockito.doReturn(true).when(mService).isSdkSandboxServiceRunning(callingInfo); in testStopSucceedsForDebuggablePackageWhenAlreadyRunning()
[all …]
DSdkSandboxManagerServiceUnitTest.java1495 assertThat(mService.isSdkSandboxServiceRunning(TEST_PACKAGE)).isFalse(); in testStopSdkSandbox()
1497 assertThat(mService.isSdkSandboxServiceRunning(TEST_PACKAGE)).isTrue(); in testStopSdkSandbox()
1508 assertThat(mService.isSdkSandboxServiceRunning(TEST_PACKAGE)).isFalse(); in testStopSdkSandbox()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxShellCommand.java287 if (mService.isSdkSandboxServiceRunning(mCallingInfo)) { in runStart()
315 if (!mService.isSdkSandboxServiceRunning(mCallingInfo)) { in runStop()
DSdkSandboxManagerService.java1444 public boolean isSdkSandboxServiceRunning(String callingPackageName) {
1449 return isSdkSandboxServiceRunning(callingInfo);
1548 if (!isSdkSandboxServiceRunning(currentCallingInfo)) {
1575 boolean isSdkSandboxServiceRunning(CallingInfo callingInfo) {
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DISdkSandboxManager.aidl51 boolean isSdkSandboxServiceRunning(in String callingPackageName); in isSdkSandboxServiceRunning() method
DSdkSandboxManager.java331 public boolean isSdkSandboxServiceRunning() { in isSdkSandboxServiceRunning() method in SdkSandboxManager
333 return mService.isSdkSandboxServiceRunning(mContext.getPackageName()); in isSdkSandboxServiceRunning()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DStubSdkSandboxManagerService.java91 public boolean isSdkSandboxServiceRunning(String callingPackageName) throws RemoteException { in isSdkSandboxServiceRunning() method in StubSdkSandboxManagerService