Home
last modified time | relevance | path

Searched refs:setDeviceConfigProperty (Results 1 – 9 of 9) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxRestrictionsUnitTest.java201 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testEnforceAllowedToStartActivity_restrictionsNotApplied()
213 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_deviceConfigAllowlist()
230 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ACTIVITY_ALLOWLIST, null); in testEnforceAllowedToStartActivity_restrictionEnforcedDeviceConfigAllowlistNotSet()
245 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testEnforceAllowedToStartActivity_restrictionsNotEnforced()
256 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
270 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
273 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
285 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
287 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_NEXT_ACTIVITY_ALLOWLIST, ""); in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
303 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
[all …]
DSdkSandboxSettingsListenerUnitTest.java73 setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testSdkSandboxSettings_killSwitch()
75 setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in testSdkSandboxSettings_killSwitch()
82 setDeviceConfigProperty("other_property", "true"); in testOtherPropertyChangeDoesNotAffectKillSwitch()
89 setDeviceConfigProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testSdkSandboxSettings_applySdkSandboxRestrictionsNext()
91 setDeviceConfigProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "false"); in testSdkSandboxSettings_applySdkSandboxRestrictionsNext()
97 setDeviceConfigProperty(PROPERTY_SERVICES_ALLOWLIST, null); in testServiceAllowlist_DeviceConfigNotAvailable()
147 setDeviceConfigProperty(PROPERTY_SERVICES_ALLOWLIST, encodedServiceAllowlist); in testServiceAllowlist_DeviceConfigAllowlistApplied()
186 private void setDeviceConfigProperty(String property, String value) { in setDeviceConfigProperty() method in SdkSandboxSettingsListenerUnitTest
DSdkSandboxManagerServiceUnitTest.java239 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in setup()
1654 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in testIsDisabled()
1663 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testSdkSandboxEnabledForEmulator()
1668 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testSdkSandboxEnabledForEmulator()
1677 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testSdkSandboxDisabledForEmulator()
1684 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in testSdkSandboxDisabledForAdServiceApkMissing()
1694 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in testKillswitchStopsSandbox()
1696 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testKillswitchStopsSandbox()
1707 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testLoadSdkFailsWhenSandboxDisabled()
DSdkSandboxStatsdMetricsUnitTest.java219 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in setup()
435 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_SandboxDisabled()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/com/android/server/sdksandbox/
DDeviceConfigUtil.java33 public void setDeviceConfigProperty(String property, String value) { in setDeviceConfigProperty() method in DeviceConfigUtil
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java663 setDeviceConfigProperty(feature, enabled ? FEATURE_ENABLED : FEATURE_DISABLED);
667 setDeviceConfigProperty(feature, chickenedOut ? FEATURE_DISABLED : FEATURE_ENABLED);
670 final void setDeviceConfigProperty(String name, int value) {
671 setDeviceConfigProperty(name, Integer.toString(value));
674 protected abstract void setDeviceConfigProperty(String name, String value);
721 setDeviceConfigProperty(IpClient.CONFIG_INITIAL_PROVISIONING_DTIM_DELAY_MS,
723 setDeviceConfigProperty(IpClient.CONFIG_MULTICAST_LOCK_MAX_DTIM_MULTIPLIER,
725 setDeviceConfigProperty(IpClient.CONFIG_IPV6_ONLY_NETWORK_MAX_DTIM_MULTIPLIER,
727 setDeviceConfigProperty(IpClient.CONFIG_IPV4_ONLY_NETWORK_MAX_DTIM_MULTIPLIER,
729 setDeviceConfigProperty(IpClient.CONFIG_DUAL_STACK_MAX_DTIM_MULTIPLIER,
[all …]
/packages/modules/NetworkStack/tests/integration/signature/android/net/ip/
DIpClientSignatureTest.kt59 override fun setDeviceConfigProperty(name: String, value: String) { in <lambda>() method in android.net.ip.IpClientSignatureTest
/packages/modules/NetworkStack/tests/integration/root/android/net/ip/
DIpClientRootTest.kt190 override fun setDeviceConfigProperty(name: String?, value: String?) { in <lambda>() method
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DChooserActivityTest.java317 private void setDeviceConfigProperty( in setDeviceConfigProperty() method in ChooserActivityTest
338 setDeviceConfigProperty( in cleanOverrideData()
1735 setDeviceConfigProperty( in testShortcutTargetWithoutApplyAppLimits()
1810 setDeviceConfigProperty( in testLaunchWithCallerProvidedTarget()