Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxSettingsListenerUnitTest.java78 setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testSdkSandboxSettings_killSwitch()
80 setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in testSdkSandboxSettings_killSwitch()
87 setDeviceConfigProperty("other_property", "true"); in testOtherPropertyChangeDoesNotAffectKillSwitch()
94 setDeviceConfigProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "true"); in testSdkSandboxSettings_applySdkSandboxRestrictionsNext()
96 setDeviceConfigProperty(PROPERTY_APPLY_SDK_SANDBOX_NEXT_RESTRICTIONS, "false"); in testSdkSandboxSettings_applySdkSandboxRestrictionsNext()
102 setDeviceConfigProperty(PROPERTY_SERVICES_ALLOWLIST, null); in testServiceAllowlist_DeviceConfigNotAvailable()
152 setDeviceConfigProperty(PROPERTY_SERVICES_ALLOWLIST, encodedServiceAllowlist); in testServiceAllowlist_DeviceConfigAllowlistApplied()
183 setDeviceConfigProperty(PROPERTY_ENABLE_HSUM_SUPPORT_FOR_SDK_STORAGE, "true"); in testEnableHsumSupportForSdkStorage()
186 setDeviceConfigProperty(PROPERTY_ENABLE_HSUM_SUPPORT_FOR_SDK_STORAGE, "false"); in testEnableHsumSupportForSdkStorage()
194 setDeviceConfigProperty(PROPERTY_RECONCILE_ON_VOLUME_MOUNT, "true"); in testReconcileOnVolumeMount()
[all …]
DSdkSandboxRestrictionsUnitTest.java227 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testEnforceAllowedToStartActivity_restrictionsNotApplied()
239 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_deviceConfigAllowlist()
256 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ACTIVITY_ALLOWLIST, null); in testEnforceAllowedToStartActivity_restrictionEnforcedDeviceConfigAllowlistNotSet()
271 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_ENFORCE_RESTRICTIONS, "false"); in testEnforceAllowedToStartActivity_restrictionsNotEnforced()
282 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
296 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
299 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsApplied()
311 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
313 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_NEXT_ACTIVITY_ALLOWLIST, ""); in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
329 mDeviceConfigUtil.setDeviceConfigProperty( in testEnforceAllowedToStartActivity_nextRestrictionsAppliedButAllowlistNotSet()
[all …]
DSdkSandboxManagerServiceUnitTest.java240 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in setup()
1665 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in testIsDisabled()
1674 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testSdkSandboxEnabledForEmulator()
1679 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testSdkSandboxEnabledForEmulator()
1688 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testSdkSandboxDisabledForEmulator()
1695 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in testSdkSandboxDisabledForAdServiceApkMissing()
1705 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in testKillswitchStopsSandbox()
1707 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testKillswitchStopsSandbox()
1718 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testLoadSdkFailsWhenSandboxDisabled()
DSdkSandboxStatsdMetricsUnitTest.java217 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "false"); in setup()
433 mDeviceConfigUtil.setDeviceConfigProperty(PROPERTY_DISABLE_SANDBOX, "true"); in testLatencyMetrics_SystemServerAppToSandbox_LoadSdk_SandboxDisabled()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/flags/
DDeviceConfigFlagsBackendTest.java63 setDeviceConfigProperty("I Set, therefore I Am"); in testGetFlag_default()
73 setDeviceConfigProperty("true"); in testGetFlag_boolean()
87 setDeviceConfigProperty("Set I am!"); in testGetFlag_string()
102 setDeviceConfigProperty("42"); in testGetFlag_int()
115 setDeviceConfigProperty("4815162342"); in testGetFlag_long()
130 setDeviceConfigProperty("4.2"); in testGetFlag_float()
139 private void setDeviceConfigProperty(String value) { in setDeviceConfigProperty() method in DeviceConfigFlagsBackendTest
/packages/modules/AdServices/sdksandbox/tests/testutils/device-side/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.java669 setDeviceConfigProperty(feature, enabled ? FEATURE_ENABLED : FEATURE_DISABLED);
673 setDeviceConfigProperty(feature, chickenedOut ? FEATURE_DISABLED : FEATURE_ENABLED);
676 final void setDeviceConfigProperty(String name, int value) {
677 setDeviceConfigProperty(name, Integer.toString(value));
680 protected abstract void setDeviceConfigProperty(String name, String value);
732 setDeviceConfigProperty(IpClient.CONFIG_INITIAL_PROVISIONING_DTIM_DELAY_MS,
734 setDeviceConfigProperty(IpClient.CONFIG_MULTICAST_LOCK_MAX_DTIM_MULTIPLIER,
736 setDeviceConfigProperty(IpClient.CONFIG_IPV6_ONLY_NETWORK_MAX_DTIM_MULTIPLIER,
738 setDeviceConfigProperty(IpClient.CONFIG_IPV4_ONLY_NETWORK_MAX_DTIM_MULTIPLIER,
740 setDeviceConfigProperty(IpClient.CONFIG_DUAL_STACK_MAX_DTIM_MULTIPLIER,
[all …]
/packages/modules/NetworkStack/tests/integration/signature/android/net/ip/
DIpClientSignatureTest.kt60 override fun setDeviceConfigProperty(name: String, value: String) { in <lambda>() method in android.net.ip.IpClientSignatureTest
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DChooserActivityShareouselTest.kt175 private fun setDeviceConfigProperty(propertyName: String, value: String) { in <lambda>() method in com.android.intentresolver.ChooserActivityShareouselTest
193 setDeviceConfigProperty( in <lambda>()
DChooserActivityTest.java321 private void setDeviceConfigProperty( in setDeviceConfigProperty() method in ChooserActivityTest
342 setDeviceConfigProperty( in cleanOverrideData()
1745 setDeviceConfigProperty( in testShortcutTargetWithoutApplyAppLimits()
1822 setDeviceConfigProperty( in testLaunchWithCallerProvidedTarget()
/packages/modules/NetworkStack/tests/integration/root/android/net/ip/
DIpClientRootTest.kt195 override fun setDeviceConfigProperty(name: String?, value: String?) { in <lambda>() method