Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnable2gPreferenceController.java192 long currentlyAllowedNetworkTypes = mTelephonyManager.getAllowedNetworkTypesForReason( in isChecked() local
194 return (currentlyAllowedNetworkTypes & BITMASK_2G) != 0; in isChecked()
217 long currentlyAllowedNetworkTypes = mTelephonyManager.getAllowedNetworkTypesForReason( in setChecked() local
219 boolean enabled = (currentlyAllowedNetworkTypes & BITMASK_2G) != 0; in setChecked()
223 long newAllowedNetworkTypes = currentlyAllowedNetworkTypes; in setChecked()
225 newAllowedNetworkTypes = currentlyAllowedNetworkTypes | BITMASK_2G; in setChecked()
228 newAllowedNetworkTypes = currentlyAllowedNetworkTypes & ~BITMASK_2G; in setChecked()
/packages/services/Telephony/src/com/android/services/telephony/
DDisconnectCauseUtil.java1042 long currentlyAllowedNetworkTypes = phone.getAllowedNetworkTypes( in is2gDisabled() local
1044 boolean is2gEnabled = (currentlyAllowedNetworkTypes & bitmask2g) != 0; in is2gDisabled()