Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DErrors.h27 enum class IOError { enum
33 using NullOrIOError = std::variant<std::nullopt_t, IOError>;
38 return !result.has_value() && std::holds_alternative<IOError>(result.error()); in IsIOError()
41 static inline IOError GetIOError(const NullOrIOError& error) { in GetIOError()
42 return std::get<IOError>(error); in GetIOError()
H A DAttributeResolution.h48 base::expected<std::monostate, IOError> ResolveAttrs(Theme* theme, uint32_t def_style_attr,
56 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser,
64 base::expected<std::monostate, IOError> RetrieveAttributes(AssetManager2* assetmanager,
H A DLoadedArsc.h71 return base::unexpected(IOError::PAGES_MISSING); in GetFlagsForEntryIndex()
229 base::expected<std::monostate, IOError> CollectConfigurations(
H A DAssetManager2.h152 base::expected<std::set<ResTable_config>, IOError> GetResourceConfigurations(
522 base::expected<std::monostate, IOError> SetTo(const Theme& source);
H A DResourceTypes.h535 base::expected<String8, IOError> string8ObjectAt(size_t idx) const;
/aosp12/build/make/tools/
H A Devent_log_tags.py58 except (IOError, OSError), e:
103 except (IOError, OSError), e:
133 except (IOError, OSError), e:
H A Dcheck_radio_versions.py54 except IOError:
H A Dcheck_elf_file.py361 except (IOError, OSError):
/aosp12/frameworks/base/libs/androidfw/
H A DLoadedArsc.cpp136 return base::unexpected(IOError::PAGES_MISSING); in VerifyResTableEntry()
162 return base::unexpected(IOError::PAGES_MISSING); in VerifyResTableEntry()
179 return base::unexpected(IOError::PAGES_MISSING); in VerifyResTableEntry()
271 return base::unexpected(IOError::PAGES_MISSING); in GetEntryOffset()
289 return base::unexpected(IOError::PAGES_MISSING); in GetEntryOffset()
309 base::expected<std::monostate, IOError> LoadedPackage::CollectConfigurations( in CollectConfigurations()
384 return base::unexpected(IOError::PAGES_MISSING); in FindEntryByName()
400 return base::unexpected(IOError::PAGES_MISSING); in FindEntryByName()
H A DAssetManager2.cpp45 base::expected<EntryValue, IOError> GetEntryValue( in GetEntryValue()
54 return base::unexpected(IOError::PAGES_MISSING); in GetEntryValue()
62 return base::unexpected(IOError::PAGES_MISSING); in GetEntryValue()
420 base::expected<std::set<ResTable_config>, IOError> AssetManager2::GetResourceConfigurations( in GetResourceConfigurations()
782 return base::unexpected(IOError::PAGES_MISSING); in FindEntryInternal()
1044 return base::unexpected(IOError::PAGES_MISSING); in GetBag()
1115 return base::unexpected(IOError::PAGES_MISSING); in GetBag()
1162 return base::unexpected(IOError::PAGES_MISSING); in GetBag()
1479 base::expected<std::monostate, IOError> Theme::SetTo(const Theme& source) { in SetTo()
H A DAttributeResolution.cpp121 base::expected<std::monostate, IOError> ResolveAttrs(Theme* theme, uint32_t def_style_attr, in ResolveAttrs()
220 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, in ApplyStyle()
352 base::expected<std::monostate, IOError> RetrieveAttributes(AssetManager2* assetmanager, in RetrieveAttributes()
H A DResourceTypes.cpp713 return base::unexpected(IOError::PAGES_MISSING); in decodeLength()
720 return base::unexpected(IOError::PAGES_MISSING); in decodeLength()
741 return base::unexpected(IOError::PAGES_MISSING); in decodeLength()
748 return base::unexpected(IOError::PAGES_MISSING); in decodeLength()
762 return base::unexpected(IOError::PAGES_MISSING); in stringAt()
780 return base::unexpected(IOError::PAGES_MISSING); in stringAt()
789 return base::unexpected(IOError::PAGES_MISSING); in stringAt()
901 return base::unexpected(IOError::PAGES_MISSING); in string8At()
951 return base::unexpected(IOError::PAGES_MISSING); in stringDecodeAt()
961 return base::unexpected(IOError::PAGES_MISSING); in stringDecodeAt()
[all …]
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DLayoutPullParser.java31 import java.io.IOError;
78 throw new IOError(e); in LayoutPullParser()
/aosp12/hardware/google/camera/common/hal/hidl_service/
H A Dversion_script.py108 except IOError:
/aosp12/system/update_engine/scripts/update_payload/
H A Dcommon.py145 except IOError as e:
H A Dtest_utils.py74 except IOError as e:
/aosp12/system/update_engine/scripts/
H A Dupdate_device.py185 except IOError:
227 except IOError:
/aosp12/build/make/tools/releasetools/
H A Dverity_utils.py148 except IOError:
H A Dsign_target_files_apks763 except IOError as e:
H A Dsign_target_files_apks.py763 except IOError as e:
H A Dcommon.py692 except IOError as e:
2671 except IOError as e:
/aosp12/packages/modules/adb/
H A Dtest_adb.py267 with self.assertRaises(IOError):
/aosp12/system/apex/apexer/
H A Dapexer.py460 except IOError:
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt40013 public class IOError extends java.lang.Error {
40014 ctor public IOError(java.lang.Throwable);