/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SuggestionResults.java | 78 public int compare(final SuggestedWordInfo o1, final SuggestedWordInfo o2) { in compare() argument 79 if (o1.mScore > o2.mScore) return -1; in compare() 80 if (o1.mScore < o2.mScore) return 1; in compare() 81 if (o1.mCodePointCount < o2.mCodePointCount) return -1; in compare() 82 if (o1.mCodePointCount > o2.mCodePointCount) return 1; in compare() 83 return o1.mWord.compareTo(o2.mWord); in compare()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/entity/ |
D | ContactSortingInfo.java | 42 (o1, o2) -> o1.compareBySortKeyPrimary(o2); 53 (o1, o2) -> o1.compareBySortKeyAlt(o2);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | move3.dot | 50 o2 [label="{o:object|}", fillcolor=3] 52 c2 -> o2 [style="dashed", constraint=false, label="AddMember", style=invis] 56 o2 -> cs 59 ghost -> o2 [style=invis]
|
D | move2.dot | 49 o2 [label="{o:object|}", fillcolor=3] 57 o2 -> cs 61 ghost -> o2 [style=invis]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | MessageDateComparator.java | 22 public int compare(Message o1, Message o2) { in compare() argument 26 } else if (o2.getSentDate() == null) { in compare() 29 return o2.getSentDate().compareTo(o1.getSentDate()); in compare()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SpeedDialAdapter.java | 175 (o1, o2) -> { in setSpeedDialUiItems() argument 176 if (o1.isStarred() && o2.isStarred()) { in setSpeedDialUiItems() 177 return Integer.compare(o1.pinnedPosition().or(-1), o2.pinnedPosition().or(-1)); in setSpeedDialUiItems() 179 return Boolean.compare(o2.isStarred(), o1.isStarred()); in setSpeedDialUiItems()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | ContactFilterCursor.java | 130 Collections.sort(coalescedContacts, (o1, o2) -> compare(contactIdsToPosition, o1, o2)); in createCursor() 171 Map<Integer, Integer> contactIdsToPosition, Cp2Contact o1, Cp2Contact o2) { in compare() argument 173 int position2 = contactIdsToPosition.get(o2.contactId()); in compare()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectWifiState.java | 240 public int compare(WifiGuidedAction o1, WifiGuidedAction o2) { in compare() argument 241 int levelDiff = o2.getIconLevel() - o1.getIconLevel(); in compare() 245 return o1.getTitle().toString().compareTo(o2.getTitle().toString()); in compare()
|
D | SelectFromListWizardFragment.java | 65 public int compare(ListItem o1, ListItem o2) { in compare() argument 67 int pinnedPos2 = o2.getPinnedPosition(); in compare() 82 PinnedListItem po2 = (PinnedListItem) o2; in compare() 91 ScanResult o2ScanResult = o2.getScanResult(); in compare()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/ |
D | NetworkAttributes.java | 178 @Nullable final Object o1, @Nullable final Object o2) { in samenessContribution() argument 180 return (null == o2) ? weight * NULL_MATCH_WEIGHT : 0f; in samenessContribution() 182 return Objects.equals(o1, o2) ? weight : 0f; in samenessContribution()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | SelfParticipantsData.java | 69 public int compare(Object o1, Object o2) { in getSelfParticipants() 71 int slotId2 = ((ParticipantData) o2).getSlotId(); in getSelfParticipants()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountInfo.java | 143 public int compare(AccountInfo o1, AccountInfo o2) { in sourceComparator() 144 return accountComparator.compare(o1.getAccount(), o2.getAccount()); in sourceComparator()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 2161 Collections.sort(phoneSlotStatus, (o1, o2) -> { in getFirstPhoneForEmergencyCall() 2162 if (!o1.hasDialedEmergencyNumber && o2.hasDialedEmergencyNumber) { in getFirstPhoneForEmergencyCall() 2165 if (o1.hasDialedEmergencyNumber && !o2.hasDialedEmergencyNumber) { in getFirstPhoneForEmergencyCall() 2170 && o2.simState != TelephonyManager.SIM_STATE_ABSENT) { in getFirstPhoneForEmergencyCall() 2173 if (o2.simState == TelephonyManager.SIM_STATE_ABSENT in getFirstPhoneForEmergencyCall() 2180 if (o1.isLocked && !o2.isLocked) { in getFirstPhoneForEmergencyCall() 2183 if (o2.isLocked && !o1.isLocked) { in getFirstPhoneForEmergencyCall() 2187 int compare = RadioAccessFamily.compare(o1.capabilities, o2.capabilities); in getFirstPhoneForEmergencyCall() 2195 } else if (o2.slotId == firstOccupiedSlot.getPhoneId()) { in getFirstPhoneForEmergencyCall() 2203 } else if (o2.slotId == defaultPhoneId) { in getFirstPhoneForEmergencyCall()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 638 (Comparator) (o1, o2) -> { in onNewIntent() 645 ((SmsCbMessage) o2).isCmasMessage() in onNewIntent() 646 && ((SmsCbMessage) o2).getCmasWarningInfo() in onNewIntent() 655 new Long(((SmsCbMessage) o2).getReceivedTime()); in onNewIntent()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | WearHistory.java | 81 mWearHistory.sort((WearEstimateRecord o1, WearEstimateRecord o2) -> in add() 83 o2.getTotalCarServiceUptime())); in add()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CarModeTracker.java | 81 public int compare(CarModeApp o1, CarModeApp o2) { in compare() argument 83 return Integer.compare(o2.getPriority(), o1.getPriority()); in compare()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | ContactResultsLiveData.java | 156 Collections.sort(contactResults, (o1, o2) -> ContactSortingInfo.getSortingInfo( in setValue() 158 o2.mContact)); in setValue()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | DatabaseResultTask.java | 310 public int compare(SearchResult o1, SearchResult o2) { in getDynamicRankedResults() 312 final float score2 = getRankingScoreByKey(searchRankScores, o2.dataKey); in getDynamicRankedResults()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoader.java | 198 (UsageStats o1, UsageStats o2) -> in getLatestUsageStatsByPackageName() 201 o2.getLastTimeUsed()))); in getLatestUsageStatsByPackageName()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManager.java | 636 sortedMetadata.sort((o1, o2) -> Long.compare(o2.last_active_time, o1.last_active_time)); in getMostRecentlyConnectedDevices()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 816 public int compare(ContentValues o1, ContentValues o2) { in compare() argument 818 long id2 = o2.getAsLong(ContactsContract.Data._ID); in compare()
|
/packages/providers/TelephonyProvider/assets/sdk28_carrier_id/ |
D | carrier_list.textpb | 3319 carrier_name: "o2" 10269 carrier_name: "o2"
|
/packages/providers/TelephonyProvider/assets/sdk29_carrier_id/ |
D | carrier_list.textpb | 3269 carrier_name: "o2" 9995 carrier_name: "o2"
|
/packages/providers/TelephonyProvider/assets/latest_carrier_id/ |
D | carrier_list.textpb | 3262 carrier_name: "o2" 9927 carrier_name: "o2"
|
/packages/providers/TelephonyProvider/assets/sdk30_carrier_id/ |
D | carrier_list.textpb | 3262 carrier_name: "o2" 9927 carrier_name: "o2"
|