/packages/apps/Car/libs/car-telephony-common/tests/robotests/src/com/android/car/telephony/common/ |
D | ContactTest.java | 104 int compareResult = mNullName.compareTo(mNullName); in compareTo_TwoNullStrings_Equal() 110 int compareResult = mEmptyName.compareTo(mEmptyName); in compareTo_TwoEmptyStrings_Equal() 116 int compareResult = mLetterName1.compareTo(mLetterName2); in compareTo_TwoLetterStrings_Larger() 122 int compareResult = mDigitName1.compareTo(mDigitName2); in compareTo_TwoDigitStrings_Smaller() 128 int compareResult = mLetterName1.compareTo(mDigitName1); in compareTo_LetterAndDigitStrings_Smaller() 134 int compareResult = mLetterName1.compareTo(mSpecCharName); in compareTo_LetterAndSpecialCharStrings_Smaller() 140 int compareResult = mLetterName1.compareTo(mEmptyName); in compareTo_LetterAndEmptyStrings_Smaller() 146 int compareResult = mLetterName1.compareTo(mNullName); in compareTo_LetterAndNullStrings_Smaller() 152 int compareResult = mDigitName1.compareTo(mSpecCharName); in compareTo_DigitAndSpecialCharStrings_Smaller() 158 int compareResult = mDigitName1.compareTo(mEmptyName); in compareTo_DigitAndEmptyStrings_Smaller() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/ |
D | AppFilterItemTest.java | 61 assertThat(item.compareTo(item)).isEqualTo(0); in compare_sameContent_return0() 62 assertThat(item.compareTo(item2)).isEqualTo(0); in compare_sameContent_return0() 63 assertThat(item2.compareTo(item)).isEqualTo(0); in compare_sameContent_return0() 69 assertThat(item.compareTo(null)).isEqualTo(1); in compare_toNull_return1() 79 assertThat(item.compareTo(item2)).isNotEqualTo(0); in compare_differentFilter_returnFilterDiff()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePreferenceTest.java | 202 when(mCachedDevice.compareTo(otherDevice)).thenReturn(1); in compareTo_sameType_usesDeviceCompareTo() 203 when(otherDevice.compareTo(mCachedDevice)).thenReturn(-1); in compareTo_sameType_usesDeviceCompareTo() 205 assertThat(mPreference.compareTo(otherPreference)).isEqualTo(1); in compareTo_sameType_usesDeviceCompareTo() 206 assertThat(otherPreference.compareTo(mPreference)).isEqualTo(-1); in compareTo_sameType_usesDeviceCompareTo() 215 assertThat(mPreference.compareTo(otherPreference)).isEqualTo(-1); in compareTo_differentType_fallsBackToDefaultCompare() 216 verify(mCachedDevice, never()).compareTo(any()); in compareTo_differentType_fallsBackToDefaultCompare()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | AppPreference.java | 100 public int compareTo(Preference preference) { in compareTo() method in AppPreference 106 (result = mPackageName.compareTo(another.mPackageName)) == 0) { in compareTo() 113 return -another.compareTo(this); in compareTo() 115 return super.compareTo(preference); in compareTo()
|
D | LegacyVpnPreference.java | 58 public int compareTo(Preference preference) { in compareTo() method in LegacyVpnPreference 65 result = mProfile.key.compareTo(another.mProfile.key); in compareTo() 77 return super.compareTo(preference); in compareTo()
|
D | AppVpnInfo.java | 23 public int compareTo(Object other) { in compareTo() method in AppVpnInfo 26 int result = packageName.compareTo(that.packageName); in compareTo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | AppPreference.java | 100 public int compareTo(Preference preference) { in compareTo() method in AppPreference 106 (result = mPackageName.compareTo(another.mPackageName)) == 0) { in compareTo() 113 return -another.compareTo(this); in compareTo() 115 return super.compareTo(preference); in compareTo()
|
D | LegacyVpnPreference.java | 58 public int compareTo(Preference preference) { in compareTo() method in LegacyVpnPreference 65 result = mProfile.key.compareTo(another.mProfile.key); in compareTo() 77 return super.compareTo(preference); in compareTo()
|
D | AppVpnInfo.java | 23 public int compareTo(Object other) { in compareTo() method in AppVpnInfo 26 int result = packageName.compareTo(that.packageName); in compareTo()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 288 assertTrue(s1.compareTo(s2) < 0); in testSpeedRangeComparison_DifferentMin() 289 assertTrue(s2.compareTo(s1) > 0); in testSpeedRangeComparison_DifferentMin() 297 assertTrue(s1.compareTo(s2) == 0); in testSpeedRangeComparison_SameMin() 305 assertTrue(s1.compareTo(s2) < 0); in testSpeedRangeComparison_SameMinDifferentMax() 306 assertTrue(s2.compareTo(s1) > 0); in testSpeedRangeComparison_SameMinDifferentMax() 314 assertTrue(s1.compareTo(s2) < 0); in testSpeedRangeComparison_MaxSpeed() 315 assertTrue(s2.compareTo(s1) > 0); in testSpeedRangeComparison_MaxSpeed() 326 assertTrue(s1.compareTo(s2) == 0); in testSpeedRangeEquals()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | NewestFirstComparator.java | 64 cmp = d1Data.getTitle().compareTo(d2Data.getTitle()); in compare() 74 return v1.compareTo(v2) * -1; in compareDate() 86 return mNow.compareTo(date) < 0; in isFuture()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 109 public int compareTo(@NonNull Preference another) { in compareTo() method in BluetoothDevicePreference 112 return super.compareTo(another); in compareTo() 116 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ComparableTester.java | 91 leftItem.compareTo(rightItem) < 0); in assertLess() 114 leftItem.compareTo(rightItem) > 0); in assertMore() 123 Assert.assertEquals(lhs + " compareTo " + rhs, 0, lhs.compareTo(rhs)); in assertZero()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactDeltaComparator.java | 84 value = type1.accountType.compareTo(type2.accountType); in compare() 99 value = type1.dataSet.compareTo(type2.dataSet); in compare() 115 value = oneAccount.compareTo(twoAccount); in compare()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDevicePreference.java | 194 public int compareTo(Preference another) { in compareTo() method in BluetoothDevicePreference 197 return super.compareTo(another); in compareTo() 201 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 197 public int compareTo(Preference another) { in compareTo() method in BluetoothDevicePreference 200 return super.compareTo(another); in compareTo() 204 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
D | TrustAgentInfo.java | 54 public int compareTo(TrustAgentInfo other) { in compareTo() method in TrustAgentInfo 55 return mComponentName.compareTo(other.getComponentName()); in compareTo()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyInfo.java | 52 public int compareTo(PropertyInfo propertyInfo) { in compareTo() method in PropertyInfo 53 return mName.compareTo(propertyInfo.mName); in compareTo()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactListFilter.java | 191 public int compareTo(ContactListFilter another) { in compareTo() method in ContactListFilter 192 int res = accountName.compareTo(another.accountName); in compareTo() 197 res = accountType.compareTo(another.accountType); in compareTo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | DateBucket.java | 60 public int compareTo(DateBucket another) { in compareTo() method in DateBucket 61 return this.date.compareTo(another.date); in compareTo()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DownloadsFilePreference.java | 55 public int compareTo(Preference other) { in compareTo() method in DownloadsFilePreference 67 comparison = file.compareTo(otherFile); in compareTo()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AppInfoComparator.java | 52 result = a.componentName.compareTo(b.componentName); in compare() 62 return aUserSerial.compareTo(bUserSerial); in compare()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Face.java | 62 public int compareTo(Face another) { in compareTo() method in Face 63 return mName.compareTo(another.mName); in compareTo()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | PermissionGroup.java | 86 public int compareTo(PermissionGroup another) { in compareTo() method in PermissionGroup 87 return mLabel.toString().compareTo(another.mLabel.toString()); in compareTo()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderSelectorAdapter.java | 79 public int compareTo(FolderRow another) { in compareTo() method in FolderSelectorAdapter.FolderRow 173 public int compareTo(TreeNode o) { in compareTo() method in FolderSelectorAdapter.TreeNode 176 return mWrappedObject.compareTo(o.mWrappedObject); in compareTo()
|