/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/ |
D | EditUserInfoControllerTest.java | 138 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 …]
|
D | CreateUserDialogControllerTest.java | 147 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/ |
D | UserCreatorTest.kt | 53 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/ |
D | GrantAdminDialogController.java | 40 Consumer<Boolean> successCallback, Runnable cancelCallback) { in createDialog() argument 52 if (successCallback != null) { in createDialog() 53 successCallback.accept(radioButton.isChecked()); 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 199 if (successCallback != null) { in buildDialog() 200 successCallback.accept(userName, userIcon); in buildDialog()
|
D | CreateUserDialogController.java | 185 NewUserData successCallback, Runnable cancelCallback) { in createDialog() argument 188 mSuccessCallback = successCallback; in createDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ |
D | UserCreator.kt | 53 successCallback: Consumer<UserInfo?>, in createUser() 81 successCallback.accept(user) in createUser()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 1360 @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/ |
D | PeopleSpaceWidgetManager.java | 1016 PendingIntent successCallback = in requestPinAppWidget() local 1020 return mAppWidgetManager.requestPinAppWidget(componentName, extras, successCallback); in requestPinAppWidget()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |