Home
last modified time | relevance | path

Searched refs:getLastDuration (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
H A DAppPermissionUsage.java213 (op) -> op.getLastDuration(AppOpsManager.OP_FLAGS_ALL_TRUSTED)); in getLastAccessDuration()
265 opEntry.getLastDuration(PRIVACY_HUB_FLAGS), in getAllDiscreteAccessTime()
412 opEntry.getLastDuration(PRIVACY_HUB_FLAGS), in getAttributionLabelledGroupUsages()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
H A DRecentlyAccessedByUtils.java98 + entry.getLastDuration(AppOpsManager.OP_FLAGS_ALL); in getRecentRequestFromOps()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
H A DOpUsageLiveData.kt73 var lastAccessDuration = attributedOpEntry.getLastDuration(OP_FLAGS_ALL_TRUSTED)
/aosp12/frameworks/base/core/java/android/app/
H A DAppOpsManager.java3820 public long getLastDuration(@OpFlags int flags) { in getLastDuration() method in AppOpsManager.AttributedOpEntry
3821 return getLastDuration(MAX_PRIORITY_UID_STATE, MIN_PRIORITY_UID_STATE, flags); in getLastDuration()
3837 return getLastDuration(MAX_PRIORITY_UID_STATE, resolveFirstUnrestrictedUidState(mOp), in getLastForegroundDuration()
3854 return getLastDuration(resolveLastRestrictedUidState(mOp), MIN_PRIORITY_UID_STATE, in getLastBackgroundDuration()
3873 public long getLastDuration(@UidState int fromUidState, @UidState int toUidState, in getLastDuration() method in AppOpsManager.AttributedOpEntry
4438 return getLastDuration(OP_FLAGS_ALL); in getDuration()
4453 public long getLastDuration(@OpFlags int flags) { in getLastDuration() method in AppOpsManager.OpEntry
4454 return getLastDuration(MAX_PRIORITY_UID_STATE, MIN_PRIORITY_UID_STATE, flags); in getLastDuration()
4487 return getLastDuration(resolveLastRestrictedUidState(mOp), MIN_PRIORITY_UID_STATE, in getLastBackgroundDuration()
4505 public long getLastDuration(@UidState int fromUidState, @UidState int toUidState, in getLastDuration() method in AppOpsManager.OpEntry
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/appop/
H A DAppOpsService.java5161 final long accessDuration = attribution.getLastDuration( in writeState()
5560 } else if (ent.getLastDuration(OP_FLAGS_ALL) != -1) { in onShellCommand()
5562 TimeUtils.formatDuration(ent.getLastDuration(OP_FLAGS_ALL), pw); in onShellCommand()
5584 } else if (attributionEnt.getLastDuration(OP_FLAGS_ALL) in onShellCommand()
5588 attributionEnt.getLastDuration(OP_FLAGS_ALL), pw); in onShellCommand()
5782 final long accessDuration = entry.getLastDuration(uidState, uidState, flags); in dumpStatesLocked()
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt559 method public long getLastDuration(int);
560 method public long getLastDuration(int, int, int);
653 method public long getLastDuration(int);
654 method public long getLastDuration(int, int, int);