Home
last modified time | relevance | path

Searched refs:bearerBitmask (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSetting.java85 public final int bearerBitmask; field in ApnSetting
132 int bearerBitmask, int profileId, boolean modemCognitive, int maxConns, int waitTime, in ApnSetting() argument
154 this.bearerBitmask = (bearerBitmask | ServiceState.getBitmaskForTech(bearer)); in ApnSetting()
169 apn.roamingProtocol, apn.carrierEnabled, apn.bearer, apn.bearerBitmask, in ApnSetting()
232 int bearerBitmask = 0; in fromString() local
256 bearerBitmask = ServiceState.getBitmaskFromString(a[17]); in fromString()
282 bearerBitmask, profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu, in fromString()
333 sb.append(", ").append(bearerBitmask); in toString()
515 bearerBitmask == other.bearerBitmask && in equals()
DDataProfile.java75 apn.authType, apn.user, apn.password, apn.bearerBitmask == 0 in DataProfile()
76 ? TYPE_COMMON : (ServiceState.bearerBitmapHasCdma(apn.bearerBitmask) in DataProfile()
DDcTracker.java1871 if (!ServiceState.bitmaskHasTech(dunSetting.bearerBitmask, bearer)) continue; in fetchDunApn()
1893 if (!ServiceState.bitmaskHasTech(dunSetting.bearerBitmask, bearer)) continue; in fetchDunApn()
3454 first.bearerBitmask == second.bearerBitmask && in apnsSimilar()
3486 int bearerBitmask = (dest.bearerBitmask == 0 || src.bearerBitmask == 0) ? in mergeApns() local
3487 0 : (dest.bearerBitmask | src.bearerBitmask); in mergeApns()
3492 roamingProtocol, dest.carrierEnabled, 0, bearerBitmask, dest.profileId, in mergeApns()
3580 if (ServiceState.bitmaskHasTech(mPreferredApn.bearerBitmask, radioTech)) { in buildWaitingApns()
3599 if (ServiceState.bitmaskHasTech(apn.bearerBitmask, radioTech)) { in buildWaitingApns()
3604 log("buildWaitingApns: bearerBitmask:" + apn.bearerBitmask + " does " + in buildWaitingApns()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1162 public static boolean bitmaskHasTech(int bearerBitmask, int radioTech) { in bitmaskHasTech() argument
1163 if (bearerBitmask == 0) { in bitmaskHasTech()
1166 return ((bearerBitmask & (1 << (radioTech - 1))) != 0); in bitmaskHasTech()
1182 int bearerBitmask = 0; in getBitmaskFromString() local
1195 bearerBitmask |= getBitmaskForTech(bearerInt); in getBitmaskFromString()
1197 return bearerBitmask; in getBitmaskFromString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java112 assertEquals(a1.bearerBitmask, a2.bearerBitmask); in assertApnSettingEqual()