/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | LegacyVpnPreference.java | 60 LegacyVpnPreference another = (LegacyVpnPreference) preference; in compareTo() local 62 if ((result = another.mState - mState) == 0 && in compareTo() 63 (result = mProfile.name.compareToIgnoreCase(another.mProfile.name)) == 0 && in compareTo() 64 (result = mProfile.type - another.mProfile.type) == 0) { in compareTo() 65 result = mProfile.key.compareTo(another.mProfile.key); in compareTo() 70 AppPreference another = (AppPreference) preference; in compareTo() local 71 if (mState != STATE_CONNECTED && another.getState() == AppPreference.STATE_CONNECTED) { in compareTo()
|
D | AppPreference.java | 126 AppPreference another = (AppPreference) preference; in compareTo() local 128 if ((result = another.mState - mState) == 0 && in compareTo() 129 (result = mName.compareToIgnoreCase(another.mName)) == 0 && in compareTo() 130 (result = mPackageName.compareTo(another.mPackageName)) == 0) { in compareTo() 131 result = mUserId - another.mUserId; in compareTo() 136 LegacyVpnPreference another = (LegacyVpnPreference) preference; in compareTo() local 137 return -another.compareTo(this); in compareTo()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | SignedLongLong.java | 72 public int compareTo(SignedLongLong another) { in compareTo() argument 73 if (mMostSigBits == another.mMostSigBits) { in compareTo() 74 if (mLeastSigBits == another.mLeastSigBits) { in compareTo() 77 if (mLeastSigBits < another.mLeastSigBits) { in compareTo() 82 if (mMostSigBits < another.mMostSigBits) { in compareTo()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | CycleAdapter.java | 105 final CycleItem another = (CycleItem) o; in equals() local 106 return start == another.start && end == another.end; in equals() 112 public int compareTo(CycleItem another) { in compareTo() argument 113 return Long.compare(start, another.start); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ProviderEntry.java | 30 public int compareTo(ProviderEntry another) { in compareTo() argument 34 if (another.name == null) { in compareTo() 37 return CharSequences.compareToIgnoreCase(name, another.name); in compareTo()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapFolderElement.java | 398 public int compareTo(BluetoothMapFolderElement another) { in compareTo() argument 399 if (another == null) { in compareTo() 402 int ret = mName.compareToIgnoreCase(another.mName); in compareTo() 405 ret = mSubFolders.size() - another.mSubFolders.size(); in compareTo() 410 another.mSubFolders.get(subfolder.getName()); in compareTo() 427 + another.mSubFolders.size()); in compareTo() 430 Log.d(TAG, "mName: " + mName + " another.mName: " + another.mName); in compareTo()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ChannelNumber.java | 83 public int compareTo(@NonNull ChannelNumber another) { in compareTo() argument 87 int opponentMajor = Integer.parseInt(another.majorNumber); in compareTo() 88 int opponentMinor = another.hasDelimiter ? Integer.parseInt(another.minorNumber) : 0; in compareTo()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 158 public int compareTo(@NonNull Preference another) { in compareTo() argument 159 if (!(another instanceof BluetoothDevicePreference)) { in compareTo() 161 return super.compareTo(another); in compareTo() 165 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/ |
D | DvbDeviceAccessor.java | 219 public int compareTo(@NonNull DvbDeviceInfoWrapper another) { in compareTo() argument 220 if (getAdapterId() != another.getAdapterId()) { in compareTo() 221 return getAdapterId() - another.getAdapterId(); in compareTo() 223 return getDeviceId() - another.getDeviceId(); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 348 public int compareTo(Preference another) { in compareTo() argument 349 if (!(another instanceof BluetoothDevicePreference)) { in compareTo() 351 return super.compareTo(another); in compareTo() 357 .compareTo(((BluetoothDevicePreference) another).mCachedDevice); in compareTo() 359 return mId > ((BluetoothDevicePreference) another).mId ? 1 : -1; in compareTo() 361 return super.compareTo(another); in compareTo()
|
/packages/apps/TV/common/src/com/android/tv/common/customization/ |
D | CustomAction.java | 50 public int compareTo(@NonNull CustomAction another) { in compareTo() argument 51 return mPositionPriority - another.mPositionPriority; in compareTo()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ContactListFilter.java | 191 public int compareTo(ContactListFilter another) { in compareTo() argument 192 int res = accountName.compareTo(another.accountName); in compareTo() 197 res = accountType.compareTo(another.accountType); in compareTo() 202 return filterType - another.filterType; in compareTo()
|
/packages/modules/Bluetooth/system/gd/hci/facade/ |
D | le_initiator_address_facade.cc | 94 AddressWithType another = address_manager_->NewResolvableAddress(); in NewResolvableAddress() local 96 bluetooth_address->set_address(another.GetAddress().ToString()); in NewResolvableAddress() 97 …response->set_type(static_cast<::blueberry::facade::BluetoothAddressTypeEnum>(another.GetAddressTy… in NewResolvableAddress()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | DateBucket.java | 60 public int compareTo(DateBucket another) { in compareTo() argument 61 return this.date.compareTo(another.date); in compareTo()
|
D | IngestObjectInfo.java | 60 public int compareTo(IngestObjectInfo another) { in compareTo() argument 61 long diff = getDateCreated() - another.getDateCreated(); in compareTo()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Face.java | 62 public int compareTo(Face another) { in compareTo() argument 63 return mName.compareTo(another.mName); in compareTo()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactLookupKey.java | 42 public int compareTo(LookupKeySegment another) { in compareTo() argument 43 if (contactId > another.contactId) { in compareTo() 46 if (contactId < another.contactId) { in compareTo()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | MatchScore.java | 140 public int compareTo(MatchScore another) { in compareTo() argument 141 return another.getScore() - getScore(); in compareTo()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionGroup.java | 89 public int compareTo(PermissionGroup another) { in compareTo() argument 90 return mLabel.toString().compareTo(another.mLabel.toString()); in compareTo()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 184 public int compareTo(ContactListFilter another) { in compareTo() argument 185 int res = accountName.compareTo(another.accountName); in compareTo() 190 res = accountType.compareTo(another.accountType); in compareTo() 195 return filterType - another.filterType; in compareTo()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkStatsHistory.java | 268 public Entry plus(@NonNull Entry another, long bucketDuration) { in plus() argument 269 if (this.bucketStart != another.bucketStart) { in plus() 271 + " is not equal to " + another.bucketStart); in plus() 275 Math.min(this.activeTime + another.activeTime, bucketDuration), in plus() 276 this.rxBytes + another.rxBytes, in plus() 277 this.rxPackets + another.rxPackets, in plus() 278 this.txBytes + another.txBytes, in plus() 279 this.txPackets + another.txPackets, in plus() 280 this.operations + another.operations); in plus()
|
D | NetworkStats.java | 364 public void add(Entry another) { in add() argument 365 this.rxBytes += another.rxBytes; in add() 366 this.rxPackets += another.rxPackets; in add() 367 this.txBytes += another.txBytes; in add() 368 this.txPackets += another.txPackets; in add() 369 this.operations += another.operations; in add() 864 public @NonNull NetworkStats add(@NonNull NetworkStats another) { in add() argument 866 ret.combineAllValues(another); in add() 874 public void combineAllValues(@NonNull NetworkStats another) { in combineAllValues() argument 876 for (int i = 0; i < another.size; i++) { in combineAllValues() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 144 public int compareTo(RawContactInfo another) { in compareTo() argument 146 String thatAccount = another.accountType != null ? another.accountType : ""; in compareTo()
|
/packages/modules/Bluetooth/system/gd/packet/parser/test/ |
D | test_packets.pdl | 243 another : TwoRelatedNumbers, 249 another : TwoRelatedNumbers, 255 another : TwoRelatedNumbers, 261 another : TwoRelatedNumbers,
|
/packages/modules/Bluetooth/framework/tests/bumble/doc/ |
D | overview.md | 32 // 1. Advertise the host's Bluetooth capabilities using another 34 // - `hostBlocking()` accesses another gRPC service related to the host.
|