Home
last modified time | relevance | path

Searched refs:PREFERRED_SIM (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DPreferredSimDialogFragmentTest.java20 import static com.android.settings.sim.SimDialogActivity.PREFERRED_SIM;
63 mIntent.putExtra(PREFERRED_SIM, 0); in onCreateDialog_noSims_dismissed()
71 mIntent.putExtra(PREFERRED_SIM, 1); in onCreateDialog_oneSimWrongSlotArgument_dismissed()
80 mIntent.putExtra(PREFERRED_SIM, 0); in onCreateDialog_twoSimsSelectFirst_correctMessage()
93 mIntent.putExtra(PREFERRED_SIM, 1); in onCreateDialog_twoSimsSelectSecond_correctMessage()
105 mIntent.putExtra(PREFERRED_SIM, 0); in onClick_yesClicked_callsOnSubscriptionSelected()
120 mIntent.putExtra(PREFERRED_SIM, 0); in onClick_noClicked_doesNotCallOnSubscriptionSelected()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java45 public static String PREFERRED_SIM = "preferred_sim"; field in SimDialogActivity
105 if (!getIntent().hasExtra(PREFERRED_SIM)) { in createFragment()
106 throw new IllegalArgumentException("Missing required extra " + PREFERRED_SIM); in createFragment()
DPreferredSimDialogFragment.java79 final int slotId = activity.getIntent().getIntExtra(SimDialogActivity.PREFERRED_SIM, in getPreferredSubscription()
DSimSelectNotification.java187 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()