HomeSort by relevance Sort by last modified time
    Searched full:netinfo (Results 1 - 9 of 9) sorted by null

  /cts/tests/tests/net/src/android/net/cts/
NetworkInfoTest.java 40 for (NetworkInfo netInfo: ni) {
41 switch (netInfo.getType()) {
43 assertNetworkInfo(netInfo, MOBILE_TYPE_NAME);
46 assertNetworkInfo(netInfo, WIFI_TYPE_NAME);
55 private void assertNetworkInfo(NetworkInfo netInfo, String expectedTypeName) {
56 assertEquals(expectedTypeName.compareToIgnoreCase(netInfo.getTypeName()), 0);
57 if(netInfo.isConnectedOrConnecting()) {
58 assertTrue(netInfo.isAvailable());
59 if (State.CONNECTED == netInfo.getState()) {
60 assertTrue(netInfo.isConnected())
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
ConnectToWifiFragment.java 256 NetworkInfo netInfo = connMan.getActiveNetworkInfo();
257 if (netInfo == null) {
262 if (DEBUG) Log.d(TAG, "NetworkInfo: " + netInfo.toString());
263 if (netInfo.isConnected() && netInfo.getType() == ConnectivityManager.TYPE_WIFI) {
  /frameworks/base/core/java/android/net/
NetworkInfo.java 472 NetworkInfo netInfo = new NetworkInfo(netType, subtype, typeName, subtypeName);
473 netInfo.mState = State.valueOf(in.readString());
474 netInfo.mDetailedState = DetailedState.valueOf(in.readString());
475 netInfo.mIsFailover = in.readInt() != 0;
476 netInfo.mIsAvailable = in.readInt() != 0;
477 netInfo.mIsRoaming = in.readInt() != 0;
478 netInfo.mIsMetered = in.readInt() != 0;
479 netInfo.mReason = in.readString();
480 netInfo.mExtraInfo = in.readString();
481 return netInfo;
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/protocols/
routed.h 45 struct netinfo { struct
55 struct netinfo ru_nets[1]; /* variable length... */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/protocols/
routed.h 45 struct netinfo { struct
55 struct netinfo ru_nets[1]; /* variable length... */
  /cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
MyBroadcastReceiver.java 159 * NetinfoState|NetinfoDetailedState|RealConnectionCheck|RealConnectionCheckDetails|Netinfo
171 * <li>{@code Netinfo}: string representation of the {@link NetworkInfo}.
  /frameworks/base/services/core/java/com/android/server/net/
NetworkPolicyManagerService.java     [all...]
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/
wlioctl.h 3910 wl_pfn_net_info_t netinfo[1]; member in struct:wl_pfn_scanresults
    [all...]
  /external/c-ares/
ares_platform.c     [all...]

Completed in 454 milliseconds