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/ |
D | BroadcastRestrictionsTest.java | 62 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/ |
D | SdkSandboxRestrictionsUnitTest.java | 74 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()
|
D | SdkSandboxVerifierReceiverUnitTest.java | 103 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/ |
D | SdkSandboxSettingsListener.java | 56 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()
|
D | SdkSandboxVerifierReceiver.java | 81 SdkSandboxManagerService.PROPERTY_ENFORCE_RESTRICTIONS, in verifySdkHandler()
|
D | SdkSandboxManagerService.java | 208 static final String PROPERTY_ENFORCE_RESTRICTIONS = "sdksandbox_enforce_restrictions"; field in SdkSandboxManagerService
|