Searched refs:BoolResult (Results 1 – 9 of 9) sorted by relevance
114 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 …]
73 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()
29 using ::android::hardware::boot::V1_0::BoolResult;46 Return<BoolResult> isSlotBootable(uint32_t slot) override;47 Return<BoolResult> isSlotMarkedSuccessful(uint32_t slot) override;
31 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()
168 typedef struct BoolResult { struct177 static BoolResult makeInputCheckFailure(string /* customErr */); argument178 static BoolResult ipaResultToBoolResult(RET /* in */);
165 typedef struct BoolResult { struct175 static BoolResult makeInputCheckFailure(string /* customErr */); argument176 static BoolResult ipaResultToBoolResult(RET /* in */);
37 enum BoolResult : int32_t {
83 isSlotBootable(Slot slot) generates (BoolResult bootable);92 isSlotMarkedSuccessful(Slot slot) generates (BoolResult successful);