/external/chromium_org/chrome/browser/extensions/activity_log/ |
D | activity_log_enabled_unittest.cc | 54 profile->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 59 profile->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 79 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 81 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 97 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 99 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 101 profile3->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 110 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 112 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() 114 profile3->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F() [all …]
|
/external/chromium_org/cc/test/ |
D | layer_tree_json_parser.cc | 30 success &= list->GetInteger(0, &width); in ParseTreeFromValue() 31 success &= list->GetInteger(1, &height); in ParseTreeFromValue() 48 success &= list->GetInteger(0, &aperture_x); in ParseTreeFromValue() 49 success &= list->GetInteger(1, &aperture_y); in ParseTreeFromValue() 50 success &= list->GetInteger(2, &aperture_width); in ParseTreeFromValue() 51 success &= list->GetInteger(3, &aperture_height); in ParseTreeFromValue() 61 success &= list->GetInteger(0, &border_x); in ParseTreeFromValue() 62 success &= list->GetInteger(1, &border_y); in ParseTreeFromValue() 63 success &= list->GetInteger(2, &border_width); in ParseTreeFromValue() 64 success &= list->GetInteger(3, &border_height); in ParseTreeFromValue() [all …]
|
/external/chromium/chrome/browser/metrics/ |
D | metrics_log.cc | 128 pref->GetInteger( in WriteStabilityElement() 134 pref->GetInteger(prefs::kStabilityBreakpadRegistrationSuccess)); in WriteStabilityElement() 137 pref->GetInteger(prefs::kStabilityBreakpadRegistrationFail)); in WriteStabilityElement() 140 pref->GetInteger(prefs::kStabilityDebuggerPresent)); in WriteStabilityElement() 143 pref->GetInteger(prefs::kStabilityDebuggerNotPresent)); in WriteStabilityElement() 172 plugin_dict->GetInteger(prefs::kStabilityPluginLaunches, &launches); in WritePluginStabilityElements() 176 plugin_dict->GetInteger(prefs::kStabilityPluginInstances, &instances); in WritePluginStabilityElements() 180 plugin_dict->GetInteger(prefs::kStabilityPluginCrashes, &crashes); in WritePluginStabilityElements() 192 pref->GetInteger(prefs::kStabilityLaunchCount)); in WriteRequiredStabilityAttributes() 195 pref->GetInteger(prefs::kStabilityCrashCount)); in WriteRequiredStabilityAttributes() [all …]
|
D | metrics_service_uitest.cc | 70 EXPECT_EQ(1, local_state->GetInteger(prefs::kStabilityLaunchCount)); in TEST_F() 71 EXPECT_EQ(3, local_state->GetInteger(prefs::kStabilityPageLoadCount)); in TEST_F() 72 EXPECT_EQ(0, local_state->GetInteger(prefs::kStabilityRendererCrashCount)); in TEST_F() 113 EXPECT_EQ(1, local_state->GetInteger(prefs::kStabilityLaunchCount)); in TEST_F() 114 EXPECT_EQ(4, local_state->GetInteger(prefs::kStabilityPageLoadCount)); in TEST_F() 115 EXPECT_EQ(1, local_state->GetInteger(prefs::kStabilityRendererCrashCount)); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/display/ |
D | display_preferences_unittest.cc | 229 EXPECT_TRUE(property->GetInteger("rotation", &rotation)); in TEST_F() 230 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale)); in TEST_F() 236 EXPECT_FALSE(property->GetInteger("width", &width)); in TEST_F() 237 EXPECT_FALSE(property->GetInteger("height", &height)); in TEST_F() 240 EXPECT_TRUE(property->GetInteger("insets_top", &top)); in TEST_F() 241 EXPECT_TRUE(property->GetInteger("insets_left", &left)); in TEST_F() 242 EXPECT_TRUE(property->GetInteger("insets_bottom", &bottom)); in TEST_F() 243 EXPECT_TRUE(property->GetInteger("insets_right", &right)); in TEST_F() 250 EXPECT_TRUE(property->GetInteger("rotation", &rotation)); in TEST_F() 251 EXPECT_TRUE(property->GetInteger("ui-scale", &ui_scale)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/metrics/ |
D | metrics_service_browsertest.cc | 73 EXPECT_EQ(1, prefs->GetInteger(prefs::kStabilityLaunchCount)); in IN_PROC_BROWSER_TEST_F() 74 EXPECT_EQ(3, prefs->GetInteger(prefs::kStabilityPageLoadCount)); in IN_PROC_BROWSER_TEST_F() 75 EXPECT_EQ(0, prefs->GetInteger(prefs::kStabilityRendererCrashCount)); in IN_PROC_BROWSER_TEST_F() 104 while (!prefs->GetInteger(prefs::kStabilityRendererCrashCount)) { in IN_PROC_BROWSER_TEST_F() 109 EXPECT_EQ(1, prefs->GetInteger(prefs::kStabilityLaunchCount)); in IN_PROC_BROWSER_TEST_F() 110 EXPECT_EQ(4, prefs->GetInteger(prefs::kStabilityPageLoadCount)); in IN_PROC_BROWSER_TEST_F() 111 EXPECT_EQ(1, prefs->GetInteger(prefs::kStabilityRendererCrashCount)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | window_size_autosaver_unittest.mm | 105 EXPECT_FALSE(windowPref->GetInteger("left", &x)); 106 EXPECT_FALSE(windowPref->GetInteger("right", &x)); 107 EXPECT_FALSE(windowPref->GetInteger("top", &x)); 108 EXPECT_FALSE(windowPref->GetInteger("bottom", &x)); 109 ASSERT_TRUE(windowPref->GetInteger("x", &x)); 110 ASSERT_TRUE(windowPref->GetInteger("y", &y)); 164 EXPECT_FALSE(windowPref->GetInteger("x", &x1)); 165 EXPECT_FALSE(windowPref->GetInteger("y", &x1)); 166 ASSERT_TRUE(windowPref->GetInteger("left", &x1)); 167 ASSERT_TRUE(windowPref->GetInteger("right", &x2)); [all …]
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | window_size_autosaver_unittest.mm | 100 EXPECT_FALSE(windowPref->GetInteger("left", &x)); 101 EXPECT_FALSE(windowPref->GetInteger("right", &x)); 102 EXPECT_FALSE(windowPref->GetInteger("top", &x)); 103 EXPECT_FALSE(windowPref->GetInteger("bottom", &x)); 104 ASSERT_TRUE(windowPref->GetInteger("x", &x)); 105 ASSERT_TRUE(windowPref->GetInteger("y", &y)); 159 EXPECT_FALSE(windowPref->GetInteger("x", &x1)); 160 EXPECT_FALSE(windowPref->GetInteger("y", &x1)); 161 ASSERT_TRUE(windowPref->GetInteger("left", &x1)); 162 ASSERT_TRUE(windowPref->GetInteger("right", &x2)); [all …]
|
/external/chromium_org/chrome/browser/chromeos/power/ |
D | power_prefs_unittest.cc | 99 prefs->GetInteger(prefs::kPowerAcScreenDimDelayMs)); in GetExpectedPowerPolicyForProfile() 101 prefs->GetInteger(prefs::kPowerAcScreenOffDelayMs)); in GetExpectedPowerPolicyForProfile() 103 prefs->GetInteger(prefs::kPowerAcScreenLockDelayMs)); in GetExpectedPowerPolicyForProfile() 105 prefs->GetInteger(prefs::kPowerAcIdleWarningDelayMs)); in GetExpectedPowerPolicyForProfile() 107 prefs->GetInteger(prefs::kPowerAcIdleDelayMs)); in GetExpectedPowerPolicyForProfile() 109 prefs->GetInteger(prefs::kPowerBatteryScreenDimDelayMs)); in GetExpectedPowerPolicyForProfile() 111 prefs->GetInteger(prefs::kPowerBatteryScreenOffDelayMs)); in GetExpectedPowerPolicyForProfile() 113 prefs->GetInteger(prefs::kPowerBatteryScreenLockDelayMs)); in GetExpectedPowerPolicyForProfile() 115 prefs->GetInteger(prefs::kPowerBatteryIdleWarningDelayMs)); in GetExpectedPowerPolicyForProfile() 117 prefs->GetInteger(prefs::kPowerBatteryIdleDelayMs)); in GetExpectedPowerPolicyForProfile() [all …]
|
D | power_prefs.cc | 111 prefs->GetInteger(prefs::kPowerAcScreenDimDelayMs); in UpdatePowerPolicyFromPrefs() 113 prefs->GetInteger(prefs::kPowerAcScreenOffDelayMs); in UpdatePowerPolicyFromPrefs() 115 prefs->GetInteger(prefs::kPowerAcScreenLockDelayMs); in UpdatePowerPolicyFromPrefs() 117 prefs->GetInteger(prefs::kPowerAcIdleWarningDelayMs); in UpdatePowerPolicyFromPrefs() 119 prefs->GetInteger(prefs::kPowerAcIdleDelayMs); in UpdatePowerPolicyFromPrefs() 121 prefs->GetInteger(prefs::kPowerBatteryScreenDimDelayMs); in UpdatePowerPolicyFromPrefs() 123 prefs->GetInteger(prefs::kPowerBatteryScreenOffDelayMs); in UpdatePowerPolicyFromPrefs() 125 prefs->GetInteger(prefs::kPowerBatteryScreenLockDelayMs); in UpdatePowerPolicyFromPrefs() 127 prefs->GetInteger(prefs::kPowerBatteryIdleWarningDelayMs); in UpdatePowerPolicyFromPrefs() 129 prefs->GetInteger(prefs::kPowerBatteryIdleDelayMs); in UpdatePowerPolicyFromPrefs() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | extension_page_actions_module.cc | 44 EXTENSION_FUNCTION_VALIDATE(action->GetInteger(keys::kTabIdKey, &tab_id)); in SetPageActionEnabled() 55 EXTENSION_FUNCTION_VALIDATE(action->GetInteger(keys::kIconIdKey, in SetPageActionEnabled() 122 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id)); in SetVisible() 152 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id)); in RunImpl() 167 } else if (args->GetInteger("iconIndex", &icon_index)) { in RunImpl() 188 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id)); in RunImpl() 205 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id)); in RunImpl() 230 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id)); in RunImpl() 240 EXTENSION_FUNCTION_VALIDATE(color_value->GetInteger(i, &color_array[i])); in RunImpl() 256 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id)); in RunImpl() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
D | tabs_test.cc | 67 EXPECT_EQ(window_id, utils::GetInteger(result.get(), "id")); in IN_PROC_BROWSER_TEST_F() 70 EXPECT_EQ(bounds.x(), utils::GetInteger(result.get(), "left")); in IN_PROC_BROWSER_TEST_F() 71 EXPECT_EQ(bounds.y(), utils::GetInteger(result.get(), "top")); in IN_PROC_BROWSER_TEST_F() 72 EXPECT_EQ(bounds.width(), utils::GetInteger(result.get(), "width")); in IN_PROC_BROWSER_TEST_F() 73 EXPECT_EQ(bounds.height(), utils::GetInteger(result.get(), "height")); in IN_PROC_BROWSER_TEST_F() 84 EXPECT_EQ(window_id, utils::GetInteger(result.get(), "id")); in IN_PROC_BROWSER_TEST_F() 155 EXPECT_EQ(new_id, utils::GetInteger(result.get(), "id")); in IN_PROC_BROWSER_TEST_F() 169 EXPECT_EQ(window_id, utils::GetInteger(result.get(), "id")); in IN_PROC_BROWSER_TEST_F() 198 result_ids.insert(utils::GetInteger(result_window, "id")); in IN_PROC_BROWSER_TEST_F() 220 result_ids.insert(utils::GetInteger(result_window, "id")); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium/chrome/browser/prefs/ |
D | pref_service_uitest.cc | 116 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom", in TEST_F() 121 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top", in TEST_F() 126 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left", in TEST_F() 131 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".right", in TEST_F() 178 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom", in TEST_F() 183 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top", in TEST_F() 188 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left", in TEST_F() 193 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".right", in TEST_F()
|
/external/chromium_org/chrome/browser/prefs/ |
D | pref_service_browsertest.cc | 144 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom", in IN_PROC_BROWSER_TEST_F() 149 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top", in IN_PROC_BROWSER_TEST_F() 154 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left", in IN_PROC_BROWSER_TEST_F() 159 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".right", in IN_PROC_BROWSER_TEST_F() 208 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom", in IN_PROC_BROWSER_TEST_F() 213 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top", in IN_PROC_BROWSER_TEST_F() 218 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left", in IN_PROC_BROWSER_TEST_F() 223 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".right", in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | login_screen_power_management_policy.cc | 56 scoped_ptr<base::Value> GetInteger(const base::DictionaryValue* dict, in GetInteger() function 130 screen_dim_delay_ac_ = GetInteger(dict, kScreenDimDelayAC, 0, errors); in Init() 131 screen_off_delay_ac_ = GetInteger(dict, kScreenOffDelayAC, 0, errors); in Init() 132 idle_delay_ac_ = GetInteger(dict, kIdleDelayAC, 0, errors); in Init() 134 GetInteger(dict, kScreenDimDelayBattery, 0, errors); in Init() 136 GetInteger(dict, kScreenOffDelayBattery, 0, errors); in Init() 137 idle_delay_battery_ = GetInteger(dict, kIdleDelayBattery, 0, errors); in Init() 142 GetInteger(dict, kUserActivityScreenDimDelayScale, 100, errors); in Init()
|
/external/chromium_org/chrome/browser/web_resource/ |
D | notification_promo.cc | 247 grouping->GetInteger("buckets", &num_groups_); in InitFromJson() 248 grouping->GetInteger("segment", &initial_segment_); in InitFromJson() 249 grouping->GetInteger("increment", &increment_); in InitFromJson() 250 grouping->GetInteger("increment_frequency", &time_slice_); in InitFromJson() 251 grouping->GetInteger("increment_max", &max_group_); in InitFromJson() 282 promo->GetInteger("max_views", &max_views_); in InitFromJson() 382 ntp_promo->GetInteger(kPrefPromoNumGroups, &num_groups_); in InitFromPrefs() 383 ntp_promo->GetInteger(kPrefPromoSegment, &initial_segment_); in InitFromPrefs() 384 ntp_promo->GetInteger(kPrefPromoIncrement, &increment_); in InitFromPrefs() 385 ntp_promo->GetInteger(kPrefPromoIncrementFrequency, &time_slice_); in InitFromPrefs() [all …]
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
D | screen_context_unittest.cc | 57 ASSERT_EQ(1, context().GetInteger("key1", 1)); in TEST_F() 61 ASSERT_EQ(2, context().GetInteger("key1")); in TEST_F() 62 ASSERT_EQ(2, context().GetInteger("key1", 1)); in TEST_F() 70 ASSERT_EQ(2, context().GetInteger("key0")); in TEST_F() 79 rv = changes.GetInteger("key0", &value); in TEST_F() 85 ASSERT_EQ(3, context().GetInteger("key0", 3)); in TEST_F() 153 ASSERT_EQ(1, context().GetInteger("key1")); in TEST_F()
|
/external/chromium_org/chrome/renderer/ |
D | chrome_mock_render_thread.cc | 173 !job_settings.GetInteger(printing::kSettingColor, NULL) || in OnUpdatePrintSettings() 177 !job_settings.GetInteger(printing::kSettingDuplexMode, NULL) || in OnUpdatePrintSettings() 178 !job_settings.GetInteger(printing::kSettingCopies, NULL) || in OnUpdatePrintSettings() 179 !job_settings.GetInteger(printing::kPreviewUIID, NULL) || in OnUpdatePrintSettings() 180 !job_settings.GetInteger(printing::kPreviewRequestID, NULL) || in OnUpdatePrintSettings() 181 !job_settings.GetInteger(printing::kSettingMarginsType, &margins_type)) { in OnUpdatePrintSettings() 194 if (!dict->GetInteger(printing::kSettingPageRangeFrom, &range.from) || in OnUpdatePrintSettings() 195 !dict->GetInteger(printing::kSettingPageRangeTo, &range.to)) { in OnUpdatePrintSettings()
|
/external/chromium_org/chrome/browser/extensions/ |
D | default_apps_unittest.cc | 53 int state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F() 58 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F() 66 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F() 73 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F() 90 state = profile->GetPrefs()->GetInteger(prefs::kDefaultAppsInstallState); in TEST_F()
|
/external/chromium_org/gpu/tools/compositor_model_bench/ |
D | render_tree.cc | 198 node->GetInteger("layerID", &layerID); in InterpretCommonContents() 201 node->GetInteger("width", &width); in InterpretCommonContents() 204 node->GetInteger("height", &height); in InterpretCommonContents() 210 node->GetInteger("targetSurfaceID", &targetSurface); in InterpretCommonContents() 243 dim->GetInteger(0, &tile_width); in InterpretCommonContents() 246 dim->GetInteger(1, &tile_height); in InterpretCommonContents() 264 tdict->GetInteger("x", &t.x); in InterpretCommonContents() 265 tdict->GetInteger("y", &t.y); in InterpretCommonContents() 269 tdict->GetInteger("texID", &t.texID); in InterpretCommonContents() 306 tex->GetInteger("texID", &t.texID); in InterpretCCData() [all …]
|
/external/chromium/chrome/browser/importer/ |
D | firefox_proxy_settings.cc | 169 if (!dictionary.GetInteger(kNetworkProxyTypeKey, &proxy_type)) in GetSettingsFromFile() 184 if (!dictionary.GetInteger(kHTTPProxyPortKey, in GetSettingsFromFile() 190 if (!dictionary.GetInteger(kSSLProxyPortKey, &(settings->ssl_proxy_port_))) in GetSettingsFromFile() 194 if (!dictionary.GetInteger(kFTPProxyPortKey, &(settings->ftp_proxy_port_))) in GetSettingsFromFile() 198 if (!dictionary.GetInteger(kGopherProxyPortKey, in GetSettingsFromFile() 204 if (!dictionary.GetInteger(kSOCKSHostPortKey, &(settings->socks_port_))) in GetSettingsFromFile() 207 if (dictionary.GetInteger(kSOCKSVersionKey, &socks_version)) in GetSettingsFromFile()
|
/external/chromium_org/chrome/browser/extensions/api/input/ |
D | input.cc | 55 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &swipe_direction)); in RunImpl() 56 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, &modifier_flags)); in RunImpl() 81 EXTENSION_FUNCTION_VALIDATE(params->GetInteger("charValue", &char_value)); in RunImpl() 82 EXTENSION_FUNCTION_VALIDATE(params->GetInteger("keyCode", &key_code)); in RunImpl() 84 EXTENSION_FUNCTION_VALIDATE(params->GetInteger("modifiers", &modifiers)); in RunImpl()
|
/external/chromium_org/content/browser/media/ |
D | webrtc_internals.cc | 80 dict->GetInteger("pid", &this_pid); in OnRemovePeerConnection() 81 dict->GetInteger("lid", &this_lid); in OnRemovePeerConnection() 107 record->GetInteger("pid", &this_pid); in OnUpdatePeerConnection() 108 record->GetInteger("lid", &this_lid); in OnUpdatePeerConnection() 216 record->GetInteger("rid", &this_rid); in OnRendererExit() 221 record->GetInteger("lid", &lid); in OnRendererExit() 222 record->GetInteger("pid", &pid); in OnRendererExit()
|
D | webrtc_internals_unittest.cc | 87 EXPECT_TRUE(dict->GetInteger("pid", &int_value)); in TEST_F() 89 EXPECT_TRUE(dict->GetInteger("lid", &int_value)); in TEST_F() 117 EXPECT_TRUE(dict->GetInteger("pid", &int_value)); in TEST_F() 119 EXPECT_TRUE(dict->GetInteger("lid", &int_value)); in TEST_F() 143 EXPECT_TRUE(dict->GetInteger("pid", &int_value)); in TEST_F() 145 EXPECT_TRUE(dict->GetInteger("lid", &int_value)); in TEST_F()
|
/external/chromium/chrome/browser/ui/webui/ |
D | shown_sections_handler.cc | 48 return prefs->GetInteger(prefs::kNTPShownSections); in GetShownSections() 79 int sections = pref_service_->GetInteger(prefs::kNTPShownSections); in Observe() 97 int old_mode = pref_service_->GetInteger(prefs::kNTPShownSections); in HandleSetShownSections() 127 int shown_sections = pref_service->GetInteger(prefs::kNTPShownSections); in MigrateUserPrefs() 149 int mode = prefs->GetInteger(prefs::kNTPShownSections); in OnExtensionInstalled()
|