Searched refs:detailedState (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkInfo.java | 508 public void setDetailedState(@NonNull DetailedState detailedState, @Nullable String reason, in setDetailedState() argument 511 this.mDetailedState = detailedState; in setDetailedState() 512 this.mState = stateMap.get(detailedState); in setDetailedState() 519 throw new NullPointerException("Unknown DetailedState : " + detailedState); in setDetailedState()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSActiveNetworkInfoTest.kt | 65 assertEquals(BLOCKED, networkInfo.detailedState) in nc() 67 assertEquals(CONNECTED, networkInfo.detailedState) in nc()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | TestUtil.java | 38 Context context, NetworkInfo.DetailedState detailedState) { in sendNetworkStateChanged() argument 41 networkInfo.setDetailedState(detailedState, "", ""); in sendNetworkStateChanged()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkInfoTest.kt | 99 assertEquals(DetailedState.IDLE, networkInfo.detailedState) in testConstructor() 127 assertEquals(DetailedState.CONNECTED, networkInfo.detailedState) in testSetDetailedState()
|
D | NetworkAgentTest.kt | 998 argThat<NetworkInfo> { it.detailedState == NetworkInfo.DetailedState.CONNECTING }, in testAgentStartsInConnecting()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 548 final DetailedState detailedState = networkInfo.getDetailedState(); in checkForAvailabilityInNetworkCheckResult() local 568 if (expectedState != state || expectedDetailedState != detailedState) { in checkForAvailabilityInNetworkCheckResult() 570 expectedState, expectedDetailedState, state, detailedState)); in checkForAvailabilityInNetworkCheckResult()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 2344 NetworkInfo.DetailedState detailedState = info.getDetailedState(); in getLogRecString() local 2348 if (detailedState != null) { in getLogRecString() 2349 sb.append("/").append(detailedState); in getLogRecString() 3054 private int convertDetailedStateToNetworkStateChangedCode(DetailedState detailedState) { in convertDetailedStateToNetworkStateChangedCode() argument 3055 switch (detailedState) { in convertDetailedStateToNetworkStateChangedCode()
|