Home
last modified time | relevance | path

Searched refs:dialogType (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimListDialogFragmentTest.java54 final int dialogType = DATA_PICK; in onCreateDialog_noSubscriptions_dismissed() local
55 setDialogType(dialogType); in onCreateDialog_noSubscriptions_dismissed()
56 mFragment = spy(SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in onCreateDialog_noSubscriptions_dismissed()
67 final int dialogType = DATA_PICK; in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay() local
68 setDialogType(dialogType); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
69 mFragment = spy(SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
83 verify(activity).onSubscriptionSelected(dialogType, SIM2_ID); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
89 final int dialogType = DATA_PICK; in onSubscriptionsChanged_dialogUpdates() local
90 setDialogType(dialogType); in onSubscriptionsChanged_dialogUpdates()
91 mFragment = spy(SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in onSubscriptionsChanged_dialogUpdates()
[all …]
DSimDialogFragmentTestBase.java66 protected void setDialogType(int dialogType) { in setDialogType() argument
67 mIntent.putExtra(DIALOG_TYPE_KEY, dialogType); in setDialogType()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java124 final int dialogType = getIntent().getIntExtra(DIALOG_TYPE_KEY, INVALID_PICK); in showOrUpdateDialog() local
125 Log.d(TAG, "dialogType:" + dialogType); in showOrUpdateDialog()
127 if (dialogType == PICK_DISMISS) { in showOrUpdateDialog()
132 if (dialogType == PREFERRED_PICK in showOrUpdateDialog()
140 && (dialogType == DATA_PICK in showOrUpdateDialog()
141 || dialogType == CALLS_PICK in showOrUpdateDialog()
142 || dialogType == SMS_PICK)) { in showOrUpdateDialog()
148 final String tag = Integer.toString(dialogType); in showOrUpdateDialog()
153 fragment = createFragment(dialogType); in showOrUpdateDialog()
160 private SimDialogFragment createFragment(int dialogType) { in createFragment() argument
[all …]
DSimSelectNotification.java208 int dialogType = intent.getIntExtra(EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE, in startSimSelectDialogIfNeeded() local
211 if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_NONE) { in startSimSelectDialogIfNeeded()
219 if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_DISMISS) { in startSimSelectDialogIfNeeded()
227 if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_ALL) { in startSimSelectDialogIfNeeded()
238 } else if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_DATA) { in startSimSelectDialogIfNeeded()
DSimDialogFragment.java40 protected static Bundle initArguments(int dialogType, int titleResId) { in initArguments() argument
42 args.putInt(KEY_DIALOG_TYPE, dialogType); in initArguments()
DSimListDialogFragment.java62 public static SimListDialogFragment newInstance(int dialogType, int titleResId, in newInstance() argument
65 final Bundle args = initArguments(dialogType, titleResId); in newInstance()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ui/
DMessageBuilderTest.kt156 val dialogType: Int, constant in com.android.documentsui.ui.MessageBuilderTest.GenerateListMessage.ListMessageData
167 dialogType = DIALOG_TYPE_CONVERTED, in parameters()
171 dialogType = DIALOG_TYPE_FAILURE, in parameters()
176 dialogType = DIALOG_TYPE_FAILURE, in parameters()
181 dialogType = DIALOG_TYPE_FAILURE, in parameters()
186 dialogType = DIALOG_TYPE_FAILURE, in parameters()
191 dialogType = DIALOG_TYPE_FAILURE, in parameters()
212 testData.dialogType, in parameters()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DOperationDialogFragment.java64 @DialogType int dialogType, in show() argument
71 args.putInt(FileOperationService.EXTRA_DIALOG_TYPE, dialogType); in show()
88 final @DialogType int dialogType = in onCreateDialog() local
99 dialogType, operationType, docList, uriList); in onCreateDialog()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DMessageBuilder.java83 @DialogType int dialogType, @OpType int operationType, List<DocumentInfo> docs, in generateListMessage()
87 switch (dialogType) { in generateListMessage()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java257 final @DialogType int dialogType = intent.getIntExtra( in presentFileErrors() local
261 if (icicle == null && dialogType != DIALOG_TYPE_UNKNOWN) { in presentFileErrors()
271 dialogType, in presentFileErrors() local
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDialogFragment.java70 int dialogType = getArguments().getInt(ARG_DIALOG_TYPE); in getMetricsCategory() local
71 switch (dialogType) { in getMetricsCategory()
DLocaleListEditor.java302 String dialogType = intent.getStringExtra(EXTRA_SYSTEM_LOCALE_DIALOG_TYPE); in shouldShowConfirmationDialog() local
307 || !isValidDialogType(dialogType) in shouldShowConfirmationDialog()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityShortcutsTutorial.java226 private static View createTutorialDialogContentView(Context context, int dialogType) { in createTutorialDialogContentView() argument
232 switch (dialogType) { in createTutorialDialogContentView()
268 private static AlertDialog createDialog(Context context, int dialogType) { in createDialog() argument
270 .setView(createTutorialDialogContentView(context, dialogType)) in createDialog()
/packages/modules/Wifi/WifiDialog/src/com/android/wifi/dialog/
DWifiDialogActivity.java334 int dialogType = intent.getIntExtra( in createAndShowDialogForIntent() local
336 switch (dialogType) { in createAndShowDialogForIntent()
365 + " for unknown type: " + dialogType); in createAndShowDialogForIntent()
397 && dialogType == WifiManager.DIALOG_TYPE_P2P_INVITATION_RECEIVED in createAndShowDialogForIntent()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDialogManager.java188 private @Nullable Intent getBaseLaunchIntent(@WifiManager.DialogType int dialogType) { in getBaseLaunchIntent() argument
190 .putExtra(WifiManager.EXTRA_DIALOG_TYPE, dialogType) in getBaseLaunchIntent()