Home
last modified time | relevance | path

Searched refs:BoolResult (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/boot/1.2/default/
DBootControl.cpp84 Return<BoolResult> BootControl::isSlotBootable(uint32_t slot) { in isSlotBootable()
86 return BoolResult::INVALID_SLOT; in isSlotBootable()
88 return impl_.IsSlotBootable(slot) ? BoolResult::TRUE : BoolResult::FALSE; in isSlotBootable()
91 Return<BoolResult> BootControl::isSlotMarkedSuccessful(uint32_t slot) { in isSlotMarkedSuccessful()
93 return BoolResult::INVALID_SLOT; in isSlotMarkedSuccessful()
95 return impl_.IsSlotMarkedSuccessful(slot) ? BoolResult::TRUE : BoolResult::FALSE; in isSlotMarkedSuccessful()
DBootControl.h31 using ::android::hardware::boot::V1_0::BoolResult;
45 Return<BoolResult> isSlotBootable(uint32_t slot) override;
46 Return<BoolResult> isSlotMarkedSuccessful(uint32_t slot) override;
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DHAL.cpp116 HAL::BoolResult HAL::makeInputCheckFailure(string customErr) { in makeInputCheckFailure()
117 BoolResult ret; in makeInputCheckFailure()
123 HAL::BoolResult HAL::ipaResultToBoolResult(RET in) { in ipaResultToBoolResult()
124 BoolResult ret; in ipaResultToBoolResult()
262 BoolResult res = makeInputCheckFailure("Must provide exactly one FD per handle (fd1)"); in setHandles()
271 BoolResult res = makeInputCheckFailure("Must provide exactly one FD per handle (fd2)"); in setHandles()
319 BoolResult res = ipaResultToBoolResult(ipaReturn); in setHandles()
337 BoolResult res = makeInputCheckFailure("Already initialized"); in initOffload()
345 BoolResult res = ipaResultToBoolResult(RET::SUCCESS); in initOffload()
361 BoolResult res = makeInputCheckFailure("Was never initialized"); in stopOffload()
[all …]
/hardware/google/pixel/bootctrl/
DLegacyBootControl.cpp74 Return<BoolResult> BootControl::isSlotBootable(uint32_t slot) { in isSlotBootable()
77 return BoolResult::INVALID_SLOT; in isSlotBootable()
79 return ret ? BoolResult::TRUE : BoolResult::FALSE; in isSlotBootable()
82 Return<BoolResult> BootControl::isSlotMarkedSuccessful(uint32_t slot) { in isSlotMarkedSuccessful()
85 return BoolResult::INVALID_SLOT; in isSlotMarkedSuccessful()
87 return ret ? BoolResult::TRUE : BoolResult::FALSE; in isSlotMarkedSuccessful()
DLegacyBootControl.h31 using ::android::hardware::boot::V1_0::BoolResult;
42 Return<BoolResult> isSlotBootable(uint32_t slot) override;
43 Return<BoolResult> isSlotMarkedSuccessful(uint32_t slot) override;
/hardware/interfaces/boot/1.0/default/
DBootControl.cpp73 Return<BoolResult> BootControl::isSlotBootable(uint32_t slot) { in isSlotBootable()
76 return BoolResult::INVALID_SLOT; in isSlotBootable()
78 return ret ? BoolResult::TRUE : BoolResult::FALSE; in isSlotBootable()
81 Return<BoolResult> BootControl::isSlotMarkedSuccessful(uint32_t slot) { in isSlotMarkedSuccessful()
84 return BoolResult::INVALID_SLOT; in isSlotMarkedSuccessful()
86 return ret ? BoolResult::TRUE : BoolResult::FALSE; in isSlotMarkedSuccessful()
DBootControl.h29 using ::android::hardware::boot::V1_0::BoolResult;
46 Return<BoolResult> isSlotBootable(uint32_t slot) override;
47 Return<BoolResult> isSlotMarkedSuccessful(uint32_t slot) override;
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/
DHAL.cpp114 HAL::BoolResult HAL::makeInputCheckFailure(string customErr) { in makeInputCheckFailure()
115 BoolResult ret; in makeInputCheckFailure()
121 HAL::BoolResult HAL::ipaResultToBoolResult(RET in) { in ipaResultToBoolResult()
122 BoolResult ret; in ipaResultToBoolResult()
260 BoolResult res = makeInputCheckFailure("Must provide exactly one FD per handle (fd1)"); in setHandles()
269 BoolResult res = makeInputCheckFailure("Must provide exactly one FD per handle (fd2)"); in setHandles()
317 BoolResult res = ipaResultToBoolResult(ipaReturn); in setHandles()
335 BoolResult res = makeInputCheckFailure("Already initialized"); in initOffload()
343 BoolResult res = ipaResultToBoolResult(RET::SUCCESS); in initOffload()
359 BoolResult res = makeInputCheckFailure("Was never initialized"); in stopOffload()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DHAL.cpp114 HAL::BoolResult HAL::makeInputCheckFailure(string customErr) { in makeInputCheckFailure()
115 BoolResult ret; in makeInputCheckFailure()
121 HAL::BoolResult HAL::ipaResultToBoolResult(RET in) { in ipaResultToBoolResult()
122 BoolResult ret; in ipaResultToBoolResult()
260 BoolResult res = makeInputCheckFailure("Must provide exactly one FD per handle (fd1)"); in setHandles()
269 BoolResult res = makeInputCheckFailure("Must provide exactly one FD per handle (fd2)"); in setHandles()
317 BoolResult res = ipaResultToBoolResult(ipaReturn); in setHandles()
335 BoolResult res = makeInputCheckFailure("Already initialized"); in initOffload()
343 BoolResult res = ipaResultToBoolResult(RET::SUCCESS); in initOffload()
359 BoolResult res = makeInputCheckFailure("Was never initialized"); in stopOffload()
[all …]
/hardware/interfaces/boot/1.0/vts/functional/
DVtsHalBootV1_0TargetTest.cpp32 using ::android::hardware::boot::V1_0::BoolResult;
78 BoolResult ret = boot->isSlotMarkedSuccessful(curSlot); in TEST_P()
79 EXPECT_EQ(BoolResult::TRUE, ret); in TEST_P()
100 if (otherBootable == BoolResult::FALSE) { in TEST_P()
128 EXPECT_EQ(BoolResult::FALSE, boot->isSlotBootable(otherSlot)); in TEST_P()
131 if (otherBootable == BoolResult::TRUE) { in TEST_P()
156 EXPECT_NE(BoolResult::INVALID_SLOT, boot->isSlotBootable(s)); in TEST_P()
159 EXPECT_EQ(BoolResult::INVALID_SLOT, boot->isSlotBootable(slots)); in TEST_P()
165 EXPECT_NE(BoolResult::INVALID_SLOT, boot->isSlotMarkedSuccessful(s)); in TEST_P()
168 EXPECT_EQ(BoolResult::INVALID_SLOT, boot->isSlotMarkedSuccessful(slots)); in TEST_P()
/hardware/interfaces/boot/1.1/default/
DBootControl.h32 using ::android::hardware::boot::V1_0::BoolResult;
46 Return<BoolResult> isSlotBootable(uint32_t slot) override;
47 Return<BoolResult> isSlotMarkedSuccessful(uint32_t slot) override;
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/inc/
DHAL.h168 typedef struct BoolResult { struct
177 static BoolResult makeInputCheckFailure(string /* customErr */); argument
178 static BoolResult ipaResultToBoolResult(RET /* in */);
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/inc/
DHAL.h166 typedef struct BoolResult { struct
176 static BoolResult makeInputCheckFailure(string /* customErr */); argument
177 static BoolResult ipaResultToBoolResult(RET /* in */);
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/inc/
DHAL.h165 typedef struct BoolResult { struct
175 static BoolResult makeInputCheckFailure(string /* customErr */); argument
176 static BoolResult ipaResultToBoolResult(RET /* in */);
/hardware/interfaces/boot/1.0/
Dtypes.hal37 enum BoolResult : int32_t {
DIBootControl.hal83 isSlotBootable(Slot slot) generates (BoolResult bootable);
92 isSlotMarkedSuccessful(Slot slot) generates (BoolResult successful);