/frameworks/base/libs/usb/src/com/android/future/usb/ |
H A D | UsbAccessory.java | 98 private static boolean compare(String s1, String s2) { method in class:UsbAccessory 107 return (compare(mManufacturer, accessory.getManufacturer()) && 108 compare(mModel, accessory.getModel()) && 109 compare(mDescription, accessory.getDescription()) && 110 compare(mVersion, accessory.getVersion()) && 111 compare(mUri, accessory.getUri()) && 112 compare(mSerial, accessory.getSerial()));
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | CommandLine.cpp | 97 if (0 == Arg.compare("combreloc")) 99 else if (0 == Arg.compare("nocombreloc")) 101 else if (0 == Arg.compare("defs")) 103 else if (0 == Arg.compare("execstack")) 105 else if (0 == Arg.compare("noexecstack")) 107 else if (0 == Arg.compare("initfirst")) 109 else if (0 == Arg.compare("interpose")) 111 else if (0 == Arg.compare("loadfltr")) 113 else if (0 == Arg.compare("muldefs")) 115 else if (0 == Arg.compare("nocopyrelo [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | StringEntry.h | 57 bool compare(const llvm::StringRef& pX) function in class:mcld::StringEntry 58 { return (0 == key().compare(pX)); } 60 bool compare(const llvm::StringRef& pX) const function in class:mcld::StringEntry 61 { return (0 == key().compare(pX)); } 111 bool compare(const llvm::StringRef& pX) function in class:mcld::StringEntry 112 { return (0 == key().compare(pX)); } 114 bool compare(const llvm::StringRef& pX) const function in class:mcld::StringEntry 115 { return (0 == key().compare(pX)); }
|
H A D | HashEntry.h | 67 bool compare(const key_type& pKey);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberUtilsTest.java | 184 assertTrue(PhoneNumberUtils.compare(null, null)); 185 assertFalse(PhoneNumberUtils.compare(null, "123")); 186 assertFalse(PhoneNumberUtils.compare("123", null)); 268 assertFalse(PhoneNumberUtils.compare("", "")); 270 assertTrue(PhoneNumberUtils.compare("911", "911")); 271 assertFalse(PhoneNumberUtils.compare("911", "18005550911")); 272 assertTrue(PhoneNumberUtils.compare("5555", "5555")); 273 assertFalse(PhoneNumberUtils.compare("5555", "180055555555")); 275 assertTrue(PhoneNumberUtils.compare("+17005554141", "+17005554141")); 276 assertTrue(PhoneNumberUtils.compare(" [all...] |
/frameworks/native/include/utils/ |
H A D | StringArray.h | 49 void sort(int (*compare)(const void*, const void*));
|
H A D | String16.h | 94 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
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbAccessory.java | 156 private static boolean compare(String s1, String s2) { method in class:UsbAccessory 165 return (compare(mManufacturer, accessory.getManufacturer()) && 166 compare(mModel, accessory.getModel()) && 167 compare(mDescription, accessory.getDescription()) && 168 compare(mVersion, accessory.getVersion()) && 169 compare(mUri, accessory.getUri()) && 170 compare(mSerial, accessory.getSerial()));
|
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 58 int compare(const entry& o) const; 60 inline bool operator<(const entry& o) const { return compare(o) < 0; } 61 inline bool operator<=(const entry& o) const { return compare(o) <= 0; } 62 inline bool operator==(const entry& o) const { return compare(o) == 0; } 63 inline bool operator!=(const entry& o) const { return compare(o) != 0; } 64 inline bool operator>=(const entry& o) const { return compare(o) >= 0; } 65 inline bool operator>(const entry& o) const { return compare(o) > 0; }
|
H A D | AaptAssets.h | 102 int compare(const AaptGroupEntry& o) const; 106 inline bool operator<(const AaptGroupEntry& o) const { return compare(o) < 0; } 107 inline bool operator<=(const AaptGroupEntry& o) const { return compare(o) <= 0; } 108 inline bool operator==(const AaptGroupEntry& o) const { return compare(o) == 0; } 109 inline bool operator!=(const AaptGroupEntry& o) const { return compare(o) != 0; } 110 inline bool operator>=(const AaptGroupEntry& o) const { return compare(o) >= 0; } 111 inline bool operator>(const AaptGroupEntry& o) const { return compare(o) > 0; } 147 return lhs.compare(rhs); 286 * compare against, but I'm not expecting to have enough files in a
|
/frameworks/native/libs/utils/ |
H A D | StringArray.cpp | 88 void StringArray::sort(int (*compare)(const void*, const void*)) { 89 qsort(mArray, mCurrent, sizeof(char*), compare);
|
/frameworks/base/core/java/android/widget/ |
H A D | AlphabetIndexer.java | 63 * Use a collator to compare strings in a localized manner. 126 protected int compare(String word, String letter) { method in class:AlphabetIndexer 134 return mCollator.compare(firstLetter, letter); 212 int diff = compare(curName, targetLetter); 224 // if (mCollator.compare(startingLetter, targetLetter) < 0) { 265 if (compare(curName, targetLetter) == 0) {
|
/frameworks/base/core/jni/ |
H A D | TimeUtils.h | 57 static int compare(Time& a, Time& b);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeofenceState.java | 88 if (Double.compare(mDistanceToCenter, Double.MAX_VALUE) == 0) {
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | ByteArrayPool.java | 71 public int compare(byte[] lhs, byte[] rhs) {
|
/frameworks/compile/libbcc/bcinfo/ |
H A D | MetadataExtractor.cpp | 230 if (!Relaxed.compare(mPragmaKeyList[i])) { 235 } else if (!Imprecise.compare(mPragmaKeyList[i])) { 259 if (!Relaxed.compare(PrecisionPropBuf)) { 262 } else if (!Imprecise.compare(PrecisionPropBuf)) { 265 } else if (!Full.compare(PrecisionPropBuf)) {
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageItemInfo.java | 277 public final int compare(PackageItemInfo aa, PackageItemInfo ab) { method in class:PackageItemInfo.DisplayNameComparator 282 return sCollator.compare(sa.toString(), sb.toString());
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | TestDelegates.java | 74 compare(originalClass, delegateClass); 82 private void compare(Class<?> originalClass, Class<?> delegateClass) throws SecurityException { method in class:TestDelegates
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationData.java | 90 public int compare(Entry a, Entry b) { 121 if (mEntryCmp.compare(mEntries.get(i), entry) > 0) {
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AString.h | 73 int compare(const AString &other) const;
|
/frameworks/base/core/java/android/gesture/ |
H A D | InstanceLearner.java | 30 public int compare(Prediction object1, Prediction object2) {
|
/frameworks/base/tools/aidl/ |
H A D | options.cpp | 134 if (options->outputFileName.compare(pos, 5, ".aidl") == 0) { // 5 = strlen(".aidl")
|
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 26 return lhs->compare(*rhs);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 290 return compare(other) < 0; 294 return compare(other) > 0; 297 int AString::compare(const AString &other) const { function in class:android::AString
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.h | 84 static int compare(const TextLayoutCacheKey& lhs, const TextLayoutCacheKey& rhs); 106 return TextLayoutCacheKey::compare(lhs, rhs) < 0; 110 return TextLayoutCacheKey::compare(lhs, rhs);
|