Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DPreferredSimDialogFragmentTest.java20 import static com.android.settings.sim.SimDialogActivity.PREFERRED_SIM;
60 mIntent.putExtra(PREFERRED_SIM, 0); in onCreateDialog_noSims_dismissed()
68 mIntent.putExtra(PREFERRED_SIM, 1); in onCreateDialog_oneSimWrongSlotArgument_dismissed()
75 mIntent.putExtra(PREFERRED_SIM, 0); in onCreateDialog_twoSimsSelectFirst_correctMessage()
86 mIntent.putExtra(PREFERRED_SIM, 1); in onCreateDialog_twoSimsSelectSecond_correctMessage()
97 mIntent.putExtra(PREFERRED_SIM, 0); in onClick_yesClicked_callsOnSubscriptionSelected()
111 mIntent.putExtra(PREFERRED_SIM, 0); in onClick_noClicked_doesNotCallOnSubscriptionSelected()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java46 public static String PREFERRED_SIM = "preferred_sim"; field in SimDialogActivity
98 if (!getIntent().hasExtra(PREFERRED_SIM)) { in createFragment()
99 throw new IllegalArgumentException("Missing required extra " + PREFERRED_SIM); in createFragment()
DPreferredSimDialogFragment.java77 final int slotId = activity.getIntent().getIntExtra(SimDialogActivity.PREFERRED_SIM, in getPreferredSubscription()
DSimSelectNotification.java172 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimDialogActivity.java52 public static String PREFERRED_SIM = "preferred_sim"; field in SimDialogActivity
72 displayPreferredDialog(getIntent().getIntExtra(PREFERRED_SIM, 0)); in onCreate()
DSimSelectNotification.java67 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in onReceive()