OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BootControlInterface
(Results
1 - 25
of
31
) sorted by null
1
2
/system/update_engine/
boot_control_recovery.h
29
// The Android recovery implementation of the
BootControlInterface
. This
33
class BootControlRecovery : public
BootControlInterface
{
42
//
BootControlInterface
overrides.
44
BootControlInterface
::Slot GetCurrentSlot() const override;
46
BootControlInterface
::Slot slot,
48
bool IsSlotBootable(
BootControlInterface
::Slot slot) const override;
49
bool MarkSlotUnbootable(
BootControlInterface
::Slot slot) override;
50
bool SetActiveBootSlot(
BootControlInterface
::Slot slot) override;
boot_control_chromeos.h
29
// The Chrome OS implementation of the
BootControlInterface
. This interface
31
class BootControlChromeOS : public
BootControlInterface
{
43
//
BootControlInterface
overrides.
45
BootControlInterface
::Slot GetCurrentSlot() const override;
47
BootControlInterface
::Slot slot,
49
bool IsSlotBootable(
BootControlInterface
::Slot slot) const override;
50
bool MarkSlotUnbootable(
BootControlInterface
::Slot slot) override;
51
bool SetActiveBootSlot(
BootControlInterface
::Slot slot) override;
71
BootControlInterface
::Slot slot) const;
74
BootControlInterface
::Slot num_slots_{1}
[
all
...]
boot_control_android.h
28
// The Android implementation of the
BootControlInterface
. This implementation
30
class BootControlAndroid : public
BootControlInterface
{
39
//
BootControlInterface
overrides.
41
BootControlInterface
::Slot GetCurrentSlot() const override;
43
BootControlInterface
::Slot slot,
45
bool IsSlotBootable(
BootControlInterface
::Slot slot) const override;
46
bool MarkSlotUnbootable(
BootControlInterface
::Slot slot) override;
47
bool SetActiveBootSlot(
BootControlInterface
::Slot slot) override;
system_state.h
37
class
BootControlInterface
;
66
virtual
BootControlInterface
* boot_control() = 0;
daemon_state_android.h
57
std::unique_ptr<
BootControlInterface
> boot_control_;
boot_control_recovery.cc
45
std::unique_ptr<
BootControlInterface
> CreateBootControl() {
88
BootControlInterface
::Slot BootControlRecovery::GetCurrentSlot() const {
real_system_state.h
83
inline
BootControlInterface
* boot_control() override {
139
std::unique_ptr<
BootControlInterface
> boot_control_;
update_attempter_android.h
55
BootControlInterface
* boot_control_,
166
BootControlInterface
* boot_control_;
boot_control_chromeos.cc
77
std::unique_ptr<
BootControlInterface
> CreateBootControl() {
123
current_slot_ =
BootControlInterface
::kInvalidSlot;
137
BootControlInterface
::Slot BootControlChromeOS::GetCurrentSlot() const {
279
BootControlInterface
::Slot slot) const {
boot_control_android.cc
47
std::unique_ptr<
BootControlInterface
> CreateBootControl() {
73
BootControlInterface
::Slot BootControlAndroid::GetCurrentSlot() const {
fake_system_state.h
51
BootControlInterface
* boot_control() override { return boot_control_; }
109
void set_boot_control(
BootControlInterface
* boot_control) {
251
BootControlInterface
* boot_control_{&fake_boot_control_};
update_attempter.cc
731
GetRollbackSlot() !=
BootControlInterface
::kInvalidSlot);
734
BootControlInterface
::Slot UpdateAttempter::GetRollbackSlot() const {
737
const
BootControlInterface
::Slot current_slot =
742
<<
BootControlInterface
::SlotName(current_slot);
744
if (current_slot ==
BootControlInterface
::kInvalidSlot || num_slots < 2) {
746
return
BootControlInterface
::kInvalidSlot;
749
vector<
BootControlInterface
::Slot> bootable_slots;
750
for (
BootControlInterface
::Slot slot = 0; slot < num_slots; slot++) {
754
<<
BootControlInterface
::SlotName(slot);
759
return
BootControlInterface
::kInvalidSlot
[
all
...]
sideload_main.cc
160
std::unique_ptr<
BootControlInterface
> boot_control =
163
LOG(ERROR) << "Error initializing the
BootControlInterface
.";
common_service.cc
341
BootControlInterface
::Slot rollback_slot =
344
if (rollback_slot ==
BootControlInterface
::kInvalidSlot) {
/system/update_engine/common/
boot_control_stub.h
26
// An implementation of the
BootControlInterface
that does nothing,
33
class BootControlStub : public
BootControlInterface
{
38
//
BootControlInterface
overrides.
40
BootControlInterface
::Slot GetCurrentSlot() const override;
42
BootControlInterface
::Slot slot,
44
bool IsSlotBootable(
BootControlInterface
::Slot slot) const override;
45
bool MarkSlotUnbootable(
BootControlInterface
::Slot slot) override;
46
bool SetActiveBootSlot(
BootControlInterface
::Slot slot) override;
boot_control.h
27
// The real
BootControlInterface
is platform-specific. This factory function
28
// creates a new
BootControlInterface
instance for the current platform. If
30
std::unique_ptr<
BootControlInterface
> CreateBootControl();
boot_control_interface.h
32
class
BootControlInterface
{
38
virtual ~
BootControlInterface
() = default;
90
BootControlInterface
() = default;
93
DISALLOW_COPY_AND_ASSIGN(
BootControlInterface
);
fake_boot_control.h
31
class FakeBootControl : public
BootControlInterface
{
39
//
BootControlInterface
overrides.
41
BootControlInterface
::Slot GetCurrentSlot() const override {
46
BootControlInterface
::Slot slot,
57
bool IsSlotBootable(
BootControlInterface
::Slot slot) const override {
61
bool MarkSlotUnbootable(
BootControlInterface
::Slot slot) override {
84
void SetCurrentSlot(
BootControlInterface
::Slot slot) {
89
BootControlInterface
::Slot slot,
95
void SetSlotBootable(
BootControlInterface
::Slot slot, bool bootable) {
101
BootControlInterface
::Slot num_slots_{2}
[
all
...]
boot_control_stub.cc
29
BootControlInterface
::Slot BootControlStub::GetCurrentSlot() const {
/system/update_engine/payload_consumer/
postinstall_runner_action.h
36
class
BootControlInterface
;
40
PostinstallRunnerAction(
BootControlInterface
* boot_control,
125
BootControlInterface
* boot_control_;
install_plan.cc
85
<< ", source_slot: " <<
BootControlInterface
::SlotName(source_slot)
86
<< ", target_slot: " <<
BootControlInterface
::SlotName(target_slot)
96
bool InstallPlan::LoadPartitionsFromSlots(
BootControlInterface
* boot_control) {
99
if (source_slot !=
BootControlInterface
::kInvalidSlot) {
106
if (target_slot !=
BootControlInterface
::kInvalidSlot) {
install_plan.h
52
bool LoadPartitionsFromSlots(
BootControlInterface
* boot_control);
81
BootControlInterface
::Slot source_slot{
BootControlInterface
::kInvalidSlot};
82
BootControlInterface
::Slot target_slot{
BootControlInterface
::kInvalidSlot};
download_action.h
78
BootControlInterface
* boot_control,
149
BootControlInterface
* boot_control_;
delta_performer.h
42
class
BootControlInterface
;
68
BootControlInterface
* boot_control,
269
BootControlInterface
* boot_control_;
/system/update_engine/update_manager/
real_system_provider.h
40
chromeos_update_engine::
BootControlInterface
* boot_control,
84
chromeos_update_engine::
BootControlInterface
* const boot_control_;
Completed in 355 milliseconds
1
2