/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | MediaDevice.java | 132 public int compareTo(MediaDevice another) { in compareTo() argument 134 if (isConnected() ^ another.isConnected()) { in compareTo() 145 } else if (another.mType == MediaDeviceType.TYPE_PHONE_DEVICE) { in compareTo() 151 } else if (another.isCarKitDevice()) { in compareTo() 158 } else if (TextUtils.equals(lastSelectedDevice, another.getId())) { in compareTo() 162 if ((mConnectedRecord != another.mConnectedRecord) in compareTo() 163 && (another.mConnectedRecord > 0 || mConnectedRecord > 0)) { in compareTo() 164 return (another.mConnectedRecord - mConnectedRecord); in compareTo() 168 if (mType == another.mType) { in compareTo() 170 final String s2 = another.getName(); in compareTo() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Rational.java | 470 public int compareTo(Rational another) { in compareTo() argument 471 checkNotNull(another, "another must not be null"); in compareTo() 473 if (equals(another)) { in compareTo() 477 } else if (another.isNaN()) { // the other NaN is greater than this non-NaN value in compareTo() 479 } else if (isPosInf() || another.isNegInf()) { in compareTo() 481 } else if (isNegInf() || another.isPosInf()) { in compareTo() 488 long thisNumerator = ((long)mNumerator) * another.mDenominator; // long to avoid overflow in compareTo() 489 long otherNumerator = ((long)another.mNumerator) * mDenominator; // long to avoid overflow in compareTo()
|
/frameworks/base/core/java/android/net/ |
D | NetworkIdentity.java | 224 public int compareTo(NetworkIdentity another) { in compareTo() argument 225 int res = Integer.compare(mType, another.mType); in compareTo() 227 res = Integer.compare(mSubType, another.mSubType); in compareTo() 229 if (res == 0 && mSubscriberId != null && another.mSubscriberId != null) { in compareTo() 230 res = mSubscriberId.compareTo(another.mSubscriberId); in compareTo() 232 if (res == 0 && mNetworkId != null && another.mNetworkId != null) { in compareTo() 233 res = mNetworkId.compareTo(another.mNetworkId); in compareTo() 236 res = Boolean.compare(mRoaming, another.mRoaming); in compareTo() 239 res = Boolean.compare(mMetered, another.mMetered); in compareTo() 242 res = Boolean.compare(mDefaultNetwork, another.mDefaultNetwork); in compareTo()
|
D | NetworkPolicy.java | 189 public int compareTo(NetworkPolicy another) { in compareTo() argument 190 if (another == null || another.limitBytes == LIMIT_DISABLED) { in compareTo() 194 if (limitBytes == LIMIT_DISABLED || another.limitBytes < limitBytes) { in compareTo()
|
D | NetworkStats.java | 386 public void add(Entry another) { in add() argument 387 this.rxBytes += another.rxBytes; in add() 388 this.rxPackets += another.rxPackets; in add() 389 this.txBytes += another.txBytes; in add() 390 this.txPackets += another.txPackets; in add() 391 this.operations += another.operations; in add() 731 public @NonNull NetworkStats add(@NonNull NetworkStats another) { in add() argument 733 ret.combineAllValues(another); in add() 741 public void combineAllValues(@NonNull NetworkStats another) { in combineAllValues() argument 743 for (int i = 0; i < another.size; i++) { in combineAllValues() [all …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | KeyboardLayout.java | 145 public int compareTo(KeyboardLayout another) { in compareTo() argument 148 int result = Integer.compare(another.mPriority, mPriority); in compareTo() 150 result = mLabel.compareToIgnoreCase(another.mLabel); in compareTo() 153 result = mCollection.compareToIgnoreCase(another.mCollection); in compareTo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | AppItem.java | 66 public int compareTo(AppItem another) { in compareTo() argument 67 int comparison = Integer.compare(category, another.category); in compareTo() 69 comparison = Long.compare(another.total, total); in compareTo()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CharSequences.java | 121 public static int compareToIgnoreCase(CharSequence me, CharSequence another) { 123 int myLen = me.length(), anotherLen = another.length(); 129 - Character.toLowerCase(another.charAt(anotherPos++))) != 0) {
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 164 public int compareTo(NetworkIdentitySet another) { in compareTo() argument 166 if (another.isEmpty()) return 1; in compareTo() 169 final NetworkIdentity anotherIdent = another.iterator().next(); in compareTo()
|
D | NetworkStatsCollection.java | 403 public void recordCollection(NetworkStatsCollection another) { in recordCollection() argument 404 for (int i = 0; i < another.mStats.size(); i++) { in recordCollection() 405 final Key key = another.mStats.keyAt(i); in recordCollection() 406 final NetworkStatsHistory value = another.mStats.valueAt(i); in recordCollection() 783 public int compareTo(Key another) { in compareTo() argument 785 if (ident != null && another.ident != null) { in compareTo() 786 res = ident.compareTo(another.ident); in compareTo() 789 res = Integer.compare(uid, another.uid); in compareTo() 792 res = Integer.compare(set, another.set); in compareTo() 795 res = Integer.compare(tag, another.tag); in compareTo()
|
/frameworks/rs/script_api/ |
D | rs_convert.spec | 20 The functions below convert from a numerical vector type to another, or from one color 21 representation to another. 34 Converts a vector from one numerical type to another. The conversion are done entry per entry.
|
/frameworks/compile/slang/tests/F_foreach_from_kernel/ |
D | stderr.txt.expect | 1 foreach_from_kernel.rscript:13:3: error: Invalid kernel launch call made from inside another kernel.
|
/frameworks/base/services/tests/rescueparty/ |
D | how_to_run.txt | 5 # In another terminal:
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 704 public int compareTo(CachedBluetoothDevice another) { in compareTo() argument 706 int comparison = (another.isConnected() ? 1 : 0) - (isConnected() ? 1 : 0); in compareTo() 710 comparison = (another.getBondState() == BluetoothDevice.BOND_BONDED ? 1 : 0) - in compareTo() 715 comparison = (another.mJustDiscovered ? 1 : 0) - (mJustDiscovered ? 1 : 0); in compareTo() 719 comparison = another.mRssi - mRssi; in compareTo() 723 return getName().compareTo(another.getName()); in compareTo()
|
/frameworks/base/core/java/android/preference/ |
D | Preference.java | 1290 public int compareTo(Preference another) { in compareTo() argument 1291 if (mOrder != another.mOrder) { in compareTo() 1293 return mOrder - another.mOrder; in compareTo() 1294 } else if (mTitle == another.mTitle) { in compareTo() 1299 } else if (another.mTitle == null) { in compareTo() 1303 return CharSequences.compareToIgnoreCase(mTitle, another.mTitle); in compareTo()
|
/frameworks/base/core/proto/android/telecomm/ |
D | enums.proto | 66 * Indicates that a call is currently connected to another party and a communication channel is 195 * on another device where the call was ringing. 200 * Disconnected because the call was pulled from the current device to another device.
|
/frameworks/base/core/proto/android/app/ |
D | enums.proto | 64 // Process is hosting a service bound by the system or another foreground app. 95 // Process is being cached for later use and is a client of another cached
|
/frameworks/hardware/interfaces/cameraservice/service/2.0/ |
D | types.hal | 30 * Camera is in use by another app and cannot be used exclusively.
|
/frameworks/base/core/proto/android/service/ |
D | restricted_image.proto | 55 // Metadata about the image. Typically this has another proto schema,
|
/frameworks/base/core/java/android/widget/ |
D | ExpandableListConnector.java | 911 public int compareTo(GroupMetadata another) { in compareTo() argument 912 if (another == null) { in compareTo() 916 return gPos - another.gPos; in compareTo()
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 68 Range<T>[] intersectSortedDistinctRanges(Range<T>[] one, Range<T>[] another) { in intersectSortedDistinctRanges() argument 71 for (Range<T> range: another) { in intersectSortedDistinctRanges()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 91 public int compareTo(LocaleInfo another) { in compareTo() argument 92 return sCollator.compare(this.label, another.label); in compareTo()
|
/frameworks/hardware/interfaces/bufferhub/1.0/ |
D | IBufferClient.hal | 24 * another IBufferClient via IBufferHub::import function.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | EventLogTags.logtags | 15 ## keyguardOccluded: 1: Keyguard active, but another activity is occluding it
|
/frameworks/rs/script_api/include/ |
D | rs_quaternion.rsh | 145 * Creates a quaternion from its four components or from another quaternion. 225 * rsQuaternionMultiply: Multiply a quaternion by a scalar or another quaternion 227 * Multiplies a quaternion by a scalar or by another quaternion, e.g
|