Home
last modified time | relevance | path

Searched refs:CommandResult (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/boot/aidl/client/include/
DBootControlClient.h29 struct CommandResult { struct
63 [[nodiscard]] virtual CommandResult MarkSlotUnbootable(int32_t slot) = 0;
70 [[nodiscard]] virtual CommandResult SetActiveBootSlot(int32_t slot) = 0;
76 [[nodiscard]] virtual CommandResult MarkBootSuccessful() = 0;
83 [[nodiscard]] virtual CommandResult SetSnapshotMergeStatus(MergeStatus status) = 0;
/hardware/interfaces/boot/1.0/vts/functional/
DVtsHalBootV1_0TargetTest.cpp31 using ::android::hardware::boot::V1_0::CommandResult;
54 auto generate_callback(CommandResult *dest) { in generate_callback()
55 return [=](CommandResult cr) { *dest = cr; }; in generate_callback()
73 CommandResult cr; in TEST_P()
89 CommandResult cr; in TEST_P()
95 CommandResult cr; in TEST_P()
111 CommandResult cr; in TEST_P()
124 CommandResult cr; in TEST_P()
145 CommandResult cr; in TEST_P()
177 CommandResult cr; in TEST_P()
/hardware/interfaces/boot/aidl/client/
DBootControlClient.cpp111 CommandResult MarkSlotUnbootable(int32_t slot) { in MarkSlotUnbootable()
120 CommandResult SetActiveBootSlot(int slot) { in SetActiveBootSlot()
146 CommandResult MarkBootSuccessful() { in MarkBootSuccessful()
154 CommandResult SetSnapshotMergeStatus(aidl::android::hardware::boot::MergeStatus merge_status) { in SetSnapshotMergeStatus()
228 CommandResult MarkSlotUnbootable(int32_t slot) { in MarkSlotUnbootable()
229 CommandResult result; in MarkSlotUnbootable()
231 module_v1_->setSlotAsUnbootable(slot, [&](const V1_0::CommandResult& error) { in MarkSlotUnbootable()
242 CommandResult SetActiveBootSlot(int32_t slot) { in SetActiveBootSlot()
243 CommandResult result; in SetActiveBootSlot()
244 const auto ret = module_v1_->setActiveBootSlot(slot, [&](const V1_0::CommandResult& error) { in SetActiveBootSlot()
[all …]
/hardware/interfaces/boot/1.2/vts/functional/
DVtsHalBootV1_2TargetTest.cpp31 using ::android::hardware::boot::V1_0::CommandResult;
47 auto generate_callback(CommandResult* dest) { in generate_callback()
48 return [=](CommandResult cr) { *dest = cr; }; in generate_callback()
56 CommandResult cr; in TEST_P()
/hardware/interfaces/boot/1.2/default/
DBootControl.cpp30 using ::android::hardware::boot::V1_0::CommandResult;
46 struct CommandResult cr; in markBootSuccessful()
59 struct CommandResult cr; in setActiveBootSlot()
72 struct CommandResult cr; in setSlotAsUnbootable()
/hardware/interfaces/boot/1.1/default/
DBootControl.cpp30 using ::android::hardware::boot::V1_0::CommandResult;
46 struct CommandResult cr; in markBootSuccessful()
59 struct CommandResult cr; in setActiveBootSlot()
72 struct CommandResult cr; in setSlotAsUnbootable()
/hardware/google/pixel/bootctrl/
DLegacyBootControl.cpp34 using ::android::hardware::boot::V1_0::CommandResult;
49 struct CommandResult cr; in markBootSuccessful()
58 struct CommandResult cr; in setActiveBootSlot()
67 struct CommandResult cr; in setSlotAsUnbootable()
/hardware/qcom/sm8150/media/libplatformconfig/
DPlatformConfig.cpp93 using vendor::qti::hardware::capabilityconfigstore::V1_0::CommandResult; in getConfigStoreBool()
115 CommandResult result = {Result::NOT_FOUND, 0}; in getConfigStoreBool()
116 conf->mConfigStore->getConfig(area, config, [&](const CommandResult &res) { in getConfigStoreBool()
/hardware/qcom/sm7250/media/libplatformconfig/
DPlatformConfig.cpp93 using vendor::qti::hardware::capabilityconfigstore::V1_0::CommandResult; in getConfigStoreBool()
115 CommandResult result; in getConfigStoreBool()
117 conf->mConfigStore->getConfig(area, config, [&](const CommandResult &res) { in getConfigStoreBool()
/hardware/interfaces/boot/1.0/default/
DBootControl.cpp48 struct CommandResult cr; in markBootSuccessful()
57 struct CommandResult cr; in setActiveBootSlot()
66 struct CommandResult cr; in setSlotAsUnbootable()
DBootControl.h30 using ::android::hardware::boot::V1_0::CommandResult;
/hardware/interfaces/boot/1.0/
DIBootControl.hal58 markBootSuccessful() generates (CommandResult error);
66 setActiveBootSlot(Slot slot) generates (CommandResult error);
74 setSlotAsUnbootable(Slot slot) generates (CommandResult error);
Dtypes.hal23 struct CommandResult {