/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowNetworkInfo.java | 21 private NetworkInfo.DetailedState detailedState; 27 public static NetworkInfo newInstance(NetworkInfo.DetailedState detailedState) { 28 return newInstance(detailedState, ConnectivityManager.TYPE_MOBILE, 0, true, true); 31 public static NetworkInfo newInstance(NetworkInfo.DetailedState detailedState, int type, int subType, 38 info.setDetailedState(detailedState); 61 public NetworkInfo.DetailedState getDetailedState() { 62 return detailedState; [all...] |
/frameworks/base/services/tests/servicestests/test-apps/ConnTestApp/src/com/android/servicestests/apps/conntestapp/ |
ConnTestActivity.java | 110 * <li>{@code NetinfoDetailedState}: enum value of {@link NetworkInfo.DetailedState}. 149 final String state, detailedState; 152 detailedState = networkInfo.getDetailedState().name(); 154 state = detailedState = "null"; 156 final String status = String.format(NETWORK_STATUS_TEMPLATE, state, detailedState,
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
TestUtil.java | 36 Context context, NetworkInfo.DetailedState detailedState) { 39 networkInfo.setDetailedState(detailedState, "", "");
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiNotificationController.java | 101 private NetworkInfo.DetailedState mDetailedState; 117 mDetailedState = NetworkInfo.DetailedState.IDLE; 137 NetworkInfo.DetailedState detailedState = 139 if (detailedState != NetworkInfo.DetailedState.SCANNING 140 && detailedState != mDetailedState) { 141 mDetailedState = detailedState;
|
WifiStateMachine.java | 51 import android.net.NetworkInfo.DetailedState; [all...] |
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
MyBroadcastReceiver.java | 140 * <li>{@code NetinfoDetailedState}: enum value of {@link NetworkInfo.DetailedState}. 182 final String state, detailedState; 185 detailedState = networkInfo.getDetailedState().name(); 187 state = detailedState = "null"; 189 final String status = String.format(NETWORK_STATUS_TEMPLATE, state, detailedState,
|
/frameworks/base/core/java/android/net/ |
NetworkInfo.java | 35 * use, rather than {@link android.net.NetworkInfo.DetailedState DetailedState}. 60 public enum DetailedState { 92 * of <code>DetailedState</code>. 94 private static final EnumMap<DetailedState, State> stateMap = 95 new EnumMap<DetailedState, State>(DetailedState.class); 98 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); 99 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); 100 stateMap.put(DetailedState.CONNECTING, State.CONNECTING) [all...] |
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/notify/ |
WifiNotificationController.java | 165 private NetworkInfo.DetailedState mDetailedState; 204 mDetailedState = NetworkInfo.DetailedState.IDLE; 287 NetworkInfo.DetailedState detailedState = mNetworkInfo.getDetailedState(); 288 if (detailedState != NetworkInfo.DetailedState.SCANNING 289 && detailedState != mDetailedState) { 290 mDetailedState = detailedState;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
ConnOnActivityStartTest.java | 395 final NetworkInfo.DetailedState detailedState = parts[1].equals("null") 396 ? null : NetworkInfo.DetailedState.valueOf(parts[1]); 403 final NetworkInfo.DetailedState expectedDetailedState = NetworkInfo.DetailedState.CONNECTED; 409 if (expectedState != state || expectedDetailedState != detailedState) { 411 expectedState, expectedDetailedState, state, detailedState));
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractRestrictBackgroundNetworkTestCase.java | 38 import android.net.NetworkInfo.DetailedState; 389 final DetailedState detailedState = parts[1].equals("null") 390 ? null : DetailedState.valueOf(parts[1]); 397 final DetailedState expectedDetailedState; 400 expectedDetailedState = DetailedState.CONNECTED; 403 expectedDetailedState = DetailedState.BLOCKED; 410 if (expectedState != state || expectedDetailedState != detailedState) { 412 expectedState, expectedDetailedState, state, detailedState)); [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Vpn.java | 55 import android.net.NetworkInfo.DetailedState; 256 protected void updateState(DetailedState detailedState, String reason) { 257 if (LOGD) Log.d(TAG, "setting state=" + detailedState + ", reason=" + reason); 258 mNetworkInfo.setDetailedState(detailedState, reason, null); 262 updateAlwaysOnNotification(detailedState); 549 updateState(DetailedState.IDLE, "prepare"); 678 mNetworkInfo.setDetailedState(DetailedState.CONNECTING, null, null); 701 updateState(DetailedState.CONNECTED, "agentConnect"); 717 networkInfo.setDetailedState(DetailedState.DISCONNECTED, null, null) [all...] |
/external/robolectric/v3/runtime/ |
shadows-core-3.1-SNAPSHOT-16.jar | |
shadows-core-3.1-SNAPSHOT-17.jar | |
shadows-core-3.1-SNAPSHOT-18.jar | |
shadows-core-3.1-SNAPSHOT-19.jar | |
shadows-core-3.1-SNAPSHOT-21.jar | |
shadows-core-3.1-SNAPSHOT-22.jar | |
/prebuilts/misc/common/robolectric/lib/ |
shadows-core-v16-3.1.1.jar | |
shadows-core-v17-3.1.1.jar | |
shadows-core-v18-3.1.1.jar | |
shadows-core-v19-3.1.1.jar | |
shadows-core-v21-3.1.1.jar | |
shadows-core-v22-3.1.1.jar | |
shadows-core-v23-3.1.1.jar | |