Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java106 int bearerBitmask = 276728; in testConvertNetworkTypeBitmaskToBearerBitmask() local
107 assertEquals(bearerBitmask, in testConvertNetworkTypeBitmaskToBearerBitmask()
111 bearerBitmask = 0; in testConvertNetworkTypeBitmaskToBearerBitmask()
112 assertEquals(bearerBitmask, in testConvertNetworkTypeBitmaskToBearerBitmask()
121 int bearerBitmask = 276728; in testConvertBearerBitmaskToNetworkTypeBitmask() local
123 ServiceState.convertBearerBitmaskToNetworkTypeBitmask(bearerBitmask)); in testConvertBearerBitmaskToNetworkTypeBitmask()
126 bearerBitmask = 0; in testConvertBearerBitmaskToNetworkTypeBitmask()
128 ServiceState.convertBearerBitmaskToNetworkTypeBitmask(bearerBitmask)); in testConvertBearerBitmaskToNetworkTypeBitmask()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java1899 public static boolean bitmaskHasTech(int bearerBitmask, int radioTech) { in bitmaskHasTech() argument
1900 if (bearerBitmask == 0) { in bitmaskHasTech()
1903 return ((bearerBitmask & (1 << (radioTech - 1))) != 0); in bitmaskHasTech()
1919 int bearerBitmask = 0; in getBitmaskFromString() local
1932 bearerBitmask |= getBitmaskForTech(bearerInt); in getBitmaskFromString()
1934 return bearerBitmask; in getBitmaskFromString()
1949 int bearerBitmask = 0; in convertNetworkTypeBitmaskToBearerBitmask() local
1952 bearerBitmask |= getBitmaskForTech(bearerInt); in convertNetworkTypeBitmaskToBearerBitmask()
1955 return bearerBitmask; in convertNetworkTypeBitmaskToBearerBitmask()
1966 public static int convertBearerBitmaskToNetworkTypeBitmask(int bearerBitmask) { in convertBearerBitmaskToNetworkTypeBitmask() argument
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DDataProfile.java715 public @NonNull Builder setBearerBitmask(@NetworkTypeBitMask int bearerBitmask) { in setBearerBitmask() argument
716 mBearerBitmask = bearerBitmask; in setBearerBitmask()
DApnSetting.java1070 final int bearerBitmask = cursor.getInt(cursor.getColumnIndexOrThrow( in makeApnSetting() local
1073 ServiceState.convertBearerBitmaskToNetworkTypeBitmask(bearerBitmask); in makeApnSetting()