Searched refs:ncmRegexs (Results 1 – 2 of 2) sorted by relevance
686 final String[] ncmRegexs = {"test_ncm\\d"}; in testNcmRegexs() local692 setUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()693 assertUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()701 setUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()702 assertUsbAndNcmRegexs(ncmRegexs, new String[0]); in testNcmRegexs()709 setUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()711 assertUsbAndNcmRegexs(rndisRegexs, ncmRegexs); in testNcmRegexs()714 private void setUsbAndNcmRegexs(final String[] usbRegexs, final String[] ncmRegexs) { in setUsbAndNcmRegexs() argument716 when(mResources.getStringArray(R.array.config_tether_ncm_regexs)).thenReturn(ncmRegexs); in setUsbAndNcmRegexs()719 private void assertUsbAndNcmRegexs(final String[] usbRegexs, final String[] ncmRegexs) { in assertUsbAndNcmRegexs() argument[all …]
231 final String[] ncmRegexs = getResourceStringArray(res, R.array.config_tether_ncm_regexs); in TetheringConfiguration() local234 if (isUsingNcm() && (ncmRegexs.length != 0)) { in TetheringConfiguration()235 tetherableUsbRegexs = ncmRegexs; in TetheringConfiguration()239 tetherableNcmRegexs = ncmRegexs; in TetheringConfiguration()