Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogProhibitService.java33 private static WeakReference<SimDialogActivity> sSimDialogActivity;
40 public static void supportDismiss(SimDialogActivity activity) { in supportDismiss()
41 sSimDialogActivity = new WeakReference<SimDialogActivity>(activity); in supportDismiss()
62 final SimDialogActivity activity = (sSimDialogActivity == null) ? in dismissDialogThroughRunnable()
84 Intent newIntent = new Intent(uiContext, SimDialogActivity.class); in dismissDialogThroughIntent()
86 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.PICK_DISMISS); in dismissDialogThroughIntent()
DPreferredSimDialogFragment.java50 final Bundle args = initArguments(SimDialogActivity.PREFERRED_PICK, in newInstance()
73 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
82 final int slotId = activity.getIntent().getIntExtra(SimDialogActivity.PREFERRED_SIM, in getPreferredSubscription()
DSelectSpecificDataSimDialogFragment.java59 final Bundle args = initArguments(SimDialogActivity.DATA_PICK, in newInstance()
85 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onDismiss()
95 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
DSimSelectNotification.java226 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded()
228 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, in startSimSelectDialogIfNeeded()
229 SimDialogActivity.PREFERRED_PICK); in startSimSelectDialogIfNeeded()
230 newIntent.putExtra(SimDialogActivity.PREFERRED_SIM, slotIndex); in startSimSelectDialogIfNeeded()
234 Intent newIntent = new Intent(context, SimDialogActivity.class); in startSimSelectDialogIfNeeded()
236 newIntent.putExtra(SimDialogActivity.DIALOG_TYPE_KEY, SimDialogActivity.DATA_PICK); in startSimSelectDialogIfNeeded()
DSimDialogFragment.java80 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onDismiss()
DEnableAutoDataSwitchDialogFragment.java58 final Bundle args = initArguments(SimDialogActivity.ENABLE_AUTO_DATA_SWITCH, in newInstance()
186 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
DSimListDialogFragment.java112 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
DSimDialogActivity.java60 public class SimDialogActivity extends FragmentActivity { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DPreferredSimDialogFragmentTest.java19 import static com.android.settings.sim.SimDialogActivity.PREFERRED_PICK;
20 import static com.android.settings.sim.SimDialogActivity.PREFERRED_SIM;
115 final SimDialogActivity activity = (SimDialogActivity) spy(mFragment.getActivity()); in onClick_yesClicked_callsOnSubscriptionSelected()
131 final SimDialogActivity activity = (SimDialogActivity) spy(mFragment.getActivity()); in onClick_noClicked_doesNotCallOnSubscriptionSelected()
DSimListDialogFragmentTest.java19 import static com.android.settings.sim.SimDialogActivity.DATA_PICK;
20 import static com.android.settings.sim.SimDialogActivity.SMS_PICK;
78 final SimDialogActivity activity = (SimDialogActivity) spy(mFragment.getActivity()); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
119 final SimDialogActivity activity = (SimDialogActivity) spy(mFragment.getActivity()); in onCreateDialog_twoSubscriptionsAskEveryTime_threeSubsForDisplay()
DSimSelectNotificationTest.java31 import static com.android.settings.sim.SimDialogActivity.DATA_PICK;
32 import static com.android.settings.sim.SimDialogActivity.INVALID_PICK;
105 private SimDialogActivity mActivity;
255 SimDialogActivity.class.getName()); in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
258 assertThat(capturedIntent.getIntExtra(SimDialogActivity.DIALOG_TYPE_KEY, INVALID_PICK)) in onReceivePrimarySubListChange_WithDataPickExtra_shouldStartActivity()
DSimDialogFragmentTestBase.java19 import static com.android.settings.sim.SimDialogActivity.DIALOG_TYPE_KEY;
72 SimDialogActivity.class, mIntent); in startDialog()
/packages/apps/Settings/tests/unit/src/com/android/settings/sim/
DSimDialogActivityTest.kt48 private lateinit var activity: SimDialogActivity
79 inner class MockSimDialogActivity : SimDialogActivity() {