Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp490 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
491 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
496 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
497 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
502 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
503 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
508 EXPECT_TRUE(config1.isLocaleBetterThan(config2, &request)); in TEST()
509 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
514 EXPECT_FALSE(config1.isLocaleBetterThan(config2, &request)); in TEST()
515 EXPECT_FALSE(config2.isLocaleBetterThan(config1, &request)); in TEST()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1328 bool isLocaleBetterThan(const ResTable_config& o, const ResTable_config* requested) const;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2308 bool ResTable_config::isLocaleBetterThan(const ResTable_config& o, in isLocaleBetterThan() function in android::ResTable_config
2426 if (isLocaleBetterThan(o, requested)) { in isBetterThan()