Searched refs:mSdkSandboxManagerLocal (Results 1 – 5 of 5) sorted by relevance
88 private SdkSandboxManagerLocal mSdkSandboxManagerLocal; field in SdkSandboxRestrictionsUnitTest151 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 …]
136 private SdkSandboxManagerLocal mSdkSandboxManagerLocal; field in SdkSandboxStatsdMetricsUnitTest213 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()
68 private FakeSdkSandboxManagerLocal mSdkSandboxManagerLocal; field in SdkSandboxStorageManagerUnitTest87 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()
44 @Mock private SdkSandboxManagerLocal mSdkSandboxManagerLocal; field in AdServicesManagerServiceLifeCycleTest59 mockGetLocalManager(SdkSandboxManagerLocal.class, mSdkSandboxManagerLocal); in setUp()98 verify(mSdkSandboxManagerLocal).registerAdServicesManagerService(mService, published); in verifyAdServiceRegisteredOnSdkManager()
68 private final SdkSandboxManagerLocal mSdkSandboxManagerLocal; field in SdkSandboxStorageManager85 mSdkSandboxManagerLocal = sdkSandboxManagerLocal; in SdkSandboxStorageManager()380 mSdkSandboxManagerLocal.isInstrumentationRunning(packageName, uid); in reconcileSdkDataPackageDirs()