Lines Matching defs:channel
41 const metrics::SystemProfileProto_Channel& channel) {
42 switch (channel) {
76 std::string channel;
79 channel = "unknown";
87 if (!client->GetChannel(&channel)) {
88 LOG(ERROR) << "failed to read the current channel from update engine.";
103 if (channel.empty() || profile_.version.empty()) {
104 // If the channel or version is missing, the image is not official.
105 // In this case, set the channel to unknown and the version to 0.0.0.0 to
107 channel = "";
127 profile_.channel = ProtoChannelFromString(channel);
163 profile_proto->set_channel(profile_.channel);
185 const std::string& channel) {
186 if (channel == "stable-channel") {
188 } else if (channel == "dev-channel") {
190 } else if (channel == "beta-channel") {
192 } else if (channel == "canary-channel") {
196 DLOG(INFO) << "unknown channel: " << channel;