Searched refs:configObject (Results 1 – 6 of 6) sorted by relevance
/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/src/com/android/tradefed/config/ |
D | GlobalConfiguration.java | 541 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 …]
|
D | Configuration.java | 817 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 …]
|
D | IGlobalConfiguration.java | 243 public void setConfigurationObject(String name, Object configObject) in setConfigurationObject() argument
|
D | IConfiguration.java | 398 public void setConfigurationObject(String name, Object configObject) in setConfigurationObject() argument
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationTest.java | 517 JSONObject configObject = usage.getJSONObject(i); in findConfigObjectByName() local 518 if (name != null && name.equals(configObject.getString("name"))) { in findConfigObjectByName() 519 return configObject; in findConfigObjectByName()
|