Home
last modified time | relevance | path

Searched refs:apnTypeBitmask (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsUtils.java71 static List<Integer> getApnTypes(int apnTypeBitmask) { in getApnTypes() argument
74 if ((apnTypeBitmask & ApnSetting.TYPE_DEFAULT) == ApnSetting.TYPE_DEFAULT) { in getApnTypes()
76 apnTypeBitmask &= ~ApnSetting.TYPE_DEFAULT; in getApnTypes()
78 while (apnTypeBitmask != 0) { in getApnTypes()
79 int highestApnTypeBit = Integer.highestOneBit(apnTypeBitmask); in getApnTypes()
81 apnTypeBitmask &= ~highestApnTypeBit; in getApnTypes()
558 static List<Integer> getNetCapabilitiesFromApnTypeBitmask(int apnTypeBitmask) { in getNetCapabilitiesFromApnTypeBitmask() argument
560 List<Integer> apnTypes = getApnTypes(apnTypeBitmask); in getNetCapabilitiesFromApnTypeBitmask()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanDataService.java417 public void setApnTypeBitmask(int apnTypeBitmask) { in setApnTypeBitmask() argument
418 mApnTypeBitmask = apnTypeBitmask; in setApnTypeBitmask()
1765 int apnTypeBitmask = dataProfile.getApnSetting().getApnTypeBitmask(); in handleMessage() local
1766 boolean isIms = hasApnTypes(apnTypeBitmask, ApnSetting.TYPE_IMS); in handleMessage()
1767 boolean isEmergency = hasApnTypes(apnTypeBitmask, ApnSetting.TYPE_EMERGENCY); in handleMessage()
2421 boolean hasApnTypes(int apnTypeBitmask, int expectedApn) { in hasApnTypes() argument
2422 return (apnTypeBitmask & expectedApn) != 0; in hasApnTypes()