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/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/iorap/include/binder/
Dtask_result.h32 kError = 3, enumerator
33 kMax = kError,
/system/update_engine/aosp/
Dcleanup_previous_update_action.cc122 processor_->ActionComplete(this, ErrorCode::kError); in CheckTaskScheduled()
222 this, kIsRecovery ? ErrorCode::kSuccess : ErrorCode::kError); in CheckSlotMarkedSuccessfulOrSchedule()
250 processor_->ActionComplete(this, ErrorCode::kError); in CheckSlotMarkedSuccessfulOrSchedule()
290 error_code = ErrorCode::kError; in WaitForMergeOrSchedule()
315 processor_->ActionComplete(this, ErrorCode::kError); in WaitForMergeOrSchedule()
337 cancel_failed_ ? ErrorCode::kError : ErrorCode::kSuccess; in WaitForMergeOrSchedule()
401 processor_->ActionComplete(this, ErrorCode::kError); in InitiateMergeAndWait()
Dupdate_attempter_android_unittest.cc210 update_attempter_android_.ProcessingDone(nullptr, ErrorCode::kError); in TEST_F()
/system/update_engine/payload_consumer/
Dpayload_metadata.cc77 return MetadataParseResult::kError; in ParsePayloadHeader()
99 return MetadataParseResult::kError; in ParsePayloadHeader()
115 return MetadataParseResult::kError; in ParsePayloadHeader()
132 return MetadataParseResult::kError; in ParsePayloadHeader()
Dpayload_metadata.h37 kError, enumerator
Dfilesystem_verifier_action_unittest.cc221 : ran_(false), code_(ErrorCode::kError) {} in FilesystemVerifierActionTestDelegate()
319 EXPECT_EQ(ErrorCode::kError, delegate.code()); in DoTest()
320 return (ErrorCode::kError == delegate.code()); in DoTest()
401 EXPECT_EQ(ErrorCode::kError, delegate.code_); in TEST_F()
Ddelta_performer.cc316 return MetadataParseResult::kError; in ParsePayloadMetadata()
332 return MetadataParseResult::kError; in ParsePayloadMetadata()
362 return MetadataParseResult::kError; in ParsePayloadMetadata()
375 return MetadataParseResult::kError; in ParsePayloadMetadata()
387 return MetadataParseResult::kError; in ParsePayloadMetadata()
424 if (result == MetadataParseResult::kError) in Write()
/system/libbase/include/android-base/
Dparsebool.h50 kError, enumerator
/system/core/fs_mgr/libfs_avb/
Davb_util.cpp418 return VBMetaVerifyResult::kError; in VerifyVBMetaSignature()
446 return VBMetaVerifyResult::kError; in VerifyVBMetaSignature()
458 *out_verify_result = VBMetaVerifyResult::kError; in VerifyVBMetaData()
553 *out_verify_result = VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPath()
633 return VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPartition()
644 return VBMetaVerifyResult::kError; in LoadAndVerifyVbmetaByPartition()
654 if (verify_result == VBMetaVerifyResult::kError) { in LoadAndVerifyVbmetaByPartition()
/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/libziparchive/include/ziparchive/
Dzip_writer.h175 kError, enumerator
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dtypes.h30 kError = 1, enumerator
/system/update_engine/cros/
Domaha_request_builder_xml.h74 error_code(ErrorCode::kError) {} in OmahaEvent()
Dupdate_attempter_unittest.cc513 attempter_.ActionCompleted(nullptr, &action, ErrorCode::kError); in TEST_F()
628 GetErrorCodeForAction(&omaha_request_action, ErrorCode::kError)); in TEST_F()
632 GetErrorCodeForAction(&omaha_response_handler_action, ErrorCode::kError)); in TEST_F()
637 GetErrorCodeForAction(&filesystem_verifier_action, ErrorCode::kError)); in TEST_F()
643 GetErrorCodeForAction(&postinstall_runner_action, ErrorCode::kError)); in TEST_F()
646 EXPECT_EQ(ErrorCode::kError, in TEST_F()
647 GetErrorCodeForAction(&action_mock, ErrorCode::kError)); in TEST_F()
707 ErrorCode err = ErrorCode::kError; in TEST_F()
2068 pd_params_.code = ErrorCode::kError; in TEST_F()
2072 ErrorCode::kError)); in TEST_F()
[all …]
/system/update_engine/
Dmetrics_utils.cc105 case ErrorCode::kError: in GetAttemptResult()
187 case ErrorCode::kError: in GetDownloadErrorCode()
/system/iorap/src/common/
Dcmd_utils.h157 case ParseBoolResult::kError: in GetBoolEnvOrProperty()
/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.cpp593 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1358 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1420 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1458 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1476 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
1621 EXPECT_EQ(VBMetaVerifyResult::kError, in TEST_F()
/system/vold/
Dvdc.cpp113 if (shouldFormat == android::base::ParseBoolResult::kError) exit(EINVAL); in main()

12