Home
last modified time | relevance | path

Searched refs:compareTo (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/volley/tests/src/com/android/volley/
DRequestTest.java44 assertTrue(low.compareTo(high) > 0); in testCompareTo()
45 assertTrue(high.compareTo(low) < 0); in testCompareTo()
46 assertTrue(low.compareTo(low2) < 0); in testCompareTo()
47 assertTrue(low.compareTo(immediate) > 0); in testCompareTo()
48 assertTrue(immediate.compareTo(high) < 0); in testCompareTo()
DRequestQueueTest.java158 int priorityDiff = thisPriority.compareTo(mLastPriority); in performRequest()
/frameworks/base/sax/java/android/sax/
DChildren.java45 && current.uri.compareTo(uri) == 0 in getOrCreate()
46 && current.localName.compareTo(localName) == 0) { in getOrCreate()
75 && current.uri.compareTo(uri) == 0 in get()
76 && current.localName.compareTo(localName) == 0) { in get()
DRootElement.java143 if (root.uri.compareTo(uri) != 0 in startRoot()
144 || root.localName.compareTo(localName) != 0) { in startRoot()
/frameworks/base/test-runner/src/junit/runner/
DSorter.java23 while (((String)(values.elementAt(left))).compareTo(mid) < 0) in sortStrings()
25 while (mid.compareTo((String)(values.elementAt(right))) < 0) in sortStrings()
/frameworks/base/core/java/android/content/
DComponentName.java205 public int compareTo(ComponentName that) { in compareTo() method in ComponentName
207 v = this.mPackage.compareTo(that.mPackage); in compareTo()
211 return this.mClass.compareTo(that.mClass); in compareTo()
/frameworks/base/tools/preload/
DLoadedClass.java122 public int compareTo(LoadedClass o) { in compareTo() method in LoadedClass
123 return name.compareTo(o.name); in compareTo()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java313 public int compareTo(TimeZoneInfo other) { in compareTo() method in TimeZoneInfo
328 int diff = this.mCountry.compareTo(other.mCountry); in compareTo()
342 return this.mDisplayName.compareTo(other.mDisplayName); in compareTo()
344 return this.mTz.getDisplayName(Locale.getDefault()).compareTo( in compareTo()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java192 int result = class1.getSimpleName().compareTo(class2.getSimpleName()); in compare()
196 return class1.getName().compareTo(class2.getName()); in compare()
209 return class1.getName().compareTo(class2.getName()); in compare()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DAbstractResult.java80 public int compareTo(AbstractResult another) { in compareTo() method in AbstractResult
81 return getRelativePath().compareTo(another.getRelativePath()); in compareTo()
/frameworks/base/core/java/android/preference/
DPreferenceGroupAdapter.java96 public int compareTo(PreferenceLayout other) { in compareTo() method in PreferenceGroupAdapter.PreferenceLayout
97 int compareNames = name.compareTo(other.name); in compareTo()
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayout.java96 public int compareTo(KeyboardLayout another) { in compareTo() method in KeyboardLayout
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCommandDetails.java44 public boolean compareTo(CommandDetails other) { in compareTo() method in CommandDetails
/frameworks/base/core/java/android/content/res/
DConfiguration.java1118 public int compareTo(Configuration that) { in compareTo() method in Configuration
1133 n = this.locale.getLanguage().compareTo(that.locale.getLanguage()); in compareTo()
1135 n = this.locale.getCountry().compareTo(that.locale.getCountry()); in compareTo()
1137 n = this.locale.getVariant().compareTo(that.locale.getVariant()); in compareTo()
1172 return this.compareTo(that) == 0; in equals()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDriverCall.java151 compareTo(DriverCall dc) { in compareTo() method in DriverCall
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaRecorderStressTestRunner.java99 if (removeVideos.compareTo("true") == 0) { in onCreate()
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
DSurfaceFlingerHelper.java166 if (bufferValues[0].trim().compareTo("0") == 0) { in dumpFrameLatency()
168 } else if (bufferValues[1].trim().compareTo(PENDING_FENCE_TIME) == 0 ) { in dumpFrameLatency()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java65 int result = object1.type.compareTo(object2.type); in compare()
67 return object1.name.compareTo(object2.name); in compare()
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimationThread.java60 public int compareTo(MessageBundle bundle) { in compareTo() method in AnimationThread.MessageBundle
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java338 String compareTo = c.getString(c.getColumnIndexOrThrow("numi")); in testCopyString() local
345 assertEquals(compareTo, new String(buf.data, 0, buf.sizeCopied)); in testCopyString()
351 compareTo = c.getString(numfIdx); in testCopyString()
354 assertEquals(compareTo, new String(buf.data, 0, buf.sizeCopied)); in testCopyString()
364 compareTo = c.getString(strIdx); in testCopyString()
365 assertEquals(chinese, compareTo); in testCopyString()
/frameworks/base/core/java/android/database/
DCursorJoiner.java257 int comp = values[index].compareTo(values[index+1]); in compareStrings()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
DDirListActivity.java133 public int compareTo(ListItem another) { in compareTo() method in DirListActivity.ListItem
134 return mRelativePath.compareTo(another.getRelativePath()); in compareTo()
/frameworks/base/core/java/android/net/
DNetworkPolicy.java135 public int compareTo(NetworkPolicy another) { in compareTo() method in NetworkPolicy
/frameworks/base/core/java/android/os/
DWorkSource.java276 int diff = mNames[i].compareTo(name); in add()
390 || (uids2[i2] == uids1[i1] && names2[i2].compareTo(names1[i1]) > 0)) { in removeUidsAndNames()
509 return mNames[i1].compareTo(other.mNames[i2]); in compare()
/frameworks/base/services/java/com/android/server/content/
DSyncOperation.java211 public int compareTo(Object o) { in compareTo() method in SyncOperation

123