Home
last modified time | relevance | path

Searched refs:cause_code (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/updater/
Dupdater.cpp198 if (state.cause_code != kNoCause) { in main()
199 fprintf(cmd_pipe, "log cause: %d\n", state.cause_code); in main()
200 if (state.cause_code == kPatchApplicationFailure) { in main()
203 } else if (state.cause_code == kEioFailure) { in main()
Dblockimg.cpp1964 if (failure_type != kNoCause && state->cause_code == kNoCause) { in PerformBlockImageUpdate()
1965 state->cause_code = failure_type; in PerformBlockImageUpdate()
2084 CauseCode cause_code = errno == EIO ? kEioFailure : kFileOpenFailure; in RangeSha1Fn() local
2085 ErrorAbort(state, cause_code, "open \"%s\" failed: %s", blockdev_filename->data.c_str(), in RangeSha1Fn()
2106 CauseCode cause_code = errno == EIO ? kEioFailure : kFreadFailure; in RangeSha1Fn() local
2107 ErrorAbort(state, cause_code, "failed to read %s: %s", blockdev_filename->data.c_str(), in RangeSha1Fn()
2148 CauseCode cause_code = errno == EIO ? kEioFailure : kFileOpenFailure; in CheckFirstBlockFn() local
2149 ErrorAbort(state, cause_code, "open \"%s\" failed: %s", arg_filename->data.c_str(), in CheckFirstBlockFn()
2158 CauseCode cause_code = errno == EIO ? kEioFailure : kFreadFailure; in CheckFirstBlockFn() local
2159 ErrorAbort(state, cause_code, "failed to read %s: %s", arg_filename->data.c_str(), in CheckFirstBlockFn()
/bootable/recovery/edify/include/edify/
Dexpr.h51 CauseCode cause_code; member
148 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...)
/bootable/recovery/edify/
Dexpr.cpp412 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...) { in ErrorAbort() argument
420 state->cause_code = cause_code; in ErrorAbort()
425 : script(script), cookie(cookie), error_code(kNoError), cause_code(kNoCause) {} in State()
/bootable/recovery/tests/component/
Dupdater_test.cpp62 static void expect(const char* expected, const std::string& expr_str, CauseCode cause_code, in expect() argument
85 ASSERT_EQ(cause_code, state.cause_code); in expect()
107 CauseCode cause_code = kNoCause) { in RunBlockImageUpdate() argument
131 expect(result.c_str(), script, cause_code, &updater_info); in RunBlockImageUpdate()