OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ResolvedBag
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/libs/androidfw/include/androidfw/
AssetManager2.h
44
struct
ResolvedBag
{
220
// const AssetManager2::
ResolvedBag
* bag = asset_manager->GetBag(id);
226
const
ResolvedBag
* GetBag(uint32_t resid);
286
std::unordered_map<uint32_t, util::unique_cptr<
ResolvedBag
>> cached_bags_;
369
inline const
ResolvedBag
::Entry* begin(const
ResolvedBag
* bag) { return bag->entries; }
371
inline const
ResolvedBag
::Entry* end(const
ResolvedBag
* bag) {
/frameworks/base/libs/androidfw/
AssetManager2.cpp
456
const
ResolvedBag
* AssetManager2::GetBag(uint32_t resid) {
492
util::unique_cptr<
ResolvedBag
> new_bag{reinterpret_cast<
ResolvedBag
*>(
493
malloc(sizeof(
ResolvedBag
) + (entry_count * sizeof(
ResolvedBag
::Entry))))};
494
ResolvedBag
::Entry* new_entry = new_bag->entries;
514
ResolvedBag
* result = new_bag.get();
523
const
ResolvedBag
* parent_bag = GetBag(parent_resid);
536
ResolvedBag
* new_bag = reinterpret_cast<
ResolvedBag
*>(
[
all
...]
/frameworks/base/libs/androidfw/tests/
AssetManager2_test.cpp
209
const
ResolvedBag
* bag = assetmanager.GetBag(basic::R::array::integerArray1);
236
const
ResolvedBag
* bag = assetmanager.GetBag(libclient::R::style::Theme);
251
const
ResolvedBag
* bag_one = assetmanager.GetBag(app::R::style::StyleOne);
265
const
ResolvedBag
* bag_two = assetmanager.GetBag(app::R::style::StyleTwo);
AssetManager2_bench.cpp
173
const
ResolvedBag
* bag = assets.GetBag(app::R::style::StyleTwo);
Completed in 292 milliseconds