Home
last modified time | relevance | path

Searched refs:kSuccess (Results 1 – 25 of 66) sorted by relevance

123

/system/nvram/core/tests/
Dnvram_manager_test.cpp44 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreHeader(header)); in SetupHeader()
85 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(1, space)); in TEST_F()
87 ASSERT_EQ(storage::Status::kSuccess, storage::LoadSpace(1, &space_blob)); in TEST_F()
89 ASSERT_EQ(storage::Status::kSuccess, storage::StoreSpace(1, space_blob)); in TEST_F()
96 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreHeader(header)); in TEST_F()
98 ASSERT_EQ(storage::Status::kSuccess, storage::LoadHeader(&header_blob)); in TEST_F()
100 ASSERT_EQ(storage::Status::kSuccess, storage::StoreHeader(header_blob)); in TEST_F()
125 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(1, space)); in TEST_F()
127 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(2, space)); in TEST_F()
138 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreHeader(header)); in TEST_F()
[all …]
Dfake_storage.cpp41 return Status::kSuccess; in Load()
51 return Status::kSuccess; in Store()
61 return Status::kSuccess; in Delete()
/system/update_engine/
Dupdate_boot_flags_action.cc32 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
37 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction()
80 processor_->ActionComplete(this, ErrorCode::kSuccess); in CompleteUpdateBootFlags()
Domaha_request_action_unittest.cc251 : expected_code_(ErrorCode::kSuccess), in OmahaRequestActionTestProcessorDelegate()
281 EXPECT_EQ(ErrorCode::kSuccess, code); in ActionCompleted()
287 EXPECT_EQ(ErrorCode::kSuccess, code); in ActionCompleted()
519 ErrorCode::kSuccess, in TestRollbackCheck()
577 ErrorCode::kSuccess, in TEST_F()
592 ErrorCode::kSuccess, in TEST_F()
607 ErrorCode::kSuccess, in TEST_F()
624 ErrorCode::kSuccess, in TEST_F()
641 ErrorCode::kSuccess, in TEST_F()
672 ErrorCode::kSuccess, in TEST_F()
[all …]
Dupdate_attempter_android_unittest.cc142 ErrorCode::kSuccess)) in TEST_F()
150 update_attempter_android_.ProcessingDone(nullptr, ErrorCode::kSuccess); in TEST_F()
204 update_attempter_android_.ProcessingDone(nullptr, ErrorCode::kSuccess); in TEST_F()
Dupdate_attempter_android.cc372 MetadataParseResult::kSuccess) { in VerifyPayloadApplicable()
404 if (errorcode != ErrorCode::kSuccess) { in VerifyPayloadApplicable()
457 case ErrorCode::kSuccess: in ProcessingDone()
505 code == ErrorCode::kSuccess || code == ErrorCode::kUpdatedButNotActive; in ActionCompleted()
508 if (code != ErrorCode::kSuccess) { in ActionCompleted()
583 (error_code == ErrorCode::kSuccess ? UpdateStatus::UPDATED_NEED_REBOOT in TerminateUpdateAndNotify()
598 if (error_code == ErrorCode::kSuccess) { in TerminateUpdateAndNotify()
721 if (error_code == ErrorCode::kSuccess) { in CollectAndReportUpdateMetricsOnUpdateFinished()
Dmetrics_constants.h129 kSuccess, enumerator
/system/nvram/core/
Dpersistence.cpp55 return storage::Status::kSuccess; in EncodeObject()
76 return storage::Status::kSuccess; in DecodeObject()
102 if (status != storage::Status::kSuccess) { in LoadHeader()
111 if (status != storage::Status::kSuccess) { in StoreHeader()
120 if (status != storage::Status::kSuccess) { in LoadSpace()
129 if (status != storage::Status::kSuccess) { in StoreSpace()
Dnvram_manager.cpp95 case storage::Status::kSuccess: in SanitizeStorageStatus()
96 return storage::Status::kSuccess; in SanitizeStorageStatus()
361 case storage::Status::kSuccess: in DeleteSpace()
564 case storage::Status::kSuccess: in WipeStorage()
666 case storage::Status::kSuccess: in Initialize()
697 case storage::Status::kSuccess: in Initialize()
756 case storage::Status::kSuccess: in Initialize()
809 case storage::Status::kSuccess: in LoadSpaceRecord()
836 storage::Status::kSuccess) { in WriteHeader()
847 storage::Status::kSuccess) { in WriteSpace()
/system/nvram/hal/
Dmemory_storage.cpp39 return Status::kSuccess; in Load()
47 return Status::kSuccess; in Store()
51 return blob_.Resize(0) ? Status::kSuccess : Status::kStorageError; in Delete()
117 return Status::kSuccess; in DeleteSpace()
Dfake_nvram_storage.cpp74 return nvram::storage::Status::kSuccess; in DeleteFile()
111 return nvram::storage::Status::kSuccess; in LoadFile()
157 return nvram::storage::Status::kSuccess; in StoreFile()
/system/core/fs_mgr/libfs_avb/tests/
Dfs_avb_device_test.cpp52 EXPECT_EQ(VBMetaVerifyResult::kSuccess, out_verify_result); in TEST()
87 EXPECT_EQ(VBMetaVerifyResult::kSuccess, out_verify_result); in TEST()
122 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST()
131 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST()
Dfs_avb_test.cpp111 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST_F()
127 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST_F()
285 EXPECT_EQ(AvbHandleStatus::kSuccess, avb_handle->status()); in TEST_F()
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dtypes.h29 kSuccess = 0, enumerator
37 kSuccess = 0, enumerator
49 kSuccess = 0, enumerator
/system/chre/apps/chqts/src/shared/
Dsend_message.h52 kSuccess = 0x0401, enumerator
176 sendMessageToHost(MessageType::kSuccess); in sendSuccessToHost()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc253 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
264 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
274 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
289 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
338 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
352 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
386 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
Ddownload_action.cc55 code_(ErrorCode::kSuccess), in DownloadAction()
335 if (code_ != ErrorCode::kSuccess) { in ReceivedBytes()
371 successful ? ErrorCode::kSuccess : ErrorCode::kDownloadTransferError; in TransferComplete()
372 if (code == ErrorCode::kSuccess) { in TransferComplete()
375 if (code == ErrorCode::kSuccess) { in TransferComplete()
411 if (code == ErrorCode::kSuccess && HasOutputPipe()) in TransferComplete()
417 if (code_ != ErrorCode::kSuccess) { in TransferTerminated()
Dpostinstall_runner_action.cc88 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
93 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
104 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
340 if (error_code == ErrorCode::kSuccess) { in CompletePostinstall()
353 if (error_code != ErrorCode::kSuccess && in CompletePostinstall()
Dfilesystem_verifier_action.cc57 abort_action_completer.set_code(ErrorCode::kSuccess); in PerformAction()
67 Cleanup(ErrorCode::kSuccess); // error code is ignored if canceled_ is true. in TerminateProcessing()
77 if (code == ErrorCode::kSuccess && HasOutputPipe()) in Cleanup()
84 Cleanup(ErrorCode::kSuccess); in StartPartitionHashing()
Dpayload_metadata.cc141 return MetadataParseResult::kSuccess; in ParsePayloadHeader()
146 return ParsePayloadHeader(payload, &error) == MetadataParseResult::kSuccess; in ParsePayloadHeader()
238 return ErrorCode::kSuccess; in ValidateMetadataSignature()
Ddelta_performer_unittest.cc380 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()
381 expected_error = ErrorCode::kSuccess; in DoMetadataSignatureTest()
387 expected_result = MetadataParseResult::kSuccess; in DoMetadataSignatureTest()
388 expected_error = ErrorCode::kSuccess; in DoMetadataSignatureTest()
733 ErrorCode error = ErrorCode::kSuccess; in TEST_F()
735 EXPECT_EQ(ErrorCode::kSuccess, error); in TEST_F()
769 ErrorCode::kSuccess); in TEST_F()
784 ErrorCode::kSuccess); in TEST_F()
799 ErrorCode::kSuccess); in TEST_F()
809 ErrorCode::kSuccess); in TEST_F()
[all …]
Dpayload_metadata.h35 kSuccess, enumerator
/system/core/libappfuse/
DFuseBuffer.cc83 return ResultOrAgain::kSuccess; in ReadInternal()
131 return ResultOrAgain::kSuccess; in WriteInternal()
165 return ReadInternal(this, fd, 0) == ResultOrAgain::kSuccess; in Read()
175 return WriteInternal(this, fd, 0, nullptr, sizeof(T)) == ResultOrAgain::kSuccess; in Write()
181 return WriteInternal(this, fd, 0, data, max_size) == ResultOrAgain::kSuccess; in WriteWithBody()
/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp216 case VBMetaVerifyResult::kSuccess: in LoadAndVerifyVbmeta()
217 avb_handle->status_ = AvbHandleStatus::kSuccess; in LoadAndVerifyVbmeta()
300 case VBMetaVerifyResult::kSuccess: in LoadAndVerifyVbmeta()
301 avb_handle->status_ = AvbHandleStatus::kSuccess; in LoadAndVerifyVbmeta()
372 avb_handle->status_ = AvbHandleStatus::kSuccess; in Open()
453 return AvbHashtreeResult::kSuccess; in SetUpAvbHashtree()
/system/nvram/core/include/nvram/core/
Dstorage.h31 kSuccess, // Operation successful. enumerator

123