Searched refs:GetMachineStatistic (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/chromeos/system/
H A Dmock_statistics_provider.h23 MOCK_METHOD2(GetMachineStatistic, bool(const std::string& name,
H A Dstatistics_provider.h66 virtual bool GetMachineStatistic(const std::string& name,
69 // Similar to GetMachineStatistic for boolean flags.
H A Dstatistics_provider.cc70 // Key values for GetMachineStatistic()/GetMachineFlag() calls.
95 virtual bool GetMachineStatistic(const std::string& name,
154 bool StatisticsProviderImpl::GetMachineStatistic(const std::string& name, function in class:chromeos::system::StatisticsProviderImpl
158 LOG(ERROR) << "GetMachineStatistic called before load started: " << name;
/external/chromium_org/chrome/browser/chromeos/policy/
H A Ddevice_cloud_policy_manager_chromeos.cc67 std::string GetMachineStatistic(const std::string& key) { function in namespace:policy::__anon3408
71 if (!provider->GetMachineStatistic(key, &value))
190 if (provider->GetMachineStatistic(kMachineInfoSerialNumberKeys[i],
205 return GetMachineStatistic(chromeos::system::kHardwareClassKey);
241 GetMachineStatistic(chromeos::system::kOemDeviceRequisitionKey);
H A Ddevice_status_collector_browsertest.cc168 EXPECT_CALL(statistics_provider_, GetMachineStatistic(_, NotNull()))
521 GetMachineStatistic("devsw_boot", NotNull()))
530 GetMachineStatistic("devsw_boot", NotNull()))
540 GetMachineStatistic("devsw_boot", NotNull()))
546 GetMachineStatistic("devsw_boot", NotNull()))
552 GetMachineStatistic("devsw_boot", NotNull()))
558 GetMachineStatistic("devsw_boot", NotNull()))
H A Ddevice_cloud_policy_manager_chromeos_unittest.cc78 GetMachineStatistic(_, _))
81 GetMachineStatistic("serial_number", _))
H A Ddevice_status_collector.cc349 if (statistics_provider_->GetMachineStatistic(
/external/chromium_org/chrome/browser/chromeos/
H A Dcustomization_document_unittest.cc112 EXPECT_CALL(mock_statistics_provider, GetMachineStatistic(_, NotNull()))
115 GetMachineStatistic(std::string("hardware_class"), NotNull()))
135 GetMachineStatistic(std::string("hardware_class"), NotNull()))
139 GetMachineStatistic(std::string("initial_locale"), NotNull()))
143 GetMachineStatistic(std::string("initial_timezone"), NotNull()))
147 GetMachineStatistic(std::string("keyboard_layout"), NotNull()))
224 EXPECT_CALL(mock_statistics_provider_, GetMachineStatistic(_, NotNull()))
269 GetMachineStatistic(system::kCustomizationIdKey, NotNull()))
H A Dcustomization_document.cc290 if (statistics_provider->GetMachineStatistic(
324 statistics_provider->GetMachineStatistic(kInitialLocaleAttr,
326 statistics_provider->GetMachineStatistic(kInitialTimezoneAttr,
328 statistics_provider->GetMachineStatistic(kKeyboardLayoutAttr,
514 if (provider->GetMachineStatistic(system::kCustomizationIdKey,
/external/chromium_org/chrome/browser/policy/
H A Ddevice_management_service_configuration.cc49 if (!provider->GetMachineStatistic(chromeos::system::kHardwareClassKey,
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dinfo_private_api.cc161 provider->GetMachineStatistic(chromeos::system::kHardwareClassKey, &hwid);
167 provider->GetMachineStatistic(chromeos::system::kCustomizationIdKey,
H A Decho_private_api.cc81 provider->GetMachineStatistic(chromeos::system::kOffersCouponCodeKey,
84 provider->GetMachineStatistic(chromeos::system::kOffersGroupCodeKey,
/external/chromium_org/chrome/browser/extensions/
H A Dexternal_provider_impl_chromeos_unittest.cc75 EXPECT_CALL(mock_statistics_provider_, GetMachineStatistic(_, NotNull()))
H A Dexternal_provider_impl_unittest.cc105 EXPECT_CALL(mock_statistics_provider_, GetMachineStatistic(_, NotNull()))
/external/chromium_org/chrome/browser/google/
H A Dgoogle_brand_chromeos.cc70 const bool found = provider->GetMachineStatistic(
/external/chromium_org/chrome/browser/chromeos/login/
H A Dhwid_checker.cc123 if (!stats->GetMachineStatistic(chromeos::system::kHardwareClassKey, &hwid)) {
H A Doobe_localization_browsertest.cc67 virtual bool GetMachineStatistic(const std::string& name,
/external/chromium_org/chrome/browser/metrics/
H A Dchromeos_metrics_provider.cc152 chromeos::system::StatisticsProvider::GetInstance()->GetMachineStatistic(
/external/chromium_org/chrome/browser/chromeos/imageburner/
H A Dburn_manager.cc559 GetMachineStatistic(system::kHardwareClassKey, &hwid)) {
/external/chromium_org/chrome/browser/media/
H A Dwebrtc_logging_handler_host.cc477 GetMachineStatistic(chromeos::system::kHardwareClassKey, &computer_model);

Completed in 1534 milliseconds