Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxSettingsListenerUnitTest.java46 private SdkSandboxSettingsListener mSdkSandboxSettingsListener; field in SdkSandboxSettingsListenerUnitTest
58 mSdkSandboxSettingsListener = in setUp()
65 if (mSdkSandboxSettingsListener != null) { in tearDown()
66 mSdkSandboxSettingsListener.unregisterPropertiesListener(); in tearDown()
72 assertThat(mSdkSandboxSettingsListener.isKillSwitchEnabled()).isFalse(); in testSdkSandboxSettings_killSwitch()
74 assertThat(mSdkSandboxSettingsListener.isKillSwitchEnabled()).isTrue(); in testSdkSandboxSettings_killSwitch()
76 assertThat(mSdkSandboxSettingsListener.isKillSwitchEnabled()).isFalse(); in testSdkSandboxSettings_killSwitch()
81 assertThat(mSdkSandboxSettingsListener.isKillSwitchEnabled()).isFalse(); in testOtherPropertyChangeDoesNotAffectKillSwitch()
83 assertThat(mSdkSandboxSettingsListener.isKillSwitchEnabled()).isFalse(); in testOtherPropertyChangeDoesNotAffectKillSwitch()
88 assertThat(mSdkSandboxSettingsListener.applySdkSandboxRestrictionsNext()).isFalse(); in testSdkSandboxSettings_applySdkSandboxRestrictionsNext()
[all …]
DSdkSandboxRestrictionsUnitTest.java89 private SdkSandboxSettingsListener mSdkSandboxSettingsListener; field in SdkSandboxRestrictionsUnitTest
154 mSdkSandboxSettingsListener = mService.getSdkSandboxSettingsListener(); in setup()
155 mDeviceConfigUtil = new DeviceConfigUtil(mSdkSandboxSettingsListener); in setup()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/com/android/server/sdksandbox/
DDeviceConfigUtil.java26 private final SdkSandboxSettingsListener mSdkSandboxSettingsListener; field in DeviceConfigUtil
29 mSdkSandboxSettingsListener = sdkSandboxSettingsListener; in DeviceConfigUtil()
39 mSdkSandboxSettingsListener.onPropertiesChanged( in setDeviceConfigProperty()
42 mSdkSandboxSettingsListener.onPropertiesChanged( in setDeviceConfigProperty()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxManagerService.java200 private final SdkSandboxSettingsListener mSdkSandboxSettingsListener; field in SdkSandboxManagerService
345 mSdkSandboxSettingsListener = new SdkSandboxSettingsListener(mContext, this); in SdkSandboxManagerService()
1081 "Killswitch enabled: " + mSdkSandboxSettingsListener.isKillSwitchEnabled());
1529 return mSdkSandboxSettingsListener;
1670 || !mSdkSandboxSettingsListener.areRestrictionsEnforced()) {
2163 if (mSdkSandboxSettingsListener.applySdkSandboxRestrictionsNext()
2164 && mSdkSandboxSettingsListener.getNextContentProviderAllowlist() != null) {
2166 mSdkSandboxSettingsListener.getNextContentProviderAllowlist());
2172 mSdkSandboxSettingsListener
2190 if (mSdkSandboxSettingsListener.applySdkSandboxRestrictionsNext()) {
[all …]