Home
last modified time | relevance | path

Searched refs:groupUsage (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DDashboardUtils.kt75 fun getAbsoluteLastUsageString(context: Context, groupUsage: GroupUsage?): String? { in getAbsoluteLastUsageString()
76 return if (groupUsage == null) { in getAbsoluteLastUsageString()
78 } else getAbsoluteTimeString(context, groupUsage.lastAccessTime) in getAbsoluteLastUsageString()
87 fun getUsageDurationString(context: Context, groupUsage: GroupUsage?): String? { in getUsageDurationString()
88 return if (groupUsage == null) { in getUsageDurationString()
90 } else getTimeDiffStr(context, groupUsage.accessDuration) in getUsageDurationString()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DPermissionUsageDetailsViewModelLegacy.kt450 groupUsage: AppPermissionUsage.GroupUsage? in <lambda>()
452 if (groupUsage == null) { in <lambda>()
457 return groupUsage.attributionLabelledGroupUsages.map { in <lambda>()
463 AppPermissionTimelineUsage(permissionGroup, app, groupUsage, Resources.ID_NULL) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DPermissionAppsViewModel.kt376 val groupUsage = appGroups[groupIndex] in <lambda>() constant
377 val groupUsageGroupName = groupUsage.group.name in <lambda>()
381 val lastAccessTime = groupUsage.lastAccessTime in <lambda>()
385 val key = groupUsage.group.user.toString() + packageName in <lambda>()
DAppPermissionGroupsViewModel.kt418 val groupUsage = appGroups[groupIndex] in <lambda>() constant
419 var lastAccessTime = groupUsage.lastAccessTime in <lambda>()
420 val groupName = groupUsage.group.name in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DAppPermissionUsage.java122 final GroupUsage groupUsage = mGroupUsages.get(i); in getLastAccessTime() local
123 lastAccessTime = Math.max(lastAccessTime, groupUsage.getLastAccessTime()); in getLastAccessTime()