Lines Matching refs:ElementCast

389 template<typename T> T* ElementCast(ManifestExtractor::Element* element);
1029 FeatureGroup* feature_group = ElementCast<FeatureGroup>(extractor()->parent_stack()[0]); in Extract()
1171 if (auto manifest = ElementCast<Manifest>(parent)) { in Extract()
1244 if (category && ElementCast<IntentFilter>(parent_stack[0]) in Extract()
1245 && ElementCast<Activity>(parent_stack[1])) { in Extract()
1246 Activity* activity = ElementCast<Activity>(parent_stack[1]); in Extract()
1314 if (parent_stack.size() > 0 && ElementCast<Application>(parent_stack[0])) { in Extract()
1338 if (parent_stack.size() > 0 && ElementCast<Application>(parent_stack[0])) { in Extract()
1363 if (parent_stack.size() > 0 && ElementCast<Application>(parent_stack[0])) { in Extract()
1445 if (ElementCast<IntentFilter>(parent_stack[0])) { in Extract()
1446 if (ElementCast<Activity>(parent_stack[1])) { in Extract()
1448 Activity* activity = ElementCast<Activity>(parent_stack[1]); in Extract()
1465 } else if (ElementCast<Receiver>(parent_stack[1])) { in Extract()
1468 Receiver* receiver = ElementCast<Receiver>(parent_stack[1]); in Extract()
1486 } else if (ElementCast<Service>(parent_stack[1])) { in Extract()
1489 Service* service = ElementCast<Service>(parent_stack[1]); in Extract()
1522 } else if (ElementCast<Provider>(parent_stack[1])) { in Extract()
1526 Provider* provider = ElementCast<Provider>(parent_stack[1]); in Extract()
1570 if (name && ElementCast<SupportsInput>(parent_stack[0])) { in Extract()
1571 SupportsInput* supports = ElementCast<SupportsInput>(parent_stack[0]); in Extract()
1664 if (parent_stack.size() > 0 && ElementCast<Application>(parent_stack[0])) { in Extract()
1708 if (ElementCast<UsesPackage>(parent_stack[0])) { in Extract()
1709 UsesPackage* uses = ElementCast<UsesPackage>(parent_stack[0]); in Extract()
1711 } else if (ElementCast<UsesStaticLibrary>(parent_stack[0])) { in Extract()
1712 UsesStaticLibrary* uses = ElementCast<UsesStaticLibrary>(parent_stack[0]); in Extract()
1744 if (auto screen = ElementCast<Screen>(el)) { in Print()
1805 if (auto manifest = ElementCast<Manifest>(manifest_element.get())) { in Dump()
1864 if (UsesPermission* permission = ElementCast<UsesPermission>(el)) { in Dump()
1884 auto write_external_permission = ElementCast<UsesPermission>( in Dump()
1934 if (auto feature_group = ElementCast<FeatureGroup>(el)) { in Dump()
1954 if (ElementCast<Action>(el)) { in Dump()
1955 auto action = ElementCast<Action>(el); in Dump()
1962 if (ElementCast<Category>(el)) { in Dump()
1963 auto category = ElementCast<Category>(el); in Dump()
1974 if (auto service = ElementCast<Service>(el)) { in Dump()
1975 auto host_apdu_action = ElementCast<Action>(FindElement(service, in Dump()
1977 if (auto action = ElementCast<Action>(el)) { in Dump()
1983 auto offhost_apdu_action = ElementCast<Action>(FindElement(service, in Dump()
1985 if (auto action = ElementCast<Action>(el)) { in Dump()
1993 if (auto meta_data = ElementCast<MetaData>(el)) { in Dump()
2057 if (auto activity = ElementCast<Activity>(el)) { in Dump()
2067 if (auto receiver = ElementCast<Receiver>(el)) { in Dump()
2077 if (auto service = ElementCast<Service>(el)) { in Dump()
2087 SupportsScreen* screen = ElementCast<SupportsScreen>(FindElement(root.get(), in Dump()
2089 return ElementCast<SupportsScreen>(el) != nullptr; in Dump()
2139 if (auto application = ElementCast<Application>(el)) { in Dump()
2195 T* ElementCast(ManifestExtractor::Element* element) { in ElementCast() function