Home
last modified time | relevance | path

Searched refs:networkHandle (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DMultinetworkApiTest.java75 private static native int runGetaddrinfoCheck(long networkHandle); in runGetaddrinfoCheck() argument
76 private static native int runSetprocnetwork(long networkHandle); in runSetprocnetwork() argument
77 private static native int runSetsocknetwork(long networkHandle); in runSetsocknetwork() argument
78 private static native int runDatagramCheck(long networkHandle); in runDatagramCheck() argument
79 private static native void runResNapiMalformedCheck(long networkHandle); in runResNapiMalformedCheck() argument
80 private static native void runResNcancelCheck(long networkHandle); in runResNcancelCheck() argument
81 private static native void runResNqueryCheck(long networkHandle); in runResNqueryCheck() argument
82 private static native void runResNsendCheck(long networkHandle); in runResNsendCheck() argument
83 private static native void runResNnxDomainCheck(long networkHandle); in runResNnxDomainCheck() argument
195 long networkHandle = network.getNetworkHandle(); in testNetworkHandle() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHalAidlImpl.java755 SupplicantStaNetworkHalAidlImpl networkHandle = in connectToNetwork() local
757 if (networkHandle == null) { in connectToNetwork()
771 if (networkHandle.setPmkCache(NativeUtil.byteArrayFromArrayList(pmkData))) { in connectToNetwork()
778 if (!networkHandle.select()) { in connectToNetwork()
802 SupplicantStaNetworkHalAidlImpl networkHandle = in roamToNetwork() local
804 if (networkHandle == null) { in roamToNetwork()
809 return networkHandle.select(); in roamToNetwork()
819 SupplicantStaNetworkHalAidlImpl networkHandle = in roamToNetwork() local
821 if (networkHandle == null || !networkHandle.setBssid(bssid)) { in roamToNetwork()
891 SupplicantStaNetworkHalAidlImpl networkHandle = in disableCurrentNetwork() local
[all …]
DSupplicantStaIfaceHalHidlImpl.java1088 SupplicantStaNetworkHalHidlImpl networkHandle = in connectToNetwork() local
1090 if (networkHandle == null) { in connectToNetwork()
1103 if (networkHandle.setPmkCache(pmkData)) { in connectToNetwork()
1110 if (!networkHandle.select()) { in connectToNetwork()
1134 SupplicantStaNetworkHalHidlImpl networkHandle = in roamToNetwork() local
1136 if (networkHandle == null) { in roamToNetwork()
1141 return networkHandle.select(); in roamToNetwork()
1151 SupplicantStaNetworkHalHidlImpl networkHandle = in roamToNetwork() local
1153 if (networkHandle == null || !networkHandle.setBssid(bssid)) { in roamToNetwork()
1222 SupplicantStaNetworkHalHidlImpl networkHandle = in disableCurrentNetwork() local
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DNetwork.java452 public static Network fromNetworkHandle(long networkHandle) { in fromNetworkHandle() argument
453 if (networkHandle == 0) { in fromNetworkHandle()
457 if ((networkHandle & ((1L << HANDLE_MAGIC_SIZE) - 1)) != HANDLE_MAGIC) { in fromNetworkHandle()
461 final int netIdForResolv = (int) (networkHandle >>> HANDLE_MAGIC_SIZE); in fromNetworkHandle()
/packages/modules/Connectivity/tests/cts/multidevices/snippet/
DConnectivityMultiDevicesSnippet.kt128 }.network.networkHandle in connectToWifi()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt134 private val TEST_NETWORK_TAG = TEST_NETWORK.networkHandle.toString()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java9158 static String makeNflogPrefix(String iface, long networkHandle) {
9161 return SdkLevel.isAtLeastU() ? (networkHandle + ":" + iface) : ("iface:" + iface);