Home
last modified time | relevance | path

Searched refs:getDetailedState (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkInfoTest.kt84 assertTrue(DetailedState.SCANNING == netInfo.getDetailedState() || in assertNetworkInfo()
85 DetailedState.CONNECTING == netInfo.getDetailedState() || in assertNetworkInfo()
86 DetailedState.AUTHENTICATING == netInfo.getDetailedState() || in assertNetworkInfo()
87 DetailedState.CONNECTED == netInfo.getDetailedState()) in assertNetworkInfo()
DConnectivityManagerTest.java526 DetailedState ds = ni.getDetailedState(); in testGetNetworkInfo()
2599 assertEquals(DetailedState.CONNECTED, info.getDetailedState());
2615 assertEquals(DetailedState.CONNECTING, info.getDetailedState());
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java82 handleStateChanged(info.getDetailedState());
DWifiStatusTest.java302 networkInfo.getDetailedState(), in handleNetworkStateChanged()
DWifiConfigController.java399 final DetailedState state = mAccessPoint.getDetailedState(); in initWifiConfigController()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNat464XlatTest.java149 nai.networkInfo.getDetailedState(),
159 nai.networkInfo.getDetailedState(),
/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java489 public @NonNull DetailedState getDetailedState() { in getDetailedState() method in NetworkInfo
/packages/modules/Wifi/service/java/com/android/server/wifi/
DInterfaceConflictManager.java116 if (mNetworkInfo.getDetailedState() == NetworkInfo.DetailedState.CONNECTED) { in InterfaceConflictManager()
DHalDeviceManager.java173 && networkInfo.getDetailedState() == NetworkInfo.DetailedState.CONNECTED; in HalDeviceManager()
DClientModeImpl.java2344 NetworkInfo.DetailedState detailedState = info.getDetailedState(); in getLogRecString()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java400 ni.mState = "State: " + nInfo.getState().name() + "/" + nInfo.getDetailedState().name(); in getNetworkItem()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java548 final DetailedState detailedState = networkInfo.getDetailedState(); in checkForAvailabilityInNetworkCheckResult()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java1320 final DetailedState state = nai.networkInfo.getDetailedState(); in update()
2366 if (ni.getDetailedState() == DetailedState.BLOCKED && mBlockedAppUids.add(uid)) {
3283 netState = nai.networkInfo.getDetailedState();
11161 if (suspended && info.getDetailedState() == NetworkInfo.DetailedState.CONNECTED) {
11170 } else if (!suspended && info.getDetailedState() == NetworkInfo.DetailedState.SUSPENDED) {
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java1205 || networkInfo.getDetailedState() == NetworkInfo.DetailedState.FAILED) { in handleConnectivityAction()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt377 method @Deprecated @NonNull public android.net.NetworkInfo.DetailedState getDetailedState();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java2632 && state == ni.getDetailedState()
2655 final DetailedState state = ni.getDetailedState();
9961 assertEquals(ConnectivityManager.getNetworkTypeName(type), state, ni.getDetailedState());
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java1355 return networkInfo.getDetailedState() == mState; in matches()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java916 return networkInfo.getDetailedState() == mState; in matches()