Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/endtoendtests/src/com/android/tests/sdksandbox/restrictions/
DContentProviderRestrictionsTest.java71 private static final String PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS = field in ContentProviderRestrictionsTest
130 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS); in setup()
137 mDeviceConfigUtils.deleteProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS); in setup()
150 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, in teardown()
210 mDeviceConfigUtils.setProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testGetContentProvider_DeviceConfigNextAllowlistApplied()
321 mDeviceConfigUtils.setProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testGetContentProvider_nextAllowlistApplied_allAllowlistsAbsent_appliesDefaultAllowlist()
332 mDeviceConfigUtils.setProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testGetContentProvider_nextAllowlistApplied_currentAllowlistPresent_appliesCurrentAllowlist_allowlistForTargetSdkVersion()
DBroadcastRestrictionsTest.java70 private static final String PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS = field in BroadcastRestrictionsTest
132 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS); in setup()
140 mDeviceConfigUtils.deleteProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS); in setup()
154 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, in tearDown()
282 mDeviceConfigUtils.setProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testRegisterBroadcastReceiver_DeviceConfigNextAllowlistApplied()
317 mDeviceConfigUtils.setProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testRegisterBroadcastReceiver_DeviceConfigNextRestrictions_AllowlistNotSet()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxSettingsListenerUnitTest.java42 private static final String PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS = field in SdkSandboxSettingsListenerUnitTest
89 setDeviceConfigProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testSdkSandboxSettings_applySdkSandboxRestrictionsNext()
91 setDeviceConfigProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "false"); in testSdkSandboxSettings_applySdkSandboxRestrictionsNext()
DSdkSandboxRestrictionsUnitTest.java72 private static final String PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS = field in SdkSandboxRestrictionsUnitTest
274 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
286 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
705 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testServiceRestrictions_DeviceConfigNextAllowlistApplied()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxSettingsListener.java61 private static final String PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS = field in SdkSandboxSettingsListener
114 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS,
207 case PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS: in onPropertiesChanged()
210 PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, in onPropertiesChanged()