Home
last modified time | relevance | path

Searched refs:configObject (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationDef.java270 Object configObject = null; in createConfiguration() local
272 configObject = createObject(objClassEntry.getKey(), configDef.mClassName); in createConfiguration()
302 multiDev.addSpecificConfig(configObject); in createConfiguration()
303 multiDev.addFrequency(configObject, configDef.mAppearanceNum); in createConfiguration()
323 realDevice.get(0).addSpecificConfig(configObject); in createConfiguration()
324 realDevice.get(0).addFrequency(configObject, configDef.mAppearanceNum); in createConfiguration()
327 defaultDeviceConfig.addSpecificConfig(configObject); in createConfiguration()
329 configObject, configDef.mAppearanceNum); in createConfiguration()
333 objectList.add(configObject); in createConfiguration()
389 Object configObject = createObject(objClassEntry.getKey(), configDef.mClassName); in createGlobalConfiguration() local
[all …]
DConfiguration.java988 public synchronized void setConfigurationObject(String typeName, Object configObject) in setConfigurationObject() argument
990 if (configObject == null) { in setConfigurationObject()
994 addObject(typeName, configObject); in setConfigurationObject()
1008 for (Object configObject : configList) { in setConfigurationObjectList()
1009 addObject(typeName, configObject); in setConfigurationObjectList()
1030 private synchronized void addObject(String typeName, Object configObject) in addObject() argument
1038 if (typeInfo != null && !typeInfo.mExpectedType.isInstance(configObject)) { in addObject()
1042 configObject.getClass().getCanonicalName())); in addObject()
1049 objList.add(configObject); in addObject()
1050 if (configObject instanceof IConfigurationReceiver) { in addObject()
[all …]
DIConfiguration.java464 public void setConfigurationObject(String name, Object configObject) in setConfigurationObject() argument
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java609 public void setConfigurationObject(String typeName, Object configObject) in setConfigurationObject() argument
611 if (configObject == null) { in setConfigurationObject()
615 addObject(typeName, configObject); in setConfigurationObject()
628 for (Object configObject : configList) { in setConfigurationObjectList()
629 addObject(typeName, configObject); in setConfigurationObjectList()
656 private void addObject(String typeName, Object configObject) throws ConfigurationException { in addObject() argument
663 if (typeInfo != null && !typeInfo.mExpectedType.isInstance(configObject)) { in addObject()
667 configObject.getClass().getCanonicalName())); in addObject()
674 objList.add(configObject); in addObject()
687 private void setConfigurationObjectNoThrow(String typeName, Object configObject) { in setConfigurationObjectNoThrow() argument
[all …]
DIGlobalConfiguration.java268 public void setConfigurationObject(String name, Object configObject) in setConfigurationObject() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTearDownPassThroughPreparer.java60 Object configObject = mConfiguration.getConfigurationObject(preparer); in tearDown() local
61 if (configObject instanceof ITargetPreparer) { in tearDown()
62 ITargetPreparer cleaner = (ITargetPreparer) configObject; in tearDown()
65 if (configObject instanceof IHostCleaner) { in tearDown()
66 IHostCleaner cleaner = (IHostCleaner)configObject; in tearDown()