Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DHandheldUnusedAppsFragment.kt27 import com.android.permissioncontroller.hibernation.isHibernationEnabled
74 return if (isHibernationEnabled()) R.string.no_unused_apps else super.getEmptyViewString() in getEmptyViewString()
79 if (isHibernationEnabled()) { in createFooterPreference()
DAppPermissionGroupsFragment.java25 import static com.android.permissioncontroller.hibernation.HibernationPolicyKt.isHibernationEnabled;
446 if (isHibernationEnabled()) { in addAutoRevokePreferences()
467 if (isHibernationEnabled()) { in addAutoRevokePreferences()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearUnusedAppsScreen.kt25 import com.android.permissioncontroller.hibernation.isHibernationEnabled
73 if (isHibernationEnabled()) { in WearUnusedAppsScreen()
85 if (isHibernationEnabled()) { in getScreenTitle()
DWearAppPermissionGroupsHelper.kt31 import com.android.permissioncontroller.hibernation.isHibernationEnabled in <lambda>()
353 if (isHibernationEnabled()) { in <lambda>()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DHibernatedAppsPreferenceController.java19 import static com.android.car.settings.applications.ApplicationsUtils.isHibernationEnabled;
51 return isHibernationEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getDefaultAvailabilityStatus()
DApplicationsUtils.java88 public static boolean isHibernationEnabled() { in isHibernationEnabled() method in ApplicationsUtils
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DUnusedPackagesLiveData.kt26 import com.android.permissioncontroller.hibernation.isHibernationEnabled in <lambda>()
106 return if (isHibernationEnabled()) { in getUnusedPackages()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DTvUnusedAppsFragment.kt26 import com.android.permissioncontroller.hibernation.isHibernationEnabled
62 if (isHibernationEnabled()) { in createFooterPreference()
DAppPermissionsFragment.java22 import static com.android.permissioncontroller.hibernation.HibernationPolicyKt.isHibernationEnabled;
436 autoRevokeSwitch.setTitle(isHibernationEnabled() ? R.string.unused_apps_label in addAutoRevokePreferences()
440 if (isHibernationEnabled()) { in addAutoRevokePreferences()
459 if (isHibernationEnabled()) { in setAutoRevokeToggleState()
465 if (isHibernationEnabled()) { in setAutoRevokeToggleState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoUnusedAppsFragment.kt29 import com.android.permissioncontroller.hibernation.isHibernationEnabled
71 if (isHibernationEnabled()) { in createFooterPreference()
/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 getDefaultAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/applications/
DHibernatedAppsPreferenceController.java70 return isHibernationEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
123 private static boolean isHibernationEnabled() { in isHibernationEnabled() method in HibernatedAppsPreferenceController
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DHibernationSwitchPreferenceController.java69 return isHibernationEnabled() && mIsPackageSet ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
151 private static boolean isHibernationEnabled() { in isHibernationEnabled() method in HibernationSwitchPreferenceController
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsFragment.kt58 findPreference<Preference>(KEY_HIBERNATED_APPS)?.isVisible = isHibernationEnabled in onCreateView()
158 private val isHibernationEnabled: Boolean constant
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DUnusedAppsFragment.kt45 import com.android.permissioncontroller.hibernation.isHibernationEnabled in <lambda>()
150 if (isHibernationEnabled()) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionGroupsViewModel.kt40 import com.android.permissioncontroller.hibernation.isHibernationEnabled in <lambda>()
369 if (isHibernationEnabled() && SdkLevel.isAtLeastSv2() && !enabled) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt157 fun isHibernationEnabled(): Boolean { in getCheckFrequencyMs() method
924 if (isHibernationEnabled()) { in onStartJob()
980 if (isHibernationEnabled()) { in showUnusedAppsNotification()
/packages/apps/TvSettings/
Dtwo-panel-baseline-profile.txt2295 PLcom/android/tv/settings/device/apps/AppsFragment$Companion;->access$isHibernationEnabled(Lcom/and…
2296 PLcom/android/tv/settings/device/apps/AppsFragment$Companion;->isHibernationEnabled()Z