/tools/apksig/src/test/java/com/android/apksig/internal/util/ |
D | Resources.java | 45 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/metalava/src/main/java/com/android/tools/metalava/ |
D | ManagementWrapper.java | 31 private static Class<?>[] EMPTY_CLASSES = new Class[]{}; 53 private static class LazyClass extends Lazy<Class<?>> { 61 Class<?> init() { in init() 63 return Class.forName(mName); in init() 90 final Class<?> clazz = mClazz.get(); in init()
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 62 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/lite/com/android/tradefed/lite/ |
D | HostUtils.java | 56 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/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 72 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() 393 type = ((Class<?>)valueType).getSimpleName().toLowerCase(); in setOptionValue() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/logger/ |
D | TfObjectTracker.java | 36 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/tradefederation/core/src/com/android/tradefed/util/ |
D | TestLoader.java | 88 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/device/metric/ |
D | AutoLogCollector.java | 27 private Class<?> mClass; 29 private AutoLogCollector(Class<? extends BaseDeviceMetricCollector> className) { in AutoLogCollector()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | HostTest.java | 184 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 …]
|
D | DeviceTestSuite.java | 34 public DeviceTestSuite(Class<?> testClass) { in DeviceTestSuite() 70 public void addTestSuite(Class testClass) { in addTestSuite()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParser.java | 60 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 …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultHandlerFactory.java | 62 private Class handlerClass; 64 Type(String tag, Class handlerClass) { in Type()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | DvmLockSampleItem.java | 46 private static final Map<String, Class<?>> TYPES = new HashMap<String, Class<?>>() {{
|
/tools/dexter/slicer/export/slicer/ |
D | dex_ir.h | 79 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()
|
/tools/trebuchet/trebuchet/user-switch-analyzer/ |
D | MANIFEST.mf | 2 Main-Class: UserSwitchStartupAnalyzerKt
|
/tools/trebuchet/trebuchet/analyzer/ |
D | MANIFEST.mf | 2 Main-Class: AnalyzerKt
|
/tools/trebuchet/trebuchet/system-server-analyzer/ |
D | MANIFEST.mf | 2 Main-Class: SystemServerStartupAnalyzerKt
|
/tools/trebuchet/trebuchet/traceutils/ |
D | MANIFEST.mf | 2 Main-Class: TraceUtilsKt
|
/tools/trebuchet/trebuchet/startup-analyzer/ |
D | MANIFEST.mf | 2 Main-Class: StartupAnalyzerKt
|
/tools/trebuchet/trebuchet/startup-summarizer/ |
D | MANIFEST.mf | 2 Main-Class: StartupSummarizerKt
|
/tools/metalava/ |
D | manifest.txt | 1 Main-Class: com.android.tools.metalava.Driver
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestDescriptionTest.java | 38 public Class<? extends Annotation> annotationType() { in annotationType() 46 public Class<? extends Annotation> annotationType() { in annotationType()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/logger/ |
D | TfObjectTrackerTest.java | 97 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/test_framework/com/android/tradefed/testtype/junit4/builder/ |
D | DeviceJUnit4ClassRunnerBuilder.java | 36 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JavaCodeCoverageListenerTest.java | 335 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()
|