/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationMatcher.java | 98 private final FolderConfiguration config; field in class:ConfigurationMatcher.ConfigBundle 104 config = new FolderConfiguration(); 108 config = new FolderConfiguration(); 109 config.set(bundle.config); 137 * Checks whether the current edited file is the best match for a given config. 141 * The given config must be compatible with the current edited file. 142 * @param config the config to test. 144 * given config 686 FolderConfiguration config = chooser.getConfiguration().getFullConfig(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
AndroidJUnitLaunchConfigDelegate.java | 60 /** Launch config attribute that stores instrumentation runner. */ 63 /** Launch config attribute that stores the test size annotation to run. */ 71 final AndroidLaunch androidLaunch, final AndroidLaunchConfiguration config, 110 junitLaunch, config, androidLaunch, monitor); 119 junitLaunch, config, androidLaunch, monitor); 279 * @param config the launch configuration to modify 281 static void setJUnitDefaults(ILaunchConfigurationWorkingCopy config) { 283 config.setAttribute(JUnitLaunchConfigurationConstants.ATTR_TEST_RUNNER_KIND,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/resources/manager/ |
ConfigMatchTest.java | 63 // create a default config with all qualifiers. 261 FolderConfiguration config = new FolderConfiguration(); local 266 assertTrue(mDefaultConfig.getQualifier(i).checkAndSet(value, config)); 270 return config; 277 * @param config the {@link FolderConfiguration} for the created folder. 280 private void addFolder(ResourceRepository resources, FolderConfiguration config, 284 String folderName = config.getFolderName(ResourceFolderType.LAYOUT);
|
/system/bt/osi/src/ |
config.cc | 21 #include "osi/include/config.h" 55 static bool config_parse(FILE* fp, config_t* config); 59 static section_t* section_find(const config_t* config, const char* section); 63 static entry_t* entry_find(const config_t* config, const char* section, 67 config_t* config = static_cast<config_t*>(osi_calloc(sizeof(config_t))); local 69 config->sections = list_new(section_free); 70 if (!config->sections) { 75 return config; 78 config_free(config); 85 config_t* config = config_new_empty() local [all...] |
/system/extras/simpleperf/scripts/ |
annotate.py | 264 def __init__(self, config): 265 # check config variables 270 if not config.has_key(name): 271 log_fatal('config [%s] is missing' % name) 272 symfs_dir = config['symfs_dir'] 275 kallsyms = config['kallsyms'] 278 source_dirs = config['source_dirs'] 284 self.config = config 285 self.symfs_dir = config.get('symfs_dir' 624 config = load_config(args.config) variable in class:SourceFileAnnotator [all...] |
/system/extras/sound/ |
playwav.c | 42 struct msm_audio_config config; local 54 if(ioctl(afd, AUDIO_GET_CONFIG, &config)) { 55 perror("could not get config"); 59 config.channel_count = channels; 60 config.sample_rate = rate; 61 if (ioctl(afd, AUDIO_SET_CONFIG, &config)) { 62 perror("could not set config"); 65 sz = config.buffer_size; 72 for (n = 0; n < config.buffer_count; n++) { 231 /* config change should be a read-modify-write operation * [all...] |
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
VtsPythonVirtualenvPreparer.java | 20 import com.android.tradefed.config.Option; 21 import com.android.tradefed.config.OptionClass; 60 "/config/google-tradefed-vts-config.config"; 116 CLog.i("Loading vendor test config %s", VENDOR_TEST_CONFIG_FILE_PATH); 117 InputStream config = getClass().getResourceAsStream(VENDOR_TEST_CONFIG_FILE_PATH); local 119 // First try to load local PyPI directory path from vendor config file 120 if (config != null) { 122 String content = StreamUtil.getStringFromStream(config); [all...] |
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-lm32.c | 64 static unsigned config = 0U; variable 140 config |= LM_CFG_MULTIPLIY_ENABLED; 143 config |= LM_CFG_DIVIDE_ENABLED; 146 config |= LM_CFG_BARREL_SHIFT_ENABLED; 149 config |= LM_CFG_SIGN_EXTEND_ENABLED; 152 config |= LM_CFG_USER_ENABLED; 155 config |= LM_CFG_ICACHE_ENABLED; 158 config |= LM_CFG_DCACHE_ENABLED; 161 config |= LM_CFG_BREAK_ENABLED; 164 config |= LM_CFG_MULTIPLIY_ENABLED [all...] |
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
ArgsOptionParser.java | 16 package com.android.loganalysis.util.config; 142 * @param optionSources the config objects. 143 * @throws ConfigurationException if config objects is improperly configured. 152 * @param optionSources the config objects. 153 * @throws ConfigurationException if config objects is improperly configured.
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
ArgsOptionParser.java | 16 package com.android.tradefed.config; 147 * @param optionSources the config objects. 148 * @throws ConfigurationException if config objects is improperly configured. 157 * @param optionSources the config objects. 158 * @throws ConfigurationException if config objects is improperly configured.
|
ConfigurationXmlParser.java | 17 package com.android.tradefed.config; 129 // tag is a built in local config object 134 "Attempted to specify local object '%s' for global config!", 155 // tag is a built in global config object 157 // FIXME: config type should be explicit rather than inferred 161 "Attempted to specify global object '%s' for local config!", 180 // option is declared within a config object - namespace it with object class 186 // preprend the device name in extra if inside a device config object. 294 "Failed to parse config xml '%s'. Reason: %s", mConfigDef.getName(), reason))); 347 throw new ConfigurationException(String.format("Failed to parse config xml '%s' due to [all...] |
IConfiguration.java | 17 package com.android.tradefed.config; 21 import com.android.tradefed.config.ConfigurationDef.OptionDef; 215 * @param optionSource the source config that provided this option value 376 * Generic method to set the config object with the given name, replacing any existing value. 378 * @param name the unique name of the config object type. 379 * @param configObject the config object 386 * Generic method to set the config object list for the given name, replacing any existing 389 * @param name the unique name of the config object type. 390 * @param configList the config object list 397 * Set the config {@link Option} fields with given set of command line argument [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
GlobalConfigurationTest.java | 16 package com.android.tradefed.config; 19 import com.android.tradefed.config.Option.Importance; 44 private static final String GLOBAL_TEST_CONFIG = "global-config"; 81 // use the known "empty" config as a global config to avoid issues. 119 // In order to find our test config, we provide our testconfigs/ folder. Otherwise only 120 // the config/ folder is searched for configuration by default. 135 // Only --test-tag test remains, the global config name has been removed. 146 // In order to find our test config, we provide our testconfigs/ folder. Otherwise only 147 // the config/ folder is searched for configuration by default [all...] |
OptionCopierTest.java | 17 package com.android.tradefed.config;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
TfSuiteRunnerTest.java | 26 import com.android.tradefed.config.ConfigurationException; 27 import com.android.tradefed.config.IConfiguration; 28 import com.android.tradefed.config.OptionSetter; 72 setter.setOptionValue("suite-config-prefix", "suite"); 87 setter.setOptionValue("suite-config-prefix", "suite"); 98 setter.setOptionValue("suite-config-prefix", "suite"); 114 setter.setOptionValue("suite-config-prefix", "doesnotexists"); 126 setter.setOptionValue("suite-config-prefix", "suite"); 139 setter.setOptionValue("suite-config-prefix", "suite"); 146 // 1 config from the left over <test> that was not a suite 148 IConfiguration config = configMap.get("suite\/sub-suite"); local [all...] |
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
WifiConnector.java | 132 final WifiConfiguration config = new WifiConfiguration(); local 134 config.SSID = quote(ssid); 137 config.hiddenSSID = true; 144 config.allowedKeyManagement = keymgmt; 146 config.preSharedKey = quote(psk); 148 networkId = mWifiManager.addNetwork(config); 158 for (WifiConfiguration config : netlist) { 159 if (quote(ssid).equals(config.SSID)) { 160 return config.networkId; 177 for (WifiConfiguration config : netlist) [all...] |
/prebuilts/tools/common/m2/repository/org/codehaus/gmaven/feature/gmaven-feature-api/1.5/ |
gmaven-feature-api-1.5.jar | |
/prebuilts/tools/common/m2/repository/org/anarres/jarjar/jarjar-core/1.0.0/ |
jarjar-core-1.0.0.jar | |
/prebuilts/tools/common/m2/repository/org/apache/logging/log4j/log4j-core/2.5/ |
log4j-core-2.5.jar | |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
ModuleRepo.java | 25 import com.android.tradefed.config.ConfigurationException; 26 import com.android.tradefed.config.ConfigurationFactory; 27 import com.android.tradefed.config.IConfiguration; 28 import com.android.tradefed.config.IConfigurationFactory; 64 private static final String CONFIG_EXT = ".config"; 215 String.format("No config files found in %s", testsDir.getAbsolutePath())); 222 // Invokes parser to process the test module config file 223 // Need to generate a different config for each ABI as we cannot guarantee the 226 IConfiguration config = mConfigFactory.createConfigurationFromArgs(pathArg); local 233 if (!filterByConfigMetadata(config, 354 IConfiguration config = mConfigFactory.createConfigurationFromArgs(configPaths); local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
VolumeShaperTest.java | 330 final VolumeShaper.Configuration config = new VolumeShaper.Configuration.Builder() local 396 final VolumeShaper.Configuration config = local 399 VolumeShaper.Configuration.INTERPOLATOR_TYPE_CUBIC, config.getInterpolatorType()); 401 1000, config.getDuration()); 403 Arrays.equals(ohOne, config.getTimes())); 405 Arrays.equals(ohOne, config.getVolumes())); 496 for (VolumeShaper.Configuration config : ALL_STANDARD_RAMPS) { 498 0 /* expected */, config.describeContents()); 501 config.writeToParcel(srcParcel, 0 /* flags */); 513 config, restoredConfig) 634 final VolumeShaper.Configuration config = LINEAR_RAMP; local 684 final VolumeShaper.Configuration config = LINEAR_RAMP; local 975 final VolumeShaper.Configuration config = LINEAR_RAMP; local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 915 JSONObject config = new JSONObject(); local 946 JSONObject config = new JSONObject(); local [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
SupplicantStaNetworkHalTest.java | 98 WifiConfiguration config = WifiConfigurationTestUtil.createOpenHiddenNetwork(); local 99 config.updateIdentifier = "45"; 100 testWifiConfigurationSaveLoad(config); 108 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); local 109 config.requirePMF = true; 110 testWifiConfigurationSaveLoad(config); 124 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); local 125 config.preSharedKey = "945ef00c463c2a7c2496376b13263d1531366b46377179a4b17b393687450779"; 126 testWifiConfigurationSaveLoad(config); 141 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork() local 153 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 163 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); local 174 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); local 185 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); local 197 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); local 208 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 224 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 244 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 261 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 277 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 298 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 314 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 334 WifiConfiguration config = WifiConfigurationTestUtil.createWepHiddenNetwork(); local 352 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); local 370 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); local 621 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); local 643 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); local 685 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); local 694 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); local 726 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); local 751 WifiConfiguration config = WifiConfigurationTestUtil.createPskNetwork(); local 806 WifiConfiguration config = WifiConfigurationTestUtil.createEapNetwork(); local [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
PasspointManagerTest.java | 190 * @param config The configuration associated with the provider 193 private PasspointProvider createMockProvider(PasspointConfiguration config) { 196 when(provider.getConfig()).thenReturn(config); 206 PasspointConfiguration config = new PasspointConfiguration(); local 210 config.setHomeSp(homeSp); 220 config.setCredential(credential); 221 return config; 230 PasspointConfiguration config = new PasspointConfiguration(); local 234 config.setHomeSp(homeSp); 241 config.setCredential(credential) 252 PasspointConfiguration config = createTestConfigWithUserCredential(); local 459 PasspointConfiguration config = createTestConfigWithUserCredential(); local 472 PasspointConfiguration config = createTestConfigWithUserCredential(); local 507 PasspointConfiguration config = createTestConfigWithSimCredential(); local 585 PasspointConfiguration config = createTestConfigWithUserCredential(); local 600 PasspointConfiguration config = createTestConfigWithUserCredential(); local 614 PasspointConfiguration config = createTestConfigWithUserCredential(); local 764 WifiConfiguration config = mManager.getMatchingWifiConfig(createTestScanResult()); local 783 WifiConfiguration config = mManager.getMatchingWifiConfig(createTestScanResult()); local 825 PasspointConfiguration config = createTestConfigWithUserCredential(); local 849 PasspointConfiguration config = createTestConfigWithUserCredential(); local [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
XmlUtilTest.java | 185 * Verify that a EAP WifiConfiguration is serialized & deserialized correctly for config store. 186 * This basically exercises all the elements being serialized in config store. 363 WifiEnterpriseConfig config = new WifiEnterpriseConfig(); local 364 config.setFieldValue(WifiEnterpriseConfig.IDENTITY_KEY, TEST_IDENTITY); 365 config.setFieldValue(WifiEnterpriseConfig.ANON_IDENTITY_KEY, TEST_ANON_IDENTITY); 366 config.setFieldValue(WifiEnterpriseConfig.PASSWORD_KEY, TEST_PASSWORD); 367 config.setFieldValue(WifiEnterpriseConfig.CLIENT_CERT_KEY, TEST_CLIENT_CERT); 368 config.setFieldValue(WifiEnterpriseConfig.CA_CERT_KEY, TEST_CA_CERT); 369 config.setFieldValue(WifiEnterpriseConfig.SUBJECT_MATCH_KEY, TEST_SUBJECT_MATCH); 370 config.setFieldValue(WifiEnterpriseConfig.ENGINE_KEY, TEST_ENGINE) 390 WifiEnterpriseConfig config = new WifiEnterpriseConfig(); local 422 WifiConfiguration config = WifiConfigurationTestUtil.createPasspointNetwork(); local [all...] |