OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:activeInfo
(Results
1 - 6
of
6
) sorted by null
/developers/build/prebuilts/gradle/BasicNetworking/BasicNetworkingSample/src/main/java/com/example/android/basicnetworking/
MainActivity.java
97
NetworkInfo
activeInfo
= connMgr.getActiveNetworkInfo();
98
if (
activeInfo
!= null &&
activeInfo
.isConnected()) {
99
wifiConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_WIFI;
100
mobileConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_MOBILE;
/developers/samples/android/connectivity/network/BasicNetworking/BasicNetworkingSample/src/main/java/com/example/android/basicnetworking/
MainActivity.java
97
NetworkInfo
activeInfo
= connMgr.getActiveNetworkInfo();
98
if (
activeInfo
!= null &&
activeInfo
.isConnected()) {
99
wifiConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_WIFI;
100
mobileConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_MOBILE;
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
MainActivity.java
97
NetworkInfo
activeInfo
= connMgr.getActiveNetworkInfo();
98
if (
activeInfo
!= null &&
activeInfo
.isConnected()) {
99
wifiConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_WIFI;
100
mobileConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_MOBILE;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
RealSystemFacade.java
49
final NetworkInfo
activeInfo
= connectivity.getActiveNetworkInfoForUid(uid);
50
if (
activeInfo
== null && Constants.LOGVV) {
53
return
activeInfo
;
/development/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java
132
NetworkInfo
activeInfo
= connMgr.getActiveNetworkInfo();
133
if (
activeInfo
!= null &&
activeInfo
.isConnected()) {
134
wifiConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_WIFI;
135
mobileConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_MOBILE;
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
NetworkActivity.java
132
NetworkInfo
activeInfo
= connMgr.getActiveNetworkInfo();
133
if (
activeInfo
!= null &&
activeInfo
.isConnected()) {
134
wifiConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_WIFI;
135
mobileConnected =
activeInfo
.getType() == ConnectivityManager.TYPE_MOBILE;
Completed in 91 milliseconds