Searched refs:getLastDuration (Results 1 – 6 of 6) sorted by relevance
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
H A D | AppPermissionUsage.java | 213 (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 D | RecentlyAccessedByUtils.java | 98 + entry.getLastDuration(AppOpsManager.OP_FLAGS_ALL); in getRecentRequestFromOps()
|
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
H A D | OpUsageLiveData.kt | 73 var lastAccessDuration = attributedOpEntry.getLastDuration(OP_FLAGS_ALL_TRUSTED)
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 3820 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 D | AppOpsService.java | 5161 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 D | system-current.txt | 559 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);
|