Home
last modified time | relevance | path

Searched refs:kSuccess (Results 1 – 25 of 89) 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()
Ddownload_action.cc50 code_(ErrorCode::kSuccess), in DownloadAction()
221 if (code_ != ErrorCode::kSuccess) { in ReceivedBytes()
243 successful ? ErrorCode::kSuccess : ErrorCode::kDownloadTransferError; in TransferComplete()
244 if (code == ErrorCode::kSuccess) { in TransferComplete()
247 if (code == ErrorCode::kSuccess) { in TransferComplete()
266 if (code == ErrorCode::kSuccess && HasOutputPipe()) in TransferComplete()
272 if (code_ != ErrorCode::kSuccess) { in TransferTerminated()
/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/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc285 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
296 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
307 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
323 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
339 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
373 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
412 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
421 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
435 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
470 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
Ddelta_performer.cc205 if (*error == ErrorCode::kSuccess) in HandleOpResult()
294 *error = ErrorCode::kSuccess; in ParsePayloadMetadata()
299 if (result != MetadataParseResult::kSuccess) in ParsePayloadMetadata()
370 if (*error != ErrorCode::kSuccess) { in ParsePayloadMetadata()
380 *error = ErrorCode::kSuccess; in ParsePayloadMetadata()
391 return MetadataParseResult::kSuccess; in ParsePayloadMetadata()
406 *error = ErrorCode::kSuccess; in Write()
435 if ((*error = ValidateManifest()) != ErrorCode::kSuccess) in Write()
533 if (*error != ErrorCode::kSuccess) { in Write()
541 *error = ErrorCode::kSuccess; in Write()
[all …]
Dpayload_metadata.cc134 return MetadataParseResult::kSuccess; in ParsePayloadHeader()
139 return ParsePayloadHeader(payload, &error) == MetadataParseResult::kSuccess; in ParsePayloadHeader()
222 return ErrorCode::kSuccess; in ValidateMetadataSignature()
Dpostinstall_runner_action.cc127 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
138 return CompletePostinstall(ErrorCode::kSuccess); in PerformPartitionPostinstall()
369 if (error_code == ErrorCode::kSuccess) { in Cleanup()
394 if (error_code != ErrorCode::kSuccess && in Cleanup()
/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/chre/apps/test/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/update_engine/cros/
Ddownload_action_chromeos.cc55 code_(ErrorCode::kSuccess), in DownloadActionChromeos()
379 if (code_ != ErrorCode::kSuccess) { in ReceivedBytes()
416 successful ? ErrorCode::kSuccess : ErrorCode::kDownloadTransferError; in TransferComplete()
417 if (code == ErrorCode::kSuccess) { in TransferComplete()
420 if (code == ErrorCode::kSuccess) { in TransferComplete()
454 if (code == ErrorCode::kSuccess && HasOutputPipe()) in TransferComplete()
460 if (code_ != ErrorCode::kSuccess) { in TransferTerminated()
/system/update_engine/aosp/
Dcleanup_previous_update_action.cc155 processor_->ActionComplete(this, ErrorCode::kSuccess); in StartActionInternal()
222 this, kIsRecovery ? ErrorCode::kSuccess : ErrorCode::kError); in CheckSlotMarkedSuccessfulOrSchedule()
288 ErrorCode error_code = ErrorCode::kSuccess; in WaitForMergeOrSchedule()
299 processor_->ActionComplete(this, ErrorCode::kSuccess); in WaitForMergeOrSchedule()
321 processor_->ActionComplete(this, ErrorCode::kSuccess); in WaitForMergeOrSchedule()
337 cancel_failed_ ? ErrorCode::kError : ErrorCode::kSuccess; in WaitForMergeOrSchedule()
437 processor_->ActionComplete(this, ErrorCode::kSuccess); in InitiateMergeAndWait()
/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/vold/
DEncryptInplace.cpp33 kSuccess, enumerator
278 return kSuccess; in EncryptInPlaceExt4()
294 return kSuccess; in EncryptInPlaceF2fs()
301 if (rc != kFilesystemNotFound) return rc == kSuccess; in DoEncryptInPlace()
304 if (rc != kFilesystemNotFound) return rc == kSuccess; in DoEncryptInPlace()
/system/update_engine/update_manager/
Denterprise_rollback_policy_impl.cc34 *result = ErrorCode::kSuccess; in UpdateCanBeApplied()
Denterprise_rollback_policy_impl_unittest.cc53 EXPECT_EQ(result, ErrorCode::kSuccess); in TEST_F()
/system/nvram/core/include/nvram/core/
Dstorage.h31 kSuccess, // Operation successful. enumerator

1234