Searched refs:SimDialogActivity (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSelectNotification.java | 36 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()
|
D | PreferredSimDialogFragment.java | 47 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()
|
D | SimDialogFragment.java | 80 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onDismiss()
|
D | SimListDialogFragment.java | 93 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
|
D | SimDialogActivity.java | 42 public class SimDialogActivity extends FragmentActivity { class
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | SimListDialogFragmentTest.java | 19 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()
|
D | PreferredSimDialogFragmentTest.java | 19 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()
|
D | SimSelectNotificationTest.java | 31 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()
|
D | SimDialogFragmentTestBase.java | 19 import static com.android.settings.sim.SimDialogActivity.DIALOG_TYPE_KEY; 72 SimDialogActivity.class, mIntent); in startDialog()
|