Home
last modified time | relevance | path

Searched refs:getResourcesForSubId (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelper.java155 final Resources res = getResourcesForSubId(subId); in createWifiCallingSlice()
175 final Resources res = getResourcesForSubId(subId); in getWifiCallingSlice()
243 final Resources res = getResourcesForSubId(subId); in createWifiCallingPreferenceSlice()
268 final Resources res = getResourcesForSubId(subId); in getWifiCallingPreferenceSlice()
314 final Resources res = getResourcesForSubId(subId); in wifiPreferenceRowBuilder()
329 final Resources res = getResourcesForSubId(subId); in getWifiCallingPreferenceSummary()
555 private Resources getResourcesForSubId(int subId) { in getResourcesForSubId() method in WifiCallingSliceHelper
556 return SubscriptionManager.getResourcesForSubId(mContext, subId); in getResourcesForSubId()
DWifiCallingSettingsForSub.java186 final Resources res = getResourcesForSubId(); in onActivityCreated()
362 final Resources res = getResourcesForSubId(); in updateBody()
643 return getResourcesForSubId().getString(resId); in getWfcModeSummary()
647 Resources getResourcesForSubId() { in getResourcesForSubId() method in WifiCallingSettingsForSub
648 return SubscriptionManager.getResourcesForSubId(getContext(), mSubId); in getResourcesForSubId()
DWifiCallingSettings.java217 final String title = SubscriptionManager.getResourcesForSubId(getContext(), subId) in updateTitleForCurrentSub()
/packages/services/Telephony/src/com/android/phone/
DCallFeaturesSetting.java232 builder.setMessage(getResourcesForSubId().getString( in onPreferenceChange()
234 .setNeutralButton(getResourcesForSubId().getString( in onPreferenceChange()
264 getActionBar(), getResourcesForSubId(), R.string.call_settings_with_label); in onCreate()
367 mButtonWifiCalling = findPreference(getResourcesForSubId().getString( in onResume()
479 String title = getResourcesForSubId().getString(R.string.wifi_calling); in updateVtWfc()
501 mButtonWifiCalling.setSummary(getResourcesForSubId().getString(resId)); in updateVtWfc()
565 getActionBar(), getResourcesForSubId(), R.string.call_settings_with_label); in onNewIntent()
595 private Resources getResourcesForSubId() { in getResourcesForSubId() method in CallFeaturesSetting
597 return SubscriptionManager.getResourcesForSubId(mPhone.getContext(), mPhone.getSubId()); in getResourcesForSubId()
DPhoneInterfaceManager.java8323 return SubscriptionManager.getResourcesForSubId(getDefaultPhone().getContext(), subId) in getMmsUAProfUrl()
8340 return SubscriptionManager.getResourcesForSubId(getDefaultPhone().getContext(), subId) in getMmsUserAgent()
/packages/apps/Settings/src/com/android/settings/wifi/
DCellularFallbackPreferenceController.java60 final Resources resources = getResourcesForSubId(activeDataSubscriptionId); in avoidBadWifiConfig()
70 Resources getResourcesForSubId(int subscriptionId) { in getResourcesForSubId() method in CellularFallbackPreferenceController
71 return SubscriptionManager.getResourcesForSubId(mContext, subscriptionId, in getResourcesForSubId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DCellularFallbackPreferenceControllerTest.java67 doReturn(resources).when(mController).getResourcesForSubId(anyInt()); in isAvailable_avoidBadWifiConfigIsFalse_shouldReturnTrue()
81 doReturn(resources).when(mController).getResourcesForSubId(anyInt()); in isAvailable_avoidBadWifiConfigIsTrue_shouldReturnFalse()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DWifiCallingPreferenceController.java116 final String title = SubscriptionManager.getResourcesForSubId(mContext, mSubId) in updateState()
158 return SubscriptionManager.getResourcesForSubId(mContext, subId).getText(resId); in getResourceIdForWfcMode()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSettingsForSub.java180 final Resources res = getResourcesForSubId(); in onActivityCreated()
599 Resources getResourcesForSubId() { in getResourcesForSubId() method in WifiCallingSettingsForSub
600 return SubscriptionManager.getResourcesForSubId(getContext(), mSubId, false); in getResourcesForSubId()
DWifiCallingSettings.java222 final String title = SubscriptionManager.getResourcesForSubId(getContext(), subId) in updateTitleForCurrentSub()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DWifiCallingPreferenceController.java125 final String title = SubscriptionManager.getResourcesForSubId(mContext, mSubId) in updateState()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1022 public static Resources getResourcesForSubId(Context context, int subId) { in getResourcesForSubId() method in Utils
1024 return SubscriptionManager.getResourcesForSubId(context, subId); in getResourcesForSubId()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java1027 public static Resources getResourcesForSubId(Context context, int subId) { in getResourcesForSubId() method in Utils
1029 return SubscriptionManager.getResourcesForSubId(context, subId); in getResourcesForSubId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java148 doReturn(mContext.getResources()).when(mFragment).getResourcesForSubId(); in setUp()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java657 Resources res = SubscriptionManager.getResourcesForSubId(context, subId); in getResources()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java575 Resources res = SubscriptionManager.getResourcesForSubId(mContext, subId); in getResources()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java439 Resources resources = SubscriptionManager.getResourcesForSubId(getPhone().getContext(), in getResourceText()
446 Resources resources = SubscriptionManager.getResourcesForSubId(getPhone().getContext(), in getResourceString()