Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxShellCommand.java34 import com.android.server.sdksandbox.SdkSandboxManagerService.LocalImpl;
47 private final SdkSandboxManagerService mService;
63 SdkSandboxManagerService service, in SdkSandboxShellCommand()
74 SdkSandboxShellCommand(SdkSandboxManagerService service, Context context, Injector injector) { in SdkSandboxShellCommand()
79 SdkSandboxManagerService service, Context context, boolean supportsAdServicesShellCmd) { in SdkSandboxShellCommand()
245 implements SdkSandboxManagerService.SandboxBindingCallback {
DSdkSandboxManagerService.java121 public class SdkSandboxManagerService extends ISdkSandboxManager.Stub { class
274 SdkSandboxManagerService service, in createShellCommand()
321 SdkSandboxManagerService(Context context) { in SdkSandboxManagerService() method in SdkSandboxManagerService
326 SdkSandboxManagerService(Context context, Injector injector) { in SdkSandboxManagerService() method in SdkSandboxManagerService
1792 return SdkSandboxManagerService.this.getSandboxedSdks(
1808 SdkSandboxManagerService.this.loadSdk(
1825 SdkSandboxManagerService.this.logSandboxActivityApiLatency(
1898 SdkSandboxManagerService mService;
1902 mService = new SdkSandboxManagerService(getContext());
2002 SdkSandboxManagerService.this.logSandboxActivityApiLatency(
[all …]
DSdkSandboxVerifierReceiver.java81 SdkSandboxManagerService.PROPERTY_ENFORCE_RESTRICTIONS, in verifySdkHandler()
82 SdkSandboxManagerService.DEFAULT_VALUE_ENFORCE_RESTRICTIONS); in verifySdkHandler()
DLoadSdkSession.java130 private final SdkSandboxManagerService mSdkSandboxManagerService;
131 private final SdkSandboxManagerService.Injector mInjector;
169 SdkSandboxManagerService service, in LoadSdkSession()
170 SdkSandboxManagerService.Injector injector, in LoadSdkSession()
DSdkSandboxSettingsListener.java94 private final SdkSandboxManagerService mSdkSandboxManagerService;
171 SdkSandboxSettingsListener(Context context, SdkSandboxManagerService sdkSandboxManagerService) { in SdkSandboxSettingsListener()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxVerifierReceiverUnitTest.java103 SdkSandboxManagerService.PROPERTY_ENFORCE_RESTRICTIONS, in verifierBroadcastReceived_startsDexParsing()
104 SdkSandboxManagerService.DEFAULT_VALUE_ENFORCE_RESTRICTIONS)) in verifierBroadcastReceived_startsDexParsing()
125 SdkSandboxManagerService.PROPERTY_ENFORCE_RESTRICTIONS, in verifierBroadcastReceived_doesNotStartDexParsing()
126 SdkSandboxManagerService.DEFAULT_VALUE_ENFORCE_RESTRICTIONS)) in verifierBroadcastReceived_doesNotStartDexParsing()
DSdkSandboxRestrictionsUnitTest.java84 private SdkSandboxManagerService mService;
90 private SdkSandboxManagerService.Injector mInjector;
150 mService = new SdkSandboxManagerService(context, mInjector); in setup()
185 for (String action : SdkSandboxManagerService.DEFAULT_ACTIVITY_ALLOWED_ACTIONS) { in testEnforceAllowedToStartActivity_defaultAllowedValues()
219 for (String action : SdkSandboxManagerService.DEFAULT_ACTIVITY_ALLOWED_ACTIONS) { in testEnforceAllowedToStartActivity_deviceConfigAllowlist()
232 for (String action : SdkSandboxManagerService.DEFAULT_ACTIVITY_ALLOWED_ACTIONS) { in testEnforceAllowedToStartActivity_restrictionEnforcedDeviceConfigAllowlistNotSet()
294 for (String action : SdkSandboxManagerService.DEFAULT_ACTIVITY_ALLOWED_ACTIONS) { in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
307 for (String action : SdkSandboxManagerService.DEFAULT_ACTIVITY_ALLOWED_ACTIONS) { in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
DSdkSandboxShellCommandUnitTest.java207 Mockito.any(SdkSandboxManagerService.SandboxBindingCallback.class), in testStartFailsForNonDebuggablePackage()
233 Mockito.any(SdkSandboxManagerService.SandboxBindingCallback.class), in testStartFailsWhenSandboxAlreadyRunning()
259 Mockito.any(SdkSandboxManagerService.SandboxBindingCallback.class), in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning()
287 Mockito.any(SdkSandboxManagerService.SandboxBindingCallback.class), in testStartFailsWhenBindingSandboxFails()
416 private static class FakeSdkSandboxManagerService extends SdkSandboxManagerService {
DSdkSandboxManagerServiceUnitTest.java130 private SdkSandboxManagerService mService;
135 private SdkSandboxManagerService.Injector mInjector;
233 mService = new SdkSandboxManagerService(mSpyContext, mInjector); in setup()
289 SdkSandboxManagerService.Lifecycle lifeCycle = in testOnUserUnlocking()
290 new SdkSandboxManagerService.Lifecycle(mSpyContext); in testOnUserUnlocking()
291 lifeCycle.mService = Mockito.mock(SdkSandboxManagerService.class); in testOnUserUnlocking()
1587 SdkSandboxManagerService in testDump_adServices_preU_published()
1615 SdkSandboxManagerService in testDump_adServices_atLeastU_published()
DLoadSdkSessionUnitTest.java50 private SdkSandboxManagerService.Injector mInjector;
59 mInjector = new SdkSandboxManagerService.Injector(mContext); in setup()
DSdkSandboxSettingsListenerUnitTest.java60 context, Mockito.mock(SdkSandboxManagerService.class)); in setUp()
DSdkSandboxStatsdMetricsUnitTest.java128 private SdkSandboxManagerService mService;
212 mService = new SdkSandboxManagerService(mSpyContext, mInjector); in setup()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/com/android/server/sdksandbox/
DFakeInjector.java25 public class FakeInjector extends SdkSandboxManagerService.Injector {