Home
last modified time | relevance | path

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

/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/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/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.cpp31 using ::android::hardware::boot::V1_0::BoolResult;
90 BoolResult ret = boot->isSlotMarkedSuccessful(curSlot); in TEST_F()
91 EXPECT_EQ(BoolResult::TRUE, ret); in TEST_F()
129 EXPECT_EQ(BoolResult::FALSE, boot->isSlotBootable(otherSlot)); in TEST_F()
156 EXPECT_NE(BoolResult::INVALID_SLOT, boot->isSlotBootable(s)); in TEST_F()
159 EXPECT_EQ(BoolResult::INVALID_SLOT, boot->isSlotBootable(slots)); in TEST_F()
165 EXPECT_NE(BoolResult::INVALID_SLOT, boot->isSlotMarkedSuccessful(s)); in TEST_F()
168 EXPECT_EQ(BoolResult::INVALID_SLOT, boot->isSlotMarkedSuccessful(slots)); in TEST_F()
/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/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);