Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java105 int bearerBitmask = 276728; in testConvertNetworkTypeBitmaskToBearerBitmask() local
106 assertEquals(bearerBitmask, in testConvertNetworkTypeBitmaskToBearerBitmask()
110 bearerBitmask = 0; in testConvertNetworkTypeBitmaskToBearerBitmask()
111 assertEquals(bearerBitmask, in testConvertNetworkTypeBitmaskToBearerBitmask()
120 int bearerBitmask = 276728; in testConvertBearerBitmaskToNetworkTypeBitmask() local
122 ServiceState.convertBearerBitmaskToNetworkTypeBitmask(bearerBitmask)); in testConvertBearerBitmaskToNetworkTypeBitmask()
125 bearerBitmask = 0; in testConvertBearerBitmaskToNetworkTypeBitmask()
127 ServiceState.convertBearerBitmaskToNetworkTypeBitmask(bearerBitmask)); in testConvertBearerBitmaskToNetworkTypeBitmask()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1724 public static boolean bitmaskHasTech(int bearerBitmask, int radioTech) { in bitmaskHasTech() argument
1725 if (bearerBitmask == 0) { in bitmaskHasTech()
1728 return ((bearerBitmask & (1 << (radioTech - 1))) != 0); in bitmaskHasTech()
1744 int bearerBitmask = 0; in getBitmaskFromString() local
1757 bearerBitmask |= getBitmaskForTech(bearerInt); in getBitmaskFromString()
1759 return bearerBitmask; in getBitmaskFromString()
1767 int bearerBitmask = 0; in convertNetworkTypeBitmaskToBearerBitmask() local
1770 bearerBitmask |= getBitmaskForTech(bearerInt); in convertNetworkTypeBitmaskToBearerBitmask()
1773 return bearerBitmask; in convertNetworkTypeBitmaskToBearerBitmask()
1777 public static int convertBearerBitmaskToNetworkTypeBitmask(int bearerBitmask) { in convertBearerBitmaskToNetworkTypeBitmask() argument
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DDataProfile.java111 @NetworkTypeBitMask int bearerBitmask, int mtu, boolean persistent, in DataProfile() argument
130 this.mBearerBitmask = bearerBitmask; in DataProfile()
559 public @NonNull Builder setBearerBitmask(@NetworkTypeBitMask int bearerBitmask) { in setBearerBitmask() argument
560 mBearerBitmask = bearerBitmask; in setBearerBitmask()
DApnSetting.java742 final int bearerBitmask = cursor.getInt(cursor.getColumnIndexOrThrow( in makeApnSetting() local
745 ServiceState.convertBearerBitmaskToNetworkTypeBitmask(bearerBitmask); in makeApnSetting()
908 int bearerBitmask = 0; in fromString() local
936 bearerBitmask = ServiceState.getBitmaskFromString(a[17]); in fromString()
979 ServiceState.convertBearerBitmaskToNetworkTypeBitmask(bearerBitmask); in fromString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java561 int supportedApnTypesBitmap, int type, int bearerBitmask) { in verifyDataProfile() argument
573 assertEquals(bearerBitmask, dp.getBearerBitmask()); in verifyDataProfile()