/system/netd/libnetdutils/ |
D | SyscallsTest.cpp | 86 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/ |
D | task_result.h | 32 kError = 3, enumerator 33 kMax = kError,
|
/system/libbase/ |
D | parsebool_test.cpp | 46 ASSERT_EQ(ParseBoolResult::kError, ParseBool("blarg")); in TEST() 47 ASSERT_EQ(ParseBoolResult::kError, ParseBool("")); in TEST()
|
D | parsebool.cpp | 30 return ParseBoolResult::kError; in ParseBool()
|
/system/connectivity/wifilogd/tests/ |
D | os_unittest.cpp | 108 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 …]
|
D | protocol_unittest.cpp | 103 EXPECT_EQ(0U, static_cast<uint8_t>(MessageSeverity::kError)); in TEST()
|
/system/update_engine/ |
D | cleanup_previous_update_action.cc | 169 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()
|
D | omaha_request_builder_xml.h | 75 error_code(ErrorCode::kError) {} in OmahaEvent()
|
D | metrics_utils.cc | 105 case ErrorCode::kError: in GetAttemptResult() 186 case ErrorCode::kError: in GetDownloadErrorCode()
|
D | update_attempter_unittest.cc | 542 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 …]
|
D | update_attempter_android_unittest.cc | 208 update_attempter_android_.ProcessingDone(nullptr, ErrorCode::kError); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | filesystem_verifier_action.cc | 204 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()
|
D | payload_metadata.cc | 60 return MetadataParseResult::kError; in ParsePayloadHeader() 82 return MetadataParseResult::kError; in ParsePayloadHeader() 98 return MetadataParseResult::kError; in ParsePayloadHeader() 115 return MetadataParseResult::kError; in ParsePayloadHeader()
|
D | payload_metadata.h | 37 kError, enumerator
|
D | filesystem_verifier_action_unittest.cc | 61 : 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/ |
D | parsebool.h | 50 kError, enumerator
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 416 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/ |
D | protocol.h | 46 kError, enumerator
|
/system/netd/server/ |
D | InterfaceControllerTest.cpp | 148 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/ |
D | error_code.h | 27 kError = 1, enumerator
|
D | error_code_utils.cc | 38 case ErrorCode::kError: in ErrorCodeToString()
|
/system/libziparchive/include/ziparchive/ |
D | zip_writer.h | 175 kError, enumerator
|
/system/core/fs_mgr/libfs_avb/include/fs_avb/ |
D | types.h | 30 kError = 1, enumerator
|
/system/libziparchive/ |
D | zip_writer.cc | 111 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/ |
D | avb_util_test.cpp | 589 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()
|