Home
last modified time | relevance | path

Searched refs:loadedClass (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/health/utils/src/android/platform/test/util/
DHealthRunnerBuilder.java52 Class<?> loadedClass = null; in HealthRunnerBuilder() local
54 loadedClass = HealthRunnerBuilder.class.getClassLoader().loadClass(runnerName); in HealthRunnerBuilder()
61 if (loadedClass != null && Runner.class.isAssignableFrom(loadedClass)) { in HealthRunnerBuilder()
62 mRunnerClass = loadedClass; in HealthRunnerBuilder()
64 throw new RuntimeException(String.format("Class %s is not a runner.", loadedClass)); in HealthRunnerBuilder()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDynamicRuleChain.java126 Class<?> loadedClass = null; in loadRuleByFullyQualifiedName() local
128 loadedClass = DynamicRuleChain.class.getClassLoader().loadClass(name); in loadRuleByFullyQualifiedName()
134 if (loadedClass == null || (!TestRule.class.isAssignableFrom(loadedClass))) { in loadRuleByFullyQualifiedName()
136 String.format("Class %s is not a TestRule.", loadedClass)); in loadRuleByFullyQualifiedName()
141 Constructor<?> constructor = loadedClass.getConstructor(); in loadRuleByFullyQualifiedName()
148 loadedClass), in loadRuleByFullyQualifiedName()
DTestMetricRule.java170 Class<?> loadedClass = null; in loadListenerByFullyQualifiedName() local
172 loadedClass = TestMetricRule.class.getClassLoader().loadClass(name); in loadListenerByFullyQualifiedName()
178 if (loadedClass == null || (!BaseMetricListener.class.isAssignableFrom(loadedClass))) { in loadListenerByFullyQualifiedName()
180 String.format("Class %s is not a BaseMetricListener.", loadedClass)); in loadListenerByFullyQualifiedName()
184 Constructor<?> constructor = loadedClass.getConstructor(); in loadListenerByFullyQualifiedName()
191 loadedClass), in loadListenerByFullyQualifiedName()