Searched refs:kPrefsP2PEnabled (Results 1 – 5 of 5) sorted by relevance
63 const char kPrefsP2PEnabled[] = "p2p-enabled"; variable
68 extern const char kPrefsP2PEnabled[];
250 if (!SystemState::Get()->prefs()->SetBoolean(kPrefsP2PEnabled, in_enabled)) { in SetP2PUpdatePermission()265 if (prefs->Exists(kPrefsP2PEnabled) && in GetP2PUpdatePermission()266 !prefs->GetBoolean(kPrefsP2PEnabled, &p2p_pref)) { in GetP2PUpdatePermission()
364 chromeos_update_engine::kPrefsP2PEnabled, false); in TEST_F()370 chromeos_update_engine::kPrefsP2PEnabled, true); in TEST_F()378 fake_prefs->SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false); in TEST_F()380 fake_prefs->SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true); in TEST_F()382 fake_prefs->Delete(chromeos_update_engine::kPrefsP2PEnabled); in TEST_F()
486 "p2p_enabled", chromeos_update_engine::kPrefsP2PEnabled, false)), in RealUpdaterProvider()