Searched refs:mDialogManager (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/ |
D | DialogManagerTest.java | 46 private DialogManager mDialogManager; field in DialogManagerTest 52 mDialogManager = new DialogManager(); in setUp() 54 mDialogManager.initContextFromView(rootView); in setUp() 55 spyOn(mDialogManager); in setUp() 60 if (mDialogManager != null) { in tearDown() 61 mDialogManager.clearAllDialogs(); in tearDown() 67 int dialogtype = mDialogManager.DIALOG_TYPE_MAX_USER_COUNT_REACHED; in showMaxUserLimitReachedDialog_requestShowMaxUserDialog_callShowMaxUserDialog() 68 assertThat(mDialogManager.mUserPickerDialogs.get(dialogtype)).isNull(); in showMaxUserLimitReachedDialog_requestShowMaxUserDialog_callShowMaxUserDialog() 69 mDialogManager.showDialog(dialogtype); in showMaxUserLimitReachedDialog_requestShowMaxUserDialog_callShowMaxUserDialog() 71 verify(mDialogManager).showDialog(eq(dialogtype)); in showMaxUserLimitReachedDialog_requestShowMaxUserDialog_callShowMaxUserDialog() [all …]
|
D | UserPickerBaseTestActivity.java | 42 mDialogManager = mock(DialogManager.class); in UserPickerBaseTestActivity()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiDialogManagerTest.java | 90 private WifiDialogManager mDialogManager; field in WifiDialogManagerTest 102 mDialogManager = new WifiDialogManager(mWifiContext, mWifiThreadRunner, mFrameworkFacade, in setUp() 104 mDialogManager.enableVerboseLogging(true); in setUp() 250 DialogHandle dialogHandle = mDialogManager.createSimpleDialog(TEST_TITLE, TEST_MESSAGE, in testSimpleDialog_launchAndResponse_notifiesCallback() 257 mDialogManager.replyToSimpleDialog(dialogId, WifiManager.DIALOG_REPLY_POSITIVE); in testSimpleDialog_launchAndResponse_notifiesCallback() 266 mDialogManager.replyToSimpleDialog(dialogId, WifiManager.DIALOG_REPLY_POSITIVE); in testSimpleDialog_launchAndResponse_notifiesCallback() 273 dialogHandle = mDialogManager.createSimpleDialog(TEST_TITLE, TEST_MESSAGE, in testSimpleDialog_launchAndResponse_notifiesCallback() 280 mDialogManager.replyToSimpleDialog(dialogId, WifiManager.DIALOG_REPLY_NEGATIVE); in testSimpleDialog_launchAndResponse_notifiesCallback() 288 dialogHandle = mDialogManager.createSimpleDialog( in testSimpleDialog_launchAndResponse_notifiesCallback() 295 mDialogManager.replyToSimpleDialog(dialogId, WifiManager.DIALOG_REPLY_NEUTRAL); in testSimpleDialog_launchAndResponse_notifiesCallback() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/ |
D | UserPickerController.java | 89 private final DialogManager mDialogManager; field in UserPickerController 115 mDialogManager.showDialog(DIALOG_TYPE_ADDING_USER); 118 mDialogManager.dismissDialog(DIALOG_TYPE_ADDING_USER); 121 mDialogManager.showDialog(DIALOG_TYPE_SWITCHING); 124 mDialogManager.dismissDialog(DIALOG_TYPE_SWITCHING); 169 mDialogManager = dialogManager; in UserPickerController() 221 mDialogManager.updateTexts(mContext); in updateTexts() 265 mDialogManager.showDialog(DIALOG_TYPE_MAX_USER_COUNT_REACHED); in getOnClickListener() 267 mDialogManager.showDialog(DIALOG_TYPE_CONFIRM_ADD_USER, in getOnClickListener() 285 mDialogManager.showDialog(
|
D | UserPickerActivity.java | 85 DialogManager mDialogManager; field in UserPickerActivity 120 mDialogManager = mUserPickerActivityComponent.dialogManager(); in UserPickerActivity() 238 mDialogManager.initContextFromView(rootView); in initManagers() 280 if (mDialogManager != null) { in onDestroy() 281 mDialogManager.clearAllDialogs(); in onDestroy()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorActivity.java | 260 private DialogManager mDialogManager = new DialogManager(this); field in ContactEditorActivity 409 if (DialogManager.isManagedId(id)) return mDialogManager.onCreateDialog(id, args); in onCreateDialog() 418 return mDialogManager; in getDialogManager()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | LabeledEditorView.java | 89 private DialogManager mDialogManager = null; field in LabeledEditorView 557 if (mDialogManager == null) { in getDialogManager() 564 mDialogManager = ((DialogManager.DialogShowingViewActivity)context).getDialogManager(); in getDialogManager() 566 return mDialogManager; in getDialogManager()
|