Home
last modified time | relevance | path

Searched refs:getType (Results 1 – 25 of 63) sorted by relevance

123

/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java236 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/
DCompactMemInfoParserTest.java40 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/
DOptionSetter.java355 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/
DManagedFileContentProvider.java130 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/
DProtoResultParserTest.java229 assertEquals(logFile.getType(), capturedFile.getType()); in testEvents()
636 assertEquals(logFile.getType(), capturedFile.getType()); in testEvents_subprocess()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterHostEvent.java102 public HostEventType getType() { in getType() method in ClusterHostEvent
210 if (this.getType() != null) json.put("type", this.getType().toString()); in toJSON()
DClusterCommandEvent.java78 public Type getType() { in getType() method in ClusterCommandEvent
209 json.put("type", this.getType().toString()); in toJSON()
DClusterCommandConfigBuilder.java184 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/
DZipMergeTest.java58 assertSame(StoredEntryType.DIRECTORY, e0.getType()); in mergeZip()
62 assertSame(StoredEntryType.FILE, e1.getType()); in mergeZip()
71 assertSame(StoredEntryType.FILE, e2.getType()); in mergeZip()
DZFileTest.java108 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/
DGameQualificationFpsCollector.java275 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/
DAsn1BerParser.java568 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/
DAndroidBinXmlParser.java94 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/
DBasePostProcessorTest.java217 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()
DAveragePostProcessorTest.java73 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/
DClusterCommandSchedulerTest.java598 && 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/
DTestSummary.java43 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/
DRemoteOperation.java112 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/
DGameCoreConfigurationXmlParserTest.java165 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/
DPsiConstructorItem.kt127 returnType = codebase.getType(containingClass.psiClass), in <lambda>()
154 returnType = codebase.getType(psiClass), in <lambda>()
DPsiMethodItem.kt186 val exceptionClass = codebase.getType(type).asClass() in <lambda>()
388 val returnType = codebase.getType(psiReturnType!!) in <lambda>()
DPsiBasedCodebase.kt597 fun getType(psiType: PsiType): PsiTypeItem { in <lambda>() method
606 fun getType(psiClass: PsiClass): PsiTypeItem { in <lambda>() method
/tools/loganalysis/src/com/android/loganalysis/item/
DCompactMemInfoItem.java80 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/
DSubprocessTestResultsParser.java547 LogDataType type = file.getType(); in handleEvent()
553 if (!file.getType().isCompressed()) { in handleEvent()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java536 assertEquals(logFile.getType(), received.getType()); in testParse_logAssociation()

123