Lines Matching defs:reason
105 bool IsAutoConnectable(const char** reason) const {
106 return service_->IsAutoConnectable(reason);
273 const char* reason = nullptr;
275 EXPECT_FALSE(IsAutoConnectable(&reason));
276 EXPECT_STREQ(GetAutoConnOffline(), reason);
282 const char* reason = nullptr;
284 EXPECT_FALSE(IsAutoConnectable(&reason));
285 EXPECT_STREQ(GetAutoConnNeverConnected(), reason);
295 const char* reason = nullptr;
296 EXPECT_FALSE(IsAutoConnectable(&reason));
297 EXPECT_STREQ(GetAutoConnVPNAlreadyActive(), reason);
301 const char* reason = nullptr;
303 EXPECT_FALSE(IsAutoConnectable(&reason));
313 const char* reason = nullptr;
314 EXPECT_TRUE(IsAutoConnectable(&reason));
315 EXPECT_FALSE(reason);