Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkInfoTest.kt126 networkInfo.setDetailedState(DetailedState.CONNECTED, reason, extraReason) in testSetDetailedState()
143 networkInfo.setDetailedState(NonNullTestUtils.nullUnsafe<DetailedState>(null), in testSetDetailedState()
149 networkInfo.setDetailedState(incorrectDetailedState, "reason", "extraInfo") in testSetDetailedState()
154 networkInfo.setDetailedState(NonNullTestUtils.nullUnsafe<DetailedState>(null), in testSetDetailedState()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java177 setDetailedState(DetailedState.IDLE, null, null); in NetworkInfo()
508 public void setDetailedState(@NonNull DetailedState detailedState, @Nullable String reason, in setDetailedState() method in NetworkInfo
DNetworkAgent.java499 ni.setDetailedState(NetworkInfo.DetailedState.CONNECTING, null /* reason */, in getLegacyNetworkInfo()
1000 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null /* reason */, in markConnected()
1013 mNetworkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null /* reason */, in unregister()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNat464XlatTest.java118 mNai.networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
122 mNai.networkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, "", "");
184 mNai.networkInfo.setDetailedState(state, "reason", "extraInfo");
DAutomaticOnOffKeepaliveTrackerTest.java322 mNai.networkInfo.setDetailedState( in setup()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java41 networkInfo.setDetailedState(detailedState, "", ""); in sendNetworkStateChanged()
DInterfaceConflictManagerTest.java484 info.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, null); in testP2pInterfaceRemovalIsAutoApprovedWhenP2pIsDisconnected()
523 info.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in testP2pInterfaceRemovalNeedUserApprovalWhenP2pIsConnected()
DHalDeviceManagerTest.java941 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in testDisconnectedP2pTreatedAsOpportunisticAfterTimeout()
954 networkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, null); in testDisconnectedP2pTreatedAsOpportunisticAfterTimeout()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTestConnectivityManager.java302 ni.setDetailedState(state, "" /* reason */, "" /* extraInfo */); in sendConnectivityAction()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java440 networkInfo.setDetailedState( in setCurrentNetworkMock()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2405 filtered.setDetailedState(DetailedState.BLOCKED, null /* reason */,
2489 info.setDetailedState(state, null /* reason */, null /* extraInfo */);
5371 nai.networkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED,
7368 ni.setDetailedState(DetailedState.CONNECTING, "", null);
11168 newInfo.setDetailedState(NetworkInfo.DetailedState.SUSPENDED, info.getReason(),
11174 newInfo.setDetailedState(nai.everConnected()
11496 info.setDetailedState(state, null, info.getExtraInfo());
11499 info.setDetailedState(state, info.getReason(), info.getExtraInfo());
/packages/modules/Connectivity/framework/api/
Dcurrent.txt390 …method @Deprecated public void setDetailedState(@NonNull android.net.NetworkInfo.DetailedState, @N…
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java648 info.setDetailedState(mDetailedState, null, null); in makeNetworkInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java3129 ni.setDetailedState(networkAgentState, null, null); in makeNetworkInfo()