Home
last modified time | relevance | path

Searched refs:ErrorMessage (Results 1 – 19 of 19) sorted by relevance

/system/apex/apexd/
Dapex_manifest_test.cpp35 EXPECT_EQ(apex_manifest.ErrorMessage(), in TEST()
37 << apex_manifest.ErrorMessage(); in TEST()
45 apex_manifest.ErrorMessage(), in TEST()
47 << apex_manifest.ErrorMessage(); in TEST()
55 EXPECT_EQ(apex_manifest.ErrorMessage(), in TEST()
58 << apex_manifest.ErrorMessage(); in TEST()
95 EXPECT_EQ(apex_manifest.ErrorMessage(), in TEST()
98 << apex_manifest.ErrorMessage(); in TEST()
Dapexd.cpp273 LOG(ERROR) << ret.ErrorMessage(); in ~DmVerityDevice()
301 << status.ErrorMessage(); in createVerityDevice()
420 << ": " << ret.ErrorMessage()); in mountNonFlattened()
429 << full_path << ": " << verityData.ErrorMessage()); in mountNonFlattened()
451 << full_path << ": " << verityDevRes.ErrorMessage()); in mountNonFlattened()
489 << ": " << status.ErrorMessage()); in mountNonFlattened()
596 << status.ErrorMessage(); in Unmount()
630 << mount_status.ErrorMessage(); in RunVerifyFnInsideTempMount()
638 << status.ErrorMessage(); in RunVerifyFnInsideTempMount()
689 return RetType::Fail(apex_file.ErrorMessage()); in HandlePackages()
[all …]
Dapex_file_test.cpp68 apexFile.ErrorMessage().find("Failed to open package")) in TEST()
69 << apexFile.ErrorMessage(); in TEST()
83 ASSERT_TRUE(apexFile.Ok()) << apexFile.ErrorMessage(); in TEST()
86 ASSERT_TRUE(verity_or.Ok()) << verity_or.ErrorMessage(); in TEST()
102 ASSERT_TRUE(apexFile.Ok()) << apexFile.ErrorMessage();
119 ASSERT_TRUE(apexFile.Ok()) << apexFile.ErrorMessage();
Dstatus_or.h68 const std::string& ErrorMessage() const { in ErrorMessage() function
69 return ErrorStatus().ErrorMessage(); in ErrorMessage()
76 return StatusOr(status.ErrorMessage(), StatusOrTag::kDummy); in MakeError()
Dapexservice.cpp133 << res.ErrorMessage(); in stagePackages()
135 String8(res.ErrorMessage().c_str())); in stagePackages()
147 << res.ErrorMessage(); in unstagePackages()
149 String8(res.ErrorMessage().c_str())); in unstagePackages()
163 << packages.ErrorMessage(); in submitStagedSession()
186 << " as ready: " << success.ErrorMessage(); in markStagedSessionReady()
200 << " as SUCCESS: " << ret.ErrorMessage(); in markStagedSessionSuccessful()
202 String8(ret.ErrorMessage().c_str())); in markStagedSessionSuccessful()
337 << res.ErrorMessage(); in activatePackage()
339 String8(res.ErrorMessage().c_str())); in activatePackage()
[all …]
Dapexd_session.cpp54 return StatusOr<std::string>(res.ErrorMessage()); in createSessionDirIfNeeded()
60 return StatusOr<std::string>(res.ErrorMessage()); in createSessionDirIfNeeded()
88 return StatusOr<ApexSession>::MakeError(sessionPath.ErrorMessage()); in CreateSession()
132 LOG(WARNING) << session.ErrorMessage(); in GetSessions()
Dapex_file.cpp173 return StatusOr<ApexFile>::MakeError(manifest.ErrorMessage()); in Open()
329 << "couldn't verify public key: " << st.ErrorMessage()); in verifyVbMetaSignature()
350 return StatusOr<std::unique_ptr<uint8_t[]>>::MakeError(st.ErrorMessage()); in verifyVbMeta()
415 return StatusOr<ApexVerityData>::MakeError(footer.ErrorMessage()); in VerifyApexVerity()
421 return StatusOr<ApexVerityData>::MakeError(vbmeta_data.ErrorMessage()); in VerifyApexVerity()
427 return StatusOr<ApexVerityData>::MakeError(descriptor.ErrorMessage()); in VerifyApexVerity()
434 verifiedDescriptor.ErrorMessage()); in VerifyApexVerity()
459 return Status::Fail(verifiedManifest.ErrorMessage()); in VerifyManifestMatches()
Dapexd_prop.cpp41 LOG(ERROR) << "Rollback failed : " << status.ErrorMessage(); in waitForBootStatus()
Dapexd_prepostinstall.cpp79 << ": " << st.ErrorMessage(); in StageFnInstall()
159 << ": " << apex_file.ErrorMessage(); in RunFnInstall()
172 << active_point << ": " << bind_status.ErrorMessage(); in RunFnInstall()
Dstatus.h39 const std::string& ErrorMessage() const { in ErrorMessage() function
Dapex_key.cpp65 << apex_file.ErrorMessage()); in collectEmbedddedApexKeysFromDir()
98 << " : " << key_pairs.ErrorMessage()); in collectApexKeys()
Dapexd_test_utils.h41 << " failed with " << status.ErrorMessage(); in IsOk()
51 << " failed with " << status_or.ErrorMessage(); in IsOk()
Dapex_database.cpp111 LOG(WARNING) << status.ErrorMessage(); in GetSlaves()
165 LOG(ERROR) << "Failed to walk " << dir << " : " << status.ErrorMessage(); in scanFlattendedPackages()
277 LOG(WARNING) << "Can't resolve mount info " << mountData.ErrorMessage(); in PopulateFromMounts()
Dapexd_utils.h115 return Status::Fail(status.ErrorMessage()); in ReadDir()
155 << files.ErrorMessage()); in DeleteDirContent()
Dapexd_main.cpp84 << vold_service_st.ErrorMessage(); in main()
Dapexd_loop.cpp217 return Failed::MakeError(StringLog() << readAheadStatus.ErrorMessage()); in createLoopDevice()
Dapexservice_test.cpp323 << test_input << " failed to load: " << apex_file.ErrorMessage(); in Prepare()
/system/tools/aidl/
Doptions.h35 class ErrorMessage {
37 ErrorMessage() = default;
38 ErrorMessage(const ErrorMessage&) {} in ErrorMessage() argument
42 ErrorMessage& operator<<(T& t) {
48 ErrorMessage& operator<<(const T& t) {
54 ErrorMessage& operator<<(std::ostream& (*f)(std::ostream&)) {
157 ErrorMessage error_message_;
/system/gsid/
Dgsi_tool.cpp85 static std::string ErrorMessage(const android::binder::Status& status, int error_code = IGsiService… in ErrorMessage() function
281 std::cerr << "Could not start live image install: " << ErrorMessage(status, error) << "\n"; in Install()
291 std::cerr << "Could not commit live image data: " << ErrorMessage(status) << "\n"; in Install()
299 std::cerr << "Could not make live image bootable: " << ErrorMessage(status, error) << "\n"; in Install()
322 std::cerr << "Could not remove GSI install: " << ErrorMessage(status) << "\n"; in Wipe()
366 std::cerr << "Could not wipe GSI userdata: " << ErrorMessage(status, error) << "\n"; in WipeData()
456 std::cerr << "Error re-enabling GSI: " << ErrorMessage(status, error) << "\n"; in Enable()