Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_nan_WifiNanNative.cpp129 JNIObject<jbyteArray> macBytes = helper.newByteArray(6); in OnNanEventMatch() local
130 helper.setByteArrayRegion(macBytes, 0, 6, (jbyte *) event->addr); in OnNanEventMatch()
143 macBytes.get(), in OnNanEventMatch()
165 JNIObject<jbyteArray> macBytes = helper.newByteArray(6); in OnNanEventFollowup() local
166 helper.setByteArrayRegion(macBytes, 0, 6, (jbyte *) event->addr); in OnNanEventFollowup()
174 macBytes.get(), in OnNanEventFollowup()
184 JNIObject<jbyteArray> macBytes = helper.newByteArray(6); in OnNanEventDiscEngEvent() local
186 helper.setByteArrayRegion(macBytes, 0, 6, (jbyte *) event->data.mac_addr.addr); in OnNanEventDiscEngEvent()
188 helper.setByteArrayRegion(macBytes, 0, 6, (jbyte *) event->data.cluster.addr); in OnNanEventDiscEngEvent()
192 (int) event->event_type, macBytes.get()); in OnNanEventDiscEngEvent()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java3815 String[] macBytes = macString.split(":"); in macAddressFromString() local
3816 if (macBytes.length != 6) { in macAddressFromString()
3820 for (int i = 0; i < macBytes.length; i++) { in macAddressFromString()
3821 Integer hexVal = Integer.parseInt(macBytes[i], 16); in macAddressFromString()