Home
last modified time | relevance | path

Searched refs:PROPERTY_ENFORCE_RESTRICTIONS (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/endtoendtests/src/com/android/tests/sdksandbox/restrictions/
DBroadcastRestrictionsTest.java62 private static final String PROPERTY_ENFORCE_RESTRICTIONS = "sdksandbox_enforce_restrictions"; field in BroadcastRestrictionsTest
125 DeviceConfig.NAMESPACE_ADSERVICES, PROPERTY_ENFORCE_RESTRICTIONS); in setup()
138 mDeviceConfigUtils.deleteProperty(PROPERTY_ENFORCE_RESTRICTIONS); in setup()
150 PROPERTY_ENFORCE_RESTRICTIONS, mEnforceBroadcastRestrictions); in tearDown()
188 mDeviceConfigUtils.setProperty(PROPERTY_ENFORCE_RESTRICTIONS, "true"); in testRegisterBroadcastReceiver_restrictionsApplied()
216 mDeviceConfigUtils.setProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testRegisterBroadcastReceiver_restrictionsNotApplied()
224 mDeviceConfigUtils.setProperty(PROPERTY_ENFORCE_RESTRICTIONS, "true"); in testRegisterBroadcastReceiver_DeviceConfigEmptyAllowlistApplied()
245 mDeviceConfigUtils.setProperty(PROPERTY_ENFORCE_RESTRICTIONS, "true"); in testRegisterBroadcastReceiver_DeviceConfigAllowlistApplied()
280 mDeviceConfigUtils.setProperty(PROPERTY_ENFORCE_RESTRICTIONS, "true"); in testRegisterBroadcastReceiver_DeviceConfigNextAllowlistApplied()
315 mDeviceConfigUtils.setProperty(PROPERTY_ENFORCE_RESTRICTIONS, "true"); in testRegisterBroadcastReceiver_DeviceConfigNextRestrictions_AllowlistNotSet()
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxRestrictionsUnitTest.java74 private static final String PROPERTY_ENFORCE_RESTRICTIONS = "sdksandbox_enforce_restrictions"; field in SdkSandboxRestrictionsUnitTest
201 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testEnforceAllowedToStartActivity_restrictionsNotApplied()
245 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testEnforceAllowedToStartActivity_restrictionsNotEnforced()
913 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testCanRegisterBroadcastReceiver_restrictionsNotApplied()
925 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "true"); in testCanRegisterBroadcastReceiver_restrictionsApplied()
963 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "true"); in testCanRegisterBroadcastReceiver_protectedBroadcast()
974 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, null); in testSdkSandboxSettings_canAccessContentProviderFromSdkSandbox_DefaultAccess()
985 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "true"); in testSdkSandboxSettings_canAccessContentProviderFromSdkSandbox_AccessNotAllowed()
994 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testSdkSandboxSettings_canAccessContentProviderFromSdkSandbox_AccessAllowed()
DSdkSandboxVerifierReceiverUnitTest.java103 SdkSandboxManagerService.PROPERTY_ENFORCE_RESTRICTIONS, in verifierBroadcastReceived_startsDexParsing()
125 SdkSandboxManagerService.PROPERTY_ENFORCE_RESTRICTIONS, in verifierBroadcastReceived_doesNotStartDexParsing()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxSettingsListener.java56 private static final String PROPERTY_ENFORCE_RESTRICTIONS = "sdksandbox_enforce_restrictions"; field in SdkSandboxSettingsListener
107 PROPERTY_ENFORCE_RESTRICTIONS,
201 case PROPERTY_ENFORCE_RESTRICTIONS: in onPropertiesChanged()
204 PROPERTY_ENFORCE_RESTRICTIONS, in onPropertiesChanged()
DSdkSandboxVerifierReceiver.java81 SdkSandboxManagerService.PROPERTY_ENFORCE_RESTRICTIONS, in verifySdkHandler()
DSdkSandboxManagerService.java208 static final String PROPERTY_ENFORCE_RESTRICTIONS = "sdksandbox_enforce_restrictions"; field in SdkSandboxManagerService