/packages/apps/Dialer/java/com/android/dialer/common/ |
D | NetworkUtil.java | 73 @NetworkType String networkType = getNetworkType(netInfo); in getCurrentNetworkTypeName() local 74 if (isNetworkTypeMobile(networkType)) { in getCurrentNetworkTypeName() 75 return networkType + " (" + netInfo.getSubtypeName() + ")"; in getCurrentNetworkTypeName() 77 return networkType; in getCurrentNetworkTypeName() 95 public static boolean isNetworkTypeMobile(@NetworkType String networkType) { in isNetworkTypeMobile() argument 96 return Objects.equals(networkType, NetworkType.MOBILE_2G) in isNetworkTypeMobile() 97 || Objects.equals(networkType, NetworkType.MOBILE_3G) in isNetworkTypeMobile() 98 || Objects.equals(networkType, NetworkType.MOBILE_4G); in isNetworkTypeMobile() 103 @NetworkType String networkType = getCurrentNetworkType(context); in getCurrentNetworkName() local 104 switch (networkType) { in getCurrentNetworkName()
|
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | JobSchedulerWrapper.java | 118 int networkType, in scheduleAJob() argument 147 .setRequiredNetworkType(networkType) in scheduleAJob() 167 networkType, in scheduleAJob() 178 networkType, in scheduleAJob() 262 extensionInfo.networkType, in completedJobsSince() 305 public final int networkType; field in JobSchedulerWrapper.ExtendedJobInfo 310 int networkType, in ExtendedJobInfo() argument 314 this.networkType = networkType; in ExtendedJobInfo()
|
D | JobInfoRowArrayAdapter.java | 127 String networkType = getNetworkType(networkReq); in setNetworkColoredText() local 128 SpannableStringBuilder sb = new SpannableStringBuilder(label + ": " + networkType); in setNetworkColoredText() 130 sb, Color.GREEN, label.length() + 2, label.length() + 2 + networkType.length()); in setNetworkColoredText()
|
D | OffcarTestingFragment.java | 77 case R.id.networkType: in onItemSelected() 121 mNetworkTypeSpinner = v.findViewById(R.id.networkType); in defineViewsFromFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowConnectivityManager.java | 33 public void setNetworkSupported(int networkType, boolean supported) { in setNetworkSupported() argument 34 mSupportedNetworkTypes.put(networkType, supported); in setNetworkSupported() 38 protected boolean isNetworkSupported(int networkType) { in isNetworkSupported() argument 39 return mSupportedNetworkTypes.get(networkType); in isNetworkSupported()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | NetworkTypeLogger.java | 70 final int networkType = networkInfo.getType(); in log() local 71 mMetricsLoggerWrapper.logAction(mContext, PROVISIONING_NETWORK_TYPE, networkType); in log() 74 .setStrings(String.valueOf(networkType)) in log()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | EmailConnectivityManager.java | 97 public void onConnectivityRestored(int networkType) { in onConnectivityRestored() argument 105 public void onConnectivityLost(int networkType) { in onConnectivityLost() argument
|
D | AttachmentInfo.java | 169 int networkType = EmailConnectivityManager.getActiveNetworkType(context); in AttachmentInfo() local 170 if (networkType != ConnectivityManager.TYPE_WIFI) { in AttachmentInfo()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 94 final int networkType = getConnectivityChangeNetworkType(intent); 95 if (networkType != ConnectivityManager.TYPE_MOBILE_MMS) {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessPendingMessagesAction.java | 108 final int networkType = in scheduleProcessPendingMessagesAction() 110 if (networkType != ConnectivityManager.TYPE_MOBILE) { in scheduleProcessPendingMessagesAction()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 740 int networkType = (Integer) request.argument; in handleMessage() local 741 getPhoneFromRequest(request).setPreferredNetworkType(networkType, onCompleted); in handleMessage() 4572 int networkType = (result != null ? result[0] : -1); in getPreferredNetworkType() local 4573 if (DBG) log("getPreferredNetworkType: " + networkType); in getPreferredNetworkType() 4574 return networkType; in getPreferredNetworkType() 4588 public boolean setPreferredNetworkType(int subId, int networkType) { in setPreferredNetworkType() argument 4594 if (DBG) log("setPreferredNetworkType: subId " + subId + " type " + networkType); in setPreferredNetworkType() 4596 CMD_SET_PREFERRED_NETWORK_TYPE, networkType, subId); in setPreferredNetworkType() 4600 Settings.Global.PREFERRED_NETWORK_MODE + subId, networkType); in setPreferredNetworkType() local
|
D | MobileNetworkSettings.java | 2290 TelephonyManager tm, int subId, int networkType, Message callback) { in SetPreferredNetworkAsyncTask() argument 2293 mNetworkType = networkType; in SetPreferredNetworkAsyncTask()
|