Home
last modified time | relevance | path

Searched refs:SimDialogActivity (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/sim/
DSimSelectNotification.java36 import static com.android.settings.sim.SimDialogActivity.PICK_DISMISS;
168 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded()
170 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, PICK_DISMISS); in startSimSelectDialogIfNeeded()
183 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded()
185 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, in startSimSelectDialogIfNeeded()
186 SimDialogActivity.PREFERRED_PICK); in startSimSelectDialogIfNeeded()
187 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()
191 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded()
193 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.DATA_PICK); in startSimSelectDialogIfNeeded()
DPreferredSimDialogFragment.java47 final Bundle args = initArguments(SimDialogActivity.PREFERRED_PICK, in newInstance()
70 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
79 final int slotId = activity.getIntent().getIntExtra(SimDialogActivity.PREFERRED_SIM, in getPreferredSubscription()
DSimDialogFragment.java80 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onDismiss()
DSimListDialogFragment.java93 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
DSimDialogActivity.java42 public class SimDialogActivity extends FragmentActivity { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimListDialogFragmentTest.java19 import static com.android.settings.sim.SimDialogActivity.DATA_PICK;
20 import static com.android.settings.sim.SimDialogActivity.SMS_PICK;
74 final SimDialogActivity activity = (SimDialogActivity) spy(mFragment.getActivity()); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
112 final SimDialogActivity activity = (SimDialogActivity) spy(mFragment.getActivity()); in onCreateDialog_twoSubscriptionsAskEveryTime_threeSubsForDisplay()
DPreferredSimDialogFragmentTest.java19 import static com.android.settings.sim.SimDialogActivity.PREFERRED_PICK;
20 import static com.android.settings.sim.SimDialogActivity.PREFERRED_SIM;
109 final SimDialogActivity activity = (SimDialogActivity) spy(mFragment.getActivity()); in onClick_yesClicked_callsOnSubscriptionSelected()
124 final SimDialogActivity activity = (SimDialogActivity) spy(mFragment.getActivity()); in onClick_noClicked_doesNotCallOnSubscriptionSelected()
DSimSelectNotificationTest.java31 import static com.android.settings.sim.SimDialogActivity.DATA_PICK;
32 import static com.android.settings.sim.SimDialogActivity.INVALID_PICK;
33 import static com.android.settings.sim.SimDialogActivity.PICK_DISMISS;
230 SimDialogActivity.class.getName()); in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
233 assertThat(capturedIntent.getIntExtra(SimDialogActivity.DIALOG_TYPE_KEY, INVALID_PICK)) in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
255 SimDialogActivity.class.getName()); in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss()
258 assertThat(capturedIntent.getIntExtra(SimDialogActivity.DIALOG_TYPE_KEY, INVALID_PICK)) in onReceivePrimarySubListChange_WithDismissExtra_shouldDismiss()
DSimDialogFragmentTestBase.java19 import static com.android.settings.sim.SimDialogActivity.DIALOG_TYPE_KEY;
72 SimDialogActivity.class, mIntent); in startDialog()