Searched defs:compare (Results 26 - 50 of 98) sorted by relevance

1234

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigurationUtil.java318 public int compare(WifiConfiguration a, WifiConfiguration b) { method in class:WifiConfigurationUtil.WifiConfigurationComparator
324 return Integer.compare(configBScore, configAScore);
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp312 return compare(other) < 0;
316 return compare(other) > 0;
319 int AString::compare(const AString &other) const { function in class:android::AString
/frameworks/base/core/java/android/content/pm/
H A DPackageItemInfo.java420 public final int compare(PackageItemInfo aa, PackageItemInfo ab) { method in class:PackageItemInfo.DisplayNameComparator
425 return sCollator.compare(sa.toString(), sb.toString());
H A DResolveInfo.java460 public final int compare(ResolveInfo a, ResolveInfo b) { method in class:ResolveInfo.DisplayNameComparator
473 return mCollator.compare(sa.toString(), sb.toString());
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java154 private static boolean compare(String s1, String s2) { method in class:UsbAccessory
163 return (compare(mManufacturer, accessory.getManufacturer()) &&
164 compare(mModel, accessory.getModel()) &&
165 compare(mDescription, accessory.getDescription()) &&
166 compare(mVersion, accessory.getVersion()) &&
167 compare(mUri, accessory.getUri()) &&
168 compare(mSerial, accessory.getSerial()));
/frameworks/base/core/java/android/os/
H A DWorkSource.java153 * @param other The WorkSource to compare against.
529 private int compare(WorkSource other, int i1, int i2) { method in class:WorkSource
557 if (i1 >= mNum || (i2 < N2 && (diff=compare(other, i1, i2)) > 0)) {
586 diff = i2 < N2 ? compare(other, i1, i2) : -1;
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java306 public int compare(EngineInfo lhs, EngineInfo rhs) { method in class:TtsEngines.EngineInfoComparator
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java269 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { method in class:MediaRouteChooserDialog.RouteComparator
/frameworks/base/libs/androidfw/include/androidfw/
H A DStringPiece.h64 int compare(const BasicStringPiece<TChar>& rhs) const;
182 inline int BasicStringPiece<char>::compare(const BasicStringPiece<char>& rhs) const { function in class:android::BasicStringPiece
223 inline int BasicStringPiece<char16_t>::compare(const BasicStringPiece<char16_t>& rhs) const { function in class:android::BasicStringPiece
232 return compare(rhs) < 0;
237 return compare(rhs) > 0;
242 return compare(rhs) == 0;
247 return compare(rhs) != 0;
/frameworks/base/libs/hwui/
H A DGradientCache.cpp51 int GradientCacheEntry::compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { function in class:android::uirenderer::GradientCacheEntry
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp126 int OffscreenBufferPool::Entry::compare(const Entry& lhs, const Entry& rhs) { function in class:android::uirenderer::OffscreenBufferPool::Entry
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DUtils.java227 public static <T extends Comparable> int compare(Comparable<T> c1, T c2) { method in class:Utils
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
H A DDreamBackend.java293 public int compare(DreamInfo lhs, DreamInfo rhs) { method in class:DreamBackend.DreamInfoComparator
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DAppRestrictionsHelper.java379 public int compare(SelectableAppInfo lhs, SelectableAppInfo rhs) { method in class:AppRestrictionsHelper.AppLabelComparator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationHeaderUtil.java46 public boolean compare(View parent, View child, Object parentData,
53 public boolean compare(View parent, View child, Object parentData,
112 public boolean compare(View parent, View child, Object parentData,
276 mApply = mComparator.compare(mParentView, header.findViewById(mId),
313 boolean compare(View parent, View child, Object parentData, Object childData); method in interface:NotificationHeaderUtil.ViewComparator
323 public boolean compare(View parent, View child, Object parentData, Object childData) { method in class:NotificationHeaderUtil.TextViewComparator
337 public boolean compare(View parent, View child, Object parentData, Object childData) { method in class:NotificationHeaderUtil.IconComparator
/frameworks/base/services/core/java/com/android/server/am/
H A DUriPermission.java354 public int compare(UriPermission lhs, UriPermission rhs) { method in class:UriPermission.PersistedTimeComparator
355 return Long.compare(lhs.persistedCreateTime, rhs.persistedCreateTime);
/frameworks/base/services/core/java/com/android/server/pm/
H A DSELinuxMMAC.java627 public int compare(Policy p1, Policy p2) { method in class:PolicyComparator
/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/tools/aapt2/xml/
H A DXmlPullParser.h137 int compare(const Attribute& rhs) const;
281 inline int XmlPullParser::Attribute::compare(const Attribute& rhs) const { function in class:aapt::xml::XmlPullParser::Attribute
282 int cmp = namespace_uri.compare(rhs.namespace_uri);
284 return name.compare(rhs.name);
288 return compare(rhs) < 0;
292 return compare(rhs) == 0;
296 return compare(rhs) != 0;
307 int cmp = attr.namespace_uri.compare(
311 cmp = attr.name.compare(0, attr.name.size(), rhs.second.data(),
/frameworks/compile/mclinker/lib/LD/
H A DResolveInfo.cpp213 bool ResolveInfo::compare(const ResolveInfo::key_type& pKey) { function in class:mcld::ResolveInfo
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeupTimer.java320 public int compare(MyEvent e1, MyEvent e2) { method in class:SipWakeupTimer.MyEventComparator
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java214 public static <T extends Comparable> int compare(Comparable<T> c1, T c2) { method in class:Utils
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DFocusStrategy.java107 public int compare(T first, T second) { method in class:FocusStrategy.SequentialComparator
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp560 int32_t NuPlayer::CCDecoder::CCTrack::compare(const NuPlayer::CCDecoder::CCTrack& rhs) const { function in class:android::NuPlayer::CCDecoder::CCTrack
567 return compare(rhs) < 0;
571 return compare(rhs) == 0;
575 return compare(rhs) != 0;
/frameworks/base/core/java/android/util/
H A DHalf.java327 * @param o The object to compare
374 * @param h The half-precision float value to compare to the half-precision value
384 return compare(mValue, h.mValue);
409 * @param x The first half-precision float value to compare.
410 * @param y The second half-precision float value to compare
417 public static int compare(@HalfFloat short x, @HalfFloat short y) { method in class:Half

Completed in 2152 milliseconds

1234