Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java95 updateSubscriptionIndex = intent.getIntExtra(Settings.EXTRA_SUB_ID, SUB_ID_NULL); in onNewIntent()
141 ? savedInstanceState.getInt(Settings.EXTRA_SUB_ID, SUB_ID_NULL) in onCreate()
174 outState.putInt(Settings.EXTRA_SUB_ID, mCurSubscriptionId); in saveInstanceState()
207 final int subId = intent.getIntExtra(Settings.EXTRA_SUB_ID, SUB_ID_NULL); in getSubscription()
282 bundle.putInt(Settings.EXTRA_SUB_ID, subscriptionId); in switchFragment()
391 Settings.EXTRA_SUB_ID, SubscriptionManager.INVALID_SUBSCRIPTION_ID)) { in validate()
DDataUsagePreferenceController.java96 mIntent.putExtra(Settings.EXTRA_SUB_ID, mSubId); in init()
/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/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsTest.java105 intent.putExtra(Settings.EXTRA_SUB_ID, info.getSubscriptionId()); in setupFragment_oneSubscription_noCrash()
127 intent.putExtra(Settings.EXTRA_SUB_ID, info2.getSubscriptionId()); in setupFragment_twoSubscriptions_correctSelection()
152 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/telephony/
DMobileNetworkActivityTest.java224 intent.putExtra(Settings.EXTRA_SUB_ID, CURRENT_SUB_ID); in getSubscriptionId_hasIntent_getIdFromIntent()
251 assertThat(bundle.getInt(Settings.EXTRA_SUB_ID)).isEqualTo(PREV_SUB_ID); in onSaveInstanceState_saveCurrentSubId()
264 newIntent.putExtra(Settings.EXTRA_SUB_ID, CURRENT_SUB_ID); in onNewIntent_newSubscriptionId_fragmentReplaced()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkListControllerTest.java19 import static android.provider.Settings.EXTRA_SUB_ID;
150 assertThat(intent1.getIntExtra(EXTRA_SUB_ID, INVALID_SUBSCRIPTION_ID)).isEqualTo(1); in displayPreference_twoSubscriptions_correctlySetup()
151 assertThat(intent2.getIntExtra(EXTRA_SUB_ID, INVALID_SUBSCRIPTION_ID)).isEqualTo(2); in displayPreference_twoSubscriptions_correctlySetup()
DSubscriptionsPreferenceControllerTest.java272 assertThat(intent.hasExtra(Settings.EXTRA_SUB_ID)).isTrue(); in runPreferenceClickTest()
273 final int subIdFromIntent = intent.getIntExtra(Settings.EXTRA_SUB_ID, in runPreferenceClickTest()
/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.java53 public static final String EXTRA_SUB_ID = "subId"; field in SendStatusReceiver
70 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
193 intent, EXTRA_SUB_ID); in deliverSmsIntent()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java22 import static android.provider.Settings.EXTRA_SUB_ID;
99 int subId = intent.getIntExtra(EXTRA_SUB_ID, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in onEnableMmsDataRequest()
249 resultIntent.putExtra(Settings.EXTRA_SUB_ID, subId); in createEnableMmsNotification()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java89 bundle.putInt(Settings.EXTRA_SUB_ID, mSubId); in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java87 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()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingDisclaimerFragment.java64 final int subId = (args != null) ? args.getInt(WifiCallingSettingsForSub.EXTRA_SUB_ID) in onCreate()
DWifiCallingSettingsForSub.java80 public static final String EXTRA_SUB_ID = "EXTRA_SUB_ID"; field in WifiCallingSettingsForSub
477 args.putInt(EXTRA_SUB_ID, mSubId); in onSwitchChanged()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkListController.java131 intent.putExtra(Settings.EXTRA_SUB_ID, info.getSubscriptionId()); in update()

12