Searched refs:mAccessTimes (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 2298 private final @Nullable LongSparseLongArray mAccessTimes; field in AppOpsManager.OpEntry 2314 mAccessTimes = accessTimes; in OpEntry() 2328 mAccessTimes = null; in OpEntry() 2340 LongSparseArray<Object> result = AppOpsManager.collectKeys(mAccessTimes, null); in collectKeys() 2392 return maxForFlagsInStates(mAccessTimes, MAX_PRIORITY_UID_STATE, in getLastAccessTime() 2413 return maxForFlagsInStates(mAccessTimes, MAX_PRIORITY_UID_STATE, in getLastAccessForegroundTime() 2434 return maxForFlagsInStates(mAccessTimes, resolveLastRestrictedUidState(mOp), in getLastAccessBackgroundTime() 2462 return maxForFlagsInStates(mAccessTimes, fromUidState, toUidState, flags); in getLastAccessTime() 2711 writeLongSparseLongArrayToParcel(mAccessTimes, dest); in writeToParcel() 2722 mAccessTimes = readLongSparseLongArrayFromParcel(source); in OpEntry()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 428 private @Nullable LongSparseLongArray mAccessTimes; field in AppOpsService.Op 456 if (mAccessTimes == null) { in accessed() 457 mAccessTimes = new LongSparseLongArray(); in accessed() 459 mAccessTimes.put(key, time); in accessed() 512 if (mAccessTimes == null) { in updateAccessTimeAndDuration() 513 mAccessTimes = new LongSparseLongArray(); in updateAccessTimeAndDuration() 515 mAccessTimes.put(key, time); in updateAccessTimeAndDuration() 539 return (mAccessTimes != null && mAccessTimes.size() > 0) in hasAnyTime() 1085 op.mAccessTimes != null ? op.mAccessTimes.clone() : null, in getOpEntryForResult() 2072 final OpEntry entry = new OpEntry(op.op, op.running, op.mode, op.mAccessTimes, in noteOperationUnchecked() [all …]
|