Home
last modified time | relevance | path

Searched refs:appPermissionUsages (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/dashboard/
DAutoPermissionUsageFragment.kt61 private var appPermissionUsages: List<AppPermissionUsage> = listOf() variable in com.android.permissioncontroller.permission.ui.auto.dashboard.AutoPermissionUsageFragment
162 appPermissionUsages = ArrayList(permissionUsages.usages) in onPermissionUsagesChanged()
167 if (permissionGroups.isEmpty() || appPermissionUsages.isEmpty()) { in updateUI()
174 appPermissionUsages, in updateUI()
DAutoPermissionUsageDetailsFragment.kt100 private var appPermissionUsages: List<AppPermissionUsage> = listOf() variable in com.android.permissioncontroller.permission.ui.auto.dashboard.AutoPermissionUsageDetailsFragment
181 appPermissionUsages = ArrayList(permissionUsages.usages) in onPermissionUsagesChanged()
213 if (appPermissionUsages.isEmpty()) { in updateUI()
221 appPermissionUsages, in updateUI()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionGroupsScreen.kt40 val appPermissionUsages = helper.wearViewModel.appPermissionUsages.observeAsState(emptyList()) in WearAppPermissionGroupsScreen() constant
47 helper.getPermissionGroupChipParams(appPermissionUsages.value), in WearAppPermissionGroupsScreen()
DWearPermissionAppsScreen.kt43 val appPermissionUsages = helper.wearViewModel.appPermissionUsages.observeAsState(emptyList()) in WearPermissionAppsScreen() constant
50 helper.getChipsByCategory(categorizedApps.value, appPermissionUsages.value) in WearPermissionAppsScreen()
DWearPermissionAppsHelper.kt54 appPermissionUsages: List<AppPermissionUsage> in <lambda>()
60 viewModel.extractGroupUsageLastAccessTime(appPermissionUsages) in <lambda>()
DWearAppPermissionGroupsHelper.kt65 appPermissionUsages: List<AppPermissionUsage> in <lambda>()
73 appPermissionUsages, in <lambda>()
DWearPermissionAppsFragment.kt171 wearViewModel.appPermissionUsages.value = in <lambda>()
DWearAppPermissionGroupsFragment.kt165 wearViewModel.appPermissionUsages.value = in onPermissionUsagesChanged()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DPermissionUsageDetailsViewModelLegacy.kt108 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
123 extractAppPermissionTimelineUsagesForGroup(appPermissionUsages, permissionGroup) in <lambda>()
178 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
180 ) = appPermissionUsages.extractAllPlatformAppPermissionGroups().any { it.name == groupName } in <lambda>()
184 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
188 return appPermissionUsages.filter { !exemptedPackages.contains(it.packageName) } in <lambda>()
DPermissionUsageViewModelLegacy.kt92 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
107 appPermissionUsages.filter { !exemptedPackages.contains(it.packageName) } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/model/
DWearAppPermissionUsagesViewModel.kt25 val appPermissionUsages = MutableLiveData<List<AppPermissionUsage>>() constant in com.android.permissioncontroller.permission.ui.wear.model.WearAppPermissionUsagesViewModel
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DPermissionAppsViewModel.kt353 appPermissionUsages: List<AppPermissionUsage> in <lambda>()
369 val numApps: Int = appPermissionUsages.size in <lambda>()
371 val appUsage: AppPermissionUsage = appPermissionUsages.get(appIndex) in <lambda>()
DAppPermissionGroupsViewModel.kt391 appPermissionUsages: List<AppPermissionUsage>, in <lambda>()
409 val numApps: Int = appPermissionUsages.size in <lambda>()
411 val appUsage: AppPermissionUsage = appPermissionUsages[appIndex] in <lambda>()