Searched refs:ncmRegexs (Results 1 – 2 of 2) sorted by relevance
608 final String[] ncmRegexs = {"test_ncm\\d"}; in testNcmRegexs() local614 setUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()615 assertUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()623 setUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()624 assertUsbAndNcmRegexs(ncmRegexs, new String[0]); in testNcmRegexs()631 setUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()633 assertUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()636 private void setUsbAndNcmRegexs(final String[] usbRegexs, final String[] ncmRegexs) { in setUsbAndNcmRegexs() argument638 when(mResources.getStringArray(R.array.config_tether_ncm_regexs)).thenReturn(ncmRegexs); in setUsbAndNcmRegexs()641 private void assertUsbAndNcmRegexs(final String[] usbRegexs, final String[] ncmRegexs) { in assertUsbAndNcmRegexs() argument[all …]
173 final String[] ncmRegexs = getResourceStringArray(res, R.array.config_tether_ncm_regexs); in TetheringConfiguration() local176 if (isUsingNcm() && (ncmRegexs.length != 0)) { in TetheringConfiguration()177 tetherableUsbRegexs = ncmRegexs; in TetheringConfiguration()181 tetherableNcmRegexs = ncmRegexs; in TetheringConfiguration()