Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java84 int networkTypeBitmask = 1 << (4 - 1) | 1 << (7 - 1) | 1 << (5 - 1) | 1 << (6 - 1) in testBitmaskFromString() local
86 assertEquals(networkTypeBitmask, in testBitmaskFromString()
90 networkTypeBitmask = 1 << (13 - 1); in testBitmaskFromString()
91 assertEquals(networkTypeBitmask, in testBitmaskFromString()
95 networkTypeBitmask = 0; in testBitmaskFromString()
96 assertEquals(networkTypeBitmask, in testBitmaskFromString()
103 int networkTypeBitmask = 276600; in testConvertNetworkTypeBitmaskToBearerBitmask() local
107 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)); in testConvertNetworkTypeBitmaskToBearerBitmask()
109 networkTypeBitmask = 0; in testConvertNetworkTypeBitmaskToBearerBitmask()
112 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)); in testConvertNetworkTypeBitmaskToBearerBitmask()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java155 int networkTypeBitmask = 1 << (13 - 1); in testFromString() local
159 networkTypeBitmask, 0, false, 0, 0, 0, 0, -1, ""); in testFromString()
167 networkTypeBitmask, 0, false, 0, 0, 0, 0, -1, ""); in testFromString()
175 networkTypeBitmask, 0, false, 0, 0, 0, 0, ApnSetting.MVNO_TYPE_SPN, "testspn"); in testFromString()
181 networkTypeBitmask = 1 << (6 - 1); in testFromString()
185 networkTypeBitmask, 0, false, 0, 0, 0, 0, ApnSetting.MVNO_TYPE_SPN, "testspn"); in testFromString()
192 networkTypeBitmask = 276728; in testFromString()
196 networkTypeBitmask, 0, false, 0, 0, 0, 0, ApnSetting.MVNO_TYPE_SPN, "testspn"); in testFromString()
202 networkTypeBitmask = 1 << (6 - 1); in testFromString()
206 networkTypeBitmask, 0, false, 0, 0, 0, 0, ApnSetting.MVNO_TYPE_SPN, "testspn"); in testFromString()
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java680 boolean carrierEnabled, int networkTypeBitmask, int profileId, in makeApnSetting() argument
700 .setNetworkTypeBitmask(networkTypeBitmask) in makeApnSetting()
722 boolean carrierEnabled, int networkTypeBitmask, int profileId, boolean modemCognitive, in makeApnSetting() argument
727 protocol, roamingProtocol, carrierEnabled, networkTypeBitmask, profileId, in makeApnSetting()
739 int networkTypeBitmask = cursor.getInt( in makeApnSetting() local
741 if (networkTypeBitmask == 0) { in makeApnSetting()
744 networkTypeBitmask = in makeApnSetting()
774 networkTypeBitmask, in makeApnSetting()
909 int networkTypeBitmask = 0; in fromString() local
959 networkTypeBitmask = ServiceState.getBitmaskFromString(a[26]); in fromString()
[all …]
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1717 public static boolean bearerBitmapHasCdma(int networkTypeBitmask) { in bearerBitmapHasCdma() argument
1719 & convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)) != 0; in bearerBitmapHasCdma()
1763 public static int convertNetworkTypeBitmaskToBearerBitmask(int networkTypeBitmask) { in convertNetworkTypeBitmaskToBearerBitmask() argument
1764 if (networkTypeBitmask == 0) { in convertNetworkTypeBitmaskToBearerBitmask()
1769 if (bitmaskHasTech(networkTypeBitmask, rilRadioTechnologyToNetworkType(bearerInt))) { in convertNetworkTypeBitmaskToBearerBitmask()
1781 int networkTypeBitmask = 0; in convertBearerBitmaskToNetworkTypeBitmask() local
1784 networkTypeBitmask |= getBitmaskForTech(rilRadioTechnologyToNetworkType(bearerInt)); in convertBearerBitmaskToNetworkTypeBitmask()
1787 return networkTypeBitmask; in convertBearerBitmaskToNetworkTypeBitmask()
DTelephonyManager.java7334 public boolean setPreferredNetworkTypeBitmask(@NetworkTypeBitMask long networkTypeBitmask) { in setPreferredNetworkTypeBitmask() argument
7340 (int) networkTypeBitmask)); in setPreferredNetworkTypeBitmask()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java2702 @TelephonyManager.NetworkTypeBitMask int networkTypeBitmask) { in convertToHalRadioAccessFamily()
2705 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_GSM) != 0) { in convertToHalRadioAccessFamily()
2708 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_GPRS) != 0) { in convertToHalRadioAccessFamily()
2711 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EDGE) != 0) { in convertToHalRadioAccessFamily()
2715 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_CDMA) != 0) { in convertToHalRadioAccessFamily()
2718 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_1xRTT) != 0) { in convertToHalRadioAccessFamily()
2721 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EVDO_0) != 0) { in convertToHalRadioAccessFamily()
2724 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EVDO_A) != 0) { in convertToHalRadioAccessFamily()
2727 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EVDO_B) != 0) { in convertToHalRadioAccessFamily()
2730 if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_EHRPD) != 0) { in convertToHalRadioAccessFamily()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java3183 int networkTypeBitmask = (dest.getNetworkTypeBitmask() == 0 in mergeApns() local
3190 dest.isEnabled(), networkTypeBitmask, dest.getProfileId(), in mergeApns()
4762 int networkTypeBitmask = apn.getNetworkTypeBitmask(); in createDataProfile() local
4764 if (networkTypeBitmask == 0) { in createDataProfile()
4766 } else if (ServiceState.bearerBitmapHasCdma(networkTypeBitmask)) { in createDataProfile()
4786 .setBearerBitmask(networkTypeBitmask) in createDataProfile()