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;
65 mIntent.putExtra(PREFERRED_SIM, 0); in onCreateDialog_noSims_dismissed()
74 mIntent.putExtra(PREFERRED_SIM, 1); in onCreateDialog_oneSimWrongSlotArgument_dismissed()
84 mIntent.putExtra(PREFERRED_SIM, 0); in onCreateDialog_twoSimsSelectFirst_correctMessage()
98 mIntent.putExtra(PREFERRED_SIM, 1); in onCreateDialog_twoSimsSelectSecond_correctMessage()
111 mIntent.putExtra(PREFERRED_SIM, 0); in onClick_yesClicked_callsOnSubscriptionSelected()
127 mIntent.putExtra(PREFERRED_SIM, 0); in onClick_noClicked_doesNotCallOnSubscriptionSelected()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java63 public static String PREFERRED_SIM = "preferred_sim"; field in SimDialogActivity
173 if (!getIntent().hasExtra(PREFERRED_SIM)) { in createFragment()
174 throw new IllegalArgumentException("Missing required extra " + PREFERRED_SIM); in createFragment()
DPreferredSimDialogFragment.java82 final int slotId = activity.getIntent().getIntExtra(SimDialogActivity.PREFERRED_SIM, in getPreferredSubscription()
DSimSelectNotification.java230 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()