Searched refs:BoolResult (Results 1 – 8 of 8) sorted by relevance
69 Return<BoolResult> BootControl::isSlotBootable(uint32_t slot) { in isSlotBootable()72 return BoolResult::INVALID_SLOT; in isSlotBootable()74 return ret ? BoolResult::TRUE : BoolResult::FALSE; in isSlotBootable()77 Return<BoolResult> BootControl::isSlotMarkedSuccessful(uint32_t slot) { in isSlotMarkedSuccessful()80 return BoolResult::INVALID_SLOT; in isSlotMarkedSuccessful()82 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;
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 …]
28 using ::android::hardware::boot::V1_0::BoolResult;73 BoolResult ret = boot->isSlotMarkedSuccessful(curSlot); in TEST_F()74 EXPECT_EQ(BoolResult::TRUE, ret); in TEST_F()112 EXPECT_EQ(BoolResult::FALSE, boot->isSlotBootable(otherSlot)); in TEST_F()139 EXPECT_NE(BoolResult::INVALID_SLOT, boot->isSlotBootable(s)); in TEST_F()142 EXPECT_EQ(BoolResult::INVALID_SLOT, boot->isSlotBootable(slots)); in TEST_F()148 EXPECT_NE(BoolResult::INVALID_SLOT, boot->isSlotMarkedSuccessful(s)); in TEST_F()151 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 */);
22 GEN := $(intermediates)/android/hardware/boot/V1_0/BoolResult.java32 android.hardware.boot@1.0::types.BoolResult97 GEN := $(intermediates)/android/hardware/boot/V1_0/BoolResult.java107 android.hardware.boot@1.0::types.BoolResult
37 enum BoolResult : int32_t {
83 isSlotBootable(Slot slot) generates (BoolResult bootable);92 isSlotMarkedSuccessful(Slot slot) generates (BoolResult successful);