Lines Matching refs:config

28                                             ConfigDescription* config = nullptr) {  in TestParse()  argument
29 if (ConfigDescription::parse(input, config)) { in TestParse()
50 ConfigDescription config; in TEST() local
51 EXPECT_TRUE(TestParse("", &config)); in TEST()
52 EXPECT_EQ(std::string(""), config.toString().string()); in TEST()
54 EXPECT_TRUE(TestParse("fr-land", &config)); in TEST()
55 EXPECT_EQ(std::string("fr-land"), config.toString().string()); in TEST()
58 "xhdpi-keyssoft-qwerty-navexposed-nonav", &config)); in TEST()
60 "xhdpi-keyssoft-qwerty-navexposed-nonav-v13"), config.toString().string()); in TEST()
64 ConfigDescription config; in TEST() local
65 EXPECT_TRUE(TestParse("en-rUS", &config)); in TEST()
66 EXPECT_EQ(std::string("en-rUS"), config.toString().string()); in TEST()
70 ConfigDescription config; in TEST() local
71 EXPECT_TRUE(TestParse("sw600dp", &config)); in TEST()
72 EXPECT_EQ(std::string("sw600dp-v13"), config.toString().string()); in TEST()
74 EXPECT_TRUE(TestParse("sw600dp-v8", &config)); in TEST()
75 EXPECT_EQ(std::string("sw600dp-v13"), config.toString().string()); in TEST()
79 ConfigDescription config; in TEST() local
80 EXPECT_TRUE(TestParse("car", &config)); in TEST()
81 EXPECT_EQ(android::ResTable_config::UI_MODE_TYPE_CAR, config.uiMode); in TEST()
85 ConfigDescription config; in TEST() local
86 EXPECT_TRUE(TestParse("round", &config)); in TEST()
88 config.screenLayout2 & android::ResTable_config::MASK_SCREENROUND); in TEST()
89 EXPECT_EQ(SDK_MARSHMALLOW, config.sdkVersion); in TEST()
90 EXPECT_EQ(std::string("round-v23"), config.toString().string()); in TEST()
92 EXPECT_TRUE(TestParse("notround", &config)); in TEST()
94 config.screenLayout2 & android::ResTable_config::MASK_SCREENROUND); in TEST()
95 EXPECT_EQ(SDK_MARSHMALLOW, config.sdkVersion); in TEST()
96 EXPECT_EQ(std::string("notround-v23"), config.toString().string()); in TEST()