Lines Matching refs:AssetManager2
100 AssetManager2::AssetManager2(ApkAssetsList apk_assets, const ResTable_config& configuration) { in AssetManager2() function in android::AssetManager2
107 AssetManager2::AssetManager2() { in AssetManager2() function in android::AssetManager2
111 bool AssetManager2::SetApkAssets(ApkAssetsList apk_assets, bool invalidate_caches) { in SetApkAssets()
120 void AssetManager2::PresetApkAssets(ApkAssetsList apk_assets) { in PresetApkAssets()
124 bool AssetManager2::SetApkAssets(std::initializer_list<ApkAssetsPtr> apk_assets, in SetApkAssets()
129 void AssetManager2::BuildDynamicRefTable(ApkAssetsList apk_assets) { in BuildDynamicRefTable()
273 void AssetManager2::DumpToLog() const { in DumpToLog()
313 const ResStringPool* AssetManager2::GetStringPoolForCookie(ApkAssetsCookie cookie) const { in GetStringPoolForCookie()
322 const DynamicRefTable* AssetManager2::GetDynamicRefTableForPackage(uint32_t package_id) const { in GetDynamicRefTableForPackage()
334 std::shared_ptr<const DynamicRefTable> AssetManager2::GetDynamicRefTableForCookie( in GetDynamicRefTableForCookie()
347 AssetManager2::GetOverlayableMapForPackage(uint32_t package_id) const { in GetOverlayableMapForPackage()
367 bool AssetManager2::GetOverlayablesToString(android::StringPiece package_name, in GetOverlayablesToString()
428 bool AssetManager2::ContainsAllocatedTable() const { in ContainsAllocatedTable()
439 void AssetManager2::SetConfigurations(std::vector<ResTable_config> configurations, in SetConfigurations()
461 std::set<AssetManager2::ApkAssetsPtr> AssetManager2::GetNonSystemOverlays() const { in GetNonSystemOverlays()
485 base::expected<std::set<ResTable_config>, IOError> AssetManager2::GetResourceConfigurations( in GetResourceConfigurations()
520 std::set<std::string> AssetManager2::GetResourceLocales(bool exclude_system, in GetResourceLocales()
552 std::unique_ptr<Asset> AssetManager2::Open(const std::string& filename, in Open()
558 std::unique_ptr<Asset> AssetManager2::Open(const std::string& filename, ApkAssetsCookie cookie, in Open()
564 std::unique_ptr<AssetDir> AssetManager2::OpenDir(const std::string& dirname) const { in OpenDir()
599 std::unique_ptr<Asset> AssetManager2::OpenNonAsset(const std::string& filename, in OpenNonAsset()
627 std::unique_ptr<Asset> AssetManager2::OpenNonAsset(const std::string& filename, in OpenNonAsset()
638 base::expected<FindEntryResult, NullOrIOError> AssetManager2::FindEntry( in FindEntry()
823 base::expected<FindEntryResult, NullOrIOError> AssetManager2::FindEntryInternal( in FindEntryInternal()
959 void AssetManager2::ResetResourceResolution() const { in ResetResourceResolution()
963 void AssetManager2::SetResourceResolutionLoggingEnabled(bool enabled) { in SetResourceResolutionLoggingEnabled()
970 std::string AssetManager2::GetLastResourceResolution() const { in GetLastResourceResolution()
1045 base::expected<uint32_t, NullOrIOError> AssetManager2::GetParentThemeResourceId(uint32_t resid) in GetParentThemeResourceId()
1066 base::expected<AssetManager2::ResourceName, NullOrIOError> AssetManager2::GetResourceName( in GetResourceName()
1079 base::expected<uint32_t, NullOrIOError> AssetManager2::GetResourceTypeSpecFlags( in GetResourceTypeSpecFlags()
1089 base::expected<AssetManager2::SelectedValue, NullOrIOError> AssetManager2::GetResource( in GetResource()
1117 base::expected<std::monostate, NullOrIOError> AssetManager2::ResolveReference( in ResolveReference()
1118 AssetManager2::SelectedValue& value, bool cache_value) const { in ResolveReference()
1169 base::expected<const std::vector<uint32_t>*, NullOrIOError> AssetManager2::GetBagResIdStack( in GetBagResIdStack()
1184 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::ResolveBag( in ResolveBag()
1185 AssetManager2::SelectedValue& value) const { in ResolveBag()
1197 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::GetBag(uint32_t resid) const { in GetBag()
1210 base::expected<const ResolvedBag*, NullOrIOError> AssetManager2::GetBag( in GetBag()
1435 base::expected<uint32_t, NullOrIOError> AssetManager2::GetResourceId( in GetResourceId()
1496 void AssetManager2::RebuildFilterList() { in RebuildFilterList()
1521 void AssetManager2::InvalidateCaches(uint32_t diff) { in InvalidateCaches()
1558 uint8_t AssetManager2::GetAssignedPackageId(const LoadedPackage* package) const { in GetAssignedPackageId()
1569 std::unique_ptr<Theme> AssetManager2::NewTheme() { in NewTheme()
1577 void AssetManager2::ForEachPackage(base::function_ref<bool(const std::string&, uint8_t)> func, in ForEachPackage()
1589 AssetManager2::ScopedOperation AssetManager2::StartOperation() const { in StartOperation()
1594 void AssetManager2::FinishOperation() const { in FinishOperation()
1606 const AssetManager2::ApkAssetsPtr& AssetManager2::GetApkAssets(ApkAssetsCookie cookie) const { in GetApkAssets()
1620 Theme::Theme(AssetManager2* asset_manager) : asset_manager_(asset_manager) { in Theme()
1672 void Theme::Rebase(AssetManager2* am, const uint32_t* style_ids, const uint8_t* force, in Rebase()
1685 std::optional<AssetManager2::SelectedValue> Theme::GetAttribute(uint32_t resid) const { in GetAttribute()
1700 return AssetManager2::SelectedValue(entry_it->value.dataType, entry_it->value.data, in GetAttribute()
1708 AssetManager2::SelectedValue& value) const { in ResolveAttributeReference()
1713 std::optional<AssetManager2::SelectedValue> result = GetAttribute(value.data); in ResolveAttributeReference()
1881 AssetManager2::ScopedOperation::ScopedOperation(const AssetManager2& am) : am_(am) { in ScopedOperation()
1884 AssetManager2::ScopedOperation::~ScopedOperation() { in ~ScopedOperation()