Home
last modified time | relevance | path

Searched refs:EXTRA_SUB_ID (Results 1 – 25 of 52) sorted by relevance

123

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkActivity.java99 ? savedInstanceState.getInt(Settings.EXTRA_SUB_ID, SUB_ID_NULL) in onCreate()
132 outState.putInt(Settings.EXTRA_SUB_ID, mCurSubscriptionId); in saveInstanceState()
165 final int subId = intent.getIntExtra(Settings.EXTRA_SUB_ID, SUB_ID_NULL); in getSubscription()
230 bundle.putInt(Settings.EXTRA_SUB_ID, subscriptionId); in switchFragment()
DDataUsagePreferenceController.java96 mIntent.putExtra(Settings.EXTRA_SUB_ID, mSubId); in init()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java100 ? savedInstanceState.getInt(Settings.EXTRA_SUB_ID, SUB_ID_NULL) in onCreate()
133 outState.putInt(Settings.EXTRA_SUB_ID, mCurSubscriptionId); in saveInstanceState()
166 final int subId = intent.getIntExtra(Settings.EXTRA_SUB_ID, SUB_ID_NULL); in getSubscription()
231 bundle.putInt(Settings.EXTRA_SUB_ID, subscriptionId); in switchFragment()
DDataUsagePreferenceController.java96 mIntent.putExtra(Settings.EXTRA_SUB_ID, mSubId); in init()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsTest.java75 intent.putExtra(Settings.EXTRA_SUB_ID, info.getSubscriptionId()); in setupFragment_oneSubscription_noCrash()
98 intent.putExtra(Settings.EXTRA_SUB_ID, info2.getSubscriptionId()); in setupFragment_twoSubscriptions_correctSelection()
124 intent.putExtra(Settings.EXTRA_SUB_ID, info1.getSubscriptionId()); in setupFragment_twoSubscriptionsOneNotProvisionedOnDevice_oneResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageListTest.java112 args.putInt(DataUsageList.EXTRA_SUB_ID, 3); in processArgument_shouldGetTemplateFromArgument()
125 args.putInt(DataUsageList.EXTRA_SUB_ID, 3); in processArgument_shouldGetNetworkTypeFromArgument()
138 intent.putExtra(Settings.EXTRA_SUB_ID, 3); in processArgument_fromIntent_shouldGetTemplateFromIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkListControllerTest.java19 import static android.provider.Settings.EXTRA_SUB_ID;
145 assertThat(intent1.getIntExtra(EXTRA_SUB_ID, INVALID_SUBSCRIPTION_ID)).isEqualTo(1); in displayPreference_twoSubscriptions_correctlySetup()
146 assertThat(intent2.getIntExtra(EXTRA_SUB_ID, INVALID_SUBSCRIPTION_ID)).isEqualTo(2); in displayPreference_twoSubscriptions_correctlySetup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimSelectNotificationTest.java23 import static android.provider.Settings.EXTRA_SUB_ID;
143 intent.putExtra(EXTRA_SUB_ID, mSubId); in onReceiveEnableMms_notificationShouldSend()
181 intent.putExtra(EXTRA_SUB_ID, mSubId); in onReceiveEnableMms_MmsDataAlreadyEnabled_notificationShouldNotSend()
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSendStatusReceiver.java52 public static final String EXTRA_SUB_ID = "subId"; field in SendStatusReceiver
69 intent.getIntExtra(EXTRA_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID)); in onReceive()
DSmsReceiver.java178 private static final String EXTRA_SUB_ID = "subscription"; field in SmsReceiver
192 intent, EXTRA_SUB_ID); in deliverSmsIntent()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java22 import static android.provider.Settings.EXTRA_SUB_ID;
98 int subId = intent.getIntExtra(EXTRA_SUB_ID, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in onEnableMmsDataRequest()
248 resultIntent.putExtra(Settings.EXTRA_SUB_ID, subId); in createEnableMmsNotification()
/packages/services/Telephony/src/com/android/phone/
DGsmUmtsOptions.java51 public static final String EXTRA_SUB_ID = "sub_id"; field in GsmUmtsOptions
140 intent.putExtra(EXTRA_SUB_ID, subId); in update()
DDataUsagePreference.java67 intent.putExtra(Settings.EXTRA_SUB_ID, mSubId); in getIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java181 intent.putExtra(Settings.EXTRA_SUB_ID, CURRENT_SUB_ID); in getSubscriptionId_hasIntent_getIdFromIntent()
208 assertThat(bundle.getInt(Settings.EXTRA_SUB_ID)).isEqualTo(PREV_SUB_ID); in onSaveInstanceState_saveCurrentSubId()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java77 static final String EXTRA_SUB_ID = "sub_id"; field in DataUsageList
224 mSubId = args.getInt(EXTRA_SUB_ID, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in processArgument()
230 mSubId = intent.getIntExtra(Settings.EXTRA_SUB_ID, in processArgument()
DDataUsagePreference.java80 args.putInt(DataUsageList.EXTRA_SUB_ID, mSubId); in getIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageList.java77 static final String EXTRA_SUB_ID = "sub_id"; field in DataUsageList
222 mSubId = args.getInt(EXTRA_SUB_ID, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in processArgument()
228 mSubId = intent.getIntExtra(Settings.EXTRA_SUB_ID, in processArgument()
DDataUsagePreference.java80 args.putInt(DataUsageList.EXTRA_SUB_ID, mSubId); in getIntent()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java79 public static final String EXTRA_SUB_ID = "EXTRA_SUB_ID"; field in WifiCallingSettingsForSub
428 args.putInt(EXTRA_SUB_ID, mSubId); in onSwitchChanged()
DWifiCallingDisclaimerFragment.java64 final int subId = (args != null) ? args.getInt(WifiCallingSettingsForSub.EXTRA_SUB_ID) in onCreate()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java88 bundle.putInt(Settings.EXTRA_SUB_ID, mSubId); in handlePreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java89 bundle.putInt(Settings.EXTRA_SUB_ID, mSubId); in handlePreferenceTreeClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSettingsForSub.java79 public static final String EXTRA_SUB_ID = "EXTRA_SUB_ID"; field in WifiCallingSettingsForSub
427 args.putInt(EXTRA_SUB_ID, mSubId); in onSwitchChanged()
DWifiCallingDisclaimerFragment.java64 final int subId = (args != null) ? args.getInt(WifiCallingSettingsForSub.EXTRA_SUB_ID) in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DMobileNetworkListController.java127 intent.putExtra(Settings.EXTRA_SUB_ID, info.getSubscriptionId()); in update()

123