Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 129) sorted by relevance

123456

/cts/suite/audio_quality/lib/src/task/
DTaskAsync.cpp61 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/
DSigClassDefinitionDelta.java17 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 …]
DSigExecutableMemberDelta.java17 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;
DSigMemberDelta.java17 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;
DSigTypeVariableDefinitionDelta.java17 package signature.compare.model.impl;
19 import signature.compare.model.IGenericDeclarationDelta;
20 import signature.compare.model.ITypeVariableDefinitionDelta;
21 import signature.compare.model.IUpperBoundsDelta;
DSigWildcardTypeDelta.java17 package signature.compare.model.impl;
19 import signature.compare.model.ITypeReferenceDelta;
20 import signature.compare.model.IUpperBoundsDelta;
21 import signature.compare.model.IWildcardTypeDelta;
DSigPackageDelta.java17 package signature.compare.model.impl;
21 import signature.compare.model.IAnnotationDelta;
22 import signature.compare.model.IClassDefinitionDelta;
23 import signature.compare.model.IPackageDelta;
DSigParameterDelta.java17 package signature.compare.model.impl;
21 import signature.compare.model.IAnnotationDelta;
22 import signature.compare.model.IParameterDelta;
23 import signature.compare.model.ITypeReferenceDelta;
DSigAnnotationFieldDelta.java17 package signature.compare.model.impl;
19 import signature.compare.model.IAnnotationFieldDelta;
20 import signature.compare.model.IValueDelta;
DSigArrayTypeDelta.java17 package signature.compare.model.impl;
19 import signature.compare.model.IArrayTypeDelta;
20 import signature.compare.model.ITypeReferenceDelta;
DSigEnumConstantDelta.java17 package signature.compare.model.impl;
19 import signature.compare.model.IEnumConstantDelta;
20 import signature.compare.model.IValueDelta;
DSigMethodDelta.java17 package signature.compare.model.impl;
19 import signature.compare.model.IMethodDelta;
20 import signature.compare.model.ITypeReferenceDelta;
DSigAnnotationElementDelta.java17 package signature.compare.model.impl;
19 import signature.compare.model.IAnnotationElementDelta;
20 import signature.compare.model.IValueDelta;
DSigTypeVariableReferenceDelta.java17 package signature.compare.model.impl;
19 import signature.compare.model.IGenericDeclarationDelta;
20 import signature.compare.model.ITypeReferenceDelta;
DSigAnnotationDelta.java17 package signature.compare.model.impl;
21 import signature.compare.model.IAnnotationDelta;
22 import signature.compare.model.IAnnotationElementDelta;
DSigApiDelta.java17 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/
DAbstractComparatorTest.java24 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/
DStringUtilTest.cpp27 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/
DClassCompareTest.java27 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 …]
DMethodCompareTests.java28 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 …]
DPackageCompareTest.java26 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/
Dsample.rs17 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/
DIApiComparator.java17 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/
DHasCoverage.java28 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/
DApplicationInfo_DisplayNameComparatorTest.java53 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()

123456