Home
last modified time | relevance | path

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

/aosp12/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
H A DDeviceConfigUtilsTest.java105 assertEquals(TEST_DEFAULT_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_Null()
114 assertEquals(TEST_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_NotNull()
123 assertEquals(TEST_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_NormalValue()
133 assertEquals(TEST_DEFAULT_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_NullValue()
143 assertEquals(TEST_DEFAULT_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_OverMaximumValue()
153 assertEquals(TEST_MAX_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_EqualsMaximumValue()
163 assertEquals(TEST_DEFAULT_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_BelowMinimumValue()
173 assertEquals(TEST_MIN_FLAG_VALUE, DeviceConfigUtils.getDeviceConfigPropertyInt( in testGetDeviceConfigPropertyInt_EqualsMinimumValue()
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/
H A DDeviceConfigUtils.java80 public static int getDeviceConfigPropertyInt(@NonNull String namespace, @NonNull String name, in getDeviceConfigPropertyInt() method in DeviceConfigUtils
104 public static int getDeviceConfigPropertyInt(@NonNull String namespace, @NonNull String name, in getDeviceConfigPropertyInt() method in DeviceConfigUtils
106 int value = getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt()
206 final int propertyVersion = getDeviceConfigPropertyInt(namespace, name, in isFeatureEnabled()
/aosp12/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
H A DTcpSocketTracker.java134 mMinPacketsThreshold = mDependencies.getDeviceConfigPropertyInt(
138 mTcpPacketsFailRateThreshold = mDependencies.getDeviceConfigPropertyInt(
571 public int getDeviceConfigPropertyInt(@NonNull final String namespace, in getDeviceConfigPropertyInt() method in TcpSocketTracker.Dependencies
573 return DeviceConfigUtils.getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt()
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
H A DTcpSocketTrackerTest.java229 when(mDependencies.getDeviceConfigPropertyInt( in setUp()
321 when(mDependencies.getDeviceConfigPropertyInt(any(), eq(CONFIG_TCP_PACKETS_FAIL_PERCENTAGE), in testPollSocketsInfo()
/aosp12/packages/modules/NetworkStack/src/com/android/server/connectivity/
H A DNetworkMonitor.java1836 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getUseHttpsValidation()
2005 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getIntSetting()
2053 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getConsecutiveDnsTimeoutThreshold()
2059 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallMinEvaluateTime()
2065 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallValidDnsTimeThreshold()
2072 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getDataStallEvaluationType()
2078 return mDependencies.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getTcpPollingInterval()
3145 public int getDeviceConfigPropertyInt(@NonNull String namespace, @NonNull String name, in getDeviceConfigPropertyInt() method in NetworkMonitor.Dependencies
3147 return DeviceConfigUtils.getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt()
3523 return ((Dependencies.DEFAULT.getDeviceConfigPropertyInt( in getTcpSocketTrackerOrNull()
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
H A DNetworkMonitorTest.java470 when(mDependencies.getDeviceConfigPropertyInt(any(), eq(CAPTIVE_PORTAL_USE_HTTPS), in setUp()
603 return ((dp.getDeviceConfigPropertyInt( in getTcpSocketTrackerOrNull()
1052 }).when(mDependencies).getDeviceConfigPropertyInt(any(), in testGetIntSetting()
1061 when(mDependencies.getDeviceConfigPropertyInt(any(), in testGetIntSetting()
2772 when(mDependencies.getDeviceConfigPropertyInt(any(),
2777 when(mDependencies.getDeviceConfigPropertyInt(any(),
2782 when(mDependencies.getDeviceConfigPropertyInt(any(),
2787 when(mDependencies.getDeviceConfigPropertyInt(any(),
2792 doReturn(time).when(mDependencies).getDeviceConfigPropertyInt(any(),
/aosp12/packages/modules/NetworkStack/src/android/net/ip/
H A DIpClient.java585 public int getDeviceConfigPropertyInt(String name, int defaultValue) { in getDeviceConfigPropertyInt() method in IpClient.Dependencies
586 return DeviceConfigUtils.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, name, in getDeviceConfigPropertyInt()
660 mMinRdnssLifetimeSec = mDependencies.getDeviceConfigPropertyInt( in IpClient()
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
H A DIpClientIntegrationTestCommon.java422 return getDeviceConfigPropertyInt(name, 0 /* default value */); in getDhcpClientDependencies()
443 public int getDeviceConfigPropertyInt(String name, int defaultValue) { in getDeviceConfigPropertyInt() method
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpClient.java458 return DeviceConfigUtils.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getIntDeviceConfig()