Searched refs:IOError (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Errors.h | 27 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()
|
D | AttributeResolution.h | 48 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,
|
D | LoadedArsc.h | 71 return base::unexpected(IOError::PAGES_MISSING); in GetFlagsForEntryIndex() 235 base::expected<std::monostate, IOError> CollectConfigurations(
|
D | AssetManager2.h | 180 base::expected<std::set<ResTable_config>, IOError> GetResourceConfigurations( 572 base::expected<std::monostate, IOError> SetTo(const Theme& source);
|
D | ResourceTypes.h | 541 base::expected<String8, IOError> string8ObjectAt(size_t idx) const;
|
/frameworks/base/libs/androidfw/ |
D | LoadedArsc.cpp | 142 return base::unexpected(IOError::PAGES_MISSING); in VerifyResTableEntry() 173 return base::unexpected(IOError::PAGES_MISSING); in VerifyResTableEntry() 190 return base::unexpected(IOError::PAGES_MISSING); in VerifyResTableEntry() 281 return base::unexpected(IOError::PAGES_MISSING); in GetEntryOffset() 302 return base::unexpected(IOError::PAGES_MISSING); in GetEntryOffset() 308 return base::unexpected(IOError::PAGES_MISSING); in GetEntryOffset() 329 base::expected<std::monostate, IOError> LoadedPackage::CollectConfigurations( in CollectConfigurations() 408 return base::unexpected(IOError::PAGES_MISSING); in FindEntryByName() 415 return base::unexpected(IOError::PAGES_MISSING); in FindEntryByName() 422 return base::unexpected(IOError::PAGES_MISSING); in FindEntryByName() [all …]
|
D | AttributeResolution.cpp | 121 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()
|
D | AssetManager2.cpp | 50 base::expected<EntryValue, IOError> GetEntryValue( in GetEntryValue() 485 base::expected<std::set<ResTable_config>, IOError> AssetManager2::GetResourceConfigurations( in GetResourceConfigurations() 1248 return base::unexpected(IOError::PAGES_MISSING); in GetBag() 1319 return base::unexpected(IOError::PAGES_MISSING); in GetBag() 1366 return base::unexpected(IOError::PAGES_MISSING); in GetBag() 1731 base::expected<std::monostate, IOError> Theme::SetTo(const Theme& source) { in SetTo()
|
D | ResourceTypes.cpp | 753 static inline base::expected<size_t, IOError> decodeLength(incfs::map_ptr<uint16_t>* str) in decodeLength() 756 return base::unexpected(IOError::PAGES_MISSING); in decodeLength() 763 return base::unexpected(IOError::PAGES_MISSING); in decodeLength() 781 static inline base::expected<size_t, IOError> decodeLength(incfs::map_ptr<uint8_t>* str) in decodeLength() 784 return base::unexpected(IOError::PAGES_MISSING); in decodeLength() 791 return base::unexpected(IOError::PAGES_MISSING); in decodeLength() 805 return base::unexpected(IOError::PAGES_MISSING); in stringAt() 814 const base::expected<size_t, IOError> u16len = decodeLength(&str); in stringAt() 823 return base::unexpected(IOError::PAGES_MISSING); in stringAt() 832 return base::unexpected(IOError::PAGES_MISSING); in stringAt() [all …]
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutPullParser.java | 31 import java.io.IOError; 78 throw new IOError(e); in LayoutPullParser()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 40013 public class IOError extends java.lang.Error { 40014 ctor public IOError(java.lang.Throwable);
|