Home
last modified time | relevance | path

Searched refs:kPrefsP2PEnabled (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/common/
Dconstants.cc63 const char kPrefsP2PEnabled[] = "p2p-enabled"; variable
Dconstants.h68 extern const char kPrefsP2PEnabled[];
/system/update_engine/cros/
Dcommon_service.cc250 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()
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc364 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()
Dreal_updater_provider.cc486 "p2p_enabled", chromeos_update_engine::kPrefsP2PEnabled, false)), in RealUpdaterProvider()