Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTearDownPassThroughPreparer.java66 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/src/com/android/tradefed/config/
DGlobalConfiguration.java541 public void setConfigurationObject(String typeName, Object configObject) in setConfigurationObject() argument
543 if (configObject == null) { in setConfigurationObject()
547 addObject(typeName, configObject); in setConfigurationObject()
560 for (Object configObject : configList) { in setConfigurationObjectList()
561 addObject(typeName, configObject); in setConfigurationObjectList()
588 private void addObject(String typeName, Object configObject) throws ConfigurationException { in addObject() argument
595 if (typeInfo != null && !typeInfo.mExpectedType.isInstance(configObject)) { in addObject()
599 configObject.getClass().getCanonicalName())); in addObject()
606 objList.add(configObject); in addObject()
619 private void setConfigurationObjectNoThrow(String typeName, Object configObject) { in setConfigurationObjectNoThrow() argument
[all …]
DConfiguration.java817 public synchronized void setConfigurationObject(String typeName, Object configObject) in setConfigurationObject() argument
819 if (configObject == null) { in setConfigurationObject()
823 addObject(typeName, configObject); in setConfigurationObject()
837 for (Object configObject : configList) { in setConfigurationObjectList()
838 addObject(typeName, configObject); in setConfigurationObjectList()
859 private synchronized void addObject(String typeName, Object configObject) in addObject() argument
867 if (typeInfo != null && !typeInfo.mExpectedType.isInstance(configObject)) { in addObject()
871 configObject.getClass().getCanonicalName())); in addObject()
878 objList.add(configObject); in addObject()
879 if (configObject instanceof IConfigurationReceiver) { in addObject()
[all …]
DIGlobalConfiguration.java243 public void setConfigurationObject(String name, Object configObject) in setConfigurationObject() argument
DIConfiguration.java398 public void setConfigurationObject(String name, Object configObject) in setConfigurationObject() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java517 JSONObject configObject = usage.getJSONObject(i); in findConfigObjectByName() local
518 if (name != null && name.equals(configObject.getString("name"))) { in findConfigObjectByName()
519 return configObject; in findConfigObjectByName()