Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsRecentAccessPersistenceTest.java140 assertThat(attributedOpEntry.getLastDuration(OP_FLAGS_ALL)).isEqualTo(2963); in validateUidStates()
150 assertThat(attributedOpEntryForDevice.getLastDuration(OP_FLAGS_ALL)).isEqualTo(7596); in validateUidStates()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRecentAccessPersistence.java350 attributedOpEntry.getLastDuration(uidState, uidState, flags); in writeDeviceAttributedOps()
DAppOpsService.java5171 final long accessDuration = attribution.getLastDuration( in writeRecentAccesses()
5570 } else if (ent.getLastDuration(OP_FLAGS_ALL) != -1) { in onShellCommand()
5572 TimeUtils.formatDuration(ent.getLastDuration(OP_FLAGS_ALL), pw); in onShellCommand()
5594 } else if (attributionEnt.getLastDuration(OP_FLAGS_ALL) in onShellCommand()
5598 attributionEnt.getLastDuration(OP_FLAGS_ALL), pw); in onShellCommand()
5815 final long accessDuration = entry.getLastDuration(uidState, uidState, flags); in dumpStatesLocked()
/frameworks/base/core/java/android/app/
DAppOpsManager.java4128 public long getLastDuration(@OpFlags int flags) { in getLastDuration() method in AppOpsManager.AttributedOpEntry
4129 return getLastDuration(MAX_PRIORITY_UID_STATE, MIN_PRIORITY_UID_STATE, flags); in getLastDuration()
4145 return getLastDuration(MAX_PRIORITY_UID_STATE, resolveFirstUnrestrictedUidState(mOp), in getLastForegroundDuration()
4162 return getLastDuration(resolveLastRestrictedUidState(mOp), MIN_PRIORITY_UID_STATE, in getLastBackgroundDuration()
4181 public long getLastDuration(@UidState int fromUidState, @UidState int toUidState, in getLastDuration() method in AppOpsManager.AttributedOpEntry
4746 return getLastDuration(OP_FLAGS_ALL); in getDuration()
4761 public long getLastDuration(@OpFlags int flags) { in getLastDuration() method in AppOpsManager.OpEntry
4762 return getLastDuration(MAX_PRIORITY_UID_STATE, MIN_PRIORITY_UID_STATE, flags); in getLastDuration()
4778 return getLastDuration(MAX_PRIORITY_UID_STATE, resolveFirstUnrestrictedUidState(mOp), in getLastForegroundDuration()
4795 return getLastDuration(resolveLastRestrictedUidState(mOp), MIN_PRIORITY_UID_STATE, in getLastBackgroundDuration()
[all …]
/frameworks/base/core/api/
Dsystem-current.txt752 method public long getLastDuration(int);
753 method public long getLastDuration(int, int, int);
851 method public long getLastDuration(int);
852 method public long getLastDuration(int, int, int);