/cts/suite/audio_quality/lib/src/task/ |
D | TaskAsync.cpp | 61 if (StringUtil::compare(name, "id") == 0) { in parseAttribute() 63 } else if (StringUtil::compare(name, "gain") == 0) { in parseAttribute() 69 } else if (StringUtil::compare(name, "sync") == 0) { in parseAttribute() 70 if (StringUtil::compare(value, "start") == 0) { // async in parseAttribute() 73 } else if (StringUtil::compare(name, "device") == 0) { in parseAttribute() 74 if (StringUtil::compare(value, "host") == 0) { in parseAttribute() 76 } else if (StringUtil::compare(value, "DUT") == 0) { in parseAttribute() 81 } else if (StringUtil::compare(name, "mode") == 0) { in parseAttribute() 82 if (StringUtil::compare(value, "voice") == 0) { in parseAttribute() 84 } else if (StringUtil::compare(value, "music") == 0) { in parseAttribute()
|
/cts/tools/signature-tools/src/signature/compare/model/impl/ |
D | SigClassDefinitionDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IAnnotationDelta; 20 import signature.compare.model.IAnnotationFieldDelta; 21 import signature.compare.model.IClassDefinitionDelta; 22 import signature.compare.model.IConstructorDelta; 23 import signature.compare.model.IEnumConstantDelta; 24 import signature.compare.model.IFieldDelta; 25 import signature.compare.model.IMethodDelta; 26 import signature.compare.model.IModifierDelta; 27 import signature.compare.model.ITypeReferenceDelta; [all …]
|
D | SigExecutableMemberDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IAnnotationDelta; 20 import signature.compare.model.IExecutableMemberDelta; 21 import signature.compare.model.IModifierDelta; 22 import signature.compare.model.IParameterDelta; 23 import signature.compare.model.ITypeReferenceDelta; 24 import signature.compare.model.ITypeVariableDefinitionDelta;
|
D | SigMemberDelta.java | 17 package signature.compare.model.impl; 21 import signature.compare.model.IAnnotationDelta; 22 import signature.compare.model.IMemberDelta; 23 import signature.compare.model.IModifierDelta; 24 import signature.compare.model.ITypeReferenceDelta;
|
D | SigTypeVariableDefinitionDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IGenericDeclarationDelta; 20 import signature.compare.model.ITypeVariableDefinitionDelta; 21 import signature.compare.model.IUpperBoundsDelta;
|
D | SigWildcardTypeDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.ITypeReferenceDelta; 20 import signature.compare.model.IUpperBoundsDelta; 21 import signature.compare.model.IWildcardTypeDelta;
|
D | SigPackageDelta.java | 17 package signature.compare.model.impl; 21 import signature.compare.model.IAnnotationDelta; 22 import signature.compare.model.IClassDefinitionDelta; 23 import signature.compare.model.IPackageDelta;
|
D | SigParameterDelta.java | 17 package signature.compare.model.impl; 21 import signature.compare.model.IAnnotationDelta; 22 import signature.compare.model.IParameterDelta; 23 import signature.compare.model.ITypeReferenceDelta;
|
D | SigAnnotationFieldDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IAnnotationFieldDelta; 20 import signature.compare.model.IValueDelta;
|
D | SigArrayTypeDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IArrayTypeDelta; 20 import signature.compare.model.ITypeReferenceDelta;
|
D | SigEnumConstantDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IEnumConstantDelta; 20 import signature.compare.model.IValueDelta;
|
D | SigMethodDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IMethodDelta; 20 import signature.compare.model.ITypeReferenceDelta;
|
D | SigAnnotationElementDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IAnnotationElementDelta; 20 import signature.compare.model.IValueDelta;
|
D | SigTypeVariableReferenceDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IGenericDeclarationDelta; 20 import signature.compare.model.ITypeReferenceDelta;
|
D | SigAnnotationDelta.java | 17 package signature.compare.model.impl; 21 import signature.compare.model.IAnnotationDelta; 22 import signature.compare.model.IAnnotationElementDelta;
|
D | SigApiDelta.java | 17 package signature.compare.model.impl; 19 import signature.compare.model.IApiDelta; 20 import signature.compare.model.IPackageDelta;
|
/cts/tools/signature-tools/test/signature/comparator/util/ |
D | AbstractComparatorTest.java | 24 import signature.compare.ApiComparator; 25 import signature.compare.IApiComparator; 26 import signature.compare.model.IApiDelta; 27 import signature.compare.model.IClassDefinitionDelta; 28 import signature.compare.model.IPackageDelta; 40 public IApiDelta compare(IApi from, IApi to){ in compare() method in AbstractComparatorTest 41 return comparator.compare(from, to); in compare()
|
/cts/suite/audio_quality/test/ |
D | StringUtilTest.cpp | 27 ASSERT_TRUE(StringUtil::compare(str, "hello") == 0); in TEST_F() 28 ASSERT_TRUE(StringUtil::compare(str, "hi") != 0); in TEST_F() 35 ASSERT_TRUE(StringUtil::compare(sub1, "hello") == 0); in TEST_F() 38 ASSERT_TRUE(StringUtil::compare(sub2, "e") == 0); in TEST_F() 41 ASSERT_TRUE(StringUtil::compare(sub3, "there") == 0); in TEST_F() 59 ASSERT_TRUE(StringUtil::compare(tokens->at(0), "hello") == 0); in TEST_F() 60 ASSERT_TRUE(StringUtil::compare(tokens->at(1), "there") == 0); in TEST_F() 61 ASSERT_TRUE(StringUtil::compare(tokens->at(2), "break") == 0); in TEST_F() 62 ASSERT_TRUE(StringUtil::compare(tokens->at(3), "this") == 0); in TEST_F()
|
/cts/tools/signature-tools/test/signature/comparator/ |
D | ClassCompareTest.java | 27 import signature.compare.model.IAnnotationDelta; 28 import signature.compare.model.IApiDelta; 29 import signature.compare.model.IClassDefinitionDelta; 30 import signature.compare.model.DeltaType; 31 import signature.compare.model.ITypeReferenceDelta; 53 assertNull(compare(fromApi, toApi)); in compareEqualClasses() 67 IApiDelta delta = compare(fromApi, toApi); in compareMissingClass() 83 IApiDelta delta = compare(fromApi, toApi); in compareAddedClass() 100 IApiDelta delta = compare(fromApi, toApi); in compareAnnotationsOnClass() 129 assertNull(compare(fromApi, toApi)); in compareDefaultedAnnotationElementOnClass() [all …]
|
D | MethodCompareTests.java | 28 import signature.compare.model.IApiDelta; 29 import signature.compare.model.IClassDefinitionDelta; 30 import signature.compare.model.DeltaType; 46 assertNull(compare(fromApi, toApi)); in compareEqualClasses() 62 IApiDelta delta = compare(fromApi, toApi); in compareMissingMethod() 82 IApiDelta delta = compare(fromApi, toApi); in compareAddedMethod() 103 IApiDelta delta = compare(fromApi, toApi); in compareChangedMethod() 124 IApiDelta delta = compare(fromApi, toApi); in compareAddedParameterMethod() 150 IApiDelta apiDelta = compare(fromApi, toApi); in compareExceptions0() 174 IApiDelta apiDelta = compare(fromApi, toApi); in compareExceptions1() [all …]
|
D | PackageCompareTest.java | 26 import signature.compare.model.IApiDelta; 27 import signature.compare.model.DeltaType; 28 import signature.compare.model.IPackageDelta; 43 IApiDelta delta = compare(fromApi, toApi); in compareEqualPackageTest0() 57 assertNull(compare(fromApi, toApi)); in compareEqualPackageTest1() 70 IApiDelta apiDelta = compare(fromApi, toApi); in compareRemovedPackagePackageTest1() 88 IApiDelta apiDelta = compare(fromApi, toApi); in compareAddedPackagePackageTest1()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | sample.rs | 17 static bool compare(float4 expected, float4 value) { 31 _RS_ASSERT(compare(expected0, result)); 34 _RS_ASSERT(compare(expected1, result)); 37 _RS_ASSERT(compare(expected2, result)); 40 _RS_ASSERT(compare(expected3, result)); 48 _RS_ASSERT(compare(expected0, result)); 51 _RS_ASSERT(compare(expected1, result)); 54 _RS_ASSERT(compare(expected2, result)); 57 _RS_ASSERT(compare(expected3, result)); 80 _RS_ASSERT(compare(fLOD0, result)); [all …]
|
/cts/tools/signature-tools/src/signature/compare/ |
D | IApiComparator.java | 17 package signature.compare; 19 import signature.compare.model.IApiDelta; 38 IApiDelta compare(IApi fromApi, IApi toApi); in compare() method
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | HasCoverage.java | 28 public int compare(HasCoverage entity, HasCoverage otherEntity) { in compare() method in CoverageComparator 31 int diff = Integer.compare(getCoveragePercentageSegment(lhsPct), in compare() 34 Integer.compare(otherEntity.getMemberSize(), entity.getMemberSize()); in compare()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ApplicationInfo_DisplayNameComparatorTest.java | 53 assertEquals(0, mDisplayNameComparator.compare(info1, info2)); in testCompare() 57 assertTrue((mDisplayNameComparator.compare(info1, info2) < 0)); in testCompare() 62 assertTrue((mDisplayNameComparator.compare(info1, info2) > 0)); in testCompare() 65 mDisplayNameComparator.compare(null, null); in testCompare()
|