Home
last modified time | relevance | path

Searched refs:setDetailedState (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNat464XlatTest.java96 mNai.networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
100 mNai.networkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, "", "");
164 mNai.networkInfo.setDetailedState(state, "reason", "extraInfo");
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java176 setDetailedState(DetailedState.IDLE, null, null); in NetworkInfo()
487 public void setDetailedState(@NonNull DetailedState detailedState, @Nullable String reason, in setDetailedState() method in NetworkInfo
DNetworkAgent.java411 ni.setDetailedState(NetworkInfo.DetailedState.CONNECTING, null /* reason */, in getLegacyNetworkInfo()
861 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null /* reason */, in markConnected()
874 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null /* reason */, in unregister()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java41 networkInfo.setDetailedState(detailedState, "", ""); in sendNetworkStateChanged()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkInfoTest.kt116 networkInfo.setDetailedState(DetailedState.CONNECTED, reason, extraReason) in testSetDetailedState()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTestConnectivityManager.java291 ni.setDetailedState(state, "" /* reason */, "" /* extraInfo */); in sendConnectivityAction()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java438 networkInfo.setDetailedState( in setCurrentNetworkMock()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java1749 filtered.setDetailedState(DetailedState.BLOCKED, null /* reason */, in filterNetworkInfo()
1828 info.setDetailedState(state, null /* reason */, null /* extraInfo */); in makeFakeNetworkInfo()
3842 nai.networkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, in disconnectAndDestroyNetwork()
5507 ni.setDetailedState(DetailedState.CONNECTING, "", null); in filterForLegacyLockdown()
8446 newInfo.setDetailedState(NetworkInfo.DetailedState.SUSPENDED, info.getReason(), in mixInInfo()
8452 newInfo.setDetailedState(nai.everConnected in mixInInfo()
8682 info.setDetailedState(state, null, info.getExtraInfo()); in sendLegacyNetworkBroadcast()
8685 info.setDetailedState(state, info.getReason(), info.getExtraInfo()); in sendLegacyNetworkBroadcast()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt358 …method @Deprecated public void setDetailedState(@NonNull android.net.NetworkInfo.DetailedState, @N…
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java482 info.setDetailedState(mDetailedState, null, null); in makeNetworkInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java2455 ni.setDetailedState(networkAgentState, null, null);