Home
last modified time | relevance | path

Searched refs:mMatcher (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java73 private UriMatcher mMatcher; field in SearchIndexablesProvider
88 mMatcher = new UriMatcher(UriMatcher.NO_MATCH); in attachInfo()
89 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_XML_RES_PATH, in attachInfo()
91 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_RAW_PATH, in attachInfo()
93 mMatcher.addURI(mAuthority, SearchIndexablesContract.NON_INDEXABLES_KEYS_PATH, in attachInfo()
95 mMatcher.addURI(mAuthority, SearchIndexablesContract.SITE_MAP_PAIRS_PATH, in attachInfo()
97 mMatcher.addURI(mAuthority, SearchIndexablesContract.SLICE_URI_PAIRS_PATH, in attachInfo()
118 switch (mMatcher.match(uri)) { in query()
196 switch (mMatcher.match(uri)) { in getType()
DDocumentsProvider.java159 private UriMatcher mMatcher; field in DocumentsProvider
194 mMatcher = new UriMatcher(UriMatcher.NO_MATCH); in registerAuthority()
195 mMatcher.addURI(mAuthority, "root", MATCH_ROOTS); in registerAuthority()
196 mMatcher.addURI(mAuthority, "root/*", MATCH_ROOT); in registerAuthority()
197 mMatcher.addURI(mAuthority, "root/*/recent", MATCH_RECENT); in registerAuthority()
198 mMatcher.addURI(mAuthority, "root/*/search", MATCH_SEARCH); in registerAuthority()
199 mMatcher.addURI(mAuthority, "document/*", MATCH_DOCUMENT); in registerAuthority()
200 mMatcher.addURI(mAuthority, "document/*/children", MATCH_CHILDREN); in registerAuthority()
201 mMatcher.addURI(mAuthority, "tree/*/document/*", MATCH_DOCUMENT_TREE); in registerAuthority()
202 mMatcher.addURI(mAuthority, "tree/*/document/*/children", MATCH_CHILDREN_TREE); in registerAuthority()
[all …]
/frameworks/base/cmds/statsd/src/
DFieldValue.h218 Matcher(const Field& matcher, int32_t mask) : mMatcher(matcher), mMask(mask){}; in Matcher()
220 const Field mMatcher; member
224 return mMatcher; in getMatcher()
240 return mMatcher.getDepth() == 2 && getRawMaskAtDepth(1) == 0x7f; in hasAllPositionMatcher()
244 if (mMatcher.getDepth() == 2 && mMatcher.getRawPosAtDepth(1) == 0) { in hasAnyPositionMatcher()
245 (*prefix) = mMatcher.getPrefix(1); in hasAnyPositionMatcher()
252 return mMatcher != that.getMatcher() || mMask != that.getMask();
256 return mMatcher == that.mMatcher && mMask == that.mMask;
DFieldValue.cpp46 if (mTag != matcher.mMatcher.getTag()) { in matches()
49 if ((mField & matcher.mMask) == matcher.mMatcher.getField()) { in matches()
54 (mField & (matcher.mMask & kClearAllPositionMatcherMask)) == matcher.mMatcher.getField()) { in matches()
DHashableDimensionKey.cpp103 links.conditionFields[i].mMatcher.getField()); in getDimensionForCondition()
105 links.conditionFields[i].mMatcher.getTag()); in getDimensionForCondition()
Dstats_log_util.cpp220 const Field& field = fieldMatchers[*index].mMatcher; in writeDimensionPathToProtoHelper()
288 fieldMatchers[0].mMatcher.getTag()); in writeDimensionPathToProto()
/frameworks/base/cmds/statsd/src/matchers/
DSimpleLogMatchingTracker.cpp33 : LogMatchingTracker(id, index), mMatcher(matcher), mUidMap(uidMap) { in SimpleLogMatchingTracker()
66 bool matched = matchesSimple(mUidMap, mMatcher, event); in onLogEvent()
DSimpleLogMatchingTracker.h48 const SimpleAtomMatcher mMatcher;
/frameworks/base/cmds/statsd/tests/
DFieldValue_test.cpp49 EXPECT_EQ((int32_t)10, matcher12.mMatcher.getTag()); in TEST()
50 EXPECT_EQ((int32_t)0x02010001, matcher12.mMatcher.getField()); in TEST()
70 EXPECT_EQ((int32_t)10, matcher12.mMatcher.getTag()); in TEST()
71 EXPECT_EQ((int32_t)0x02010001, matcher12.mMatcher.getField()); in TEST()
221 EXPECT_EQ((int32_t)0x02010001, link.metricFields[0].mMatcher.getField()); in TEST()
223 EXPECT_EQ((int32_t)10, link.metricFields[0].mMatcher.getTag()); in TEST()
226 EXPECT_EQ((int32_t)0x02028002, link.conditionFields[0].mMatcher.getField()); in TEST()
228 EXPECT_EQ((int32_t)27, link.conditionFields[0].mMatcher.getTag()); in TEST()
/frameworks/base/cmds/statsd/src/condition/
DSimpleConditionTracker.cpp77 mDimensionTag = mOutputDimensions[0].mMatcher.getTag(); in SimpleConditionTracker()
359 if (dimensionFields.size() > 0 && dimensionFields[0].mMatcher.getTag() == mDimensionTag) { in isConditionMet()
429 dimensionFields[0].mMatcher.getTag() != mOutputDimensions[0].mMatcher.getTag()) { in getMetConditionDimension()
DStateTracker.cpp52 mDimensionTag = mOutputDimensions[0].mMatcher.getTag(); in StateTracker()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt55795 Landroid/provider/DocumentsProvider;->mMatcher:Landroid/content/UriMatcher;
55984 Landroid/provider/SearchIndexablesProvider;->mMatcher:Landroid/content/UriMatcher;