Searched refs:handleDisableable (Results 1 – 4 of 4) sorted by relevance
185 doReturn(false).when(mController).handleDisableable(any()); in testUpdateUninstallButton_isSystemApp_handleAsDisableableButton()190 verify(mController).handleDisableable(any()); in testUpdateUninstallButton_isSystemApp_handleAsDisableableButton()222 doReturn(true).when(mController).handleDisableable(any()); in testUpdateUninstallButton_isDeviceAdminApp_setButtonDisable()228 verify(mController).handleDisableable(any()); in testUpdateUninstallButton_isDeviceAdminApp_setButtonDisable()315 final boolean controllable = mController.handleDisableable(mUninstallButton); in testHandleDisableable_isHomeApp_notControllable()328 final boolean controllable = mController.handleDisableable(mUninstallButton); in testHandleDisableable_isAppEnabled_controllable()341 final boolean controllable = mController.handleDisableable(mUninstallButton); in testHandleDisableable_isAppDisabled_controllable()
483 assertThat(mAppDetail.handleDisableable(button)).isFalse(); in handleDisableable_appIsHomeApp_buttonShouldNotWork()505 assertThat(mAppDetail.handleDisableable(button)).isTrue(); in handleDisableable_appIsEnabled_buttonShouldWork()531 assertThat(mAppDetail.handleDisableable(button)).isFalse(); in handleDisableable_appIsEnabledAndInKeepEnabledWhitelist_buttonShouldNotWork()
365 enabled = handleDisableable(mUninstallButton); in updateUninstallButton()540 boolean handleDisableable(Button button) { in handleDisableable() method in AppButtonsPreferenceController
238 boolean handleDisableable(Button button) { in handleDisableable() method in InstalledAppDetails268 enabled = handleDisableable(mUninstallButton); in initUninstallButtons()