Home
last modified time | relevance | path

Searched refs:kError (Results 1 – 25 of 36) 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/update_engine/payload_consumer/
Dpayload_metadata.cc76 return MetadataParseResult::kError; in ParsePayloadHeader()
93 return MetadataParseResult::kError; in ParsePayloadHeader()
99 return MetadataParseResult::kError; in ParsePayloadHeader()
117 return MetadataParseResult::kError; in ParsePayloadHeader()
127 *error = ErrorCode::kError; in ParsePayloadHeader()
128 return MetadataParseResult::kError; in ParsePayloadHeader()
138 return MetadataParseResult::kError; in ParsePayloadHeader()
Dfilesystem_verifier_action.cc181 Cleanup(ErrorCode::kError); in ScheduleRead()
187 Cleanup(ErrorCode::kError); in OnReadDoneCallback()
201 Cleanup(ErrorCode::kError); in OnReadDoneCallback()
226 Cleanup(ErrorCode::kError); in OnReadErrorCallback()
232 Cleanup(ErrorCode::kError); in FinishPartitionHashing()
Dfilesystem_verifier_action_unittest.cc59 : ran_(false), code_(ErrorCode::kError) {} in FilesystemVerifierActionTestDelegate()
161 EXPECT_EQ(ErrorCode::kError, delegate.code()); in DoTest()
162 return (ErrorCode::kError == delegate.code()); in DoTest()
235 EXPECT_EQ(ErrorCode::kError, delegate.code_); in TEST_F()
Dpayload_metadata.h36 kError, enumerator
Ddelta_performer.cc504 return MetadataParseResult::kError; in ParsePayloadMetadata()
533 return MetadataParseResult::kError; in ParsePayloadMetadata()
545 return MetadataParseResult::kError; in ParsePayloadMetadata()
557 return MetadataParseResult::kError; in ParsePayloadMetadata()
594 if (result == MetadataParseResult::kError) in Write()
/system/iorap/include/binder/
Dtask_result.h32 kError = 3, enumerator
33 kMax = kError,
/system/connectivity/wifilogd/tests/
Dos_unittest.cpp107 constexpr Os::Errno kError = EINVAL; in TEST_F() local
109 .WillOnce(SetErrnoAndReturn(kError, -1)); in TEST_F()
111 constexpr std::tuple<int, Os::Errno> kExpectedResult{Os::kInvalidFd, kError}; in TEST_F()
243 constexpr Os::Errno kError = EBADF; in TEST_F() local
246 .WillOnce(SetErrnoAndReturn(kError, -1)); in TEST_F()
248 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F()
285 constexpr Os::Errno kError = EBADF; in TEST_F() local
288 .WillOnce(SetErrnoAndReturn(kError, -1)); in TEST_F()
290 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F()
296 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/core/fs_mgr/libfs_avb/
Davb_util.cpp366 return VBMetaVerifyResult::kError; in VerifyVBMetaSignature()
394 return VBMetaVerifyResult::kError; in VerifyVBMetaSignature()
406 *out_verify_result = VBMetaVerifyResult::kError; in VerifyVBMetaData()
501 *out_verify_result = VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPath()
581 return VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPartition()
592 return VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPartition()
602 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()
Daction_processor_unittest.cc66 action_exit_code_(ErrorCode::kError) {} in MyActionProcessorDelegate()
/system/core/libziparchive/include/ziparchive/
Dzip_writer.h172 kError, enumerator
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dtypes.h30 kError = 1, enumerator
/system/connectivity/wificond/scanning/offload/
Doffload_scan_manager.cpp76 offload_status_(OffloadScanManager::kError), in OffloadScanManager()
293 status_result = OffloadScanManager::kError; in ReportError()
Doffload_scan_manager.h78 kError enumerator
/system/core/libziparchive/
Dzip_writer.cc111 writer.state_ = State::kError; in ZipWriter()
123 writer.state_ = State::kError; in operator =()
128 state_ = State::kError; in HandleError()
/system/update_engine/
Dmetrics_utils.cc100 case ErrorCode::kError: in GetAttemptResult()
174 case ErrorCode::kError: in GetDownloadErrorCode()
Dupdate_attempter_unittest.cc252 attempter_.ActionCompleted(nullptr, &action, ErrorCode::kError); in TEST_F()
372 GetErrorCodeForAction(&omaha_request_action, ErrorCode::kError)); in TEST_F()
376 GetErrorCodeForAction(&omaha_response_handler_action, ErrorCode::kError)); in TEST_F()
380 GetErrorCodeForAction(&filesystem_verifier_action, ErrorCode::kError)); in TEST_F()
385 GetErrorCodeForAction(&postinstall_runner_action, ErrorCode::kError)); in TEST_F()
388 EXPECT_EQ(ErrorCode::kError, in TEST_F()
389 GetErrorCodeForAction(&action_mock, ErrorCode::kError)); in TEST_F()
454 ErrorCode err = ErrorCode::kError; in TEST_F()
Domaha_request_action.h85 error_code(ErrorCode::kError) {} in OmahaEvent()
Dupdate_attempter_android_unittest.cc193 update_attempter_android_.ProcessingDone(nullptr, ErrorCode::kError); in TEST_F()
/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