/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTest.java | 77 int networkTypeBitmask = 1 << (4 - 1) | 1 << (7 - 1) | 1 << (5 - 1) | 1 << (6 - 1) in testBitmaskFromString() local 79 assertEquals(networkTypeBitmask, in testBitmaskFromString() 83 networkTypeBitmask = 1 << (13 - 1); in testBitmaskFromString() 84 assertEquals(networkTypeBitmask, in testBitmaskFromString() 88 networkTypeBitmask = 0; in testBitmaskFromString() 89 assertEquals(networkTypeBitmask, in testBitmaskFromString() 96 int networkTypeBitmask = 276600; in testConvertNetworkTypeBitmaskToBearerBitmask() local 100 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)); in testConvertNetworkTypeBitmaskToBearerBitmask() 102 networkTypeBitmask = 0; in testConvertNetworkTypeBitmaskToBearerBitmask() 105 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask)); in testConvertNetworkTypeBitmaskToBearerBitmask() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnSetting.java | 107 public final int networkTypeBitmask; field in ApnSetting 195 this.networkTypeBitmask = ServiceState.convertBearerBitmaskToNetworkTypeBitmask( in ApnSetting() 205 int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns, in ApnSetting() argument 209 authType, types, protocol, roamingProtocol, carrierEnabled, networkTypeBitmask, in ApnSetting() 219 int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns, in ApnSetting() argument 246 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(networkTypeBitmask); in ApnSetting() 247 this.networkTypeBitmask = networkTypeBitmask; in ApnSetting() 262 apn.roamingProtocol, apn.carrierEnabled, apn.networkTypeBitmask, apn.profileId, in ApnSetting() 346 int networkTypeBitmask = 0; in fromString() local 394 networkTypeBitmask = ServiceState.getBitmaskFromString(a[26]); in fromString() [all …]
|
D | DcTracker.java | 1763 if (!ServiceState.bitmaskHasTech(dunSetting.networkTypeBitmask, in fetchDunApns() 1857 int networkTypeBitmask = cursor.getInt( in makeApnSetting() local 1885 networkTypeBitmask, in makeApnSetting() 3416 int networkTypeBitmask = (dest.networkTypeBitmask == 0 || src.networkTypeBitmask == 0) in mergeApns() local 3417 ? 0 : (dest.networkTypeBitmask | src.networkTypeBitmask); in mergeApns() 3418 if (networkTypeBitmask == 0) { in mergeApns() 3421 networkTypeBitmask = ServiceState.convertBearerBitmaskToNetworkTypeBitmask( in mergeApns() 3428 roamingProtocol, dest.carrierEnabled, networkTypeBitmask, dest.profileId, in mergeApns() 3518 if (ServiceState.bitmaskHasTech(mPreferredApn.networkTypeBitmask, in buildWaitingApns() 3539 if (ServiceState.bitmaskHasTech(apn.networkTypeBitmask, in buildWaitingApns() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | ApnSettingTest.java | 140 assertEquals(a1.networkTypeBitmask, a2.networkTypeBitmask); in assertApnSettingEqual() 176 int networkTypeBitmask = 1 << (13 - 1); in testFromString() local 179 "IP", true, networkTypeBitmask, 0, false, 0, 0, 0, 0, "", ""); in testFromString() 192 networkTypeBitmask = 1 << (6 - 1); in testFromString() 195 "IP", true, networkTypeBitmask, 0, false, 0, 0, 0, 0, "spn", "testspn"); in testFromString() 202 networkTypeBitmask = 276728; in testFromString() 205 "IP", true, networkTypeBitmask, 0, false, 0, 0, 0, 0, "spn", "testspn"); in testFromString() 211 networkTypeBitmask = 1 << (6 - 1); in testFromString() 220 "IP", true, networkTypeBitmask, 0, false, 0, 0, 0, 0, "spn", in testFromString() 300 int networkTypeBitmask = 1 << (14 - 1); in testToString() local [all …]
|
D | DataProfileTest.java | 144 ServiceState.convertNetworkTypeBitmaskToBearerBitmask(mApn3.networkTypeBitmask); in testCreateFromApnSettingWithNetworkTypeBitmask()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | ApnSetting.java | 573 int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns, in makeApnSetting() argument 592 .setNetworkTypeBitmask(networkTypeBitmask) in makeApnSetting() 608 int networkTypeBitmask = cursor.getInt( in makeApnSetting() local 610 if (networkTypeBitmask == 0) { in makeApnSetting() 613 networkTypeBitmask = in makeApnSetting() 643 networkTypeBitmask, in makeApnSetting() 1031 final int networkTypeBitmask = in.readInt(); in readFromParcel() local 1035 protocol, roamingProtocol, carrierEnabled, networkTypeBitmask, 0, false, in readFromParcel() 1393 public Builder setNetworkTypeBitmask(int networkTypeBitmask) { in setNetworkTypeBitmask() argument 1394 this.mNetworkTypeBitmask = networkTypeBitmask; in setNetworkTypeBitmask()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ServiceState.java | 1484 public static int convertNetworkTypeBitmaskToBearerBitmask(int networkTypeBitmask) { in convertNetworkTypeBitmaskToBearerBitmask() argument 1485 if (networkTypeBitmask == 0) { in convertNetworkTypeBitmaskToBearerBitmask() 1490 if (bitmaskHasTech(networkTypeBitmask, rilRadioTechnologyToNetworkType(bearerInt))) { in convertNetworkTypeBitmaskToBearerBitmask() 1502 int networkTypeBitmask = 0; in convertBearerBitmaskToNetworkTypeBitmask() local 1505 networkTypeBitmask |= getBitmaskForTech(rilRadioTechnologyToNetworkType(bearerInt)); in convertBearerBitmaskToNetworkTypeBitmask() 1508 return networkTypeBitmask; in convertBearerBitmaskToNetworkTypeBitmask()
|