Home
last modified time | relevance | path

Searched refs:hibernatedApps (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/v31/
DHibernationController.kt53 val hibernatedApps = mutableSetOf<Pair<String, UserHandle>>() in hibernateApps() constant
68 hibernatedApps.add(pkg.packageName to user) in hibernateApps()
80 for ((pkgName, _) in hibernatedApps) { in hibernateApps()
97 if (hibernatedApps.isNotEmpty()) { in hibernateApps()
103 "Done hibernating apps $hibernatedApps \n " + in hibernateApps()
108 return hibernatedApps in hibernateApps()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/
DHibernationControllerTest.kt111 val hibernatedApps = hibernationController.hibernateApps(map) in testHibernateApps_hibernatesAppsForUser() constant
115 assertTrue(hibernatedApps.contains(pkg.packageName to UserHandle.of(USER_ID))) in testHibernateApps_hibernatesAppsForUser()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt923 var hibernatedApps: Set<Pair<String, UserHandle>> = emptySet() in onStartJob() variable
931 hibernatedApps = hibernationController.hibernateApps(appsToHibernate) in onStartJob()
935 val unusedApps: Set<Pair<String, UserHandle>> = hibernatedApps + revokedApps in onStartJob()