/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/ |
D | GenericOperation.h | 49 Operation() : error_(ResponseCode::Ignored), formattedMessageLength_(0) {} in Operation() 57 if (error_ != ResponseCode::Ignored) return ResponseCode::OperationPending; in init() 79 switch (state.error_) { in init() 100 void setPending() { error_ = ResponseCode::OK; } in setPending() 108 error_ = ResponseCode::Ignored; in abort() 113 if (isPending()) error_ = ResponseCode::Canceled; in userCancel() 117 if (error_ == ResponseCode::Ignored) return; in finalize() 118 resultCB_->result(error_, getMessage(), userConfirm(key)); in finalize() 119 error_ = ResponseCode::Ignored; in finalize() 123 bool isPending() const { return error_ != ResponseCode::Ignored; } in isPending() [all …]
|
/hardware/interfaces/confirmationui/support/test/ |
D | android_cbor_test.cpp | 85 ASSERT_EQ(Error::OK, state.error_); in TEST() 100 ASSERT_EQ(Error::OUT_OF_DATA, state.error_); in TEST() 109 ASSERT_EQ(Error::MALFORMED_UTF8, state.error_); in TEST() 117 ASSERT_EQ(Error::MALFORMED_UTF8, state.error_); in TEST() 125 ASSERT_EQ(Error::OK, state.error_); in TEST() 133 ASSERT_EQ(Error::OK, state.error_); in TEST() 141 ASSERT_EQ(Error::OK, state.error_); in TEST() 149 ASSERT_EQ(Error::MALFORMED_UTF8, state.error_); in TEST() 157 ASSERT_EQ(Error::MALFORMED_UTF8, state.error_); in TEST()
|
/hardware/qcom/display/msm8996/sdm/include/utils/ |
D | locker.h | 89 explicit SequenceWaitScopeLock(Locker& locker) : locker_(locker), error_(false) { in SequenceWaitScopeLock() 94 error_ = (locker_.sequence_wait_ == -1); in SequenceWaitScopeLock() 103 return error_; in IsError() 108 bool error_; variable
|
/hardware/qcom/display/msm8998/sdm/include/utils/ |
D | locker.h | 89 explicit SequenceWaitScopeLock(Locker& locker) : locker_(locker), error_(false) { in SequenceWaitScopeLock() 94 error_ = (locker_.sequence_wait_ == -1); in SequenceWaitScopeLock() 103 return error_; in IsError() 108 bool error_; variable
|
/hardware/qcom/sdm845/display/sdm/include/utils/ |
D | locker.h | 90 explicit SequenceWaitScopeLock(Locker& locker) : locker_(locker), error_(false) { in SequenceWaitScopeLock() 95 error_ = (locker_.sequence_wait_ == -1); in SequenceWaitScopeLock() 104 return error_; in IsError() 109 bool error_; variable
|
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/ |
D | locker.h | 89 explicit SequenceWaitScopeLock(Locker& locker) : locker_(locker), error_(false) { in SequenceWaitScopeLock() 94 error_ = (locker_.sequence_wait_ == -1); in SequenceWaitScopeLock() 103 return error_; in IsError() 108 bool error_; variable
|
/hardware/qcom/display/msm8909/sdm/include/utils/ |
D | locker.h | 89 explicit SequenceWaitScopeLock(Locker& locker) : locker_(locker), error_(false) { in SequenceWaitScopeLock() 94 error_ = (locker_.sequence_wait_ == -1); in SequenceWaitScopeLock() 103 return error_; in IsError() 108 bool error_; variable
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
D | cbor.h | 199 WriteState() : data_(nullptr), size_(0), error_(Error::OK) {} 200 WriteState(uint8_t* buffer, size_t size) : data_(buffer), size_(size), error_(Error::OK) {} 202 : data_(buffer), size_(size), error_(error) {} 204 WriteState(uint8_t (&buffer)[size]) : data_(buffer), size_(size), error_(Error::OK) {} 211 error_ = Error::OUT_OF_DATA; 217 error_ = Error::OUT_OF_DATA; 224 operator bool() const { return error_ == Error::OK; } 228 Error error_; 276 wState.error_ = Error::MALFORMED_UTF8;
|
/hardware/interfaces/confirmationui/1.0/vts/functional/ |
D | VtsHalConfirmationUIV1_0TargetTest.cpp | 176 ResponseCode error_; member in android::hardware::confirmationui::V1_0::test::ConfirmationArgs 194 args.error_ = error; in result() 266 ASSERT_EQ(ResponseCode::OK, result.args->error_); in TEST_F() 333 ASSERT_EQ(ResponseCode::Canceled, result.args->error_); in TEST_F() 352 ASSERT_EQ(ResponseCode::Aborted, result.args->error_); in TEST_F()
|
/hardware/interfaces/confirmationui/support/src/ |
D | cbor.cpp | 51 state.error_ = Error::MALFORMED; in writeBytes()
|