/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 59 assertEquals(0, cfg1.compareTo(cfg2)); in testCompareTo() 63 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 66 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 70 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 73 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 77 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 80 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 84 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 87 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 91 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_AudioTest.java | 59 assertTrue(Audio.keyFor("areosmith").compareTo(mKeyForBeatles) < 0); in testKeyFor() 60 assertTrue(Audio.keyFor("coldplay").compareTo(mKeyForBeatles) > 0); in testKeyFor() 63 assertTrue(Audio.keyFor("¿Cómo esto funciona?").compareTo(mKeyForBeatles) < 0); in testKeyFor() 64 assertTrue(Audio.keyFor("Le passé composé").compareTo(mKeyForBeatles) > 0); in testKeyFor()
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
D | Test.java | 37 public int compareTo(Test another) { in compareTo() method in Test 38 return getName().compareTo(another.getName()); in compareTo()
|
D | TestCase.java | 46 public int compareTo(TestCase another) { in compareTo() method in TestCase 47 return getName().compareTo(another.getName()); in compareTo()
|
D | TestSuite.java | 66 public int compareTo(TestSuite another) { in compareTo() method in TestSuite 67 return getName().compareTo(another.getName()); in compareTo()
|
/cts/tools/signature-tools/src/signature/io/html/ |
D | ClassByNameComparator.java | 29 return a.getFrom().getName().compareTo(b.getFrom().getName()); in compare() 31 return a.getTo().getName().compareTo(b.getTo().getName()); in compare()
|
D | ExecutableMemberComparator.java | 53 int returnValue = aMember.getName().compareTo(bMember.getName()); in compare() 66 returnValue += getTypeName(aIt.next().getType()).compareTo( in compareParameterLists()
|
D | PackageByNameComparator.java | 38 return aPackage.getName().compareTo(bPackage.getName()); in compare()
|
D | FieldByNameComparator.java | 41 return aField.getName().compareTo(bField.getName()); in compare()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiMethod.java | 64 public int compareTo(ApiMethod another) { in compareTo() method in ApiMethod 65 return mName.compareTo(another.mName); in compareTo()
|
D | ApiConstructor.java | 41 public int compareTo(ApiConstructor another) { in compareTo() method in ApiConstructor
|
D | ApiClass.java | 61 public int compareTo(ApiClass another) { in compareTo() method in ApiClass 62 return mName.compareTo(another.mName); in compareTo()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface_range/d/ |
D | T_invoke_interface_range_1.java | 22 return c.compareTo(o); in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface/d/ |
D | T_invoke_interface_1.java | 22 return c.compareTo(o); in run()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 235 msg, expected, actual), actual.compareTo(expected) > 0); in expectGreater() 249 msg, expected, actual), actual.compareTo(expected) >= 0); in expectGreaterOrEqual() 263 msg, expected, actual), actual.compareTo(expected) < 0); in expectLess() 277 msg, expected, actual), actual.compareTo(expected) <= 0); in expectLessOrEqual() 338 min.toString()), value.compareTo(min) >= 0); in expectValuesGreaterOrEqual() 368 value.compareTo(max)<= 0 && value.compareTo(min) >= 0); in expectValuesInRange() 416 value.compareTo(max)<= 0 && value.compareTo(min) >= 0); in expectInRange() 614 int compareResult = array[i + 1].compareTo(array[i]); in checkArrayMonotonicityAndNotAllEqual() 625 array[0].compareTo(array[array.length - 1]) != 0); in checkArrayMonotonicityAndNotAllEqual()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | BuildStep.java | 119 public int compareTo(BuildStep o) { in compareTo() method in BuildStep 121 ? (o.inputFile != null ? inputFile.getPath().compareTo( in compareTo()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/const_string_jumbo/ |
D | Test_const_string_jumbo.java | 30 assertEquals(0, s.compareTo("android jumbo")); in testN1()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/const_string/ |
D | Test_const_string.java | 30 assertEquals(s.compareTo("android"), 0); in testN1()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | crypto.js | 478 if(r.compareTo(t) >= 0) { 508 if(this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r,r); 515 if(x.s < 0 || x.compareTo(this.m) >= 0) return x.mod(this.m); 570 if(x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r,r); 599 if(x.compareTo(this.m) >= 0) x.subTo(this.m,x); 661 BigInteger.prototype.compareTo = bnCompareTo; method in BigInteger 808 function bnEquals(a) { return(this.compareTo(a)==0); } 809 function bnMin(a) { return(this.compareTo(a)<0)?this:a; } 810 function bnMax(a) { return(this.compareTo(a)>0)?this:a; } 1068 else if(x.compareTo(this.m) < 0) return x; [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | DeqpTestRunner.java | 459 if (code.compareTo("Pass") == 0) { in handleTestCaseResult() 461 } else if (code.compareTo("NotSupported") == 0) { in handleTestCaseResult() 463 } else if (code.compareTo("QualityWarning") == 0) { in handleTestCaseResult() 465 } else if (code.compareTo("CompatibilityWarning") == 0) { in handleTestCaseResult() 467 } else if (code.compareTo("Fail") == 0 || code.compareTo("ResourceError") == 0 in handleTestCaseResult() 468 || code.compareTo("InternalError") == 0 || code.compareTo("Crash") == 0 in handleTestCaseResult() 469 || code.compareTo("Timeout") == 0) { in handleTestCaseResult() 524 if (eventType.compareTo("BeginSession") == 0) { in handleStatus() 526 } else if (eventType.compareTo("EndSession") == 0) { in handleStatus() 528 } else if (eventType.compareTo("BeginTestCase") == 0) { in handleStatus() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/const_class/ |
D | Test_const_class.java | 33 assertEquals(0, c.getCanonicalName().compareTo("java.lang.String")); in testN1()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | RationalTest.java | 422 left.compareTo(right) < 0); in assertLessThan() 424 right.compareTo(left) > 0); in assertLessThan() 429 left.compareTo(right) > 0); in assertGreaterThan() 431 right.compareTo(left) < 0); in assertGreaterThan() 436 left.compareTo(right) == 0); in assertCompareEquals() 438 right.compareTo(left) == 0); in assertCompareEquals()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | BaseObjTest.java | 57 assertTrue(B.getName().compareTo("int32_t") == 0); in testBaseObj()
|
/cts/hostsidetests/usb/src/com/android/cts/usb/ |
D | TestUsbTest.java | 102 if (adbSerial.compareTo(currentSerial) == 0) { in testUsbSerial() 127 if (usbSerial.compareTo(currentSerial) == 0) { in testUsbSerial()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/ |
D | Test_new_instance.java | 38 assertEquals(0, s.compareTo("abc")); in testN1()
|