Searched refs:is_allowed (Results 1 – 2 of 2) sorted by relevance
353 bool is_allowed; in GetUpdateOverCellularPermission() local355 if (!prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed)) { in GetUpdateOverCellularPermission()361 *out_allowed = is_allowed; in GetUpdateOverCellularPermission()
1806 bool is_allowed; in IsUpdateAllowedOverCellularByPrefs() local1809 prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed) && in IsUpdateAllowedOverCellularByPrefs()1810 is_allowed) { in IsUpdateAllowedOverCellularByPrefs()1862 bool is_allowed = connection_manager->IsUpdateAllowedOver(type, tethering); in IsUpdateAllowedOverCurrentConnection() local1872 if (!is_allowed) in IsUpdateAllowedOverCurrentConnection()1877 if (!is_allowed) in IsUpdateAllowedOverCurrentConnection()1882 is_allowed = IsUpdateAllowedOverCellularByPrefs(response); in IsUpdateAllowedOverCurrentConnection()1883 if (!is_allowed) in IsUpdateAllowedOverCurrentConnection()1889 << ", Updates allowed: " << (is_allowed ? "Yes" : "No"); in IsUpdateAllowedOverCurrentConnection()1890 return is_allowed; in IsUpdateAllowedOverCurrentConnection()