Searched refs:areIdentical (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 2413 inline bool areIdentical(const char code1[2], const char code2[2]) { in areIdentical() function 2418 return areIdentical(lang1, lang2) || in langsAreEquivalent() 2419 (areIdentical(lang1, kTagalog) && areIdentical(lang2, kFilipino)) || in langsAreEquivalent() 2420 (areIdentical(lang1, kFilipino) && areIdentical(lang2, kTagalog)); in langsAreEquivalent() 2459 if (areIdentical(requested->language, kEnglish)) { in isLocaleBetterThan() 2460 if (areIdentical(requested->country, kUnitedStates)) { in isLocaleBetterThan() 2465 return country[0] == '\0' || areIdentical(country, kUnitedStates); in isLocaleBetterThan() 2467 return !(o.country[0] == '\0' || areIdentical(o.country, kUnitedStates)); in isLocaleBetterThan() 2520 if (areIdentical(language, requested->language) in isLocaleBetterThan() 2521 && !areIdentical(o.language, requested->language)) { in isLocaleBetterThan() [all …]
|