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/
DHibernationController.kt52 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 "Done hibernating apps $hibernatedApps \n " + in hibernateApps()
101 return hibernatedApps in hibernateApps()
DHibernationPolicy.kt537 var hibernatedApps: Set<Pair<String, UserHandle>> = emptySet() in onStartJob() variable
542 hibernatedApps = hibernationController.hibernateApps(appsToHibernate) in onStartJob()
546 val unusedApps: Set<Pair<String, UserHandle>> = hibernatedApps + revokedApps in onStartJob()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/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()