Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc368 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false); in TEST_F()
373 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true); in TEST_F()
379 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, false); in TEST_F()
381 fake_prefs_.SetBoolean(chromeos_update_engine::kPrefsP2PEnabled, true); in TEST_F()
383 fake_prefs_.Delete(chromeos_update_engine::kPrefsP2PEnabled); in TEST_F()
Dreal_updater_provider.cc461 chromeos_update_engine::kPrefsP2PEnabled, in RealUpdaterProvider()
/system/update_engine/common/
Dconstants.cc63 const char kPrefsP2PEnabled[] = "p2p-enabled"; variable
Dconstants.h66 extern const char kPrefsP2PEnabled[];
/system/update_engine/
Dcommon_service.cc253 if (!prefs->SetBoolean(kPrefsP2PEnabled, in_enabled)) { in SetP2PUpdatePermission()
269 if (prefs->Exists(kPrefsP2PEnabled) && in GetP2PUpdatePermission()
270 !prefs->GetBoolean(kPrefsP2PEnabled, &p2p_pref)) { in GetP2PUpdatePermission()