Searched refs:is_allowed (Results 1 – 2 of 2) sorted by relevance
359 bool is_allowed; in GetUpdateOverCellularPermission() local361 if (!prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed)) { in GetUpdateOverCellularPermission()367 *out_allowed = is_allowed; in GetUpdateOverCellularPermission()
1547 bool is_allowed; in IsUpdateAllowedOverCellularByPrefs() local1550 prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed) && in IsUpdateAllowedOverCellularByPrefs()1551 is_allowed) { in IsUpdateAllowedOverCellularByPrefs()1603 bool is_allowed = connection_manager->IsUpdateAllowedOver(type, tethering); in IsUpdateAllowedOverCurrentConnection() local1613 if (!is_allowed) in IsUpdateAllowedOverCurrentConnection()1618 if (!is_allowed) in IsUpdateAllowedOverCurrentConnection()1623 is_allowed = IsUpdateAllowedOverCellularByPrefs(response); in IsUpdateAllowedOverCurrentConnection()1624 if (!is_allowed) in IsUpdateAllowedOverCurrentConnection()1630 << ", Updates allowed: " << (is_allowed ? "Yes" : "No"); in IsUpdateAllowedOverCurrentConnection()1631 return is_allowed; in IsUpdateAllowedOverCurrentConnection()