Searched refs:configObject (Results 1 – 7 of 7) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationDef.java | 284 Object configObject = null; in createConfiguration() local 286 configObject = createObject(objClassEntry.getKey(), configDef.mClassName); in createConfiguration() 316 multiDev.addSpecificConfig(configObject); in createConfiguration() 317 multiDev.addFrequency(configObject, configDef.mAppearanceNum); in createConfiguration() 337 realDevice.get(0).addSpecificConfig(configObject); in createConfiguration() 338 realDevice.get(0).addFrequency(configObject, configDef.mAppearanceNum); in createConfiguration() 341 defaultDeviceConfig.addSpecificConfig(configObject); in createConfiguration() 343 configObject, configDef.mAppearanceNum); in createConfiguration() 347 objectList.add(configObject); in createConfiguration() 397 Object configObject = createObject(objClassEntry.getKey(), configDef.mClassName); in createGlobalConfiguration() local [all …]
|
D | GlobalConfiguration.java | 598 public void setConfigurationObject(String typeName, Object configObject) in setConfigurationObject() argument 600 if (configObject == null) { in setConfigurationObject() 604 addObject(typeName, configObject); in setConfigurationObject() 617 for (Object configObject : configList) { in setConfigurationObjectList() 618 addObject(typeName, configObject); in setConfigurationObjectList() 645 private void addObject(String typeName, Object configObject) throws ConfigurationException { in addObject() argument 652 if (typeInfo != null && !typeInfo.mExpectedType.isInstance(configObject)) { in addObject() 656 configObject.getClass().getCanonicalName())); in addObject() 663 objList.add(configObject); in addObject() 676 private void setConfigurationObjectNoThrow(String typeName, Object configObject) { in setConfigurationObjectNoThrow() argument [all …]
|
D | Configuration.java | 899 public synchronized void setConfigurationObject(String typeName, Object configObject) in setConfigurationObject() argument 901 if (configObject == null) { in setConfigurationObject() 905 addObject(typeName, configObject); in setConfigurationObject() 919 for (Object configObject : configList) { in setConfigurationObjectList() 920 addObject(typeName, configObject); in setConfigurationObjectList() 941 private synchronized void addObject(String typeName, Object configObject) in addObject() argument 949 if (typeInfo != null && !typeInfo.mExpectedType.isInstance(configObject)) { in addObject() 953 configObject.getClass().getCanonicalName())); in addObject() 960 objList.add(configObject); in addObject() 961 if (configObject instanceof IConfigurationReceiver) { in addObject() [all …]
|
D | IGlobalConfiguration.java | 261 public void setConfigurationObject(String name, Object configObject) in setConfigurationObject() argument
|
D | IConfiguration.java | 431 public void setConfigurationObject(String name, Object configObject) in setConfigurationObject() argument
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TearDownPassThroughPreparer.java | 66 Object configObject = mConfiguration.getConfigurationObject(preparer); in tearDown() local 67 if (configObject instanceof ITargetCleaner) { in tearDown() 68 ITargetCleaner cleaner = (ITargetCleaner)configObject; in tearDown() 71 if (configObject instanceof IHostCleaner) { in tearDown() 72 IHostCleaner cleaner = (IHostCleaner)configObject; in tearDown()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationTest.java | 523 JSONObject configObject = usage.getJSONObject(i); in findConfigObjectByName() local 524 if (name != null && name.equals(configObject.getString("name"))) { in findConfigObjectByName() 525 return configObject; in findConfigObjectByName()
|