Searched refs:numMatches (Results 1 – 3 of 3) sorted by relevance
321 int numMatches(const std::string& substring) { in numMatches() function in android::os::dumpstate::BugreportSectionTest343 int numSections = numMatches("CRITICAL"); in TEST_F()348 int numSections = numMatches("HIGH"); in TEST_F()354 int criticalSections = numMatches("CRITICAL"); in TEST_F()355 int highSections = numMatches("HIGH"); in TEST_F()
622 int numMatches = matches.size(); in preferHighPriority() local623 for (int matchNum = 0; matchNum < numMatches; matchNum++) { in preferHighPriority()
3351 final int numMatches = (ri == null ? 0 : ri.size()); in applyDefaultPreferredActivityLPw() local3352 if (numMatches <= 1) { in applyDefaultPreferredActivityLPw()3360 for (int i = 0; i < numMatches; i++) { in applyDefaultPreferredActivityLPw()