Home | History | Annotate | Download | only in shill

Lines Matching defs:reason

991   const char* reason = nullptr;
998 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
999 EXPECT_STREQ(Service::kAutoConnOffline, reason);
1002 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1008 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1009 EXPECT_STREQ(Service::kAutoConnExplicitDisconnect, reason);
1019 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1023 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1025 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1029 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1033 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1035 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1038 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1039 EXPECT_STREQ(Service::kAutoConnConnected, reason);
1042 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1043 EXPECT_STREQ(Service::kAutoConnConnecting, reason);
1048 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1049 EXPECT_STREQ(Service::kAutoConnTechnologyNotConnectable, reason);
1073 const char* reason;
1076 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1082 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1089 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1090 EXPECT_STREQ(Service::kAutoConnThrottled, reason);
1097 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1098 EXPECT_STREQ(Service::kAutoConnThrottled, reason);
1102 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1114 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1115 EXPECT_STREQ(Service::kAutoConnThrottled, reason);
1126 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1127 EXPECT_STREQ(Service::kAutoConnThrottled, reason);
1134 reason = "";
1135 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1136 EXPECT_STREQ("", reason);
1145 EXPECT_FALSE(service_->IsAutoConnectable(&reason));
1146 EXPECT_STREQ(Service::kAutoConnThrottled, reason);
1150 reason = "";
1151 EXPECT_TRUE(service_->IsAutoConnectable(&reason));
1152 EXPECT_STREQ("", reason);