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