boolean function ( Context arg0 ) { NetworkInfo loc0 = NetworkUtil . getNetworkInfo ( arg0 ) ; return ( loc0 != null && loc0 . isConnected ( ) && loc0 . getType ( ) == ConnectivityManager . TYPE_MOBILE ) ; }
check if there is any connectivity to a mobile network concode_field_sep PlaceHolder placeHolder concode_field_sep NetworkInfo getNetworkInfo concode_elem_sep boolean isConnected concode_elem_sep boolean isConnectedWifi concode_elem_sep boolean isConnectedFast concode_elem_sep boolean isConnectionFast