| /packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
| D | SdkSandboxSettingsListenerUnitTest.java | 78 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 …]
|
| D | SdkSandboxRestrictionsUnitTest.java | 227 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 …]
|
| D | SdkSandboxManagerServiceUnitTest.java | 240 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()
|
| D | SdkSandboxStatsdMetricsUnitTest.java | 217 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/ |
| D | DeviceConfigFlagsBackendTest.java | 63 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/ |
| D | DeviceConfigUtil.java | 33 public void setDeviceConfigProperty(String property, String value) { in setDeviceConfigProperty() method in DeviceConfigUtil
|
| /packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
| D | IpClientIntegrationTestCommon.java | 669 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/ |
| D | IpClientSignatureTest.kt | 60 override fun setDeviceConfigProperty(name: String, value: String) { in <lambda>() method in android.net.ip.IpClientSignatureTest
|
| /packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
| D | ChooserActivityShareouselTest.kt | 175 private fun setDeviceConfigProperty(propertyName: String, value: String) { in <lambda>() method in com.android.intentresolver.ChooserActivityShareouselTest 193 setDeviceConfigProperty( in <lambda>()
|
| D | ChooserActivityTest.java | 321 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/ |
| D | IpClientRootTest.kt | 195 override fun setDeviceConfigProperty(name: String?, value: String?) { in <lambda>() method
|