Searched refs:setDetailedState (Results 1 – 14 of 14) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkInfoTest.kt | 126 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/ |
D | NetworkInfo.java | 177 setDetailedState(DetailedState.IDLE, null, null); in NetworkInfo() 508 public void setDetailedState(@NonNull DetailedState detailedState, @Nullable String reason, in setDetailedState() method in NetworkInfo
|
D | NetworkAgent.java | 499 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/ |
D | Nat464XlatTest.java | 118 mNai.networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", ""); 122 mNai.networkInfo.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, "", ""); 184 mNai.networkInfo.setDetailedState(state, "reason", "extraInfo");
|
D | AutomaticOnOffKeepaliveTrackerTest.java | 322 mNai.networkInfo.setDetailedState( in setup()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | TestUtil.java | 41 networkInfo.setDetailedState(detailedState, "", ""); in sendNetworkStateChanged()
|
D | InterfaceConflictManagerTest.java | 484 info.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, null); in testP2pInterfaceRemovalIsAutoApprovedWhenP2pIsDisconnected() 523 info.setDetailedState(NetworkInfo.DetailedState.CONNECTED, null, null); in testP2pInterfaceRemovalNeedUserApprovalWhenP2pIsConnected()
|
D | HalDeviceManagerTest.java | 941 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/ |
D | TestConnectivityManager.java | 302 ni.setDetailedState(state, "" /* reason */, "" /* extraInfo */); in sendConnectivityAction()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 440 networkInfo.setDetailedState( in setCurrentNetworkMock()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 2405 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/ |
D | current.txt | 390 …method @Deprecated public void setDetailedState(@NonNull android.net.NetworkInfo.DetailedState, @N…
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 648 info.setDetailedState(mDetailedState, null, null); in makeNetworkInfo()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 3129 ni.setDetailedState(networkAgentState, null, null); in makeNetworkInfo()
|