/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 | 73 if (!cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, 102 assertEquals("network type is not MOBILE", ConnectivityManager.TYPE_MOBILE, 130 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, 137 NetworkInfo networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 138 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE, 154 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) { 157 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE)); 171 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); 172 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE, 189 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
NetworkInfoTest.java | 31 public static final int TYPE_MOBILE = ConnectivityManager.TYPE_MOBILE; 44 case TYPE_MOBILE:
|
ConnectivityManagerTest.java | 50 public static final int TYPE_MOBILE = ConnectivityManager.TYPE_MOBILE; 85 ni = mCm.getNetworkInfo(TYPE_MOBILE); 151 NetworkInfo ni = mCm.getNetworkInfo(TYPE_MOBILE); 153 assertEquals(failureCode, mCm.startUsingNetworkFeature(TYPE_MOBILE, 155 assertEquals(failureCode, mCm.stopUsingNetworkFeature(TYPE_MOBILE, 158 assertEquals(wifiOnlyStartFailureCode, mCm.startUsingNetworkFeature(TYPE_MOBILE, 160 assertEquals(wifiOnlyStopFailureCode, mCm.stopUsingNetworkFeature(TYPE_MOBILE, 178 exceptionFreeTypes.add(ConnectivityManager.TYPE_MOBILE); 243 int result = mCm.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_PhonesTest.java | 48 Phones.TYPE_MOBILE, label).toString(); 49 assertEquals(labels[Phones.TYPE_MOBILE - 1], display); 99 Phones.TYPE_MOBILE, label, labelArray).toString(); 100 assertEquals(labelArray[Phones.TYPE_MOBILE - 1], display);
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
DataCommand.java | 58 connMgr.setNetworkPreference(ConnectivityManager.TYPE_MOBILE);
|
/packages/apps/Contacts/src/com/android/contacts/ |
TypePrecedence.java | 46 Phone.TYPE_MOBILE,
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
TypePrecedence.java | 39 Phone.TYPE_MOBILE,
|
FallbackSource.java | 193 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE)); 238 kind.typeList.add(buildEmailType(Email.TYPE_MOBILE)); 547 case Phone.TYPE_MOBILE: return R.string.call_mobile; 582 case Phone.TYPE_MOBILE: return R.string.sms_mobile; 614 case Email.TYPE_MOBILE: return R.string.email_mobile;
|
/frameworks/base/core/java/android/net/ |
ConnectivityManager.java | 196 public static final int TYPE_MOBILE = 0; 204 * same as {@link #TYPE_MOBILE} but it may be different. This is used 211 * same as {@link #TYPE_MOBILE} but it may be different. This is used 219 * same as {@link #TYPE_MOBILE} but it may be different. This is used 227 * the same as {@link #TYPE_MOBILE} but the routing setup is different. 298 case TYPE_MOBILE: 334 case TYPE_MOBILE:
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyNetworkMonitor.java | 63 case ConnectivityManager.TYPE_MOBILE:
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
RealSystemFacade.java | 54 boolean isMobile = (info != null && info.getType() == ConnectivityManager.TYPE_MOBILE);
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceContact.java | 189 typeAtCursor = Phone.TYPE_MOBILE; 207 case Phone.TYPE_MOBILE:
|
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 268 mCm.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 272 mCm.stopUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 303 mCm.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 307 mCm.stopUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 374 foo.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE,
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 289 .addPhone(rawContact.getCellPhone(), Phone.TYPE_MOBILE) 360 if (type == Phone.TYPE_MOBILE) { 388 contactOp.addPhone(rawContact.getCellPhone(), Phone.TYPE_MOBILE); 491 if (type == Phone.TYPE_MOBILE) { [all...] |
/packages/apps/Browser/src/com/android/browser/ |
PreloadRequestReceiver.java | 80 case ConnectivityManager.TYPE_MOBILE:
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
DownloadManagerFunctionalTest.java | 77 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE;
|
PublicApiFunctionalTest.java | 347 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE; 458 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE;
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 277 mAct.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, 287 mAct.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState());
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 94 mContactPhoneTypes.add(ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE); 99 mContactEmailTypes.add(ContactsContract.CommonDataKinds.Email.TYPE_MOBILE);
|
/packages/apps/Phone/src/com/android/phone/ |
SimContacts.java | 85 phoneType = Phone.TYPE_MOBILE; 184 builder.withValue(Email.TYPE, Email.TYPE_MOBILE);
|
/cts/tests/tests/net/src/android/net/http/cts/ |
ApacheHttpClientTest.java | 159 new ConnectivityActionReceiver(ConnectivityManager.TYPE_MOBILE,
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForPhoneNumber.java | 140 case Phone.TYPE_MOBILE: return 0;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardJapanizationTests.java | 370 .put(Phone.TYPE, Phone.TYPE_MOBILE); 392 .put(Phone.TYPE, Phone.TYPE_MOBILE);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Tethering.java | 87 private static final Integer MOBILE_TYPE = new Integer(ConnectivityManager.TYPE_MOBILE); [all...] |