Searched refs:cancelCallback (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/ |
D | EditUserInfoControllerTest.java | 139 Runnable cancelCallback = mock(Runnable.class); in cancelCallback_isCalled_whenCancelled() local 143 successCallback, cancelCallback); in cancelCallback_isCalled_whenCancelled() 148 verify(cancelCallback, times(1)) in cancelCallback_isCalled_whenCancelled() 155 Runnable cancelCallback = mock(Runnable.class); in cancelCallback_isCalled_whenNegativeClicked() local 159 successCallback, cancelCallback); in cancelCallback_isCalled_whenNegativeClicked() 164 verify(cancelCallback, times(1)) in cancelCallback_isCalled_whenNegativeClicked() 171 Runnable cancelCallback = mock(Runnable.class); in successCallback_isCalled_whenNothingChanged() local 176 successCallback, cancelCallback); in successCallback_isCalled_whenNothingChanged() 184 verifyNoInteractions(cancelCallback); in successCallback_isCalled_whenNothingChanged() 190 Runnable cancelCallback = mock(Runnable.class); in successCallback_calledWithNullIcon_whenOldIconIsNullAndNothingChanged() local [all …]
|
D | CreateUserDialogControllerTest.java | 72 Runnable cancelCallback = mock(Runnable.class); in positiveButton_grantAdminStage_noValue_OkButtonShouldBeDisabled() local 76 cancelCallback); in positiveButton_grantAdminStage_noValue_OkButtonShouldBeDisabled() 89 Runnable cancelCallback = mock(Runnable.class); in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage() local 93 cancelCallback); in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage() 109 Runnable cancelCallback = mock(Runnable.class); in editUserInfoController_shouldOnlyBeVisibleOnLastStage() local 112 cancelCallback); in editUserInfoController_shouldOnlyBeVisibleOnLastStage() 127 Runnable cancelCallback = mock(Runnable.class); in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage() local 131 cancelCallback); in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage() 148 Runnable cancelCallback = mock(Runnable.class); in cancelCallback_isCalled_whenCancelled() local 152 cancelCallback); in cancelCallback_isCalled_whenCancelled() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | GrantAdminDialogController.java | 40 Consumer<Boolean> successCallback, Runnable cancelCallback) { in createDialog() argument 57 if (cancelCallback != null) { in createDialog() 58 cancelCallback.run(); in createDialog() 62 if (cancelCallback != null) { in createDialog() 63 cancelCallback.run(); in createDialog()
|
D | EditUserInfoController.java | 131 BiConsumer<String, Drawable> successCallback, Runnable cancelCallback) { in createDialog() argument 163 defaultUserName, successCallback, cancelCallback); in createDialog() 182 BiConsumer<String, Drawable> successCallback, Runnable cancelCallback) { in buildDialog() argument 206 if (cancelCallback != null) { in buildDialog() 207 cancelCallback.run(); in buildDialog() 213 if (cancelCallback != null) { in buildDialog() 214 cancelCallback.run(); in buildDialog()
|
D | CreateUserDialogController.java | 185 NewUserData successCallback, Runnable cancelCallback) { in createDialog() argument 189 mCancelCallback = cancelCallback; in createDialog()
|
/frameworks/base/core/java/android/app/ |
D | Dialog.java | 229 @Nullable Message cancelCallback) { in Dialog() argument 232 mCancelMessage = cancelCallback; in Dialog()
|