/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | HandheldUnusedAppsFragment.kt | 26 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()
|
D | AppPermissionGroupsFragment.java | 25 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/ |
D | AppPermissionsFragment.java | 20 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/ |
D | HibernatedAppsPreferenceController.java | 19 import static com.android.car.settings.applications.ApplicationsUtils.isHibernationEnabled; 50 return isHibernationEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|
D | ApplicationsUtils.java | 88 public static boolean isHibernationEnabled() { in isHibernationEnabled() method in ApplicationsUtils
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoUnusedAppsFragment.kt | 25 import com.android.permissioncontroller.hibernation.isHibernationEnabled 71 if (isHibernationEnabled()) { in createFooterPreference()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | UnusedPackagesLiveData.kt | 26 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/ |
D | HibernationSwitchPreferenceController.java | 24 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/ |
D | HibernationSwitchPreferenceController.java | 79 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/ |
D | HibernatedAppsPreferenceController.java | 83 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/ |
D | HibernationPolicy.kt | 106 !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/ |
D | UnusedAppsFragment.kt | 38 import com.android.permissioncontroller.hibernation.isHibernationEnabled in <lambda>() 140 if (isHibernationEnabled()) { in <lambda>()
|