OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mCm
(Results
1 - 14
of
14
) sorted by null
/cts/tests/tests/net/src/android/net/cts/
ConnectivityManagerTest.java
56
private ConnectivityManager
mCm
;
66
mCm
= (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
100
assertTrue(
mCm
.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_FOTA));
101
assertTrue(
mCm
.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_IMS));
102
assertTrue(
mCm
.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_CBS));
103
assertTrue(
mCm
.isNetworkTypeValid(ConnectivityManager.TYPE_WIFI_P2P));
104
assertTrue(
mCm
.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE_IA));
105
assertFalse(
mCm
.isNetworkTypeValid(-1));
106
assertTrue(
mCm
.isNetworkTypeValid(0));
107
assertTrue(
mCm
.isNetworkTypeValid(ConnectivityManager.MAX_NETWORK_TYPE))
[
all
...]
/cts/tests/tests/telephony/src/android/telephony/cts/
PhoneStateListenerTest.java
47
private static ConnectivityManager
mCm
;
54
mCm
= (ConnectivityManager)getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
67
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
82
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
119
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
156
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
194
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
233
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
270
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
307
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null)
[
all
...]
CellLocationTest.java
37
private static ConnectivityManager
mCm
;
45
mCm
= (ConnectivityManager)getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
58
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
TelephonyManagerTest.java
45
private static ConnectivityManager
mCm
;
53
mCm
= (ConnectivityManager)getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
66
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
187
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_WIFI) != null) {
190
} else if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_BLUETOOTH) != null) {
194
assertTrue(
mCm
.getNetworkInfo(ConnectivityManager.TYPE_ETHERNET) != null);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
ConnectivityManagerMobileTest.java
53
mCm
.setAirplaneMode(false);
71
mCm
.setAirplaneMode(false);
92
NetworkInfo ni =
mCm
.getActiveNetworkInfo();
229
mCm
.setAirplaneMode(true);
235
mCm
.setAirplaneMode(false);
252
mCm
.setAirplaneMode(true);
265
mCm
.setAirplaneMode(false);
284
mCm
.setAirplaneMode(true);
290
mCm
.setAirplaneMode(false);
332
NetworkInfo extraNetInfo =
mCm
.getActiveNetworkInfo()
[
all
...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
ConnectivityManagerTestBase.java
74
protected ConnectivityManager
mCm
;
128
mCm
= (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
162
NetworkInfo ni =
mCm
.getNetworkInfo(networkType);
224
String[] wifiRegexes =
mCm
.getTetherableWifiRegexs();
229
String[] active =
mCm
.getTetheredIfaces();
230
String[] error =
mCm
.getTetheringErroredIfaces();
251
return (
mCm
.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE);
256
return (
mCm
.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_WIFI);
423
NetworkInfo ni =
mCm
.getActiveNetworkInfo();
439
NetworkInfo ni =
mCm
.getActiveNetworkInfo()
[
all
...]
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
ConnectivityConstraintTest.java
48
private ConnectivityManager
mCm
;
62
mCm
=
177
if (
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) {
257
NetworkInfo[] allNetworkInfo =
mCm
.getAllNetworkInfo();
283
return mExpectedState ==
mCm
.getNetworkInfo(mNetworkType).getState();
/packages/apps/Settings/src/com/android/settings/wifi/
WifiApEnabler.java
50
ConnectivityManager
mCm
;
82
mCm
= (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
84
mWifiRegexs =
mCm
.getTetherableWifiRegexs();
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
WifiStressTest.java
259
NetworkInfo ni =
mCm
.getActiveNetworkInfo();
266
mCm
.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState());
/development/apps/Development/src/com/android/development/
Connectivity.java
125
private ConnectivityManager
mCm
;
262
mCm
= (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
359
mCm
.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE,
363
mCm
.stopUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE,
394
mCm
.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE,
398
mCm
.stopUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE,
572
mCm
.requestRouteToHostAddress(ConnectivityManager.TYPE_MOBILE_HIPRI, inetAddress);
/packages/apps/Settings/src/com/android/settings/
WirelessSettings.java
90
private ConnectivityManager
mCm
;
128
NetworkInfo ni =
mCm
.getProvisioningOrActiveNetworkInfo();
144
String url =
mCm
.getMobileProvisioningUrl();
257
mCm
= (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
/frameworks/base/core/java/android/net/
ConnectivityManager.java
[
all
...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiStateMachine.java
157
private ConnectivityManager
mCm
;
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcTrackerBase.java
547
ConnectivityManager
mCm
;
561
mCm
= (ConnectivityManager) mPhone.getContext().getSystemService(
[
all
...]
Completed in 326 milliseconds