Lines Matching refs:networkInfo
29 import android.net.NetworkInfo;
120 NetworkInfo networkInfo =
121 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 2, "WIFI", "WIFI_SUBTYPE");
126 originalAccessPoint.update(configuration, wifiInfo, networkInfo);
302 NetworkInfo networkInfo =
303 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 2, "WIFI", "WIFI_SUBTYPE");
309 accessPoint.update(configuration, wifiInfo, networkInfo);
318 NetworkInfo networkInfo =
319 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 2, "WIFI", "WIFI_SUBTYPE");
326 accessPoint.update(configuration, wifiInfo, networkInfo);
351 NetworkInfo networkInfo =
352 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 2, "WIFI", "WIFI_SUBTYPE");
358 accessPoint.update(configuration, wifiInfo, networkInfo);
521 NetworkInfo networkInfo =
522 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", "");
523 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
526 .setNetworkInfo(networkInfo)
714 NetworkInfo networkInfo =
715 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", "");
716 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", "");
719 .setNetworkInfo(networkInfo)
725 NetworkInfo newInfo = new NetworkInfo(networkInfo);
726 newInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
740 NetworkInfo networkInfo =
741 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", "");
742 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", "");
745 .setNetworkInfo(networkInfo)
751 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
765 NetworkInfo networkInfo =
766 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", "");
767 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", "");
770 .setNetworkInfo(networkInfo)
776 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
791 NetworkInfo networkInfo =
792 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", "");
793 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", "");
796 .setNetworkInfo(networkInfo)
802 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
818 NetworkInfo networkInfo =
819 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", "");
820 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
823 .setNetworkInfo(networkInfo)
834 assertThat(ap.update(newConfig, wifiInfo, networkInfo)).isFalse();
848 NetworkInfo networkInfo =
849 new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0 /* subtype */, "WIFI", "");
850 networkInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTING, "", "");
853 .setNetworkInfo(networkInfo)
859 ap.update(null, wifiInfo, networkInfo);