-class ResourceFilter
-{
-public:
- ResourceFilter() : mData(), mContainsPseudo(false) {}
- status_t parse(const char* arg);
- bool match(int axis, uint32_t value);
- bool match(const ResTable_config& config);
- inline bool containsPseudo() { return mContainsPseudo; }
-
-private:
- KeyedVector<int,SortedVector<uint32_t> > mData;
- bool mContainsPseudo;
-};
-
-class ResourceConfigReferences
-{
-public:
- ResourceConfigReferences() : mRoots() {}
- ~ResourceConfigReferences();
- status_t add(uint32_t id, const ResTable_config& config);
- bool isRoot(uint32_t id, const ResTable_config& config);
- void dump();
-
-private:
- KeyedVector<uint32_t, Vector<const ResTable_config*> > mRoots;
-};
-