Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxRestrictionsUnitTest.java88 private SdkSandboxManagerLocal mSdkSandboxManagerLocal; field in SdkSandboxRestrictionsUnitTest
151 mSdkSandboxManagerLocal = mService.getLocalManager(); in setup()
152 assertThat(mSdkSandboxManagerLocal).isNotNull(); in setup()
173 () -> mSdkSandboxManagerLocal.enforceAllowedToSendBroadcast(disallowedIntent)); in testEnforceAllowedToSendBroadcast()
179 assertThat(mSdkSandboxManagerLocal.canSendBroadcast(new Intent())).isFalse(); in testCanSendBroadcast()
187 mSdkSandboxManagerLocal.enforceAllowedToStartActivity(allowedIntent); in testEnforceAllowedToStartActivity_defaultAllowedValues()
191 mSdkSandboxManagerLocal.enforceAllowedToStartActivity(intentWithoutAction); in testEnforceAllowedToStartActivity_defaultAllowedValues()
196 () -> mSdkSandboxManagerLocal.enforceAllowedToStartActivity(disallowedIntent)); in testEnforceAllowedToStartActivity_defaultAllowedValues()
203 mSdkSandboxManagerLocal.enforceAllowedToStartActivity(intent); in testEnforceAllowedToStartActivity_restrictionsNotApplied()
217 mSdkSandboxManagerLocal.enforceAllowedToStartActivity(intent); in testEnforceAllowedToStartActivity_deviceConfigAllowlist()
[all …]
DSdkSandboxStatsdMetricsUnitTest.java136 private SdkSandboxManagerLocal mSdkSandboxManagerLocal; field in SdkSandboxStatsdMetricsUnitTest
213 mSdkSandboxManagerLocal = mService.getLocalManager(); in setup()
214 assertThat(mSdkSandboxManagerLocal).isNotNull(); in setup()
879 mSdkSandboxManagerLocal.enforceAllowedToHostSandboxedActivity( in testEnforceAllowedToHostSandboxedActivity_FailsForSandboxUid_CallsStatsd()
898 mSdkSandboxManagerLocal.enforceAllowedToHostSandboxedActivity( in testEnforceAllowedToHostSandboxedActivity_ThrowsSecurityException_CallsStatsd()
922 mSdkSandboxManagerLocal.enforceAllowedToHostSandboxedActivity( in testEnforceAllowedToHostSandboxedActivity_FailsIfNoSandboxProcess_CallsStatsd()
949 mSdkSandboxManagerLocal.enforceAllowedToHostSandboxedActivity( in testEnforceAllowedToHostSandboxedActivity_FailsIfIntentHasNoExtras_CallsStatsd()
975 mSdkSandboxManagerLocal.enforceAllowedToHostSandboxedActivity( in testEnforceAllowedToHostSandboxedActivity_SuccessWithoutComponent_CallsStatsd()
DSdkSandboxStorageManagerUnitTest.java68 private FakeSdkSandboxManagerLocal mSdkSandboxManagerLocal; field in SdkSandboxStorageManagerUnitTest
87 mSdkSandboxManagerLocal = new FakeSdkSandboxManagerLocal(); in setup()
90 mSpyContext, mSdkSandboxManagerLocal, packageManagerLocal, mTestDir); in setup()
241 mSdkSandboxManagerLocal.notifyInstrumentationStarted(CLIENT_PKG_NAME, CLIENT_UID); in test_onUserUnlocking_Instrumentation_NoSdk_PackageDirNotRemoved()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceLifeCycleTest.java44 @Mock private SdkSandboxManagerLocal mSdkSandboxManagerLocal; field in AdServicesManagerServiceLifeCycleTest
59 mockGetLocalManager(SdkSandboxManagerLocal.class, mSdkSandboxManagerLocal); in setUp()
98 verify(mSdkSandboxManagerLocal).registerAdServicesManagerService(mService, published); in verifyAdServiceRegisteredOnSdkManager()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxStorageManager.java68 private final SdkSandboxManagerLocal mSdkSandboxManagerLocal; field in SdkSandboxStorageManager
85 mSdkSandboxManagerLocal = sdkSandboxManagerLocal; in SdkSandboxStorageManager()
380 mSdkSandboxManagerLocal.isInstrumentationRunning(packageName, uid); in reconcileSdkDataPackageDirs()