/system/nvram/core/tests/ |
D | nvram_manager_test.cpp | 44 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 …]
|
D | fake_storage.cpp | 41 return Status::kSuccess; in Load() 51 return Status::kSuccess; in Store() 61 return Status::kSuccess; in Delete()
|
/system/update_engine/ |
D | update_boot_flags_action.cc | 32 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction() 37 processor_->ActionComplete(this, ErrorCode::kSuccess); in PerformAction() 80 processor_->ActionComplete(this, ErrorCode::kSuccess); in CompleteUpdateBootFlags()
|
D | download_action.cc | 50 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/ |
D | persistence.cpp | 55 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()
|
D | nvram_manager.cpp | 95 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/ |
D | memory_storage.cpp | 39 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()
|
D | fake_nvram_storage.cpp | 74 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/ |
D | postinstall_runner_action_unittest.cc | 285 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()
|
D | delta_performer.cc | 205 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 …]
|
D | payload_metadata.cc | 134 return MetadataParseResult::kSuccess; in ParsePayloadHeader() 139 return ParsePayloadHeader(payload, &error) == MetadataParseResult::kSuccess; in ParsePayloadHeader() 222 return ErrorCode::kSuccess; in ValidateMetadataSignature()
|
D | postinstall_runner_action.cc | 127 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/ |
D | fs_avb_device_test.cpp | 52 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/ |
D | send_message.h | 52 kSuccess = 0x0401, enumerator 176 sendMessageToHost(MessageType::kSuccess); in sendSuccessToHost()
|
/system/core/fs_mgr/libfs_avb/include/fs_avb/ |
D | types.h | 29 kSuccess = 0, enumerator 37 kSuccess = 0, enumerator 49 kSuccess = 0, enumerator
|
/system/libziparchive/ |
D | zip_cd_entry_map.cc | 52 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()
|
D | zip_error.h | 22 kSuccess = 0, enumerator
|
/system/update_engine/cros/ |
D | download_action_chromeos.cc | 55 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/ |
D | cleanup_previous_update_action.cc | 155 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/ |
D | FuseBuffer.cc | 83 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/ |
D | fs_avb.cpp | 218 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/ |
D | EncryptInplace.cpp | 33 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/ |
D | enterprise_rollback_policy_impl.cc | 34 *result = ErrorCode::kSuccess; in UpdateCanBeApplied()
|
D | enterprise_rollback_policy_impl_unittest.cc | 53 EXPECT_EQ(result, ErrorCode::kSuccess); in TEST_F()
|
/system/nvram/core/include/nvram/core/ |
D | storage.h | 31 kSuccess, // Operation successful. enumerator
|