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/
DAppOpsService.java773 private @Nullable LongSparseArray<NoteOpEvent> mAccessEvents; field in AppOpsService.AttributedOp
831 if (mAccessEvents == null) { in accessed()
832 mAccessEvents = new LongSparseArray<>(1); in accessed()
841 NoteOpEvent existingEvent = mAccessEvents.get(key); in accessed()
845 mAccessEvents.put(key, new NoteOpEvent(noteTime, duration, proxyInfo)); in accessed()
955 if (mAccessEvents == null) { in finished()
956 mAccessEvents = new LongSparseArray<>(1); in finished()
962 mAccessEvents.put(makeKey(event.getUidState(), OP_FLAG_SELF), finishedEvent); in finished()
1084 mAccessEvents = add(mAccessEvents, opToAdd.mAccessEvents); in add()
1093 return (mAccessEvents != null && mAccessEvents.size() > 0) in hasAnyTime()
[all …]
/frameworks/base/core/java/android/app/
DAppOpsManager.java3145 private final @Nullable LongSparseArray<NoteOpEvent> mAccessEvents; field in AppOpsManager.AttributedOpEntry
3158 if (mAccessEvents != null) { in collectKeys()
3159 int numEvents = mAccessEvents.size(); in collectKeys()
3161 keys.add(mAccessEvents.keyAt(i)); in collectKeys()
3237 return getLastEvent(mAccessEvents, fromUidState, toUidState, flags); in getLastAccessEvent()
3590 this.mAccessEvents = accessEvents; in AttributedOpEntry()
3634 if (mAccessEvents != null) flg |= 0x4; in writeToParcel()
3638 sParcellingForAccessEvents.parcel(mAccessEvents, dest, flags); in writeToParcel()
3665 this.mAccessEvents = accessEvents; in AttributedOpEntry()