/frameworks/base/core/java/android/provider/ |
D | SearchIndexablesProvider.java | 73 private UriMatcher mMatcher; field in SearchIndexablesProvider 89 mMatcher = new UriMatcher(UriMatcher.NO_MATCH); in attachInfo() 90 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_XML_RES_PATH, in attachInfo() 92 mMatcher.addURI(mAuthority, SearchIndexablesContract.INDEXABLES_RAW_PATH, in attachInfo() 94 mMatcher.addURI(mAuthority, SearchIndexablesContract.NON_INDEXABLES_KEYS_PATH, in attachInfo() 96 mMatcher.addURI(mAuthority, SearchIndexablesContract.SITE_MAP_PAIRS_PATH, in attachInfo() 98 mMatcher.addURI(mAuthority, SearchIndexablesContract.SLICE_URI_PAIRS_PATH, in attachInfo() 100 mMatcher.addURI(mAuthority, SearchIndexablesContract.DYNAMIC_INDEXABLES_RAW_PATH, in attachInfo() 121 switch (mMatcher.match(uri)) { in query() 216 switch (mMatcher.match(uri)) { in getType()
|
D | DocumentsProvider.java | 159 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/ |
D | FieldValue.h | 219 Matcher(const Field& matcher, int32_t mask) : mMatcher(matcher), mMask(mask){}; in Matcher() 221 const Field mMatcher; member 225 return mMatcher; in getMatcher() 241 return mMatcher.getDepth() == 2 && getRawMaskAtDepth(1) == 0x7f; in hasAllPositionMatcher() 245 if (mMatcher.getDepth() == 2 && mMatcher.getRawPosAtDepth(1) == 0) { in hasAnyPositionMatcher() 246 (*prefix) = mMatcher.getPrefix(1); in hasAnyPositionMatcher() 253 return mMatcher != that.getMatcher() || mMask != that.getMask(); 257 return mMatcher == that.mMatcher && mMask == that.mMask;
|
D | HashableDimensionKey.cpp | 224 links.conditionFields[i].mMatcher.getField()); in getDimensionForCondition() 226 links.conditionFields[i].mMatcher.getTag()); in getDimensionForCondition() 245 statePrimaryKey->mutableValue(i)->mField.setField(link.stateFields[i].mMatcher.getField()); in getDimensionForState() 246 statePrimaryKey->mutableValue(i)->mField.setTag(link.stateFields[i].mMatcher.getTag()); in getDimensionForState() 282 if (stateLink.stateFields[i].mMatcher == stateField && in linked() 283 stateLink.metricFields[i].mMatcher == metricField) { in linked()
|
D | FieldValue.cpp | 45 if (mTag != matcher.mMatcher.getTag()) { in matches() 48 if ((mField & matcher.mMask) == matcher.mMatcher.getField()) { in matches() 53 (mField & (matcher.mMask & kClearAllPositionMatcherMask)) == matcher.mMatcher.getField()) { in matches()
|
D | stats_log_util.cpp | 237 const Field& field = fieldMatchers[*index].mMatcher; in writeDimensionPathToProtoHelper() 305 fieldMatchers[0].mMatcher.getTag()); in writeDimensionPathToProto()
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | SimpleLogMatchingTracker.cpp | 33 : LogMatchingTracker(id, index), mMatcher(matcher), mUidMap(uidMap) { in SimpleLogMatchingTracker() 66 bool matched = matchesSimple(mUidMap, mMatcher, event); in onLogEvent()
|
D | SimpleLogMatchingTracker.h | 48 const SimpleAtomMatcher mMatcher;
|
/frameworks/base/cmds/statsd/tests/ |
D | FieldValue_test.cpp | 86 EXPECT_EQ((int32_t)10, matcher12.mMatcher.getTag()); in TEST() 87 EXPECT_EQ((int32_t)0x02010001, matcher12.mMatcher.getField()); in TEST() 107 EXPECT_EQ((int32_t)10, matcher12.mMatcher.getTag()); in TEST() 108 EXPECT_EQ((int32_t)0x02010001, matcher12.mMatcher.getField()); in TEST() 228 EXPECT_EQ((int32_t)0x02010001, link.metricFields[0].mMatcher.getField()); in TEST() 230 EXPECT_EQ((int32_t)10, link.metricFields[0].mMatcher.getTag()); in TEST() 233 EXPECT_EQ((int32_t)0x02028002, link.conditionFields[0].mMatcher.getField()); in TEST() 235 EXPECT_EQ((int32_t)27, link.conditionFields[0].mMatcher.getTag()); in TEST()
|
/frameworks/base/cmds/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 77 mDimensionTag = mOutputDimensions[0].mMatcher.getTag(); in SimpleConditionTracker()
|