Searched refs:networkTypeBitmask (Results 1 – 15 of 15) sorted by relevance
85 int networkTypeBitmask = 1 << (4 - 1) | 1 << (7 - 1) | 1 << (5 - 1) | 1 << (6 - 1) in testBitmaskFromString() local87 assertEquals(networkTypeBitmask, in testBitmaskFromString()91 networkTypeBitmask = 1 << (13 - 1); in testBitmaskFromString()92 assertEquals(networkTypeBitmask, in testBitmaskFromString()96 networkTypeBitmask = 0; in testBitmaskFromString()97 assertEquals(networkTypeBitmask, in testBitmaskFromString()104 int networkTypeBitmask = 276600; in testConvertNetworkTypeBitmaskToBearerBitmask() local108 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)); in testConvertNetworkTypeBitmaskToBearerBitmask()110 networkTypeBitmask = 0; in testConvertNetworkTypeBitmaskToBearerBitmask()113 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)); in testConvertNetworkTypeBitmaskToBearerBitmask()[all …]
1191 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message response) { in setAllowedNetworkTypesBitmap()1193 .setAllowedNetworkTypesBitmap(networkTypeBitmask, response); in setAllowedNetworkTypesBitmap()1194 mAllowedNetworkType = networkTypeBitmask; in setAllowedNetworkTypesBitmap()
1038 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message response) { in setAllowedNetworkTypesBitmap()
1892 public static boolean bearerBitmapHasCdma(int networkTypeBitmask) { in bearerBitmapHasCdma() argument1894 & convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)) != 0; in bearerBitmapHasCdma()1945 public static int convertNetworkTypeBitmaskToBearerBitmask(int networkTypeBitmask) { in convertNetworkTypeBitmaskToBearerBitmask() argument1946 if (networkTypeBitmask == 0) { in convertNetworkTypeBitmaskToBearerBitmask()1951 if (bitmaskHasTech(networkTypeBitmask, rilRadioTechnologyToNetworkType(bearerInt))) { in convertNetworkTypeBitmaskToBearerBitmask()1970 int networkTypeBitmask = 0; in convertBearerBitmaskToNetworkTypeBitmask() local1973 networkTypeBitmask |= getBitmaskForTech(rilRadioTechnologyToNetworkType(bearerInt)); in convertBearerBitmaskToNetworkTypeBitmask()1976 return networkTypeBitmask; in convertBearerBitmaskToNetworkTypeBitmask()
9904 public boolean setPreferredNetworkTypeBitmask(@NetworkTypeBitMask long networkTypeBitmask) { in setPreferredNetworkTypeBitmask() argument9908 networkTypeBitmask = checkNetworkTypeBitmask(networkTypeBitmask); in setPreferredNetworkTypeBitmask()9910 TelephonyManager.ALLOWED_NETWORK_TYPES_REASON_USER, networkTypeBitmask); in setPreferredNetworkTypeBitmask()9924 private long checkNetworkTypeBitmask(@NetworkTypeBitMask long networkTypeBitmask) { in checkNetworkTypeBitmask() argument9925 if ((networkTypeBitmask & NETWORK_TYPE_BITMASK_LTE_CA) != 0) { in checkNetworkTypeBitmask()9926 networkTypeBitmask ^= NETWORK_TYPE_BITMASK_LTE_CA; in checkNetworkTypeBitmask()9927 networkTypeBitmask |= NETWORK_TYPE_BITMASK_LTE; in checkNetworkTypeBitmask()9929 return networkTypeBitmask; in checkNetworkTypeBitmask()10142 @NetworkTypeBitMask long networkTypeBitmask) { in convertNetworkTypeBitmaskToString()10145 return (networkTypeBitmask & getBitMaskForNetworkType(x)) in convertNetworkTypeBitmaskToString()
59 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getAllowedNetworkTypesBitmapResponse() local60 mRil.mAllowedNetworkTypesBitmask = networkTypeBitmask; in getAllowedNetworkTypesBitmapResponse()61 RadioResponse.responseInts(HAL_SERVICE_NETWORK, mRil, responseInfo, networkTypeBitmask); in getAllowedNetworkTypesBitmapResponse()
1558 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask) { in convertToHalRadioAccessFamily()1561 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_GSM) != 0) { in convertToHalRadioAccessFamily()1564 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_GPRS) != 0) { in convertToHalRadioAccessFamily()1567 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EDGE) != 0) { in convertToHalRadioAccessFamily()1571 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_CDMA) != 0) { in convertToHalRadioAccessFamily()1574 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_1xRTT) != 0) { in convertToHalRadioAccessFamily()1577 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EVDO_0) != 0) { in convertToHalRadioAccessFamily()1580 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EVDO_A) != 0) { in convertToHalRadioAccessFamily()1583 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EVDO_B) != 0) { in convertToHalRadioAccessFamily()1586 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EHRPD) != 0) { in convertToHalRadioAccessFamily()[all …]
369 public void setAllowedNetworkTypesBitmap(int serial, int networkTypeBitmask) in setAllowedNetworkTypesBitmap() argument374 RILUtils.convertToHalRadioAccessFamilyAidl(networkTypeBitmask)); in setAllowedNetworkTypesBitmap()377 serial, RILUtils.convertToHalRadioAccessFamily(networkTypeBitmask)); in setAllowedNetworkTypesBitmap()
617 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getAllowedNetworkTypesBitmapResponse() local618 mRil.mAllowedNetworkTypesBitmask = networkTypeBitmask; in getAllowedNetworkTypesBitmapResponse()619 responseInts_1_6(info, networkTypeBitmask); in getAllowedNetworkTypesBitmapResponse()1000 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getPreferredNetworkTypeBitmapResponse() local1001 mRil.mAllowedNetworkTypesBitmask = networkTypeBitmask; in getPreferredNetworkTypeBitmapResponse()1002 responseInts(responseInfo, networkTypeBitmask); in getPreferredNetworkTypeBitmapResponse()
4095 int networkTypeBitmask = RadioAccessFamily.getRafFromNetworkType( in shouldForceAutoNetworkSelect() local4104 networkTypeBitmask = (int) getAllowedNetworkTypes( in shouldForceAutoNetworkSelect()4107 logd("shouldForceAutoNetworkSelect in mode = " + networkTypeBitmask); in shouldForceAutoNetworkSelect()4113 && ((networkTypeBitmask == RadioAccessFamily.getRafFromNetworkType( in shouldForceAutoNetworkSelect()4115 || (networkTypeBitmask == RadioAccessFamily.getRafFromNetworkType( in shouldForceAutoNetworkSelect()4117 logd("Should force auto network select mode = " + networkTypeBitmask); in shouldForceAutoNetworkSelect()4120 logd("Should not force auto network select mode = " + networkTypeBitmask); in shouldForceAutoNetworkSelect()
1543 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message response); in setAllowedNetworkTypesBitmap()
3014 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message result) { in setAllowedNetworkTypesBitmap()3018 RadioAccessFamily.getNetworkTypeFromRaf(networkTypeBitmask), result); in setAllowedNetworkTypesBitmap()3033 mAllowedNetworkTypesBitmask = networkTypeBitmask; in setAllowedNetworkTypesBitmap()
1067 int networkTypeBitmask = cursor.getInt( in makeApnSetting() local1069 if (networkTypeBitmask == 0) { in makeApnSetting()1072 networkTypeBitmask = in makeApnSetting()1112 .setNetworkTypeBitmask(networkTypeBitmask) in makeApnSetting()2259 public Builder setNetworkTypeBitmask(int networkTypeBitmask) { in setNetworkTypeBitmask() argument2260 this.mNetworkTypeBitmask = networkTypeBitmask; in setNetworkTypeBitmask()
423 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message response) { in setAllowedNetworkTypesBitmap()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...