Home
last modified time | relevance | path

Searched refs:GetError (Results 1 – 25 of 54) sorted by relevance

123

/aosp12/frameworks/base/tools/aapt2/format/
H A DContainer.cpp143 error << "failed reading from input: " << in->GetError(); in AddResFileEntry()
163 std::string ContainerWriter::GetError() const { in GetError() function in aapt::ContainerWriter
220 error << "failed to read data length from input: " << reader_->in_->GetError(); in GetResFileOffsets()
263 std::string ContainerReaderEntry::GetError() const { in GetError() function in aapt::ContainerReaderEntry
264 return reader_->GetError(); in GetError()
278 error << "failed to read magic from input: " << in_->GetError(); in ContainerReader()
292 error << "failed to read version from input: " << in_->GetError(); in ContainerReader()
306 error << "failed to read entry count from input: " << in_->GetError(); in ContainerReader()
326 error << "failed reading entry type from input: " << in_->GetError(); in Next()
334 error << "failed reading entry length from input: " << in_->GetError(); in Next()
[all …]
H A DArchive.cpp108 error_ = in->GetError(); in WriteFile()
119 std::string GetError() const override { in GetError() function in aapt::__anon7b3c87f70110::DirectoryWriter
200 error_ = in->GetError(); in WriteFile()
239 std::string GetError() const override { in GetError() function in aapt::__anon7b3c87f70110::ZipFileWriter
263 diag->Error(DiagMessage(path) << writer->GetError()); in CreateDirectoryArchiveWriter()
273 diag->Error(DiagMessage(path) << writer->GetError()); in CreateZipFileArchiveWriter()
H A DContainer.h45 std::string GetError() const;
67 std::string GetError() const;
88 std::string GetError() const;
H A DContainer_test.cpp71 ASSERT_TRUE(entry->GetResFileOffsets(&pb_new_file, &offset, &len)) << entry->GetError(); in TEST()
87 EXPECT_THAT(reader.GetError(), IsEmpty()); in TEST()
H A DArchive_test.cpp32 std::string GetError() const override { return error_; } in GetError() function in aapt::TestData
146 ASSERT_EQ("DirectoryWriteFileError", writer->GetError()); in TEST_F()
206 ASSERT_EQ("ZipFileWriteFileError", writer->GetError()); in TEST_F()
/aosp12/frameworks/base/cmds/idmap2/libidmap2/
H A DResourceContainer.cpp118 return xml.GetError(); in ExtractOverlayManifestInfo()
130 return result_str.GetError(); in ExtractOverlayManifestInfo()
182 return parser.GetError(); in CreateResourceMapping()
347 return state.GetError(); in GetState()
364 return state.GetError(); in DefinesOverlayable()
373 return state.GetError(); in GetOverlayableInfo()
385 return state.GetError(); in GetOverlayData()
406 return state.GetError(); in GetResourceId()
420 return state.GetError(); in GetResourceName()
429 return result.GetError(); in FromPath()
[all …]
H A DResourceMapping.cpp66 return Error(defines_overlayable.GetError(), "unable to retrieve overlayable info"); in CheckOverlayable()
80 return overlayable_info.GetError(); in CheckOverlayable()
122 return overlay_data.GetError(); in FromContainers()
146 return Error(result.GetError(), "failed to add mapping for '%s'", in FromContainers()
H A DIdmap.cpp315 return Error(target_crc.GetError(), "failed to get zip CRC for '%s'", target.GetPath().data()); in FromContainers()
321 return Error(overlay_crc.GetError(), "failed to get zip CRC for '%s'", in FromContainers()
334 return Error(info.GetError(), "failed to get overlay info for '%s'", overlay.GetPath().data()); in FromContainers()
341 return Error(resource_mapping.GetError(), "failed to generate resource map for '%s'", in FromContainers()
347 return idmap_data.GetError(); in FromContainers()
/aosp12/frameworks/base/cmds/idmap2/idmap2/
H A DLookup.cpp169 return opts_ok.GetError(); in Lookup()
199 return overlay.GetError(); in Lookup()
204 return manifest_info.GetError(); in Lookup()
230 return Error(resid.GetError(), "failed to parse resource ID"); in Lookup()
235 return Error(value.GetError(), "resource 0x%08x not found", *resid); in Lookup()
H A DCreate.cpp77 return opts_ok.GetError(); in Create()
90 return conv_result.GetError(); in Create()
110 return Error(idmap.GetError(), "failed to create idmap"); in Create()
H A DDump.cpp50 return opts_ok.GetError(); in Dump()
56 return Error(idmap.GetError(), "failed to load idmap"); in Dump()
H A DCreateMultiple.cpp80 return opts_ok.GetError(); in CreateMultiple()
88 return conv_result.GetError(); in CreateMultiple()
/aosp12/system/keymaster/legacy_support/
H A Decdsa_keymaster1_operation.h42 keymaster_error_t GetError(EVP_PKEY* ecdsa_key);
79 if (wrapped_operation_.GetError(super::ecdsa_key_) != KM_ERROR_OK) in Finish()
80 error = wrapped_operation_.GetError(super::ecdsa_key_); in Finish()
H A Drsa_keymaster1_operation.h41 keymaster_error_t GetError(EVP_PKEY* rsa_key);
78 if (wrapped_operation_.GetError(super::rsa_key_) != KM_ERROR_OK) in Finish()
79 error = wrapped_operation_.GetError(super::rsa_key_); in Finish()
/aosp12/frameworks/base/tools/aapt2/io/
H A DIo.h55 virtual std::string GetError() const { return {}; } in GetError() function
90 virtual std::string GetError() const { return {}; } in GetError() function
H A DStringStream.h44 inline std::string GetError() const override { in GetError() function
75 inline std::string GetError() const override { in GetError() function
H A DFileStream.h49 std::string GetError() const override;
88 std::string GetError() const override;
H A DUtil.cpp38 << " to archive: " << writer->GetError()); in CopyInputStreamToArchive()
86 << " to archive: " << writer->GetError()); in CopyProtoToArchive()
H A DFileStream.cpp107 std::string FileInputStream::GetError() const { in GetError() function in aapt::io::FileInputStream
198 std::string FileOutputStream::GetError() const { in GetError() function in aapt::io::FileOutputStream
/aosp12/frameworks/native/services/vr/virtual_touchpad/
H A DVirtualTouchpadEvdev.cpp80 if (const status_t configuration_status = touchpad.injector->GetError()) { in Attach()
138 return touchpad.injector->GetError(); in Touch()
167 return touchpad.injector->GetError(); in ButtonState()
194 return touchpad.injector->GetError(); in Scroll()
/aosp12/system/unwinding/libbacktrace/
H A Dbacktrace_test.cpp362 VERIFY_NO_ERROR(all->GetError().error_code); in VerifyLevelIgnoreFrames()
368 VERIFY_NO_ERROR(ign1->GetError().error_code); in VerifyLevelIgnoreFrames()
374 VERIFY_NO_ERROR(ign2->GetError().error_code); in VerifyLevelIgnoreFrames()
458 VERIFY_NO_ERROR(ign1->GetError().error_code); in VerifyProcessIgnoreFrames()
463 VERIFY_NO_ERROR(ign2->GetError().error_code); in VerifyProcessIgnoreFrames()
644 VERIFY_NO_ERROR(all->GetError().error_code); in TEST_F()
649 VERIFY_NO_ERROR(ign1->GetError().error_code); in TEST_F()
654 VERIFY_NO_ERROR(ign2->GetError().error_code); in TEST_F()
783 VERIFY_NO_ERROR(back1->GetError().error_code); in TEST_F()
790 VERIFY_NO_ERROR(back2->GetError().error_code); in TEST_F()
[all …]
/aosp12/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.h80 const std::string& GetError() const;
120 inline const std::string& JavaClassGenerator::GetError() const { in GetError() function
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DDump.cpp150 << "failed to open file: " << input.GetError()); in Action()
159 << "failed to read container: " << reader.GetError()); in Action()
174 << "failed to parse proto table: " << entry->GetError()); in Action()
199 << entry->GetError()); in Action()
/aosp12/frameworks/base/tools/aapt2/compile/
H A DPngCrunch.cpp94 if (!in->GetError().empty()) { in ReadDataFromStream()
95 error_msg_builder << ": " << in->GetError(); in ReadDataFromStream()
120 if (!out->GetError().empty()) { in WriteDataToStream()
121 err_msg_builder << ": " << out->GetError(); in WriteDataToStream()
123 std::string err = out->GetError(); in WriteDataToStream()
157 source_diag.Error(DiagMessage() << "failed to read PNG signature: " << in->GetError()); in ReadPng()
/aosp12/frameworks/base/cmds/idmap2/include/idmap2/
H A DResult.h72 Error GetError() const;
133 inline Error Result<T>::GetError() const { in GetError() function

123