Home
last modified time | relevance | path

Searched refs:machine_state (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chrome/installer/util/
Dproduct_unittest.cc59 installer::InstallationState machine_state; in TEST_F() local
60 machine_state.Initialize(); in TEST_F()
62 installer_state.Initialize(cmd_line, prefs, machine_state); in TEST_F()
80 machine_state.Initialize(); in TEST_F()
81 EXPECT_TRUE(machine_state.GetProductState( in TEST_F()
101 machine_state.Initialize(); in TEST_F()
103 machine_state.GetProductState(system_level, distribution->GetType()); in TEST_F()
118 machine_state.Initialize(); in TEST_F()
120 machine_state.GetProductState(system_level, distribution->GetType()); in TEST_F()
Dinstaller_state.cc35 const InstallationState& machine_state) { in IsMultiInstallUpdate() argument
38 machine_state.GetProductState(level_ == SYSTEM_LEVEL, in IsMultiInstallUpdate()
48 machine_state.GetProductState(level_ == SYSTEM_LEVEL, in IsMultiInstallUpdate()
93 const InstallationState& machine_state) { in Initialize() argument
118 BrowserDistribution::CHROME_BROWSER, prefs, machine_state); in Initialize()
125 BrowserDistribution::CHROME_APP_HOST, prefs, machine_state); in Initialize()
135 const ProductState* chrome_state = machine_state.GetProductState( in Initialize()
140 const ProductState* binaries_state = machine_state.GetProductState( in Initialize()
155 BrowserDistribution::CHROME_BINARIES, prefs, machine_state); in Initialize()
182 const ProductState* product_state = machine_state.GetProductState( in Initialize()
[all …]
Dinstaller_state.h80 const InstallationState& machine_state);
160 const InstallationState& machine_state) const;
174 bool IsChromeFrameRunning(const InstallationState& machine_state) const;
178 bool AreBinariesInUse(const InstallationState& machine_state) const;
237 bool AnyExistsAndIsInUse(const InstallationState& machine_state,
247 const InstallationState& machine_state);
249 const InstallationState& machine_state);
Dinstallation_validator.cc395 const ProductState* binaries_state = ctx.machine_state.GetProductState( in ValidateBinariesCommands()
412 const InstallationState& machine_state, in ValidateBinaries() argument
426 const ProductState* chrome_state = machine_state.GetProductState( in ValidateBinaries()
441 const ProductState* cf_state = machine_state.GetProductState( in ValidateBinaries()
457 const ProductState* app_host_state = machine_state.GetProductState( in ValidateBinaries()
498 ProductContext ctx(machine_state, system_install, binaries_state, in ValidateBinaries()
638 ctx.machine_state.GetProductState(ctx.system_install, in ValidateMultiInstallProduct()
642 if (!ctx.machine_state.GetProductState( in ValidateMultiInstallProduct()
645 !ctx.machine_state.GetProductState( in ValidateMultiInstallProduct()
721 const InstallationState& machine_state, in ValidateProduct() argument
[all …]
Dinstaller_state_unittest.cc80 InstallationState machine_state; in BuildSingleChromeState() local
81 machine_state.Initialize(); in BuildSingleChromeState()
82 installer_state->Initialize(cmd_line, prefs, machine_state); in BuildSingleChromeState()
256 InstallationState machine_state; in TEST_F() local
257 machine_state.Initialize(); in TEST_F()
259 installer_state.Initialize(cmd_line, prefs, machine_state); in TEST_F()
339 InstallationState machine_state; in TEST_F() local
340 machine_state.Initialize(); in TEST_F()
342 installer_state.Initialize(cmd_line, prefs, machine_state); in TEST_F()
364 machine_state.Initialize(); in TEST_F()
[all …]
Dinstallation_validation_helper.cc113 const InstallationState& machine_state, in ExpectValidInstallationForState() argument
120 machine_state, system_level, &found_type)); in ExpectValidInstallationForState()
130 const InstallationState& machine_state, in ExpectInstallationOfTypeForState() argument
133 EXPECT_EQ(type, ExpectValidInstallationForState(machine_state, system_level)); in ExpectInstallationOfTypeForState()
Dinstallation_validation_helper.h26 const InstallationState& machine_state,
38 const InstallationState& machine_state,
Dinstallation_validator.h82 const InstallationState& machine_state,
171 : machine_state(machine_state_in), in ProductContext()
179 const InstallationState& machine_state; member
224 static void ValidateBinaries(const InstallationState& machine_state,
251 static void ValidateProduct(const InstallationState& machine_state,
Dinstallation_validator_unittest.cc554 FakeInstallationState machine_state; in TEST_P() local
560 &machine_state); in TEST_P()
562 machine_state, true, &type)); in TEST_P()
Dgoogle_update_settings.h98 static bool SetEULAConsent(const installer::InstallationState& machine_state,
Dgoogle_update_settings_unittest.cc565 FakeInstallationState machine_state; in TEST_F() local
568 machine_state.AddChrome(system_level, multi_install, in TEST_F()
581 EXPECT_TRUE(GoogleUpdateSettings::SetEULAConsent(machine_state, chrome, in TEST_F()
Dgoogle_update_settings.cc315 const InstallationState& machine_state, in SetEULAConsent() argument
337 machine_state.GetProductState(true, dist->GetType()); in SetEULAConsent()
/external/chromium_org/chrome/installer/setup/
Dinstall_worker_unittest.cc296 const InstallationState& machine_state, in BuildBasicInstallerState() argument
314 const InstallationState& machine_state, in AddChromeBinariesToInstallerState() argument
325 machine_state.GetProductState(installer_state->system_install(), in AddChromeBinariesToInstallerState()
341 const InstallationState& machine_state, in AddChromeToInstallerState() argument
345 machine_state.GetProductState(installer_state->system_install(), in AddChromeToInstallerState()
363 const InstallationState& machine_state, in AddChromeFrameToInstallerState() argument
367 machine_state.GetProductState(installer_state->system_install(), in AddChromeFrameToInstallerState()
386 const InstallationState& machine_state, in BuildChromeInstallerState() argument
389 BuildBasicInstallerState(system_install, multi_install, machine_state, in BuildChromeInstallerState()
395 machine_state.GetProductState(system_install, in BuildChromeInstallerState()
[all …]
Dsetup_util.h93 const installer::InstallationState& machine_state,
107 const installer::InstallationState& machine_state);
Dsetup_util.cc320 const installer::InstallationState& machine_state, in WillProductBePresentAfterSetup() argument
325 machine_state.GetProductState(installer_state.system_install(), type); in WillProductBePresentAfterSetup()
358 const installer::InstallationState& machine_state) { in MigrateGoogleUpdateStateMultiToSingle() argument
369 product = machine_state.GetProductState(system_level, in MigrateGoogleUpdateStateMultiToSingle()
391 product = machine_state.GetProductState(system_level, type); in MigrateGoogleUpdateStateMultiToSingle()
Dinstall_worker.cc201 const InstallationState& machine_state, in AddCommandWithParameterWorkItems() argument
235 const InstallationState& machine_state, in AddInstallAppCommandWorkItems() argument
240 AddCommandWithParameterWorkItems(installer_state, machine_state, new_version, in AddInstallAppCommandWorkItems()
248 const InstallationState& machine_state, in AddInstallExtensionCommandWorkItem() argument
254 AddCommandWithParameterWorkItems(installer_state, machine_state, new_version, in AddInstallExtensionCommandWorkItem()
316 const InstallationState& machine_state, in GetGenericQuickEnableCommand() argument
334 const ProductState* product_state = machine_state.GetProductState( in GetGenericQuickEnableCommand()
361 const InstallationState& machine_state, in AddQuickEnableApplicationLauncherWorkItems() argument
368 WillProductBePresentAfterSetup(installer_state, machine_state, in AddQuickEnableApplicationLauncherWorkItems()
381 machine_state, in AddQuickEnableApplicationLauncherWorkItems()
Dsetup_util_unittest.cc467 installer::InstallationState machine_state; in TEST_F() local
468 machine_state.Initialize(); in TEST_F()
473 machine_state); in TEST_F()