Home
last modified time | relevance | path

Searched refs:isLocaleBetterThan (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp393 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
394 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
399 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
400 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
405 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
406 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
411 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
412 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
417 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
418 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
[all …]
/frameworks/base/include/androidfw/
DResourceTypes.h1281 bool isLocaleBetterThan(const ResTable_config& o, const ResTable_config* requested) const;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2173 bool ResTable_config::isLocaleBetterThan(const ResTable_config& o, in isLocaleBetterThan() function in android::ResTable_config
2268 if (isLocaleBetterThan(o, requested)) { in isBetterThan()