Searched refs:mAccessTimes (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 2245 private final @Nullable LongSparseLongArray mAccessTimes; field in AppOpsManager.OpEntry 2261 mAccessTimes = accessTimes; in OpEntry() 2275 mAccessTimes = null; in OpEntry() 2287 LongSparseArray<Object> result = AppOpsManager.collectKeys(mAccessTimes, null); in collectKeys() 2339 return maxForFlagsInStates(mAccessTimes, MAX_PRIORITY_UID_STATE, in getLastAccessTime() 2360 return maxForFlagsInStates(mAccessTimes, MAX_PRIORITY_UID_STATE, in getLastAccessForegroundTime() 2381 return maxForFlagsInStates(mAccessTimes, resolveLastRestrictedUidState(mOp), in getLastAccessBackgroundTime() 2409 return maxForFlagsInStates(mAccessTimes, fromUidState, toUidState, flags); in getLastAccessTime() 2658 writeLongSparseLongArrayToParcel(mAccessTimes, dest); in writeToParcel() 2669 mAccessTimes = readLongSparseLongArrayFromParcel(source); in OpEntry()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 417 private @Nullable LongSparseLongArray mAccessTimes; field in AppOpsService.Op 445 if (mAccessTimes == null) { in accessed() 446 mAccessTimes = new LongSparseLongArray(); in accessed() 448 mAccessTimes.put(key, time); in accessed() 501 if (mAccessTimes == null) { in updateAccessTimeAndDuration() 502 mAccessTimes = new LongSparseLongArray(); in updateAccessTimeAndDuration() 504 mAccessTimes.put(key, time); in updateAccessTimeAndDuration() 524 return (mAccessTimes != null && mAccessTimes.size() > 0) in hasAnyTime() 1045 op.mAccessTimes != null ? op.mAccessTimes.clone() : null, in getOpEntryForResult() 2010 final OpEntry entry = new OpEntry(op.op, op.running, op.mode, op.mAccessTimes, in noteOperationUnchecked() [all …]
|