Home
last modified time | relevance | path

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

1234

/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java72 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>();
140 Class<?> rawClass = (Class<?>) parameterizedType.getRawType(); in getHandler()
144 if (!(actualType instanceof Class)) { in getHandler()
154 if (!(keyType instanceof Class)) { in getHandler()
157 } else if (!(valueType instanceof Class)) { in getHandler()
169 if (type instanceof Class) { in getHandler()
170 Class<?> cType = (Class<?>) type; in getHandler()
222 if (type instanceof Class) { in getHandlerOrTimeVal()
223 final Class<?> cType = (Class<?>) type; in getHandlerOrTimeVal()
401 type = ((Class<?>)valueType).getSimpleName().toLowerCase(); in setOptionValue()
[all …]
DConfigurationDef.java448 Class<?> objectClass = getClassForObject(objectTypeName, className); in createObject()
472 private Class<?> getClassForObject(String objectTypeName, String className) in getClassForObject()
475 return Class.forName(className); in getClassForObject()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java184 private List<Class<?>> mLoadedClasses = new ArrayList<>();
348 for (Class<?> classObj : getClasses()) { in countTestCases()
514 List<Class<?>> classes = getClasses(); in run()
558 for (Class<?> classObj : getClasses()) { in runTestClasses()
776 private Set<Class<?>> collectClasses(Class<?> classObj) { in collectClasses()
777 Set<Class<?>> classes = new HashSet<>(); in collectClasses()
787 private Set<Class<?>> getClassesFromSuite(TestSuite suite) { in getClassesFromSuite()
788 Set<Class<?>> classes = new HashSet<>(); in getClassesFromSuite()
801 private TestSuite collectTests(Set<Class<?>> classes) { in collectTests()
803 for (Class<?> classObj : classes) { in collectTests()
[all …]
DDeviceJUnit4ClassRunner.java71 public DeviceJUnit4ClassRunner(Class<?> klass) throws InitializationError { in DeviceJUnit4ClassRunner()
272 public Class<? extends Annotation> annotationType() { in annotationType()
332 public Class<? extends Annotation> annotationType() { in annotationType()
DDeviceTestSuite.java34 public DeviceTestSuite(Class<?> testClass) { in DeviceTestSuite()
70 public void addTestSuite(Class testClass) { in addTestSuite()
/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/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/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/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java56 public static final List<Class<?>> getJUnitClasses( in getJUnitClasses()
63 List<Class<?>> output = new ArrayList<>(); in getJUnitClasses()
70 Class<?> klass = Class.forName(className, true, pcl); in getJUnitClasses()
149 public static final List<Class<?>> getJUnitClasses( in getJUnitClasses()
169 Class<?> cls = cl.loadClass(className); in testLoadClass()
213 public static boolean hasJUnitAnnotation(Class<?> classObj) { in hasJUnitAnnotation()
/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);
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJavaCodeCoverageListenerTest.java335 private static <T> String vmName(Class<T> clazz) { in vmName()
339 private static <T> ExecutionData fullyCovered(Class<T> clazz) throws IOException { in fullyCovered()
345 private static <T> ExecutionData partiallyCovered(Class<T> clazz) throws IOException { in partiallyCovered()
351 private static <T> long classId(Class<T> clazz) throws IOException { in classId()
355 private static <T> ByteString classBytes(Class<T> clazz) throws IOException { in classBytes()
370 private static <T> boolean[] getProbes(Class<T> clazz, ExecutionDataStore execData) in getProbes()
DHostTestTest.java384 public InvalidJunit4Runner(Class<?> klass) throws InitializationError { in InvalidJunit4Runner()
1710 final Class<?>[] expectedTestCaseClasses = new Class<?>[] { in testRun_junit_suite_split_by_method()
1798 final Class<?>[] expectedTestCaseClasses = new Class<?>[] { in testGetTestShardable_wrapping_shardUnit_method()
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt191 |Version| Traffic Class | Flow Label |
214 Traffic Class 8-bit traffic class field. See section 7.
1390 The 8-bit Traffic Class field in the IPv6 header is available for use
1397 of explicit flow set-up. The Traffic Class field in the IPv6 header
1410 some of the IPv6 Traffic Class bits, whether experimental or intended
1414 The following general requirements apply to the Traffic Class field:
1418 of the Traffic Class bits in packets originated by that upper-
1422 standard) use of some or all of the Traffic Class bits are
1426 of the Traffic Class field for which they do not support a
1430 Traffic Class bits in a received packet are the same as the
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestLoader.java88 Class<?> testClass = Class.forName(className, true, classLoader); in loadTests()
90 testSuite.addTestSuite((Class<? extends TestCase>)testClass); in loadTests()
109 private boolean hasJUnit4Annotation(Class<?> classObj) { in hasJUnit4Annotation()
/tools/tradefederation/core/src/com/android/tradefed/invoker/logger/
DTfObjectTracker.java36 private static final Set<Class<?>> TRACKED_CLASSES =
51 public static void countWithParents(Class<?> object) { in countWithParents()
85 private static boolean count(Class<?> object) { in count()
90 for (Class<?> classTracked : TRACKED_CLASSES) { in count()
/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()
Dreader.cc121 ir::Class* Reader::GetClass(dex::u4 index) { in GetClass()
124 auto placeholder = reinterpret_cast<ir::Class*>(1); in GetClass()
221 ir::Class* Reader::ParseClass(dex::u4 index) { in ParseClass()
223 auto ir_class = dex_ir_->Alloc<ir::Class>(); in ParseClass()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java58 private Class<?> mRequiredIDeviceClass;
60 DeviceRequestedType(Class<?> requiredIDeviceClass) { in DeviceRequestedType()
64 public Class<?> getRequiredClass() { in getRequiredClass()
569 Class<?> classNeeded = mRequestedType.getRequiredClass(); in checkDeviceTypeRequested()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/logger/
DTfObjectTrackerTest.java97 ThreadGroup testGroup, boolean trackWithParents, Class<?> toTrack) throws Exception { in logMetric()
109 private Class<?> mToTrack;
113 public TestRunnable(Class<?> toTrack, boolean trackWithParents) { in TestRunnable()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationRunner.java115 List<Class<?>> klasses = this.getClasses(params); in runTests()
117 for (Class<?> klass : klasses) { in runTests()
152 private List<Class<?>> getClasses(TestParameters params) { in getClasses()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DAutoLogCollector.java27 private Class<?> mClass;
29 private AutoLogCollector(Class<? extends BaseDeviceMetricCollector> className) { in AutoLogCollector()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultHandlerFactory.java62 private Class handlerClass;
64 Type(String tag, Class handlerClass) { in Type()
/tools/loganalysis/src/com/android/loganalysis/item/
DDvmLockSampleItem.java46 private static final Map<String, Class<?>> TYPES = new HashMap<String, Class<?>>() {{

1234