Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationBoundResourceCacheTest.java80 final Configuration cfg = res.getConfiguration(); in testVoidConfigChange() local
81 Configuration newCnf = new Configuration(cfg); in testVoidConfigChange()
82 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testVoidConfigChange()
102 final Configuration cfg = res.getConfiguration(); in testEffectiveConfigChange() local
103 Configuration newCnf = new Configuration(cfg); in testEffectiveConfigChange()
104 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testEffectiveConfigChange()
127 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleResources() local
128 Configuration newCnf = new Configuration(cfg); in testConfigChangeMultipleResources()
129 newCnf.orientation = cfg.orientation == Configuration.ORIENTATION_LANDSCAPE ? in testConfigChangeMultipleResources()
167 final Configuration cfg = res.getConfiguration(); in testConfigChangeMultipleThemes() local
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/tools/help/
Dproguard.jd46 …<p>当您创建 Android 项目时,系统会在该项目的根目录中自动生成一个 <code>proguard.cfg</code> 文件。此文件将定义 ProGuard 会如何优化和混淆代码,因此您…
52 <p>如果您将 <code>proguard.cfg</code> 文件留在默认位置(项目的根目录中),则可以按如下格式指定其位置:</p>
54 proguard.config=proguard.cfg
60 proguard.config=/path/to/proguard.cfg
96 …<p>在某些情况下,<code>proguard.cfg</code> 文件中的默认配置足以满足您的需求。不过,在很多情况下,ProGuard 很难做出正确分析,因此可能会移除它认为无用而实际上您…
106 …<p>默认的 <code>proguard.cfg</code> 文件旨在涵盖一般的使用情形,但您可能会遇到异常情况,例如 <code>ClassNotFoundException</code>(…
108 … <p>您可以通过在 <code>proguard.cfg</code> 文件中添加一个 <code>-keep</code> 行,来修复因 ProGuard 在删除代码而造成的错误。例如:</p>
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp75 vpx_codec_dec_cfg_t cfg; in initDecoder() local
76 memset(&cfg, 0, sizeof(vpx_codec_dec_cfg_t)); in initDecoder()
77 cfg.threads = GetCPUCoreCount(); in initDecoder()
81 &cfg, 0))) { in initDecoder()
/frameworks/base/docs/html/tools/help/
Dproguard.jd57 <p>When you create an Android project, a <code>proguard.cfg</code> file is automatically
73 <p>If you left the <code>proguard.cfg</code> file in its default location (the project's root direc…
76 proguard.config=proguard.cfg
82 proguard.config=/path/to/proguard.cfg
129 <p>For some situations, the default configurations in the <code>proguard.cfg</code> file will
141 <p>The default <code>proguard.cfg</code> file tries to cover general cases, but you might
146 the <code>proguard.cfg</code> file. For example:</p>
/frameworks/native/opengl/libs/
DAndroid.mk12 LOCAL_MODULE := egl.cfg
/frameworks/base/core/java/android/text/format/
DDateUtils.java467 Configuration cfg = r.getConfiguration(); in initFormatStringsLocked() local
468 if (sLastConfig == null || !sLastConfig.equals(cfg)) { in initFormatStringsLocked()
469 sLastConfig = cfg; in initFormatStringsLocked()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java833 InterfaceConfiguration cfg; in getInterfaceConfig() local
835 cfg = new InterfaceConfiguration(); in getInterfaceConfig()
836 cfg.setHardwareAddress(st.nextToken(" ")); in getInterfaceConfig()
851 cfg.setLinkAddress(new LinkAddress(addr, prefixLength)); in getInterfaceConfig()
853 cfg.setFlag(st.nextToken()); in getInterfaceConfig()
858 return cfg; in getInterfaceConfig()
862 public void setInterfaceConfig(String iface, InterfaceConfiguration cfg) { in setInterfaceConfig() argument
864 LinkAddress linkAddr = cfg.getLinkAddress(); in setInterfaceConfig()
872 for (String flag : cfg.getFlags()) { in setInterfaceConfig()
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl62 void setInterfaceConfig(String iface, in InterfaceConfiguration cfg); in setInterfaceConfig() argument
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg34 'debuginfo', 'lit.site.cfg'))
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java726 public boolean setConfigMethods(String cfg) { in setConfigMethods() argument
727 return doBooleanCommand("SET config_methods " + cfg); in setConfigMethods()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp5361 ResTable_config cfg; in getConfigurations() local
5362 memset(&cfg, 0, sizeof(ResTable_config)); in getConfigurations()
5363 cfg.copyFromDtoH(config->config); in getConfigurations()
5368 if (0 == (*configs)[n].compare(cfg)) { in getConfigurations()
5374 configs->add(cfg); in getConfigurations()
/frameworks/base/docs/html/tools/debugging/
Dddms.jd91 <code>$HOME/.android/ddms.cfg</code>.</p>
/frameworks/base/docs/html/tools/sdk/
Dtools-notes.jd1254 <li>Updated the default {@code proguard.cfg} file with better default flags for
1609 …<li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following class…