Searched refs:compare (Results 26 - 50 of 91) sorted by relevance

1234

/frameworks/native/include/utils/
H A DString16.h94 inline int compare(const String16& other) const;
127 return lhs.compare(rhs);
169 inline int String16::compare(const String16& other) const function in class:android::String16
H A DString8.h98 inline int compare(const String8& other) const;
234 return lhs.compare(rhs);
314 inline int String8::compare(const String8& other) const function in class:android::String8
/frameworks/base/tools/aapt/
H A DResourceTable.h102 inline bool operator<(const ConfigDescription& o) const { return compare(o) < 0; }
103 inline bool operator<=(const ConfigDescription& o) const { return compare(o) <= 0; }
104 inline bool operator==(const ConfigDescription& o) const { return compare(o) == 0; }
105 inline bool operator!=(const ConfigDescription& o) const { return compare(o) != 0; }
106 inline bool operator>=(const ConfigDescription& o) const { return compare(o) >= 0; }
107 inline bool operator>(const ConfigDescription& o) const { return compare(o) > 0; }
H A DAaptAssets.cpp1465 int AaptGroupEntry::compare(const AaptGroupEntry& o) const function in class:AaptGroupEntry
1467 int v = mcc.compare(o.mcc);
1468 if (v == 0) v = mnc.compare(o.mnc);
1469 if (v == 0) v = locale.compare(o.locale);
1470 if (v == 0) v = layoutDirection.compare(o.layoutDirection);
1471 if (v == 0) v = vendor.compare(o.vendor);
1472 if (v == 0) v = smallestScreenWidthDp.compare(o.smallestScreenWidthDp);
1473 if (v == 0) v = screenWidthDp.compare(o.screenWidthDp);
1474 if (v == 0) v = screenHeightDp.compare(o.screenHeightDp);
1475 if (v == 0) v = screenLayoutSize.compare(
[all...]
H A DStringPool.cpp74 int StringPool::entry::compare(const entry& o) const { function in class:StringPool::entry
85 int comp = configTypeName.compare(o.configTypeName);
222 return lhe.compare(rhe);
/frameworks/base/core/java/android/text/format/
H A DTime.java293 * @param a first {@code Time} instance to compare
294 * @param b second {@code Time} instance to compare
301 public static int compare(Time a, Time b) { method in class:Time
615 * @param that a given Time object to compare against
619 return Time.compare(this, that) < 0;
627 * @param that a given Time object to compare against
631 return Time.compare(this, that) > 0;
/frameworks/wilhelm/tools/hashgen/
H A DMakefile40 gperf --null-strings --readonly-tables --compare-lengths part23in.gperf > part23in.c
/frameworks/base/core/java/android/content/pm/
H A DResolveInfo.java333 public final int compare(ResolveInfo a, ResolveInfo b) { method in class:ResolveInfo.DisplayNameComparator
339 return sCollator.compare(sa.toString(), sb.toString());
H A DApplicationInfo.java431 * compare that this number is >= the SDK version number at which your
512 public final int compare(ApplicationInfo aa, ApplicationInfo ab) { method in class:ApplicationInfo.DisplayNameComparator
522 return sCollator.compare(sa.toString(), sb.toString());
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java169 if (Time.compare(cycle, now) >= 0) {
199 if (Time.compare(cycle, now) <= 0) {
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java190 public int compare(Class<? extends TestCase> class1, method in class:TestGrouping.SortBySimpleName
207 public int compare(Class<? extends TestCase> class1, method in class:TestGrouping.SortByFullyQualifiedName
/frameworks/base/core/jni/
H A Dandroid_os_Debug.cpp327 char compare[128]; local
328 int len = snprintf(compare, 128, "proc %d", getpid());
335 } while (strncmp(compare, line, len));
338 len = snprintf(compare, 128, " %s: ", stat);
344 } while (strncmp(compare, line, len));
H A DTime.cpp44 Time::compare(Time& a, Time& b) function in class:android::Time
47 // if the timezones are the same, we can easily compare the two
48 // times. Otherwise, convert to milliseconds and compare that.
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardWidgetFrame.java300 if (Float.compare(mBackgroundAlphaMultiplier, multiplier) != 0) {
311 if (Float.compare(mBackgroundAlpha, alpha) != 0) {
494 if (Float.compare(mOverScrollAmount, r) != 0) {
H A DKeyguardMultiUserSelectorView.java93 public int compare(UserInfo lhs, UserInfo rhs) {
/frameworks/base/services/common_time/
H A Dutils.cpp94 if ((NULL != last) && !last->s.compare(s)) {
/frameworks/compile/mclinker/include/mcld/LD/
H A DResolveInfo.h204 bool compare(const key_type& pKey);
/frameworks/compile/mclinker/lib/LD/
H A DResolveInfo.cpp221 bool ResolveInfo::compare(const ResolveInfo::key_type& pKey) function in class:ResolveInfo
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java413 public static boolean compare(String a, String b) { method in class:PhoneNumberUtils
416 return compare(a, b, false);
424 public static boolean compare(Context context, String a, String b) { method in class:PhoneNumberUtils
427 return compare(a, b, useStrict);
433 public static boolean compare(String a, String b, boolean useStrictComparation) { method in class:PhoneNumberUtils
648 return compare(a, b, false);
656 return compare(a, b, false);
1838 // compare tolerates null so we need to make sure that we
1840 return !TextUtils.isEmpty(number) && compare(number, vmNumber);
2403 * digit to compare tw
[all...]
/frameworks/base/core/java/android/content/
H A DSyncManager.java1345 public int compare(AuthoritySyncStats lhs, AuthoritySyncStats rhs) {
1347 int compare = Integer.compare(rhs.times, lhs.times);
1348 if (compare == 0) {
1349 compare = Long.compare(rhs.elapsedTime, lhs.elapsedTime);
1351 return compare;
1389 public int compare(AccountSyncStats lhs, AccountSyncStats rhs) {
1391 int compare = Integer.compare(rh
[all...]
/frameworks/base/core/java/android/widget/
H A DAppSecurityPermissions.java581 public final int compare(MyPermissionGroupInfo a, MyPermissionGroupInfo b) { method in class:AppSecurityPermissions.PermissionGroupInfoComparator
588 return sCollator.compare(a.mLabel, b.mLabel);
596 public final int compare(MyPermissionInfo a, MyPermissionInfo b) { method in class:AppSecurityPermissions.PermissionInfoComparator
597 return sCollator.compare(a.mLabel, b.mLabel);
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java79 return sCollator.compare(this.label, another.label);
/frameworks/compile/libbcc/tests/
H A Dtest.py110 def compare(a, b): function
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashIterator.h48 if (bucket.Entry->compare(pKey)) {
/frameworks/compile/slang/
H A Dslang_rs_context.cpp196 if (!EFE->getName().compare("root")) {

Completed in 662 milliseconds

1234