Searched refs:setLastCallback (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1463 protected void setLastCallback(CallbackState state, Network network, Object o) { in setLastCallback() method in ConnectivityServiceTest.TestNetworkCallback 1470 setLastCallback(CallbackState.AVAILABLE, network, null); in onAvailable() 1475 setLastCallback(CallbackState.NETWORK_CAPABILITIES, network, netCap); in onCapabilitiesChanged() 1480 setLastCallback(CallbackState.LINK_PROPERTIES, network, linkProp); in onLinkPropertiesChanged() 1485 setLastCallback(CallbackState.UNAVAILABLE, null, null); in onUnavailable() 1490 setLastCallback(CallbackState.SUSPENDED, network, null); in onNetworkSuspended() 1495 setLastCallback(CallbackState.RESUMED, network, null); in onNetworkResumed() 1500 setLastCallback(CallbackState.LOSING, network, maxMsToLive /* autoboxed int */); in onLosing() 1506 setLastCallback(CallbackState.LOST, network, null); in onLost()
|