Home
last modified time | relevance | path

Searched refs:usageStatsLiveData (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DUnusedPackagesLiveData.kt46 private var usageStatsLiveData = UsageStatsLiveData[unusedThreshold] in <lambda>() variable
49 addSource(usageStatsLiveData) { update() } in <lambda>()
58 removeSource(usageStatsLiveData) in <lambda>()
60 usageStatsLiveData = UsageStatsLiveData[unusedThreshold] in <lambda>()
61 addSource(usageStatsLiveData) { update() } in <lambda>()
70 !usageStatsLiveData.isInitialized || in <lambda>()
87 for ((user, stats) in usageStatsLiveData.value!!) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DUnusedAppsViewModel.kt104 private val usageStatsLiveData = UsageStatsLiveData[MAX_UNUSED_PERIOD_MILLIS] in <lambda>() constant in com.android.permissioncontroller.permission.ui.model.UnusedAppsViewModel
111 addSource(usageStatsLiveData) { onUpdate() } in <lambda>()
117 !usageStatsLiveData.isInitialized || in <lambda>()
133 extractUnusedAppsUsageData(usageStatsLiveData.value!!, unusedApps) { in <lambda>()