Home
last modified time | relevance | path

Searched refs:setSummaryResId (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DNetworkProviderCallsSmsControllerTest.java159 private String setSummaryResId(String resName) { in setSummaryResId() method in NetworkProviderCallsSmsControllerTest
171 setSummaryResId("calls_sms_no_sim"))); in getSummary_noSim_returnNoSim()
188 .append(setSummaryResId("calls_sms_temp_unavailable")) in getSummary_invalidSubId_returnUnavailable()
209 .append(setSummaryResId("calls_sms_unavailable")) in getSummary_oneIsInvalidSubIdTwoIsValidSubId_returnOneIsUnavailable()
267 .append(setSummaryResId("calls_sms_calls_preferred")) in getSummary_oneSubscriptionsIsCallPreferredTwoIsSmsPreferred_returnStatus()
272 .append(setSummaryResId("calls_sms_sms_preferred")) in getSummary_oneSubscriptionsIsCallPreferredTwoIsSmsPreferred_returnStatus()
296 .append(setSummaryResId("calls_sms_sms_preferred")) in getSummary_oneSubscriptionsIsSmsPreferredTwoIsCallPreferred_returnStatus()
301 .append(setSummaryResId("calls_sms_calls_preferred")) in getSummary_oneSubscriptionsIsSmsPreferredTwoIsCallPreferred_returnStatus()
325 .append(setSummaryResId("calls_sms_preferred")) in getSummary_oneSubscriptionsIsSmsPreferredAndIsCallPreferred_returnStatus()
DNetworkProviderSimListControllerTest.java155 private String setSummaryResId(String resName, String value) { in setSummaryResId() method in NetworkProviderSimListControllerTest
168 String summary = setSummaryResId("mobile_network_tap_to_activate", DISPLAY_NAME_1); in getSummary_tapToActivePSim()
184 String summary = setSummaryResId("sim_category_inactive_sim", null); in getSummary_inactivePSim()
203 summary.append(setSummaryResId("sim_category_active_sim", null)) in getSummary_defaultCalls()
224 summary.append(setSummaryResId("sim_category_active_sim", null)) in getSummary_defaultCallsAndSms()
DNetworkProviderDownloadedSimListControllerTest.java164 private String setSummaryResId(String resName) { in setSummaryResId() method in NetworkProviderDownloadedSimListControllerTest
177 String summary = setSummaryResId("sim_category_inactive_sim"); in getSummary_inactiveESim()
196 summary.append(setSummaryResId("sim_category_active_sim")) in getSummary_defaultCalls()
217 summary.append(setSummaryResId("sim_category_active_sim")) in getSummary_defaultCallsAndMobileData()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderCallsSmsController.java93 return setSummaryResId(R.string.calls_sms_no_sim); in getSummary()
136 status = setSummaryResId(subsSize > 1 ? R.string.calls_sms_unavailable : in getPreferredStatus()
140 status = setSummaryResId(R.string.calls_sms_preferred); in getPreferredStatus()
142 status = setSummaryResId(R.string.calls_sms_calls_preferred); in getPreferredStatus()
144 status = setSummaryResId(R.string.calls_sms_sms_preferred); in getPreferredStatus()
150 private String setSummaryResId(int resId) { in setSummaryResId() method in NetworkProviderCallsSmsController
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java972 status = setSummaryResId(context, R.string.calls_sms_preferred); in getPreferredCallStatus()
984 status = setSummaryResId(context, R.string.calls_sms_preferred); in getPreferredSmsStatus()
990 private static String setSummaryResId(Context context, int resId) { in setSummaryResId() method in MobileNetworkUtils