/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 | 137 int networkType, in scheduleAJob() argument 166 .setRequiredNetworkType(networkType) in scheduleAJob() 184 networkType, in scheduleAJob() 195 networkType, in scheduleAJob() 280 extensionInfo.networkType, in completedJobsSince() 334 public final int networkType; field in JobSchedulerWrapper.ExtendedJobInfo 339 int networkType, in ExtendedJobInfo() argument 343 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/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 94 final int networkType = getConnectivityChangeNetworkType(intent); 95 if (networkType != ConnectivityManager.TYPE_MOBILE_MMS) {
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 391 private int addNrToLteNetworkType(int networkType) { in addNrToLteNetworkType() argument 392 switch(networkType) { in addNrToLteNetworkType() 414 return networkType; // not LTE in addNrToLteNetworkType()
|
/packages/modules/DnsResolver/ |
D | resolv_unit_test.cpp | 1494 int32_t networkType; in TEST_F() member 1535 EXPECT_EQ(config.networkType, convert_network_type(config.transportTypes)); in TEST_F()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 774 int networkType = (Integer) request.argument; in handleMessage() local 775 getPhoneFromRequest(request).setPreferredNetworkType(networkType, onCompleted); in handleMessage() 5480 int networkType = (result != null ? result[0] : -1); in getPreferredNetworkType() local 5481 if (DBG) log("getPreferredNetworkType: " + networkType); in getPreferredNetworkType() 5482 return networkType; in getPreferredNetworkType() 5495 public boolean setPreferredNetworkType(int subId, int networkType) { in setPreferredNetworkType() argument 5502 Settings.Global.PREFERRED_NETWORK_MODE + subId, networkType); in setPreferredNetworkType() local 5505 CMD_SET_PREFERRED_NETWORK_TYPE, networkType, subId); in setPreferredNetworkType()
|