Home
last modified time | relevance | path

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

/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkControllerServiceTest.java255 assertThat(meshcopTxts.vendorOui).isEqualTo(TEST_VENDOR_OUI_BYTES); in initialize_resourceOverlayValuesAreSetToOtDaemon()
337 private byte[] getMeshcopTxtAttributesWithVendorOui(String vendorOui) { in getMeshcopTxtAttributesWithVendorOui() argument
338 when(mResources.getString(eq(R.string.config_thread_vendor_oui))).thenReturn(vendorOui); in getMeshcopTxtAttributesWithVendorOui()
339 return ThreadNetworkControllerService.getMeshcopTxtAttributes(mResources).vendorOui; in getMeshcopTxtAttributesWithVendorOui()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadNetworkControllerService.java342 final String vendorOui = resources.getString(R.string.config_thread_vendor_oui); in getMeshcopTxtAttributes() local
366 if (!vendorOui.isEmpty() && !Pattern.compile(OUI_REGEX).matcher(vendorOui).matches()) { in getMeshcopTxtAttributes()
367 throw new IllegalStateException("Vendor OUI is invalid: " + vendorOui); in getMeshcopTxtAttributes()
373 meshcopTxts.vendorOui = HexEncoding.decode(vendorOui.replace("-", "").replace(":", "")); in getMeshcopTxtAttributes()