Home
last modified time | relevance | path

Searched refs:compareResult (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/libs/car-telephony-common/tests/robotests/src/com/android/car/telephony/common/
DContactTest.java104 int compareResult = mNullName.compareTo(mNullName); in compareTo_TwoNullStrings_Equal() local
105 assertEquals(COMPARE_RESULT_EQUAL, compareResult); in compareTo_TwoNullStrings_Equal()
110 int compareResult = mEmptyName.compareTo(mEmptyName); in compareTo_TwoEmptyStrings_Equal() local
111 assertEquals(COMPARE_RESULT_EQUAL, compareResult); in compareTo_TwoEmptyStrings_Equal()
116 int compareResult = mLetterName1.compareTo(mLetterName2); in compareTo_TwoLetterStrings_Larger() local
117 assertEquals(COMPARE_RESULT_LARGER, compareResult); in compareTo_TwoLetterStrings_Larger()
122 int compareResult = mDigitName1.compareTo(mDigitName2); in compareTo_TwoDigitStrings_Smaller() local
123 assertEquals(COMPARE_RESULT_SMALLER, compareResult); in compareTo_TwoDigitStrings_Smaller()
128 int compareResult = mLetterName1.compareTo(mDigitName1); in compareTo_LetterAndDigitStrings_Smaller() local
129 assertEquals(COMPARE_RESULT_SMALLER, compareResult); in compareTo_LetterAndDigitStrings_Smaller()
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoader.java295 int compareResult = sCollator.compare(object1.label, object2.label);
296 if (compareResult != 0) {
297 return compareResult;
299 compareResult = sCollator.compare(object1.packageName, object2.packageName);
300 if (compareResult != 0) {
301 return compareResult;
/packages/apps/TV/src/com/android/tv/dvr/ui/
DSortedArrayAdapter.java226 int compareResult = mComparator.compare(item, r); in findInsertPositionBinary() local
227 if (compareResult == 0) { in findInsertPositionBinary()
229 } else if (compareResult > 0) { in findInsertPositionBinary()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DSeriesRecordingDetailsFragment.java320 int compareResult =
324 if (compareResult == 0) {
326 } else if (compareResult < 0) {