Home
last modified time | relevance | path

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

1234

/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()
Dcleanup_previous_update_action.cc111 processor_->ActionComplete(this, ErrorCode::kSuccess); in StartActionInternal()
169 this, kIsRecovery ? ErrorCode::kSuccess : ErrorCode::kError); in CheckSlotMarkedSuccessfulOrSchedule()
232 ErrorCode error_code = ErrorCode::kSuccess; in WaitForMergeOrSchedule()
243 processor_->ActionComplete(this, ErrorCode::kSuccess); in WaitForMergeOrSchedule()
265 processor_->ActionComplete(this, ErrorCode::kSuccess); in WaitForMergeOrSchedule()
280 cancel_failed_ ? ErrorCode::kError : ErrorCode::kSuccess; in WaitForMergeOrSchedule()
365 processor_->ActionComplete(this, ErrorCode::kSuccess); in InitiateMergeAndWait()
Dupdate_attempter_android_unittest.cc148 ErrorCode::kSuccess)) in TEST_F()
160 update_attempter_android_.ProcessingDone(nullptr, ErrorCode::kSuccess); in TEST_F()
219 update_attempter_android_.ProcessingDone(nullptr, ErrorCode::kSuccess); in TEST_F()
Dmetrics_constants.h138 kSuccess, enumerator
Dsideload_main.cc88 if (error_code != ErrorCode::kSuccess) { in SendPayloadApplicationComplete()
118 ErrorCode error_code_{ErrorCode::kSuccess};
/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()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc271 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
282 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
293 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
309 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
325 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
358 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
397 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
411 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
446 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
Ddownload_action.cc55 code_(ErrorCode::kSuccess), in DownloadAction()
377 if (code_ != ErrorCode::kSuccess) { in ReceivedBytes()
413 successful ? ErrorCode::kSuccess : ErrorCode::kDownloadTransferError; in TransferComplete()
414 if (code == ErrorCode::kSuccess) { in TransferComplete()
417 if (code == ErrorCode::kSuccess) { in TransferComplete()
453 if (code == ErrorCode::kSuccess && HasOutputPipe()) in TransferComplete()
459 if (code_ != ErrorCode::kSuccess) { in TransferTerminated()
Dfilesystem_verifier_action.cc58 abort_action_completer.set_code(ErrorCode::kSuccess); in PerformAction()
69 Cleanup(ErrorCode::kSuccess); // error code is ignored if canceled_ is true. in TerminateProcessing()
79 if (code == ErrorCode::kSuccess && HasOutputPipe()) in Cleanup()
107 Cleanup(ErrorCode::kSuccess); in StartPartitionHashing()
Dpayload_metadata.cc117 return MetadataParseResult::kSuccess; in ParsePayloadHeader()
122 return ParsePayloadHeader(payload, &error) == MetadataParseResult::kSuccess; in ParsePayloadHeader()
199 return ErrorCode::kSuccess; in ValidateMetadataSignature()
Dpostinstall_runner_action.cc101 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
112 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
342 if (error_code == ErrorCode::kSuccess) { in CompletePostinstall()
360 if (error_code != ErrorCode::kSuccess && in CompletePostinstall()
/system/chre/apps/chqts/src/shared/
Dsend_message.h52 kSuccess = 0x0401, enumerator
176 sendMessageToHost(MessageType::kSuccess); in sendSuccessToHost()
/system/core/fs_mgr/libfs_avb/include/fs_avb/
Dtypes.h29 kSuccess = 0, enumerator
37 kSuccess = 0, enumerator
49 kSuccess = 0, enumerator
/system/libziparchive/
Dzip_cd_entry_map.cc52 return {kSuccess, hash_table_[ent].name_offset}; in GetCdEntryOffset()
82 return kSuccess; in AddToMap()
132 return kSuccess; in AddToMap()
143 return {kSuccess, it->second}; in GetCdEntryOffset()
Dzip_error.h22 kSuccess = 0, 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.cpp218 case VBMetaVerifyResult::kSuccess: in LoadAndVerifyVbmeta()
219 avb_handle->status_ = AvbHandleStatus::kSuccess; in LoadAndVerifyVbmeta()
316 case VBMetaVerifyResult::kSuccess: in LoadAndVerifyVbmeta()
317 avb_handle->status_ = AvbHandleStatus::kSuccess; in LoadAndVerifyVbmeta()
418 avb_handle->status_ = AvbHandleStatus::kSuccess; in Open()
498 return AvbHashtreeResult::kSuccess; in SetUpAvbHashtree()
/system/nvram/core/include/nvram/core/
Dstorage.h31 kSuccess, // Operation successful. enumerator
/system/core/init/
Duevent_listener.h41 kSuccess = 0, // Uevent was successfully read. enumerator

1234