Home
last modified time | relevance | path

Searched refs:fromBytes (Results 1 – 8 of 8) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseRepositoryTest.java64 private static final MacAddress TEST_MAC_1 = MacAddress.fromBytes(
66 private static final MacAddress TEST_MAC_2 = MacAddress.fromBytes(
68 private static final MacAddress TEST_MAC_3 = MacAddress.fromBytes(
110 MacAddress newMac = MacAddress.fromBytes(hwAddrBytes); in requestAddresses()
DDhcpServerTest.java95 private static final MacAddress TEST_CLIENT_MAC = MacAddress.fromBytes(TEST_CLIENT_MAC_BYTES);
303 assertEquals(TEST_CLIENT_MAC, MacAddress.fromBytes(packet.mClientMac)); in assertMatchesClient()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DUtil.java47 static <T> T fromBytes(byte[] bytes) { in fromBytes() method in Util
DCredentialHelper.java140 ArrayList<byte[]> certs = Util.fromBytes(savedStates.getByteArray(CERTS_KEY)); in onRestoreStates()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DUriWallpaperInfo.java61 InputStreamProvider.fromBytes(imageBytes), a, 0, true); in onSave()
/packages/modules/NetworkStack/src/android/net/ip/
DIpNeighborMonitor.java239 return MacAddress.fromBytes(linkLayerAddress); in getMacAddress()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java254 public static InputStreamProvider fromBytes(final byte[] bytes) {
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java595 return MacAddress.fromBytes(packet.getClientMac()); in getMacAddr()