Home
last modified time | relevance | path

Searched refs:kError (Results 1 – 25 of 38) sorted by relevance

12

/system/netd/libnetdutils/
DSyscallsTest.cpp86 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
87 EXPECT_CALL(mSyscalls, getsockname(kFd, _, _)).WillOnce(Return(kError)); in TEST_F()
88 EXPECT_EQ(kError, sys.getsockname<sockaddr_nl>(kFd).status()); in TEST_F()
104 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
106 .WillOnce(Return(kError)); in TEST_F()
107 EXPECT_EQ(kError, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F()
124 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
126 .WillOnce(Return(kError)); in TEST_F()
127 EXPECT_EQ(kError, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F()
141 const Status kError = statusFromErrno(EINVAL, "test"); in TEST_F() local
[all …]
/system/iorap/include/binder/
Dtask_result.h32 kError = 3, enumerator
33 kMax = kError,
/system/libbase/
Dparsebool_test.cpp46 ASSERT_EQ(ParseBoolResult::kError, ParseBool("blarg")); in TEST()
47 ASSERT_EQ(ParseBoolResult::kError, ParseBool("")); in TEST()
Dparsebool.cpp30 return ParseBoolResult::kError; in ParseBool()
/system/connectivity/wifilogd/tests/
Dos_unittest.cpp108 constexpr Os::Errno kError = EINVAL; in TEST_F() local
110 .WillOnce(SetErrnoAndReturn(kError, -1)); in TEST_F()
112 constexpr std::tuple<int, Os::Errno> kExpectedResult{Os::kInvalidFd, kError}; in TEST_F()
244 constexpr Os::Errno kError = EBADF; in TEST_F() local
247 .WillOnce(SetErrnoAndReturn(kError, -1)); in TEST_F()
249 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F()
286 constexpr Os::Errno kError = EBADF; in TEST_F() local
289 .WillOnce(SetErrnoAndReturn(kError, -1)); in TEST_F()
291 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F()
297 constexpr Os::Errno kError = EBADF; in TEST_F() local
[all …]
Dprotocol_unittest.cpp103 EXPECT_EQ(0U, static_cast<uint8_t>(MessageSeverity::kError)); in TEST()
/system/update_engine/
Dcleanup_previous_update_action.cc169 this, kIsRecovery ? ErrorCode::kSuccess : ErrorCode::kError); in CheckSlotMarkedSuccessfulOrSchedule()
197 processor_->ActionComplete(this, ErrorCode::kError); in CheckSlotMarkedSuccessfulOrSchedule()
234 error_code = ErrorCode::kError; in WaitForMergeOrSchedule()
259 processor_->ActionComplete(this, ErrorCode::kError); in WaitForMergeOrSchedule()
280 cancel_failed_ ? ErrorCode::kError : ErrorCode::kSuccess; in WaitForMergeOrSchedule()
344 processor_->ActionComplete(this, ErrorCode::kError); in InitiateMergeAndWait()
Domaha_request_builder_xml.h75 error_code(ErrorCode::kError) {} in OmahaEvent()
Dmetrics_utils.cc105 case ErrorCode::kError: in GetAttemptResult()
186 case ErrorCode::kError: in GetDownloadErrorCode()
Dupdate_attempter_unittest.cc542 attempter_.ActionCompleted(nullptr, &action, ErrorCode::kError); in TEST_F()
661 GetErrorCodeForAction(&omaha_request_action, ErrorCode::kError)); in TEST_F()
665 GetErrorCodeForAction(&omaha_response_handler_action, ErrorCode::kError)); in TEST_F()
670 GetErrorCodeForAction(&filesystem_verifier_action, ErrorCode::kError)); in TEST_F()
675 GetErrorCodeForAction(&postinstall_runner_action, ErrorCode::kError)); in TEST_F()
678 EXPECT_EQ(ErrorCode::kError, in TEST_F()
679 GetErrorCodeForAction(&action_mock, ErrorCode::kError)); in TEST_F()
744 ErrorCode err = ErrorCode::kError; in TEST_F()
2129 pd_params_.code = ErrorCode::kError; in TEST_F()
2133 ErrorCode::kError)); in TEST_F()
[all …]
Dupdate_attempter_android_unittest.cc208 update_attempter_android_.ProcessingDone(nullptr, ErrorCode::kError); in TEST_F()
/system/update_engine/payload_consumer/
Dfilesystem_verifier_action.cc204 Cleanup(ErrorCode::kError); in ScheduleRead()
210 Cleanup(ErrorCode::kError); in OnReadDoneCallback()
223 Cleanup(ErrorCode::kError); in OnReadDoneCallback()
255 Cleanup(ErrorCode::kError); in OnReadErrorCallback()
261 Cleanup(ErrorCode::kError); in FinishPartitionHashing()
Dpayload_metadata.cc60 return MetadataParseResult::kError; in ParsePayloadHeader()
82 return MetadataParseResult::kError; in ParsePayloadHeader()
98 return MetadataParseResult::kError; in ParsePayloadHeader()
115 return MetadataParseResult::kError; in ParsePayloadHeader()
Dpayload_metadata.h37 kError, enumerator
Dfilesystem_verifier_action_unittest.cc61 : ran_(false), code_(ErrorCode::kError) {} in FilesystemVerifierActionTestDelegate()
163 EXPECT_EQ(ErrorCode::kError, delegate.code()); in DoTest()
164 return (ErrorCode::kError == delegate.code()); in DoTest()
239 EXPECT_EQ(ErrorCode::kError, delegate.code_); in TEST_F()
/system/libbase/include/android-base/
Dparsebool.h50 kError, enumerator
/system/core/fs_mgr/libfs_avb/
Davb_util.cpp416 return VBMetaVerifyResult::kError; in VerifyVBMetaSignature()
444 return VBMetaVerifyResult::kError; in VerifyVBMetaSignature()
456 *out_verify_result = VBMetaVerifyResult::kError; in VerifyVBMetaData()
551 *out_verify_result = VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPath()
631 return VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPartition()
642 return VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPartition()
652 if (verify_result == VBMetaVerifyResult::kError) { in LoadAndVerifyVbmetaByPartition()
/system/connectivity/wifilogd/
Dprotocol.h46 kError, enumerator
/system/netd/server/
DInterfaceControllerTest.cpp148 const auto kError = statusFromErrno(EINVAL, ""); in TEST_F() local
153 expectSetProperty(kStableSecretProperty, kTestIPv6AddressString, kError); in TEST_F()
154 EXPECT_EQ(kError, enableStablePrivacyAddresses(kTestIface)); in TEST_F()
/system/update_engine/common/
Derror_code.h27 kError = 1, enumerator
Derror_code_utils.cc38 case ErrorCode::kError: in ErrorCodeToString()
/system/libziparchive/include/ziparchive/
Dzip_writer.h175 kError, enumerator
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dtypes.h30 kError = 1, enumerator
/system/libziparchive/
Dzip_writer.cc111 writer.state_ = State::kError; in ZipWriter()
123 writer.state_ = State::kError; in operator =()
128 state_ = State::kError; in HandleError()
/system/core/fs_mgr/libfs_avb/tests/
Davb_util_test.cpp589 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1346 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1408 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1446 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1464 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1609 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()

12