Home
last modified time | relevance | path

Searched refs:DeviceConfigUtils (Results 1 – 12 of 12) sorted by relevance

/aosp12/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
H A DDeviceConfigUtilsTest.java21 import static com.android.net.module.util.DeviceConfigUtils.FIXED_PACKAGE_VERSION;
98 DeviceConfigUtils.resetPackageVersionCacheForTest(); in tearDown()
183 assertFalse(DeviceConfigUtils.getDeviceConfigPropertyBoolean( in testGetDeviceConfigPropertyBoolean_Null()
192 assertTrue(DeviceConfigUtils.getDeviceConfigPropertyBoolean( in testGetDeviceConfigPropertyBoolean_NotNull()
201 assertTrue(DeviceConfigUtils.isFeatureEnabled(mContext, TEST_NAME_SPACE, in testFeatureIsEnabled()
203 assertTrue(DeviceConfigUtils.isFeatureEnabled(mContext, TEST_NAME_SPACE, in testFeatureIsEnabled()
215 assertTrue(DeviceConfigUtils.isFeatureEnabled(mContext, TEST_NAME_SPACE, in testFeatureDefaultEnabled()
239 assertTrue(DeviceConfigUtils.isFeatureEnabled(mContext, TEST_NAME_SPACE, in testFeatureIsEnabledUsingFixedVersion()
249 assertTrue(DeviceConfigUtils.isFeatureEnabled(mContext, TEST_NAME_SPACE, in testFeatureIsEnabledUsingFixedVersion()
257 assertTrue(DeviceConfigUtils.isFeatureEnabled(mContext, TEST_NAME_SPACE, in testFeatureIsEnabledCaching()
[all …]
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/
H A DDeviceConfigUtils.java34 public final class DeviceConfigUtils { class
35 private DeviceConfigUtils() {} in DeviceConfigUtils() method in DeviceConfigUtils
37 private static final String TAG = DeviceConfigUtils.class.getSimpleName();
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
H A DIpClientRootTest.kt34 import com.android.net.module.util.DeviceConfigUtils
219 return DeviceConfigUtils.isFeatureEnabled(mContext, DeviceConfig.NAMESPACE_CONNECTIVITY,
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DTetheringConfigurationTest.java59 import com.android.net.module.util.DeviceConfigUtils;
155 DeviceConfigUtils.resetPackageVersionCacheForTest(); in setUp()
201 DeviceConfigUtils.resetPackageVersionCacheForTest(); in tearDown()
536 assertTrue(DeviceConfigUtils.isFeatureEnabled(mMockContext, NAMESPACE_CONNECTIVITY, in testChooseUpstreamAutomatically_FlagOverride()
/aosp12/packages/modules/NetworkStack/src/android/net/util/
H A DNetworkStackUtils.java24 import com.android.net.module.util.DeviceConfigUtils;
/aosp12/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
H A DTcpSocketTracker.java68 import com.android.net.module.util.DeviceConfigUtils;
573 return DeviceConfigUtils.getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt()
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTetheringConfiguration.java39 import com.android.net.module.util.DeviceConfigUtils;
536 return DeviceConfigUtils.isFeatureEnabled(ctx, NAMESPACE_CONNECTIVITY, featureVersionFlag, in isFeatureEnabled()
/aosp12/packages/modules/NetworkStack/src/android/net/dhcp/
H A DDhcpServer.java70 import com.android.net.module.util.DeviceConfigUtils;
235 return DeviceConfigUtils.isFeatureEnabled(context, NAMESPACE_CONNECTIVITY, name); in isFeatureEnabled()
H A DDhcpClient.java101 import com.android.net.module.util.DeviceConfigUtils;
449 return DeviceConfigUtils.isFeatureEnabled(context, NAMESPACE_CONNECTIVITY, name, in isFeatureEnabled()
458 return DeviceConfigUtils.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, in getIntDeviceConfig()
/aosp12/packages/modules/NetworkStack/src/com/android/server/connectivity/
H A DNetworkMonitor.java81 import static com.android.net.module.util.DeviceConfigUtils.getResBooleanConfig;
158 import com.android.net.module.util.DeviceConfigUtils;
3134 return DeviceConfigUtils.getDeviceConfigProperty(namespace, name, defaultValue); in getDeviceConfigProperty()
3147 return DeviceConfigUtils.getDeviceConfigPropertyInt(namespace, name, defaultValue); in getDeviceConfigPropertyInt()
3157 return DeviceConfigUtils.isFeatureEnabled(context, NAMESPACE_CONNECTIVITY, name); in isFeatureEnabled()
3174 return DeviceConfigUtils.isFeatureEnabled(context, namespace, name, defaultEnabled); in isFeatureEnabled()
/aosp12/packages/modules/NetworkStack/src/android/net/ip/
H A DIpClient.java97 import com.android.net.module.util.DeviceConfigUtils;
586 return DeviceConfigUtils.getDeviceConfigPropertyInt(NAMESPACE_CONNECTIVITY, name, in getDeviceConfigPropertyInt()
607 return DeviceConfigUtils.isFeatureEnabled(context, NAMESPACE_CONNECTIVITY, name, in isFeatureEnabled()
/aosp12/packages/modules/NetworkStack/src/com/android/server/
H A DNetworkStackService.java23 import static com.android.net.module.util.DeviceConfigUtils.getResBooleanConfig;