Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/server/net/
DNetworkPinner.java94 if (sCM.getBoundNetworkForProcess() == null && sNetwork == null) { in onAvailable()
108 if (network.equals(sNetwork) && network.equals(sCM.getBoundNetworkForProcess())) { in onLost()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java111 public synchronized Network getBoundNetworkForProcess() { in getBoundNetworkForProcess() method in ConnectivityServiceTest.WrappedConnectivityManager
1719 assertEquals(mWiFiNetworkAgent.getNetwork(), mCm.getBoundNetworkForProcess()); in assertPinnedToWifiWithCellDefault()
1724 assertEquals(mWiFiNetworkAgent.getNetwork(), mCm.getBoundNetworkForProcess()); in assertPinnedToWifiWithWifiDefault()
1729 assertNull(mCm.getBoundNetworkForProcess()); in assertNotPinnedToWifi()
1738 assertNull(mCm.getBoundNetworkForProcess()); in testNetworkPinner()
1741 assertNull(mCm.getBoundNetworkForProcess()); in testNetworkPinner()
/frameworks/base/core/java/android/net/
DNetworkUtils.java68 public native static int getBoundNetworkForProcess(); in getBoundNetworkForProcess() method in NetworkUtils
DConnectivityManager.java2316 return getProxyForNetwork(getBoundNetworkForProcess()); in getDefaultProxy()
3213 if (netId == NetworkUtils.getBoundNetworkForProcess()) { in setProcessDefaultNetwork()
3242 public Network getBoundNetworkForProcess() { in getBoundNetworkForProcess() method in ConnectivityManager
3258 int netId = NetworkUtils.getBoundNetworkForProcess(); in getProcessDefaultNetwork()
/frameworks/base/core/java/android/app/
DActivityThread.java908 final Network network = cm.getBoundNetworkForProcess(); in setHttpProxy()
/frameworks/base/api/
Dcurrent.txt23371 method public android.net.Network getBoundNetworkForProcess();
Dsystem-current.txt25143 method public android.net.Network getBoundNetworkForProcess();
Dtest-current.txt23440 method public android.net.Network getBoundNetworkForProcess();