Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSetting.java89 public final int bearerBitmask; field in ApnSetting
124 int bearerBitmask, int profileId, boolean modemCognitive, int maxConns, in ApnSetting() argument
150 this.bearerBitmask = (bearerBitmask | ServiceState.getBitmaskForTech(bearer)); in ApnSetting()
165 apn.roamingProtocol, apn.carrierEnabled, apn.bearer, apn.bearerBitmask, in ApnSetting()
228 int bearerBitmask = 0; in fromString() local
252 bearerBitmask = ServiceState.getBitmaskFromString(a[17]); in fromString()
278 bearerBitmask, profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu, in fromString()
329 sb.append(", ").append(bearerBitmask); in toString()
539 && bearerBitmask == other.bearerBitmask in equals()
611 && this.bearerBitmask == other.bearerBitmask in similar()
DDataProfile.java111 apn.authType, apn.user, apn.password, apn.bearerBitmask == 0 in DataProfile()
112 ? TYPE_COMMON : (ServiceState.bearerBitmapHasCdma(apn.bearerBitmask) in DataProfile()
115 apn.roamingProtocol, apn.bearerBitmask, apn.mtu, apn.mvnoType, apn.mvnoMatchData, in DataProfile()
DDcTracker.java1774 if (!ServiceState.bitmaskHasTech(dunSetting.bearerBitmask, bearer)) continue; in fetchDunApn()
3436 int bearerBitmask = (dest.bearerBitmask == 0 || src.bearerBitmask == 0) ? in mergeApns() local
3437 0 : (dest.bearerBitmask | src.bearerBitmask); in mergeApns()
3442 roamingProtocol, dest.carrierEnabled, 0, bearerBitmask, dest.profileId, in mergeApns()
3530 if (ServiceState.bitmaskHasTech(mPreferredApn.bearerBitmask, radioTech)) { in buildWaitingApns()
3549 if (ServiceState.bitmaskHasTech(apn.bearerBitmask, radioTech)) { in buildWaitingApns()
3554 log("buildWaitingApns: bearerBitmask:" + apn.bearerBitmask + " does " + in buildWaitingApns()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1274 public static boolean bitmaskHasTech(int bearerBitmask, int radioTech) { in bitmaskHasTech() argument
1275 if (bearerBitmask == 0) { in bitmaskHasTech()
1278 return ((bearerBitmask & (1 << (radioTech - 1))) != 0); in bitmaskHasTech()
1294 int bearerBitmask = 0; in getBitmaskFromString() local
1307 bearerBitmask |= getBitmaskForTech(bearerInt); in getBitmaskFromString()
1309 return bearerBitmask; in getBitmaskFromString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java131 assertEquals(a1.bearerBitmask, a2.bearerBitmask); in assertApnSettingEqual()
DDcTrackerTest.java431 int supportedApnTypesBitmap, int type, int bearerBitmask) { in verifyDataProfile() argument
445 assertEquals(bearerBitmask, dp.bearerBitmap); in verifyDataProfile()