/packages/modules/IPsec/src/java/com/android/internal/net/utils/ |
D | IkeDeviceConfigUtils.java | 33 public static int getDeviceConfigPropertyInt( in getDeviceConfigPropertyInt() method in IkeDeviceConfigUtils 58 public static int getDeviceConfigPropertyInt( in getDeviceConfigPropertyInt() method in IkeDeviceConfigUtils 64 int value = getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | DeviceConfigUtilsTest.java | 139 assertEquals(TEST_DEFAULT_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_Null() 148 assertEquals(TEST_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_NotNull() 157 assertEquals(TEST_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_NormalValue() 167 assertEquals(TEST_DEFAULT_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_NullValue() 177 assertEquals(TEST_DEFAULT_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_OverMaximumValue() 187 assertEquals(TEST_MAX_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_EqualsMaximumValue() 197 assertEquals(TEST_DEFAULT_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_BelowMinimumValue() 207 assertEquals(TEST_MIN_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_EqualsMinimumValue()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | DeviceConfigUtils.java | 117 public static int getDeviceConfigPropertyInt(@NonNull String namespace, @NonNull String name, in getDeviceConfigPropertyInt() method in DeviceConfigUtils 141 public static int getDeviceConfigPropertyInt(@NonNull String namespace, @NonNull String name, in getDeviceConfigPropertyInt() method in DeviceConfigUtils 143 int value = getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt() 232 final int flagValue = getDeviceConfigPropertyInt(namespace, name, 0 /* default value */); in isFeatureEnabled()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | IkeContext.java | 94 public int getDeviceConfigPropertyInt( in getDeviceConfigPropertyInt() method in IkeContext 100 return IkeDeviceConfigUtils.getDeviceConfigPropertyInt( in getDeviceConfigPropertyInt()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 161 mMinPacketsThreshold = mDependencies.getDeviceConfigPropertyInt( 165 mTcpPacketsFailRateThreshold = mDependencies.getDeviceConfigPropertyInt( 710 public int getDeviceConfigPropertyInt(@NonNull final String namespace, in getDeviceConfigPropertyInt() method in TcpSocketTracker.Dependencies 712 return DeviceConfigUtils.getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 831 public int getDeviceConfigPropertyInt(String name, int defaultValue) { in getDeviceConfigPropertyInt() method in IpClient.Dependencies 832 return DeviceConfigUtils.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, name, in getDeviceConfigPropertyInt() 970 mMinRdnssLifetimeSec = mDependencies.getDeviceConfigPropertyInt( in IpClient() 972 mAcceptRaMinLft = mDependencies.getDeviceConfigPropertyInt(CONFIG_ACCEPT_RA_MIN_LFT, in IpClient() 974 mApfCounterPollingIntervalMs = mDependencies.getDeviceConfigPropertyInt( in IpClient() 2191 + mDependencies.getDeviceConfigPropertyInt(CONFIG_IPV6_AUTOCONF_TIMEOUT, in handleLinkPropertiesUpdate() 3010 final int delay = mDependencies.getDeviceConfigPropertyInt( in enter() 3613 multiplier = mDependencies.getDeviceConfigPropertyInt( in deriveDtimMultiplier() 3623 multiplier = mDependencies.getDeviceConfigPropertyInt( in deriveDtimMultiplier() 3627 multiplier = mDependencies.getDeviceConfigPropertyInt( in deriveDtimMultiplier() [all …]
|
D | IpClientLinkObserver.java | 236 final int size = mDependencies.getDeviceConfigPropertyInt(CONFIG_SOCKET_RECV_BUFSIZE, in getSocketReceiveBufferSize()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 2365 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getUseHttpsValidation() 2526 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getAsyncPrivateDnsProbeTimeout() 2546 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getIntSetting() 2594 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getConsecutiveDnsTimeoutThreshold() 2600 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallMinEvaluateTime() 2606 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallValidDnsTimeThreshold() 2613 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallEvaluationType() 2619 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getTcpPollingInterval() 3697 public int getDeviceConfigPropertyInt(@NonNull String namespace, @NonNull String name, in getDeviceConfigPropertyInt() method in NetworkMonitor.Dependencies 3699 return DeviceConfigUtils.getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt() [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp6/ |
D | Dhcp6Client.java | 149 public int getDeviceConfigPropertyInt(String name, int defaultValue) { in getDeviceConfigPropertyInt() method in Dhcp6Client.Dependencies 150 return DeviceConfigUtils.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, name, in getDeviceConfigPropertyInt()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 594 .getDeviceConfigPropertyInt(any(), eq(CAPTIVE_PORTAL_USE_HTTPS), anyInt()); in setUp() 640 doReturn(200).when(mDependencies).getDeviceConfigPropertyInt( in setUp() 820 && (dp.getDeviceConfigPropertyInt( in getTcpSocketTrackerOrNull() 1334 }).when(mDependencies).getDeviceConfigPropertyInt(any(), in testGetIntSetting() 1343 doReturn(1234).when(mDependencies).getDeviceConfigPropertyInt(any(), in testGetIntSetting() 3598 doReturn(type).when(mDependencies).getDeviceConfigPropertyInt(any(), in setDataStallEvaluationType() 3603 doReturn(time).when(mDependencies).getDeviceConfigPropertyInt(any(), in setMinDataStallEvaluateInterval() 3608 doReturn(time).when(mDependencies).getDeviceConfigPropertyInt(any(), in setValidDataStallDnsTimeThreshold() 3613 doReturn(num).when(mDependencies).getDeviceConfigPropertyInt(any(), in setConsecutiveDnsTimeoutThreshold() 3618 doReturn(time).when(mDependencies).getDeviceConfigPropertyInt(any(), in setTcpPollingInterval()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/ |
D | TcpSocketTrackerTest.java | 174 when(mDependencies.getDeviceConfigPropertyInt( in setUp() 268 when(mDependencies.getDeviceConfigPropertyInt(any(), eq(CONFIG_TCP_PACKETS_FAIL_PERCENTAGE), in testPollSocketsInfo()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionControllerTest.java | 1345 .getDeviceConfigPropertyInt(anyString(), anyInt(), anyInt(), anyInt()); in verifyGetKeepaliveDelaySec() 1370 .getDeviceConfigPropertyInt( in verifyGetKeepaliveDelaySec() 1377 .getDeviceConfigPropertyInt(anyString(), anyInt(), anyInt(), anyInt()); in verifyGetKeepaliveDelaySec()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 74 import static com.android.net.module.util.DeviceConfigUtils.getDeviceConfigPropertyInt; 736 return getDeviceConfigPropertyInt( in getImportLegacyTargetAttempts() 746 return getDeviceConfigPropertyInt( in getUseFastDataInputTargetAttempts() 947 return getDeviceConfigPropertyInt( 959 return getDeviceConfigPropertyInt(
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringConfiguration.java | 208 final int flagValue = DeviceConfigUtils.getDeviceConfigPropertyInt( in isTetherForceUpstreamAutomaticFeatureEnabled()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 477 return DeviceConfigUtils.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getIntDeviceConfig() 485 return DeviceConfigUtils.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getIntDeviceConfig()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionController.java | 376 ikeContext.getDeviceConfigPropertyInt( in getKeepaliveDelaySec()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 556 public int getDeviceConfigPropertyInt(String name, int ignoredDefaultValue) { in getDeviceConfigPropertyInt() method in IpClientIntegrationTestCommon.Dependencies 569 public int getDeviceConfigPropertyInt(String name, int defaultValue) { in getDhcp6ClientDependencies() 570 return Dependencies.this.getDeviceConfigPropertyInt(name, in getDhcp6ClientDependencies() 593 return Dependencies.this.getDeviceConfigPropertyInt(name, defaultValue); in getDhcpClientDependencies() 598 return Dependencies.this.getDeviceConfigPropertyInt(name, defaultValue); in getDhcpClientDependencies()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 199 when(mDependencies.getDeviceConfigPropertyInt(eq(CONFIG_SOCKET_RECV_BUFSIZE), anyInt())) in setUp()
|