Home
last modified time | relevance | path

Searched refs:policy_header (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp455 const ResTable_overlayable_policy_header* policy_header = in ParseOverlayable() local
459 if (policy_header->policy_flags & ResTable_overlayable_policy_header::POLICY_PUBLIC) { in ParseOverlayable()
462 if (policy_header->policy_flags in ParseOverlayable()
466 if (policy_header->policy_flags in ParseOverlayable()
470 if (policy_header->policy_flags in ParseOverlayable()
474 if (policy_header->policy_flags in ParseOverlayable()
478 if (policy_header->policy_flags in ParseOverlayable()
482 if (policy_header->policy_flags in ParseOverlayable()
488 ((uint8_t *)policy_header) + util::DeviceToHost32(policy_header->header.headerSize)); in ParseOverlayable()
490 + util::DeviceToHost32(policy_header->entry_count); in ParseOverlayable()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp615 const ResTable_overlayable_policy_header* policy_header = in Load() local
617 if (policy_header == nullptr) { in Load()
623 < dtohl(policy_header->entry_count)) { in Load()
632 const auto ids_end = ids_begin + dtohl(policy_header->entry_count); in Load()
641 overlayable_info.policy_flags = policy_header->policy_flags; in Load()