Home
last modified time | relevance | path

Searched refs:handleDisableable (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DAppButtonsPreferenceControllerTest.java185 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppDetailsTest.java483 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()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAppButtonsPreferenceController.java365 enabled = handleDisableable(mUninstallButton); in updateUninstallButton()
540 boolean handleDisableable(Button button) { in handleDisableable() method in AppButtonsPreferenceController
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java238 boolean handleDisableable(Button button) { in handleDisableable() method in InstalledAppDetails
268 enabled = handleDisableable(mUninstallButton); in initUninstallButtons()