Home
last modified time | relevance | path

Searched refs:successCallback (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DEditUserInfoControllerTest.java138 BiConsumer<String, Drawable> successCallback = mock(BiConsumer.class); in cancelCallback_isCalled_whenCancelled() local
143 successCallback, cancelCallback); in cancelCallback_isCalled_whenCancelled()
147 verifyNoInteractions(successCallback); in cancelCallback_isCalled_whenCancelled()
154 BiConsumer<String, Drawable> successCallback = mock(BiConsumer.class); in cancelCallback_isCalled_whenNegativeClicked() local
159 successCallback, cancelCallback); in cancelCallback_isCalled_whenNegativeClicked()
163 verifyNoInteractions(successCallback); in cancelCallback_isCalled_whenNegativeClicked()
170 BiConsumer<String, Drawable> successCallback = mock(BiConsumer.class); in successCallback_isCalled_whenNothingChanged() local
176 successCallback, cancelCallback); in successCallback_isCalled_whenNothingChanged()
182 verify(successCallback, times(1)) in successCallback_isCalled_whenNothingChanged()
189 BiConsumer<String, Drawable> successCallback = mock(BiConsumer.class); in successCallback_calledWithNullIcon_whenOldIconIsNullAndNothingChanged() local
[all …]
DCreateUserDialogControllerTest.java147 NewUserData successCallback = mock(NewUserData.class); in cancelCallback_isCalled_whenCancelled() local
151 mActivityStarter, true, successCallback, in cancelCallback_isCalled_whenCancelled()
155 verifyNoInteractions(successCallback); in cancelCallback_isCalled_whenCancelled()
162 NewUserData successCallback = mock(NewUserData.class); in cancelCallback_isCalled_whenNegativeButtonClickedOnFirstStage() local
166 mActivityStarter, true, successCallback, in cancelCallback_isCalled_whenNegativeButtonClickedOnFirstStage()
171 verifyNoInteractions(successCallback); in cancelCallback_isCalled_whenNegativeButtonClickedOnFirstStage()
178 NewUserData successCallback = mock(NewUserData.class); in cancelCallback_isNotCalled_whenNegativeButtonClickedOnSecondStage() local
182 mActivityStarter, true, successCallback, in cancelCallback_isNotCalled_whenNegativeButtonClickedOnSecondStage()
189 verifyNoInteractions(successCallback); in cancelCallback_isNotCalled_whenNegativeButtonClickedOnSecondStage()
196 NewUserData successCallback = mock(NewUserData.class); in successCallback_isCalled_setNameAndAdminStatus() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/
DUserCreatorTest.kt53 val successCallback = Mockito.mock(Consumer::class.java) in testCreateUser_threadingOrder() constant
59 successCallback as Consumer<UserInfo?>, in testCreateUser_threadingOrder()
64 verify(successCallback, never()).accept(user) in testCreateUser_threadingOrder()
71 verify(successCallback).accept(user) in testCreateUser_threadingOrder()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DGrantAdminDialogController.java40 Consumer<Boolean> successCallback, Runnable cancelCallback) { in createDialog() argument
52 if (successCallback != null) { in createDialog()
53 successCallback.accept(radioButton.isChecked()); in createDialog()
DEditUserInfoController.java131 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
199 if (successCallback != null) { in buildDialog()
200 successCallback.accept(userName, userIcon); in buildDialog()
DCreateUserDialogController.java185 NewUserData successCallback, Runnable cancelCallback) { in createDialog() argument
188 mSuccessCallback = successCallback; in createDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/
DUserCreator.kt53 successCallback: Consumer<UserInfo?>, in createUser()
81 successCallback.accept(user) in createUser()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java1360 @Nullable PendingIntent successCallback) { in requestPinAppWidget() argument
1361 return requestPinAppWidget(provider, null, successCallback); in requestPinAppWidget()
1402 @Nullable Bundle extras, @Nullable PendingIntent successCallback) { in requestPinAppWidget() argument
1405 successCallback == null ? null : successCallback.getIntentSender()); in requestPinAppWidget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java1016 PendingIntent successCallback = in requestPinAppWidget() local
1020 return mAppWidgetManager.requestPinAppWidget(componentName, extras, successCallback); in requestPinAppWidget()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...