Searched refs:SimDialogActivity (Results 1 – 13 of 13) sorted by relevance
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimDialogProhibitService.java | 33 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()
|
D | PreferredSimDialogFragment.java | 50 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()
|
D | SelectSpecificDataSimDialogFragment.java | 59 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()
|
D | SimSelectNotification.java | 226 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()
|
D | SimDialogFragment.java | 80 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onDismiss()
|
D | EnableAutoDataSwitchDialogFragment.java | 58 final Bundle args = initArguments(SimDialogActivity.ENABLE_AUTO_DATA_SWITCH, in newInstance() 186 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
|
D | SimListDialogFragment.java | 112 final SimDialogActivity activity = (SimDialogActivity) getActivity(); in onClick()
|
D | SimDialogActivity.java | 60 public class SimDialogActivity extends FragmentActivity { class
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | PreferredSimDialogFragmentTest.java | 19 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()
|
D | SimListDialogFragmentTest.java | 19 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()
|
D | SimSelectNotificationTest.java | 31 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()
|
D | SimDialogFragmentTestBase.java | 19 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/ |
D | SimDialogActivityTest.kt | 48 private lateinit var activity: SimDialogActivity 79 inner class MockSimDialogActivity : SimDialogActivity() {
|