Searched refs:accessDuration (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsRecentAccessPersistence.java | 244 final long accessDuration = parser.getAttributeLong(null, ATTR_ACCESS_DURATION, -1); in readAttributionOp() local 258 attributedOp.accessed(accessTime, accessDuration, proxyUid, proxyPkg, in readAttributionOp() 349 final long accessDuration = in writeDeviceAttributedOps() local 356 if (accessTime <= 0 && rejectTime <= 0 && accessDuration <= 0 in writeDeviceAttributedOps() 377 if (accessDuration > 0) { in writeDeviceAttributedOps() 378 out.attributeLong(null, ATTR_ACCESS_DURATION, accessDuration); in writeDeviceAttributedOps()
|
D | DiscreteRegistry.java | 248 long accessDuration, @AppOpsManager.AttributionFlags int attributionFlags, in recordDiscreteAccess() argument 255 accessTime, accessDuration, attributionFlags, attributionChainId); in recordDiscreteAccess() 636 @AppOpsManager.UidState int uidState, long accessTime, long accessDuration, in addDiscreteAccess() argument 651 uidState, accessTime, accessDuration, attributionFlags, offsetChainId); in addDiscreteAccess() 892 long accessTime, long accessDuration, in addDiscreteAccess() argument 895 uidState, accessTime, accessDuration, attributionFlags, attributionChainId); in addDiscreteAccess() 962 long accessTime, long accessDuration, in addDiscreteAccess() argument 965 accessDuration, attributionFlags, attributionChainId); in addDiscreteAccess() 1121 long accessTime, long accessDuration, in addDiscreteAccess() argument 1136 if (discretizeDuration(accessDuration) != discretizeDuration( in addDiscreteAccess() [all …]
|
D | HistoricalRegistry.java | 1462 long accessDuration = parser.getAttributeLong(null, ATTR_ACCESS_DURATION, 0); in readStateDLocked() local 1463 if (accessDuration > 0) { in readStateDLocked() 1465 accessDuration = (long) HistoricalOps.round( in readStateDLocked() 1466 (double) accessDuration * filterScale); in readStateDLocked() 1472 accessDuration); in readStateDLocked() 1578 final long accessDuration = op.getAccessDuration(uidState, uidState, flags); in writeStateOnLocked() local 1580 if (accessCount <= 0 && rejectCount <= 0 && accessDuration <= 0) { in writeStateOnLocked() 1592 if (accessDuration > 0) { in writeStateOnLocked() 1593 serializer.attributeLong(null, ATTR_ACCESS_DURATION, accessDuration); in writeStateOnLocked() 1910 final long accessDuration = ops.getAccessDuration(uidState, uidState, flags); in visitHistoricalOp() local [all …]
|
D | AppOpsService.java | 5057 final long accessDuration = parser.getAttributeLong(null, "d", -1); in readAttributionOp() local 5063 attributedOp.accessed(accessTime, accessDuration, proxyUid, proxyPkg, in readAttributionOp() 5171 final long accessDuration = attribution.getLastDuration( in writeRecentAccesses() local 5177 if (accessTime <= 0 && rejectTime <= 0 && accessDuration <= 0 in writeRecentAccesses() 5202 if (accessDuration > 0) { in writeRecentAccesses() 5203 out.attributeLong(null, "d", accessDuration); in writeRecentAccesses() 5815 final long accessDuration = entry.getLastDuration(uidState, uidState, flags); in dumpStatesLocked() local 5837 if (accessDuration > 0) { in dumpStatesLocked() 5839 TimeUtils.formatDuration(accessDuration, pw); in dumpStatesLocked()
|