/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_AudioTest.java | 69 assertTrue(Audio.keyFor("areosmith").compareTo(mKeyForBeatles) < 0); in testKeyFor() 70 assertTrue(Audio.keyFor("coldplay").compareTo(mKeyForBeatles) > 0); in testKeyFor() 73 assertTrue(Audio.keyFor("¿Aómo esto funciona?").compareTo(mKeyForBeatles) < 0); in testKeyFor() 74 assertTrue(Audio.keyFor("¿Cómo esto funciona?").compareTo(mKeyForBeatles) > 0); in testKeyFor() 75 assertTrue(Audio.keyFor("Le passé composé").compareTo(mKeyForBeatles) > 0); in testKeyFor()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 62 assertEquals(0, cfg1.compareTo(cfg2)); in testCompareTo() 66 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 69 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 73 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 76 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 80 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 83 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 87 assertEquals(-1, cfg1.compareTo(cfg2)); in testCompareTo() 90 assertEquals(1, cfg1.compareTo(cfg2)); in testCompareTo() 94 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 | 167 if (bigInt.compareTo(BigInteger.valueOf(Integer.MAX_VALUE)) > 0 in bigIntegerToInt() 168 || bigInt.compareTo(BigInteger.ZERO) < 0) { in bigIntegerToInt() 175 if (bigInt.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0 in bigIntegerToLong() 176 || 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/tests/location/location_gnss/src/android/location/cts/gnss/pseudorange/ |
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/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiMethod.java | 70 public int compareTo(ApiMethod another) { in compareTo() method in ApiMethod 71 return mName.compareTo(another.mName); in compareTo()
|
D | HasCoverage.java | 40 return entity.getName().compareTo(otherEntity.getName()); in compare()
|
D | ApiConstructor.java | 46 public int compareTo(ApiConstructor another) { in compareTo() method in ApiConstructor
|
D | ApiClass.java | 67 public int compareTo(ApiClass another) { in compareTo() method in ApiClass 68 return mName.compareTo(another.mName); in compareTo()
|
/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/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()
|
D | T_invoke_interface_range_2.dfh | 71 // parsed: offset 148, len 4: [9] string_data_off: 515 (0x000203) "compareTo" 112 …228, len 8: [2] class_idx: 2 (0x000002) proto_idx: 1 (0x000001) name_idx: 9 (0x000009) "compareTo" 163 …, len 6: |0000: invoke-interface/range {v6..v7}, Ljava/lang/Comparable;.compareTo:(Ljava/lang/Obje… 204 // parsed: offset 515, len 11: TYPE_STRING_DATA_ITEM [9] "compareTo"
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1Integer.java | 63 if (range.compareTo(BigInteger.valueOf(SIXTYFOUR_K)) < 0) { in encodeNormalizedIntegerWithRangeAligned() 85 minimumValue == null || value.compareTo(minimumValue) >= 0, in validateValue() 88 maximumValue == null || value.compareTo(maximumValue) <= 0, in validateValue() 162 if (range.compareTo(BigInteger.valueOf(SIXTYFOUR_K)) < 0) { in decodeNormalizedIntegerWithRangeAligned()
|
/cts/tools/vm-tests-tf/build/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/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_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/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | Version.java | 123 public int compareTo(@NonNull Version other) { in compareTo() method in Version 124 return toBigInteger().compareTo(other.toBigInteger()); in compareTo()
|
/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/tests/tests/util/src/android/util/cts/ |
D | RationalTest.java | 463 left.compareTo(right) < 0); in verifyLessThan() 465 right.compareTo(left) > 0); in verifyLessThan() 470 left.compareTo(right) > 0); in verifyGreaterThan() 472 right.compareTo(left) < 0); in verifyGreaterThan() 477 left.compareTo(right) == 0); in verifyCompareEquals() 479 right.compareTo(left) == 0); in verifyCompareEquals()
|
/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/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()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | GraphicsStatsValidationTest.java | 291 Date compareTo = new Date(); 295 compareTo.setTime(proto.getStatsEnd()); 296 if (compareTo.after(latestDate)) {
|