Home
last modified time | relevance | path

Searched refs:isHibernationEnabled (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DHandheldUnusedAppsFragment.kt26 import com.android.permissioncontroller.hibernation.isHibernationEnabled
77 return if (isHibernationEnabled()) R.string.no_unused_apps else super.getEmptyViewString() in getEmptyViewString()
82 if (isHibernationEnabled()) { in createFooterPreference()
DAppPermissionGroupsFragment.java25 import static com.android.permissioncontroller.hibernation.HibernationPolicyKt.isHibernationEnabled;
533 autoRevokeSwitch.setTitle(isHibernationEnabled() ? R.string.unused_apps_label in addAutoRevokePreferences()
543 if (isHibernationEnabled()) { in addAutoRevokePreferences()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionsFragment.java20 import static com.android.permissioncontroller.hibernation.HibernationPolicyKt.isHibernationEnabled;
412 autoRevokeSwitch.setTitle(isHibernationEnabled() ? R.string.unused_apps_label in addAutoRevokePreferences()
416 if (isHibernationEnabled()) { in addAutoRevokePreferences()
435 if (isHibernationEnabled()) { in setAutoRevokeToggleState()
441 if (isHibernationEnabled()) { in setAutoRevokeToggleState()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DHibernatedAppsPreferenceController.java19 import static com.android.car.settings.applications.ApplicationsUtils.isHibernationEnabled;
50 return isHibernationEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
DApplicationsUtils.java88 public static boolean isHibernationEnabled() { in isHibernationEnabled() method in ApplicationsUtils
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoUnusedAppsFragment.kt25 import com.android.permissioncontroller.hibernation.isHibernationEnabled
71 if (isHibernationEnabled()) { in createFooterPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DUnusedPackagesLiveData.kt26 import com.android.permissioncontroller.hibernation.isHibernationEnabled in <lambda>()
109 return if (isHibernationEnabled()) { in getUnusedPackages()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/appinfo/
DHibernationSwitchPreferenceController.java24 import static com.android.car.settings.applications.ApplicationsUtils.isHibernationEnabled;
65 return isHibernationEnabled() && mIsPackageSet ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DHibernationSwitchPreferenceController.java79 return isHibernationEnabled() && mIsPackageSet ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
145 private static boolean isHibernationEnabled() { in isHibernationEnabled() method in HibernationSwitchPreferenceController
/packages/apps/Settings/src/com/android/settings/applications/
DHibernatedAppsPreferenceController.java83 return isHibernationEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
183 private static boolean isHibernationEnabled() { in isHibernationEnabled() method in HibernatedAppsPreferenceController
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt106 !isHibernationEnabled() && !AUTO_REVOKE_ENABLED -> Long.MAX_VALUE in <lambda>()
121 fun isHibernationEnabled(): Boolean { in getCheckFrequencyMs() method
538 if (isHibernationEnabled()) { in onStartJob()
575 if (isHibernationEnabled()) { in showUnusedAppsNotification()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DUnusedAppsFragment.kt38 import com.android.permissioncontroller.hibernation.isHibernationEnabled in <lambda>()
140 if (isHibernationEnabled()) { in <lambda>()