/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/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 61 assertEquals(0, cfg1.compareTo(cfg2)); in testCompareTo() 65 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 68 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 72 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 75 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 79 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 82 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 86 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 89 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 93 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() [all …]
|
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationPackageInfo.java | 70 public int compareTo(AttestationPackageInfo other) { in compareTo() method in AttestationPackageInfo 71 int res = packageName.compareTo(other.packageName); in compareTo() 81 && (0 == compareTo((AttestationPackageInfo) o)); in equals()
|
D | Asn1Utils.java | 148 if (bigInt.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) > 0 in bigIntegerToInt() 149 || bigInt.compareTo(BigInteger.ZERO) < 0) { in bigIntegerToInt() 156 if (bigInt.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0 in bigIntegerToLong() 157 || bigInt.compareTo(BigInteger.ZERO) < 0) { in bigIntegerToLong()
|
D | AttestationApplicationId.java | 115 public int compareTo(AttestationApplicationId other) { in compareTo() method in AttestationApplicationId 119 res = packageInfos.get(i).compareTo(other.packageInfos.get(i)); in compareTo() 135 && (0 == compareTo((AttestationApplicationId) o)); in equals()
|
/cts/hostsidetests/api/src/com/android/cts/api/ |
D | DefinedField.java | 50 public int compareTo(DefinedField o) { in compareTo() method in DefinedField 52 return getFullSignature().compareTo(o.getFullSignature()); in compareTo()
|
D | DefinedMethod.java | 50 public int compareTo(DefinedMethod o) { in compareTo() method in DefinedMethod 52 return getFullSignature().compareTo(o.getFullSignature()); in compareTo()
|
D | DefinedClass.java | 105 public int compareTo(DefinedClass o) { in compareTo() method in DefinedClass 107 return getName().compareTo(o.getName()); in compareTo()
|
/cts/tests/tests/location/src/android/location/cts/psedorange/ |
D | GpsTime.java | 170 if (LEAP_SECOND_DATE_2017.compareTo(time) <= 0) { 172 } else if (LEAP_SECOND_DATE_2015.compareTo(time) <= 0) { 174 } else if (LEAP_SECOND_DATE_2012.compareTo(time) <= 0) { 176 } else if (LEAP_SECOND_DATE_1981.compareTo(time) <= 0) { 298 public int compareTo(GpsTime other) {
|
/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/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiMethod.java | 68 public int compareTo(ApiMethod another) { in compareTo() method in ApiMethod 69 return mName.compareTo(another.mName); in compareTo()
|
D | ApiConstructor.java | 44 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/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1Integer.java | 62 if (range.compareTo(BigInteger.valueOf(SIXTYFOUR_K)) < 0) { in encodeNormalizedIntegerWithRangeAligned() 84 minimumValue == null || value.compareTo(minimumValue) >= 0, in validateValue() 87 maximumValue == null || value.compareTo(maximumValue) <= 0, in validateValue() 161 if (range.compareTo(BigInteger.valueOf(SIXTYFOUR_K)) < 0) { in decodeNormalizedIntegerWithRangeAligned()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | BuildStep.java | 124 public int compareTo(BuildStep o) { in compareTo() method in BuildStep 125 return (outputFile == o.outputFile ? 0 : outputFile.getPath().compareTo( in compareTo()
|
/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/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/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | CameraErrorCollector.java | 233 msg, expected, actual), actual.compareTo(expected) > 0); in expectGreater() 247 msg, expected, actual), actual.compareTo(expected) >= 0); in expectGreaterOrEqual() 261 msg, expected, actual), actual.compareTo(expected) < 0); in expectLess() 275 msg, expected, actual), actual.compareTo(expected) <= 0); in expectLessOrEqual() 336 min.toString()), value.compareTo(min) >= 0); in expectValuesGreaterOrEqual() 366 value.compareTo(max)<= 0 && value.compareTo(min) >= 0); in expectValuesInRange() 414 value.compareTo(max)<= 0 && value.compareTo(min) >= 0); in expectInRange() 604 int compareResult = array[i + 1].compareTo(array[i]); in checkArrayMonotonicityAndNotAllEqual() 615 array[0].compareTo(array[array.length - 1]) != 0); in checkArrayMonotonicityAndNotAllEqual()
|
/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/renderscript/src/android/renderscript/cts/ |
D | BaseObjTest.java | 56 assertTrue(B.getName().compareTo("int32_t") == 0); in testBaseObj()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/ |
D | Test_new_instance.java | 38 assertEquals(0, s.compareTo("abc")); in testN1()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | GraphicsStatsValidationTest.java | 225 Date compareTo = new Date(); 229 compareTo.setTime(proto.getStatsEnd()); 230 if (compareTo.after(latestDate)) {
|
/cts/tests/tests/util/src/android/util/cts/ |
D | RationalTest.java | 462 left.compareTo(right) < 0); in verifyLessThan() 464 right.compareTo(left) > 0); in verifyLessThan() 469 left.compareTo(right) > 0); in verifyGreaterThan() 471 right.compareTo(left) < 0); in verifyGreaterThan() 476 left.compareTo(right) == 0); in verifyCompareEquals() 478 right.compareTo(left) == 0); in verifyCompareEquals()
|
/cts/hostsidetests/usb/src/com/android/cts/usb/ |
D | TestUsbTest.java | 157 if (adbSerial.compareTo(currentSerial) == 0) { in testUsbSerialReadOnDeviceMatches() 175 if (usbSerial.compareTo(currentSerial) == 0) { in testUsbSerialReadOnDeviceMatches()
|