Home
last modified time | relevance | path

Searched refs:configResource (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/base/core/java/android/security/net/config/
H A DManifestConfigSource.java58 int configResource = mApplicationInfo.networkSecurityConfigRes; in getConfigSource() local
60 if (configResource != 0) { in getConfigSource()
66 .getResourceEntryName(configResource) in getConfigSource()
69 source = new XmlConfigSource(mContext, configResource, mApplicationInfo); in getConfigSource()
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/
H A DDeviceConfigUtils.java248 @BoolRes int configResource, final boolean defaultValue) { in getResBooleanConfig() argument
251 return res.getBoolean(configResource); in getResBooleanConfig()
/aosp12/packages/modules/NetworkStack/src/com/android/server/connectivity/
H A DNetworkMonitor.java1999 int getIntSetting(@NonNull final Context context, @StringRes int configResource, in getIntSetting() argument
2003 return res.getInteger(configResource); in getIntSetting()
2015 @IntegerRes final int configResource, final int defaultValue) { in getResIntConfig() argument
2018 return res.getInteger(configResource); in getResIntConfig()
2029 @StringRes final int configResource, @Nullable final String defaultValue) { in getResStringConfig() argument
2032 return res.getString(configResource); in getResStringConfig()
2187 @StringRes int configResource, @NonNull String symbol, @NonNull String defaultValue) { in getSettingFromResource() argument
2189 String setting = res.getString(configResource); in getSettingFromResource()
2574 boolean matchesHttpContent(final String content, @StringRes final int configResource) { in matchesHttpContent() argument
2575 final String resString = getResStringConfig(mContext, configResource, ""); in matchesHttpContent()