Home
last modified time | relevance | path

Searched refs:GetAsBoolean (Results 1 – 25 of 95) sorted by relevance

1234

/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_settings_provider.cc230 if (value->GetAsBoolean(&allow_value)) in SetInPolicy()
238 if (value->GetAsBoolean(&guest_value)) in SetInPolicy()
246 if (value->GetAsBoolean(&show_value)) in SetInPolicy()
307 if (value->GetAsBoolean(&enabled)) in SetInPolicy()
316 if (value->GetAsBoolean(&should_prompt)) in SetInPolicy()
324 if (value->GetAsBoolean(&roaming_value)) in SetInPolicy()
341 if (value->GetAsBoolean(&metrics_value)) in SetInPolicy()
363 if (value->GetAsBoolean(&ephemeral_users_enabled_value)) { in SetInPolicy()
373 if (value->GetAsBoolean(&allow_redeem_offers_value)) { in SetInPolicy()
397 if (value->GetAsBoolean(&use_24hour_clock_value)) { in SetInPolicy()
[all …]
Ddevice_settings_provider_unittest.cc83 EXPECT_TRUE(value->GetAsBoolean(&bool_value)); in TEST_F()
136 EXPECT_TRUE(saved_value->GetAsBoolean(&bool_value)); in TEST_F()
164 EXPECT_TRUE(saved_value->GetAsBoolean(&bool_value)); in TEST_F()
260 EXPECT_TRUE(saved_value->GetAsBoolean(&bool_value)); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/notifications/
Dnotifications_apitest.cc100 ASSERT_TRUE(result->GetAsBoolean(&copy_bool_value)); in IN_PROC_BROWSER_TEST_F()
133 ASSERT_TRUE(result->GetAsBoolean(&copy_bool_value)); in IN_PROC_BROWSER_TEST_F()
154 ASSERT_TRUE(result->GetAsBoolean(&copy_bool_value)); in IN_PROC_BROWSER_TEST_F()
175 ASSERT_TRUE(result->GetAsBoolean(&copy_bool_value)); in IN_PROC_BROWSER_TEST_F()
549 EXPECT_TRUE(result->GetAsBoolean(&copy_bool_value)); in IN_PROC_BROWSER_TEST_F()
688 ASSERT_TRUE(result->GetAsBoolean(&copy_bool_value)); in IN_PROC_BROWSER_TEST_F()
714 ASSERT_TRUE(result->GetAsBoolean(&copy_bool_value)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/sessions/
Drestore_on_startup_policy_handler.cc55 if (!homepage_is_new_tab_page_value->GetAsBoolean(&homepage_is_new_tab_page)) in ApplyPolicySettingsFromHomePage()
109 if (exit_policy && exit_policy->GetAsBoolean(&exit_value) && in CheckPolicySettings()
/external/chromium_org/chrome/browser/prefs/
Dchrome_pref_service_unittest.cc44 EXPECT_TRUE(value->GetAsBoolean(&actual_bool_value)); in TEST()
59 EXPECT_TRUE(value->GetAsBoolean(&actual_bool_value)); in TEST()
/external/chromium_org/chrome/browser/chromeos/login/
Dscreen_locker_tester.cc149 ASSERT_TRUE(v->GetAsBoolean(&result)); in EnterPassword()
157 ASSERT_TRUE(v->GetAsBoolean(&result)); in EnterPassword()
/external/chromium_org/chrome/browser/policy/
Dautofill_policy_handler.cc26 if (value && value->GetAsBoolean(&auto_fill_enabled) && !auto_fill_enabled) { in ApplyPolicySettings()
Dfile_selection_dialogs_policy_handler.cc26 if (value && value->GetAsBoolean(&allow_dialogs)) { in ApplyPolicySettings()
Dfile_selection_dialogs_policy_handler_unittest.cc55 bool result = value->GetAsBoolean(&prompt_for_download); in TEST_F()
Dconfiguration_policy_pref_store_unittest.cc116 bool result = value->GetAsBoolean(&boolean_value); in TEST_F()
126 result = value->GetAsBoolean(&boolean_value); in TEST_F()
Dautofill_policy_handler_unittest.cc57 bool result = value->GetAsBoolean(&autofill_enabled); in TEST_F()
Djavascript_policy_handler.cc64 javascript_enabled->GetAsBoolean(&enabled) && in ApplyPolicySettings()
/external/chromium_org/chrome/browser/sync/
Dsync_policy_handler.cc26 if (value && value->GetAsBoolean(&disable_sync) && disable_sync) in ApplyPolicySettings()
Dsync_policy_handler_unittest.cc57 bool result = value->GetAsBoolean(&sync_managed); in TEST_F()
/external/chromium/chrome/common/
Djson_pref_store_unittest.cc126 EXPECT_TRUE(actual->GetAsBoolean(&boolean)); in TEST_F()
133 EXPECT_TRUE(actual->GetAsBoolean(&boolean)); in TEST_F()
/external/chromium_org/chrome/browser/download/
Ddownload_dir_policy_handler_unittest.cc39 bool result = value->GetAsBoolean(&prompt_for_download); in TEST_F()
/external/chromium/base/
Dvalues.cc102 bool Value::GetAsBoolean(bool* out_value) const { in GetAsBoolean() function in Value
167 bool FundamentalValue::GetAsBoolean(bool* out_value) const { in GetAsBoolean() function in FundamentalValue
209 return GetAsBoolean(&lhs) && other->GetAsBoolean(&rhs) && lhs == rhs; in Equals()
421 return value->GetAsBoolean(bool_value); in GetBoolean()
734 return value->GetAsBoolean(bool_value); in GetBoolean()
/external/chromium/chrome/browser/chromeos/
Dmetrics_cros_settings_provider.cc26 CHECK(value->GetAsBoolean(&enabled)); in DoSet()
/external/chromium_org/base/
Dvalues.cc117 bool Value::GetAsBoolean(bool* out_value) const { in GetAsBoolean() function in base::Value
205 bool FundamentalValue::GetAsBoolean(bool* out_value) const { in GetAsBoolean() function in base::FundamentalValue
249 return GetAsBoolean(&lhs) && other->GetAsBoolean(&rhs) && lhs == rhs; in Equals()
497 return value->GetAsBoolean(bool_value); in GetBoolean()
636 return value->GetAsBoolean(out_value); in GetBooleanWithoutPathExpansion()
894 return value->GetAsBoolean(bool_value); in GetBoolean()
/external/chromium_org/remoting/host/
Din_memory_host_config.cc56 } else if (it.value().GetAsBoolean(&bool_value)) { in CopyFrom()
/external/chromium_org/chrome/browser/profiles/
Dincognito_mode_policy_handler.cc81 if (deprecated_enabled->GetAsBoolean(&enabled)) { in ApplyPolicySettings()
/external/chromium_org/chrome/browser/ui/webui/
Dinspect_ui.cc316 value->GetAsBoolean(&enabled); in UpdateDiscoverUsbDevicesEnabled()
347 GetAsBoolean(&default_set) || default_set) { in SetPortForwardingDefaults()
358 GetAsBoolean(&enabled) || in SetPortForwardingDefaults()
Dweb_ui_test_handler.cc93 ASSERT_TRUE(result->GetAsBoolean(&run_test_succeeded_)); in JavaScriptComplete()
/external/chromium_org/extensions/common/manifest_handlers/
Dbackground_info.cc208 if (!background_persistent->GetAsBoolean(&is_persistent_)) { in LoadBackgroundPersistent()
229 !allow_js_access->GetAsBoolean(&allow_js_access_)) { in LoadAllowJSAccess()
/external/chromium_org/base/prefs/
Djson_pref_store_unittest.cc120 EXPECT_TRUE(actual->GetAsBoolean(&boolean)); in RunBasicJsonPrefStoreTest()
125 EXPECT_TRUE(actual->GetAsBoolean(&boolean)); in RunBasicJsonPrefStoreTest()

1234