Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java128 VpnConfig cfg = mCurrentVpns.get(mVpnUserId); in getPrimaryVpnName() local
129 if (cfg != null) { in getPrimaryVpnName()
130 return getNameForVpnConfig(cfg, new UserHandle(mVpnUserId)); in getPrimaryVpnName()
142 VpnConfig cfg = mCurrentVpns.get(profileId); in getProfileVpnName() local
143 if (cfg != null) { in getProfileVpnName()
144 return getNameForVpnConfig(cfg, UserHandle.of(profileId)); in getProfileVpnName()
198 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) { in getNameForVpnConfig() argument
199 if (cfg.legacy) { in getNameForVpnConfig()
203 final String vpnPackage = cfg.user; in getNameForVpnConfig()
227 VpnConfig cfg = mConnectivityManagerService.getVpnConfig(user.id); in updateState() local
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java87 final Configuration cfg = res.getConfiguration(); in testVoidConfigChange() local
88 Configuration newCnf = new Configuration(cfg); in testVoidConfigChange()
89 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testVoidConfigChange()
110 final Configuration cfg = res.getConfiguration(); in testEffectiveConfigChange() local
111 Configuration newCnf = new Configuration(cfg); in testEffectiveConfigChange()
112 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testEffectiveConfigChange()
136 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleResources() local
137 Configuration newCnf = new Configuration(cfg); in testConfigChangeMultipleResources()
138 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testConfigChangeMultipleResources()
178 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleThemes() local
[all …]
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp84 vpx_codec_dec_cfg_t cfg; in initDecoder() local
86 memset(&cfg, 0, sizeof(vpx_codec_dec_cfg_t)); in initDecoder()
88 cfg.threads = GetCPUCoreCount(); in initDecoder()
97 &cfg, flags))) { in initDecoder()
/frameworks/base/core/java/android/text/format/
DDateUtils.java343 Configuration cfg = r.getConfiguration(); in initFormatStringsLocked() local
344 if (sLastConfig == null || !sLastConfig.equals(cfg)) { in initFormatStringsLocked()
345 sLastConfig = cfg; in initFormatStringsLocked()
/frameworks/native/opengl/libs/
DAndroid.mk12 LOCAL_MODULE := egl.cfg
/frameworks/compile/libbcc/tests/libbcc/
Dlit.cfg33 # Based on LLVM's lit.cfg: "For each occurrence of an llvm tool name
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1002 InterfaceConfiguration cfg; in getInterfaceConfig() local
1004 cfg = new InterfaceConfiguration(); in getInterfaceConfig()
1005 cfg.setHardwareAddress(st.nextToken(" ")); in getInterfaceConfig()
1020 cfg.setLinkAddress(new LinkAddress(addr, prefixLength)); in getInterfaceConfig()
1022 cfg.setFlag(st.nextToken()); in getInterfaceConfig()
1027 return cfg; in getInterfaceConfig()
1031 public void setInterfaceConfig(String iface, InterfaceConfiguration cfg) { in setInterfaceConfig() argument
1033 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig()
1041 for (String flag : cfg.getFlags()) { in setInterfaceConfig()
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg34 'debuginfo', 'lit.site.cfg'))
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl62 void setInterfaceConfig(String iface, in InterfaceConfiguration cfg); in setInterfaceConfig() argument
/frameworks/compile/libbcc/tests/debuginfo/
DREADME47 Further customization is possible by modifying the lit.cfg file.
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlit.cfg32 'debuginfo', 'lit.site.cfg'))
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5853 ResTable_config cfg; in forEachConfiguration() local
5854 memset(&cfg, 0, sizeof(ResTable_config)); in forEachConfiguration()
5855 cfg.copyFromDtoH(config->config); in forEachConfiguration()
5857 f(cfg); in forEachConfiguration()
5866 auto func = [&](const ResTable_config& cfg) { in getConfigurations() argument
5870 auto iter = std::lower_bound(beginIter, endIter, cfg, compareResTableConfig); in getConfigurations()
5871 if (iter == endIter || iter->compare(cfg) != 0) { in getConfigurations()
5872 configs->insertAt(cfg, std::distance(beginIter, iter)); in getConfigurations()
5885 forEachConfiguration(false, false, includeSystemLocales, [&](const ResTable_config& cfg) { in getLocales() argument
5886 if (cfg.locale != 0) { in getLocales()
[all …]
/frameworks/data-binding/
Dbuild.gradle217 configuration '../proguard.cfg'
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java1086 public boolean setConfigMethods(String cfg) { in setConfigMethods() argument
1087 return doBooleanCommand("SET config_methods " + cfg); in setConfigMethods()