Home
last modified time | relevance | path

Searched refs:mAccessEvents (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/appop/
DAttributedOp.java57 private @Nullable LongSparseArray<AppOpsManager.NoteOpEvent> mAccessEvents; field in AttributedOp
135 if (mAccessEvents == null) { in accessed()
136 mAccessEvents = new LongSparseArray<>(1); in accessed()
145 AppOpsManager.NoteOpEvent existingEvent = mAccessEvents.get(key); in accessed()
150 mAccessEvents.put(key, new AppOpsManager.NoteOpEvent(noteTime, duration, proxyInfo)); in accessed()
320 if (mAccessEvents == null) { in finishOrPause()
321 mAccessEvents = new LongSparseArray<>(1); in finishOrPause()
332 mAccessEvents.put(makeKey(event.getUidState(), event.getFlags()), in finishOrPause()
602 mAccessEvents = add(mAccessEvents, opToAdd.mAccessEvents); in add()
615 return (mAccessEvents != null && mAccessEvents.size() > 0) in hasAnyTime()
[all …]
/frameworks/base/core/java/android/app/
DAppOpsManager.java3893 private final @Nullable LongSparseArray<NoteOpEvent> mAccessEvents; field in AppOpsManager.AttributedOpEntry
3901 mAccessEvents = other.mAccessEvents == null ? null : other.mAccessEvents.clone(); in AttributedOpEntry()
3913 if (mAccessEvents != null) { in collectKeys()
3914 int numEvents = mAccessEvents.size(); in collectKeys()
3916 keys.add(mAccessEvents.keyAt(i)); in collectKeys()
3992 return getLastEvent(mAccessEvents, fromUidState, toUidState, flags); in getLastAccessEvent()
4354 this.mAccessEvents = accessEvents; in AttributedOpEntry()
4398 if (mAccessEvents != null) flg |= 0x4; in writeToParcel()
4402 sParcellingForAccessEvents.parcel(mAccessEvents, dest, flags); in writeToParcel()
4429 this.mAccessEvents = accessEvents; in AttributedOpEntry()