/cts/tests/tests/permission/src/android/permission/cts/ |
ConnectivityManagerPermissionTest.java | 50 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 82 mConnectivityManager.requestRouteToHost(ConnectivityManager.TYPE_MOBILE, 1); 98 mConnectivityManager.setNetworkPreference(ConnectivityManager.TYPE_MOBILE); 114 mConnectivityManager.setNetworkPreference(ConnectivityManager.TYPE_MOBILE);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
ConnectivityManagerMobileTest.java | 62 if (!waitForNetworkState(ConnectivityManager.TYPE_MOBILE, 84 assertEquals("network type is not MOBILE", ConnectivityManager.TYPE_MOBILE, 116 assertTrue(waitForNetworkState(ConnectivityManager.TYPE_MOBILE, 123 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 124 setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE, 140 if (!validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) { 143 getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE)); 157 networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 158 setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE, 174 assertTrue(waitForNetworkState(ConnectivityManager.TYPE_MOBILE, [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
ConnectivityManagerCompatUtils.java | 33 manager.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE,
|
/frameworks/support/v4/gingerbread/android/support/v4/net/ |
ConnectivityManagerCompatGingerbread.java | 19 import static android.net.ConnectivityManager.TYPE_MOBILE; 43 case TYPE_MOBILE:
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/net/ |
ConnectivityManagerCompatHoneycombMR2.java | 21 import static android.net.ConnectivityManager.TYPE_MOBILE; 45 case TYPE_MOBILE:
|
/cts/tests/tests/net/src/android/net/cts/ |
NetworkInfoTest.java | 29 public static final int TYPE_MOBILE = ConnectivityManager.TYPE_MOBILE; 42 case TYPE_MOBILE:
|
ConnectivityManagerTest.java | 48 public static final int TYPE_MOBILE = ConnectivityManager.TYPE_MOBILE; 86 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE)); 197 NetworkInfo ni = mCm.getNetworkInfo(TYPE_MOBILE); 199 assertEquals(failureCode, mCm.startUsingNetworkFeature(TYPE_MOBILE, 201 assertEquals(failureCode, mCm.stopUsingNetworkFeature(TYPE_MOBILE, 204 assertEquals(wifiOnlyStartFailureCode, mCm.startUsingNetworkFeature(TYPE_MOBILE, 206 assertEquals(wifiOnlyStopFailureCode, mCm.stopUsingNetworkFeature(TYPE_MOBILE, 289 int result = mCm.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 303 mCm.stopUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, [all...] |
/frameworks/support/v4/java/android/support/v4/net/ |
ConnectivityManagerCompat.java | 19 import static android.net.ConnectivityManager.TYPE_MOBILE; 48 case TYPE_MOBILE:
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
ContactDisplayUtilTests.java | 40 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_MOBILE)); 60 result = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_MOBILE, "", 72 result = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_MOBILE, "",
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_CommonDataKinds_EmailTest.java | 35 assertGetTypeLabel(Email.TYPE_MOBILE);
|
Contacts_PhonesTest.java | 37 Phones.TYPE_MOBILE, label).toString(); 38 assertEquals(labels[Phones.TYPE_MOBILE - 1], display); 81 Phones.TYPE_MOBILE, label, labelArray).toString(); 82 assertEquals(labelArray[Phones.TYPE_MOBILE - 1], display);
|
ContactsContract_CommonDataKinds_PhoneTest.java | 44 assertGetTypeLabel(Phone.TYPE_MOBILE);
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
DataCommand.java | 58 connMgr.setNetworkPreference(ConnectivityManager.TYPE_MOBILE);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ConnectivityManagerTest.java | 65 shadowOfActiveNetworkInfo.setConnectionType(ConnectivityManager.TYPE_MOBILE); 66 assertEquals(ConnectivityManager.TYPE_MOBILE, shadowOfActiveNetworkInfo.getType());
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Nat464Xlat.java | 19 import static android.net.ConnectivityManager.TYPE_MOBILE; 87 return netType == TYPE_MOBILE && !lp.hasIPv4Address();
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
ContactDisplayUtils.java | 91 case Phone.TYPE_MOBILE: 146 case Phone.TYPE_MOBILE:
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowNetworkInfo.java | 28 return newInstance(detailedState, ConnectivityManager.TYPE_MOBILE, 0, true, true);
|
/packages/apps/Contacts/src/com/android/contacts/ |
TypePrecedence.java | 47 Phone.TYPE_MOBILE,
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
TypePrecedence.java | 39 Phone.TYPE_MOBILE,
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
RealSystemFacade.java | 72 boolean isMobile = (info != null && info.getType() == ConnectivityManager.TYPE_MOBILE);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
ConnectivityServiceTest.java | 20 import static android.net.ConnectivityManager.TYPE_MOBILE; 122 mMobile = new MockNetwork(TYPE_MOBILE); 130 .when(mNetFactory).createTracker(eq(TYPE_MOBILE), isA(NetworkConfig.class));
|
/frameworks/base/core/java/android/net/ |
ConnectivityManager.java | 271 public static final int TYPE_MOBILE = 0; 280 * same network interface as {@link #TYPE_MOBILE} or it may use a different 287 * same network interface as {@link #TYPE_MOBILE} or it may use a different 294 * same network interface as {@link #TYPE_MOBILE} or it may use a different 301 * same network interface as {@link #TYPE_MOBILE} but the routing setup 419 case TYPE_MOBILE: 463 case TYPE_MOBILE: [all...] |
/developers/build/prebuilts/gradle/BasicNetworking/BasicNetworkingSample/src/main/java/com/example/android/basicnetworking/ |
MainActivity.java | 100 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE;
|
/developers/samples/android/connectivity/network/BasicNetworking/BasicNetworkingSample/src/main/java/com/example/android/basicnetworking/ |
MainActivity.java | 100 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE;
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyNetworkMonitor.java | 64 case ConnectivityManager.TYPE_MOBILE:
|