Home
last modified time | relevance | path

Searched refs:networkTypeBitmask (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java85 int networkTypeBitmask = 1 << (4 - 1) | 1 << (7 - 1) | 1 << (5 - 1) | 1 << (6 - 1) in testBitmaskFromString() local
87 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() local
108 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)); in testConvertNetworkTypeBitmaskToBearerBitmask()
110 networkTypeBitmask = 0; in testConvertNetworkTypeBitmaskToBearerBitmask()
113 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)); in testConvertNetworkTypeBitmaskToBearerBitmask()
[all …]
DSimulatedCommands.java1191 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message response) { in setAllowedNetworkTypesBitmap()
1193 .setAllowedNetworkTypesBitmap(networkTypeBitmask, response); in setAllowedNetworkTypesBitmap()
1194 mAllowedNetworkType = networkTypeBitmask; in setAllowedNetworkTypesBitmap()
DSimulatedCommandsVerifier.java1038 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message response) { in setAllowedNetworkTypesBitmap()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1892 public static boolean bearerBitmapHasCdma(int networkTypeBitmask) { in bearerBitmapHasCdma() argument
1894 & convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)) != 0; in bearerBitmapHasCdma()
1945 public static int convertNetworkTypeBitmaskToBearerBitmask(int networkTypeBitmask) { in convertNetworkTypeBitmaskToBearerBitmask() argument
1946 if (networkTypeBitmask == 0) { in convertNetworkTypeBitmaskToBearerBitmask()
1951 if (bitmaskHasTech(networkTypeBitmask, rilRadioTechnologyToNetworkType(bearerInt))) { in convertNetworkTypeBitmaskToBearerBitmask()
1970 int networkTypeBitmask = 0; in convertBearerBitmaskToNetworkTypeBitmask() local
1973 networkTypeBitmask |= getBitmaskForTech(rilRadioTechnologyToNetworkType(bearerInt)); in convertBearerBitmaskToNetworkTypeBitmask()
1976 return networkTypeBitmask; in convertBearerBitmaskToNetworkTypeBitmask()
DTelephonyManager.java9904 public boolean setPreferredNetworkTypeBitmask(@NetworkTypeBitMask long networkTypeBitmask) { in setPreferredNetworkTypeBitmask() argument
9908 networkTypeBitmask = checkNetworkTypeBitmask(networkTypeBitmask); in setPreferredNetworkTypeBitmask()
9910 TelephonyManager.ALLOWED_NETWORK_TYPES_REASON_USER, networkTypeBitmask); in setPreferredNetworkTypeBitmask()
9924 private long checkNetworkTypeBitmask(@NetworkTypeBitMask long networkTypeBitmask) { in checkNetworkTypeBitmask() argument
9925 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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkResponse.java59 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getAllowedNetworkTypesBitmapResponse() local
60 mRil.mAllowedNetworkTypesBitmask = networkTypeBitmask; in getAllowedNetworkTypesBitmapResponse()
61 RadioResponse.responseInts(HAL_SERVICE_NETWORK, mRil, responseInfo, networkTypeBitmask); in getAllowedNetworkTypesBitmapResponse()
DRILUtils.java1558 @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 …]
DRadioNetworkProxy.java369 public void setAllowedNetworkTypesBitmap(int serial, int networkTypeBitmask) in setAllowedNetworkTypesBitmap() argument
374 RILUtils.convertToHalRadioAccessFamilyAidl(networkTypeBitmask)); in setAllowedNetworkTypesBitmap()
377 serial, RILUtils.convertToHalRadioAccessFamily(networkTypeBitmask)); in setAllowedNetworkTypesBitmap()
DRadioResponse.java617 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getAllowedNetworkTypesBitmapResponse() local
618 mRil.mAllowedNetworkTypesBitmask = networkTypeBitmask; in getAllowedNetworkTypesBitmapResponse()
619 responseInts_1_6(info, networkTypeBitmask); in getAllowedNetworkTypesBitmapResponse()
1000 int networkTypeBitmask = RILUtils.convertHalNetworkTypeBitMask(halRadioAccessFamilyBitmap); in getPreferredNetworkTypeBitmapResponse() local
1001 mRil.mAllowedNetworkTypesBitmask = networkTypeBitmask; in getPreferredNetworkTypeBitmapResponse()
1002 responseInts(responseInfo, networkTypeBitmask); in getPreferredNetworkTypeBitmapResponse()
DGsmCdmaPhone.java4095 int networkTypeBitmask = RadioAccessFamily.getRafFromNetworkType( in shouldForceAutoNetworkSelect() local
4104 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()
DCommandsInterface.java1543 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message response); in setAllowedNetworkTypesBitmap()
DRIL.java3014 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message result) { in setAllowedNetworkTypesBitmap()
3018 RadioAccessFamily.getNetworkTypeFromRaf(networkTypeBitmask), result); in setAllowedNetworkTypesBitmap()
3033 mAllowedNetworkTypesBitmask = networkTypeBitmask; in setAllowedNetworkTypesBitmap()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java1067 int networkTypeBitmask = cursor.getInt( in makeApnSetting() local
1069 if (networkTypeBitmask == 0) { in makeApnSetting()
1072 networkTypeBitmask = in makeApnSetting()
1112 .setNetworkTypeBitmask(networkTypeBitmask) in makeApnSetting()
2259 public Builder setNetworkTypeBitmask(int networkTypeBitmask) { in setNetworkTypeBitmask() argument
2260 this.mNetworkTypeBitmask = networkTypeBitmask; in setNetworkTypeBitmask()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java423 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask, Message response) { in setAllowedNetworkTypesBitmap()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...