Home
last modified time | relevance | path

Searched refs:Class (Results 1 – 25 of 80) sorted by relevance

1234

/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java62 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>();
90 Class<?> rawClass = (Class<?>) parameterizedType.getRawType(); in getHandler()
94 if (!(actualType instanceof Class)) { in getHandler()
103 if (!(keyType instanceof Class)) { in getHandler()
106 } else if (!(valueType instanceof Class)) { in getHandler()
118 if (type instanceof Class) { in getHandler()
119 Class<?> cType = (Class<?>) type; in getHandler()
360 String keyTypeName = ((Class<?>)keyType).getSimpleName().toLowerCase(); in setOptionMapValue()
361 String valueTypeName = ((Class<?>)valueType).getSimpleName().toLowerCase(); in setOptionMapValue()
452 if ((type instanceof Class) && !(type instanceof ParameterizedType)) { in addOptionsForObject()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java71 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>();
138 Class<?> rawClass = (Class<?>) parameterizedType.getRawType(); in getHandler()
142 if (!(actualType instanceof Class)) { in getHandler()
152 if (!(keyType instanceof Class)) { in getHandler()
155 } else if (!(valueType instanceof Class)) { in getHandler()
167 if (type instanceof Class) { in getHandler()
168 Class<?> cType = (Class<?>) type; in getHandler()
220 if (type instanceof Class) { in getHandlerOrTimeVal()
221 final Class<?> cType = (Class<?>) type; in getHandlerOrTimeVal()
391 type = ((Class<?>)valueType).getSimpleName().toLowerCase(); in setOptionValue()
[all …]
DConfigurationDef.java456 Class<?> objectClass = getClassForObject(objectTypeName, className); in createObject()
480 private Class<?> getClassForObject(String objectTypeName, String className) in getClassForObject()
483 return Class.forName(className); in getClassForObject()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DHostTest.java335 for (Class<?> classObj : getClasses()) { in countTestCases()
500 List<Class<?>> classes = getClasses(); in run()
531 for (Class<?> classObj : getClasses()) { in runTestClasses()
702 private Set<Class<?>> collectClasses(Class<?> classObj) { in collectClasses()
703 Set<Class<?>> classes = new HashSet<>(); in collectClasses()
713 private Set<Class<?>> getClassesFromSuite(TestSuite suite) { in getClassesFromSuite()
714 Set<Class<?>> classes = new HashSet<>(); in getClassesFromSuite()
727 private TestSuite collectTests(Set<Class<?>> classes) { in collectTests()
729 for (Class<?> classObj : classes) { in collectTests()
738 classObj.getMethod(mMethodName, (Class[]) null) in collectTests()
[all …]
DDeviceTestSuite.java33 public DeviceTestSuite(Class<?> testClass) { in DeviceTestSuite()
70 public void addTestSuite(Class testClass) { in addTestSuite()
DDeviceJUnit4ClassRunner.java75 public DeviceJUnit4ClassRunner(Class<?> klass) throws InitializationError { in DeviceJUnit4ClassRunner()
270 public Class<? extends Annotation> annotationType() { in annotationType()
330 public Class<? extends Annotation> annotationType() { in annotationType()
DDeviceTestCase.java323 Class<?> theClass = this.getClass(); in getTestMethodNames()
324 Class<?> superClass = theClass; in getTestMethodNames()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DResources.java45 public static byte[] toByteArray(Class<?> cls, String resourceName) throws IOException { in toByteArray()
54 public static InputStream toInputStream(Class<?> cls, String resourceName) throws IOException { in toInputStream()
63 Class <?> cls, String resourceName) throws IOException, CertificateException { in toCertificate()
73 Class <?> cls, String resourceName) throws IOException, CertificateException { in toCertificateChain()
88 public static PrivateKey toPrivateKey(Class <?> cls, String resourceName) in toPrivateKey()
100 Class <?> cls, String resourceName, String keyAlgorithm) in toPrivateKey()
124 public static SigningCertificateLineage.SignerConfig toLineageSignerConfig(Class<?> cls, in toLineageSignerConfig()
132 public static DataSource toDataSource(Class<?> cls, String dataSourceResourceName) in toDataSource()
138 public static SigningCertificateLineage toSigningCertificateLineage(Class<?> cls, in toSigningCertificateLineage()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java60 public static <T> T parse(ByteBuffer encoded, Class<T> containerClass) in parse()
96 public static <T> List<T> parseImplicitSetOf(ByteBuffer encoded, Class<T> elementClass) in parseImplicitSetOf()
110 private static <T> T parse(BerDataValue container, Class<T> containerClass) in parse()
146 private static <T> T parseChoice(BerDataValue dataValue, Class<T> containerClass) in parseChoice()
195 private static <T> T parseSequence(BerDataValue container, Class<T> containerClass) in parseSequence()
200 private static <T> T parseSequence(BerDataValue container, Class<T> containerClass, in parseSequence()
285 private static <T> List<T> parseSetOf(BerDataValue container, Class<T> elementClass) in parseSetOf()
312 private static Asn1Type getContainerAsn1Type(Class<?> containerClass) in getContainerAsn1Type()
333 private static Class<?> getElementType(Field field) in getElementType()
347 return Class.forName(elementClassName); in getElementType()
[all …]
DAsn1DerEncoder.java55 Class<?> containerClass = container.getClass(); in encode()
76 Class<?> containerClass = container.getClass(); in toChoice()
112 Class<?> containerClass = container.getClass(); in toSequence()
215 Class<?> containerClass = container.getClass(); in getAnnotatedFields()
504 Class<?> sourceType = source.getClass(); in toDer()
/tools/dexter/slicer/export/slicer/
Ddex_ir.h79 struct Class;
178 Class* class_def;
311 struct Class : public IndexedNode { struct
367 std::vector<own<Class>> classes;
396 std::map<dex::u4, Class*> classes_map;
436 void TopSortClassIndex(Class* irClass, dex::u4* nextIndex);
449 void Track(Class* p) { PushOwn(classes, p); } in Track()
Dwriter.h214 dex::u4 WriteClassAnnotations(const ir::Class* ir_class);
217 dex::u4 WriteClassData(const ir::Class* ir_class);
218 dex::u4 WriteClassStaticValues(const ir::Class* ir_class);
Dreader.h66 ir::Class* GetClass(dex::u4 index);
90 ir::Class* ParseClass(dex::u4 index);
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJavaCodeCoverageListenerTest.java210 private static <T> String vmName(Class<T> clazz) { in vmName()
214 private static <T> ExecutionData fullyCovered(Class<T> clazz) throws IOException { in fullyCovered()
220 private static <T> ExecutionData partiallyCovered(Class<T> clazz) throws IOException { in partiallyCovered()
226 private static <T> long classId(Class<T> clazz) throws IOException { in classId()
230 private static <T> ByteString classBytes(Class<T> clazz) throws IOException { in classBytes()
245 private static <T> boolean[] getProbes(Class<T> clazz, ExecutionDataStore execData) in getProbes()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestLoader.java84 Class<?> testClass = Class.forName(className, true, classLoader); in loadTests()
86 testSuite.addTestSuite((Class<? extends TestCase>)testClass); in loadTests()
105 private boolean hasJUnit4Annotation(Class<?> classObj) { in hasJUnit4Annotation()
DTestFilterHelper.java211 public boolean shouldRun(String packageName, Class<?> classObj, Method method) { in shouldRun()
248 Class<?> classObj = null; in shouldRun()
250 classObj = Class.forName(desc.getClassName()); in shouldRun()
/tools/metalava/manual/
Dmaster.txt73 …public final class Class<T> implements java.lang.reflect.AnnotatedElement java.lang.reflect.Generi…
74 …od @Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(@NonNull Class<A>);
75 … <A extends java.lang.annotation.Annotation> A @NonNull [] getAnnotationsByType(@NonNull Class<A>);
76 …blic native <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(@NonNull Class<A>);
/tools/dexter/slicer/
Ddex_ir.cc129 void DexFile::TopSortClassIndex(Class* irClass, dex::u4* nextIndex) { in TopSortClassIndex()
181 static void NormalizeClass(Class* irClass) { in NormalizeClass()
258 IndexItems(classes, [&](const own<Class>& a, const own<Class>& b) { in Normalize()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAutoLogCollector.java25 private Class<?> mClass;
27 private AutoLogCollector(Class<? extends BaseDeviceMetricCollector> className) { in AutoLogCollector()
DScheduleMultipleDeviceMetricCollector.java90 Class<?> klass = Class.forName(metricCollectorClass); in initMetricCollectors()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java56 private Class<?> mRequiredIDeviceClass;
58 DeviceRequestedType(Class<?> requiredIDeviceClass) { in DeviceRequestedType()
62 public Class<?> getRequiredClass() { in getRequiredClass()
563 Class<?> classNeeded = mRequestedType.getRequiredClass(); in checkDeviceTypeRequested()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionTest.java36 public Class<? extends Annotation> annotationType() { in annotationType()
44 public Class<? extends Annotation> annotationType() { in annotationType()
/tools/loganalysis/src/com/android/loganalysis/item/
DDvmLockSampleItem.java46 private static final Map<String, Class<?>> TYPES = new HashMap<String, Class<?>>() {{
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DLongevityHostRunner.java92 private Class<?> mSuiteKlass;
94 public LongevityHostRunner(Class<?> klass) { in LongevityHostRunner()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java268 Class<?> flasherClass = Class.forName(mFlasherClass); in loadFlashPreparerClass()

1234