Lines Matching refs:phoneId
61 public static boolean isWfcEnabled(Context context, int phoneId) { in isWfcEnabled() argument
62 ImsManager imsManager = ImsManager.getInstance(context, phoneId); in isWfcEnabled()
66 + " phoneId=" + phoneId); in isWfcEnabled()
68 + " phoneId=" + phoneId); in isWfcEnabled()
84 public static boolean isWfcModeWifiOnly(Context context, int phoneId) { in isWfcModeWifiOnly() argument
85 ImsManager imsManager = ImsManager.getInstance(context, phoneId); in isWfcModeWifiOnly()
89 + " phoneId=" + phoneId); in isWfcModeWifiOnly()
90 return isWfcEnabled(context, phoneId) && isWifiOnlyMode; in isWfcModeWifiOnly()
113 public static boolean shouldPromoteWfc(Context context, int phoneId) { in shouldPromoteWfc() argument
116 if (cfgManager == null || !cfgManager.getConfigForSubId(getSubId(phoneId)) in shouldPromoteWfc()
131 phoneId); in shouldPromoteWfc()
141 private static int getSubId(int phoneId) { in getSubId() argument
142 final int[] subIds = SubscriptionManager.getSubId(phoneId); in getSubId()