/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 236 return fieldsForArg(name).getFirstField().getType().getSimpleName().toLowerCase(); in getTypeForOption() 254 final String type = field.getType().getSimpleName(); in setOptionValue() 277 if (Collection.class.isAssignableFrom(field.getType())) { in setFieldValue() 290 } else if (Map.class.isAssignableFrom(field.getType())) { in setFieldValue() 381 if (!Map.class.isAssignableFrom(field.getType())) { in setOptionMapValue() 646 Class<?> type = field.getType(); in getEnumFieldValuesAsString() 688 name, optionSource.getClass().getName(), field.getType())); in addNameToMap()
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | CompactMemInfoParserTest.java | 40 assertEquals("cached", item.getType(2964)); in testSingleProcLineWithSwapHasActivities() 53 assertEquals("cached", item.getType(2964)); in testSingleProcLineWithoutSwapHasActivities() 67 assertEquals("cached", item.getType(2964)); in testSingleProcLineWithoutSwapNoActivities() 145 assertEquals("cached", item.getType(2964)); in testMultipleLines() 173 assertEquals("cached", item.getType(2964)); in testSkipNonProcLines()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 355 return fieldsForArg(name).getFirstField().getType().getSimpleName().toLowerCase(); in getTypeForOption() 397 String type = field.getType().getSimpleName(); in setOptionValue() 453 if (Collection.class.isAssignableFrom(field.getType())) { in setFieldValue() 476 } else if (Map.class.isAssignableFrom(field.getType())) { in setFieldValue() 498 } else if (MultiMap.class.isAssignableFrom(field.getType())) { in setFieldValue() 870 Class<?> type = field.getType(); in getEnumFieldValuesAsString() 912 + "'%s'", name, optionSource.getClass().getName(), field.getType())); in addNameToMap()
|
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/ |
D | ManagedFileContentProvider.java | 130 public String getType(@NonNull Uri uri) { in getType() method in ManagedFileContentProvider 131 return getType(getFileForUri(uri)); in getType() 222 value = file.isDirectory() ? null : getType(file); in getColumnValue() 227 private String getType(@NonNull File file) { in getType() method in ManagedFileContentProvider
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 229 assertEquals(logFile.getType(), capturedFile.getType()); in testEvents() 636 assertEquals(logFile.getType(), capturedFile.getType()); in testEvents_subprocess()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterHostEvent.java | 102 public HostEventType getType() { in getType() method in ClusterHostEvent 210 if (this.getType() != null) json.put("type", this.getType().toString()); in toJSON()
|
D | ClusterCommandEvent.java | 78 public Type getType() { in getType() method in ClusterCommandEvent 209 json.put("type", this.getType().toString()); in toJSON()
|
D | ClusterCommandConfigBuilder.java | 184 if (TradefedConfigObject.Type.TARGET_PREPARER.equals(configObjDef.getType())) { in build() 215 String typeName = getConfigObjectTypeName(configObjDef.getType()); in build()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZipMergeTest.java | 58 assertSame(StoredEntryType.DIRECTORY, e0.getType()); in mergeZip() 62 assertSame(StoredEntryType.FILE, e1.getType()); in mergeZip() 71 assertSame(StoredEntryType.FILE, e2.getType()); in mergeZip()
|
D | ZFileTest.java | 108 assertSame(StoredEntryType.DIRECTORY, z.getType()); in readAlmostEmptyZip() 121 assertSame(StoredEntryType.DIRECTORY, e0.getType()); in readZipWithTwoFilesOneDirectory() 125 assertSame(StoredEntryType.FILE, e1.getType()); in readZipWithTwoFilesOneDirectory() 134 assertSame(StoredEntryType.FILE, e2.getType()); in readZipWithTwoFilesOneDirectory() 233 if (e.getType() == StoredEntryType.FILE) {
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | GameQualificationFpsCollector.java | 275 if (e.getType() == ResultDataProto.Event.Type.APP_LAUNCH) { in doEnd() 281 if (e.getType() == ResultDataProto.Event.Type.START_LOOP) { in doEnd() 287 if (e.getType() != ResultDataProto.Event.Type.START_LOOP) { in doEnd()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1BerParser.java | 568 if (Asn1OpaqueObject.class.equals(field.getType())) { in setFieldValue() 569 field.set(obj, convert(type, dataValue, field.getType())); in setFieldValue() 575 field.set(obj, convert(type, dataValue, field.getType())); in setFieldValue()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 94 if (chunk.getType() == Chunk.TYPE_RES_XML) { in AndroidBinXmlParser() 284 switch (chunk.getType()) { in next() 523 public int getType() { in getType() method in AndroidBinXmlParser.Chunk
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessorTest.java | 217 assertEquals(DataType.PROCESSED, finalMetrics.get("test2").getType()); in testRunLevelPostProcessing() 331 assertEquals(DataType.PROCESSED, processedMetrics.get("test2").getType()); in testPerTestPostProcessing() 536 assertEquals(DataType.PROCESSED, processedMetrics.get("test-agg").getType()); in testAllTestMetricsPostProcessing()
|
D | AveragePostProcessorTest.java | 73 assertEquals(DataType.PROCESSED, average.getType()); in testAverage_double() 96 assertEquals(DataType.PROCESSED, average.getType()); in testAverage_long()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/ |
D | ClusterCommandSchedulerTest.java | 598 && actual.getType() == type); 669 assertTrue(capturedEvent.getType().equals(ClusterCommandEvent.Type.InvocationCompleted)); 745 assertTrue(capturedEvent.getType().equals(ClusterCommandEvent.Type.InvocationCompleted)); 1117 if (configDef.getType() != type) {
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | TestSummary.java | 43 String getType() { in getType() method in TestSummary.Type 58 public Type getType() { in getType() method in TestSummary.TypedString
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
D | RemoteOperation.java | 112 protected abstract OperationType getType(); in getType() method in RemoteOperation 130 j.put(TYPE, getType().toString()); in pack()
|
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParserTest.java | 165 assertEquals(ApkInfo.Argument.Type.STRING, args.get(0).getType()); in testApkWithArguments() 168 assertEquals(ApkInfo.Argument.Type.INT, args.get(1).getType()); in testApkWithArguments()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiConstructorItem.kt | 127 returnType = codebase.getType(containingClass.psiClass), in <lambda>() 154 returnType = codebase.getType(psiClass), in <lambda>()
|
D | PsiMethodItem.kt | 186 val exceptionClass = codebase.getType(type).asClass() in <lambda>() 388 val returnType = codebase.getType(psiReturnType!!) in <lambda>()
|
D | PsiBasedCodebase.kt | 597 fun getType(psiType: PsiType): PsiTypeItem { in <lambda>() method 606 fun getType(psiClass: PsiClass): PsiTypeItem { in <lambda>() method
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | CompactMemInfoItem.java | 80 proc.put(TYPE_JSON_KEY, getType(pid)); in toJson() 152 public String getType(int pid) { in getType() method in CompactMemInfoItem
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParser.java | 547 LogDataType type = file.getType(); in handleEvent() 553 if (!file.getType().isCompressed()) { in handleEvent()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 536 assertEquals(logFile.getType(), received.getType()); in testParse_logAssociation()
|