Searched refs:accessDuration (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 1319 long accessDuration = XmlUtils.readLongAttribute(parser, ATTR_ACCESS_DURATION, 0); in readStateDLocked() local 1320 if (accessDuration > 0) { in readStateDLocked() 1322 accessDuration = (long) HistoricalOps.round( in readStateDLocked() 1323 (double) accessDuration * filterScale); in readStateDLocked() 1328 ops.increaseAccessDuration(op, uid, packageName, uidState, flags, accessDuration); in readStateDLocked() 1423 final long accessDuration = op.getAccessDuration(uidState, uidState, flags); in writeStateOnLocked() local 1425 if (accessCount <= 0 && rejectCount <= 0 && accessDuration <= 0) { in writeStateOnLocked() 1437 if (accessDuration > 0) { in writeStateOnLocked() 1438 serializer.attribute(null, ATTR_ACCESS_DURATION, Long.toString(accessDuration)); in writeStateOnLocked() 1735 final long accessDuration = ops.getAccessDuration(uidState, uidState, flags); in visitHistoricalOp() local [all …]
|
D | AppOpsService.java | 2932 final long accessDuration = XmlUtils.readLongAttribute(parser, "d", 0); in readOp() local 2942 if (accessDuration > 0) { in readOp() 2943 op.running(accessTime, accessDuration, state, flags); in readOp() 3053 final long accessDuration = op.getLastDuration( in writeState() local 3058 if (accessTime <= 0 && rejectTime <= 0 && accessDuration <= 0 in writeState() 3071 if (accessDuration > 0) { in writeState() 3072 out.attribute(null, "d", Long.toString(accessDuration)); in writeState() 3601 final long accessDuration = entry.getLastDuration( in dumpStatesLocked() local 3616 if (accessDuration > 0) { in dumpStatesLocked() 3618 TimeUtils.formatDuration(accessDuration, pw); in dumpStatesLocked()
|