Home
last modified time | relevance | path

Searched refs:regexs (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsTetheringUtils.java141 private static TetheringInterface getFirstMatchingTetheringInterface(final List<String> regexs, in getFirstMatchingTetheringInterface() argument
143 if (ifaces == null || regexs == null) return null; in getFirstMatchingTetheringInterface()
145 final String[] regexArray = regexs.toArray(new String[0]); in getFirstMatchingTetheringInterface()
273 public void expectTetherableInterfacesChanged(@NonNull final List<String> regexs, in expectTetherableInterfacesChanged() argument
280 return getFirstMatchingTetheringInterface(regexs, type, interfaces) != null; in expectTetherableInterfacesChanged()
294 @NonNull final List<String> regexs, final int type) { in expectTetheredInterfacesChanged()
307 getFirstMatchingTetheringInterface(regexs, type, interfaces); in expectTetheredInterfacesChanged()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java488 private static boolean matchesDownstreamRegexs(String iface, String[] regexs) { in matchesDownstreamRegexs() argument
489 for (String regex : regexs) { in matchesDownstreamRegexs()