Home
last modified time | relevance | path

Searched refs:mConfirmListener (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DConfirmationDialogFragment.java48 private ConfirmListener mConfirmListener; field in ConfirmationDialogFragment.Builder
82 mConfirmListener = confirmListener; in setPositiveButton()
89 mConfirmListener = confirmListener; in setPositiveButton()
156 private ConfirmListener mConfirmListener; field in ConfirmationDialogFragment
169 dialogFragment.setConfirmListener(builder.mConfirmListener); in init()
188 mConfirmListener = confirmListener; in setConfirmListener()
194 return mConfirmListener; in getConfirmListener()
257 if (mConfirmListener != null) { in onClick()
258 mConfirmListener.onConfirm(getArguments().getBundle(ARGUMENTS_KEY)); in onClick()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserDetailsBaseFragment.java41 private final ConfirmationDialogFragment.ConfirmListener mConfirmListener = arguments -> { field in UserDetailsBaseFragment
85 mConfirmListener, /* rejectListener= */ null); in onCreate()
133 getContext(), mConfirmListener, /* rejectListener= */ null); in showConfirmRemoveUserDialog()
136 getContext(), mConfirmListener, /* rejectListener= */ null); in showConfirmRemoveUserDialog()
139 mConfirmListener, /* rejectListener= */ null); in showConfirmRemoveUserDialog()
DMakeAdminPreferenceController.java35 final ConfirmationDialogFragment.ConfirmListener mConfirmListener = field in MakeAdminPreferenceController
61 ConfirmationDialogFragment.resetListeners(dialog, mConfirmListener, /* rejectListener= */ in onCreateInternal()
71 mConfirmListener, /* rejectListener= */ null, getUserInfo()); in updateState()
DChooseNewAdminPreferenceController.java36 private final ConfirmationDialogFragment.ConfirmListener mConfirmListener = arguments -> { field in ChooseNewAdminPreferenceController
72 mConfirmListener, /* rejectListener= */ null); in onCreateInternal()
80 mConfirmListener, /* rejectListener= */ null, userToMakeAdmin); in userClicked()
DUsersListFragment.java59 final ConfirmationDialogFragment.ConfirmListener mConfirmListener = arguments -> { field in UsersListFragment
181 mConfirmListener, null); in handleAddUserClicked()
DUserGridRecyclerView.java212 private final ConfirmationDialogFragment.ConfirmListener mConfirmListener = arguments -> { field in UserGridRecyclerView.UserAdapter
348 mConfirmListener, mRejectListener); in showConfirmCreateNewUserDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountAutoSyncPreferenceController.java51 final ConfirmationDialogFragment.ConfirmListener mConfirmListener = arguments -> { field in AccountAutoSyncPreferenceController
83 ConfirmationDialogFragment.resetListeners(dialog, mConfirmListener, /* rejectListener= */ in onCreateInternal()
113 .setPositiveButton(android.R.string.ok, mConfirmListener) in getAutoSyncChangeConfirmationDialogFragment()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DRoamingPreferenceController.java48 private final ConfirmationDialogFragment.ConfirmListener mConfirmListener = field in RoamingPreferenceController
78 mConfirmListener, in onStartInternal() local
134 .setPositiveButton(android.R.string.yes, mConfirmListener) in getRoamingAlertDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DConfirmationDialogFragmentTest.java57 private ConfirmationDialogFragment.ConfirmListener mConfirmListener; field in ConfirmationDialogFragmentTest
115 mConfirmListener); in clickPositiveButton_callsCallbackWithArgs()
122 verify(mConfirmListener).onConfirm(bundle.capture()); in clickPositiveButton_callsCallbackWithArgs()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAppsPickerBasePreferenceController.java52 private final ConfirmationDialogFragment.ConfirmListener mConfirmListener = arguments -> { field in DefaultAppsPickerBasePreferenceController
74 mConfirmListener, in onCreateInternal() local
124 .setPositiveButton(android.R.string.ok, mConfirmListener) in onPreferenceClick()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeUnmount.java67 confirm.setOnClickListener(mConfirmListener); in onCreateView()
72 private final OnClickListener mConfirmListener = new OnClickListener() { field in PrivateVolumeUnmount
DPrivateVolumeFormat.java64 confirm.setOnClickListener(mConfirmListener); in onCreateView()
69 private final OnClickListener mConfirmListener = new OnClickListener() { field in PrivateVolumeFormat
DPrivateVolumeForget.java84 confirm.setOnClickListener(mConfirmListener); in onCreateView()
89 private final OnClickListener mConfirmListener = new OnClickListener() { field in PrivateVolumeForget
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeUnmount.java67 confirm.setOnClickListener(mConfirmListener); in onCreateView()
72 private final OnClickListener mConfirmListener = new OnClickListener() { field in PrivateVolumeUnmount
DPrivateVolumeFormat.java64 confirm.setOnClickListener(mConfirmListener); in onCreateView()
69 private final OnClickListener mConfirmListener = new OnClickListener() { field in PrivateVolumeFormat
DPrivateVolumeForget.java84 confirm.setOnClickListener(mConfirmListener); in onCreateView()
89 private final OnClickListener mConfirmListener = new OnClickListener() { field in PrivateVolumeForget
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DMakeAdminPreferenceControllerTest.java107 mController.mConfirmListener.onConfirm(arguments); in testListener_makeUserAdmin()
115 mController.mConfirmListener.onConfirm(arguments); in testListener_goBack()
DUsersListFragmentTest.java122 mFragment.mConfirmListener.onConfirm(/* arguments= */ null); in testOnCreateNewUserConfirmedInvokesCreateNewNonAdminUser()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountAutoSyncPreferenceControllerTest.java136 mController.mConfirmListener.onConfirm(arguments); in onConfirm_shouldTogglePreference()