Home
last modified time | relevance | path

Searched refs:accessEvents (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAppsTest.java160 final LongSparseArray<AppOpsManager.NoteOpEvent> accessEvents = new LongSparseArray<>(); in createOpEntryWithTime() local
161 accessEvents.put(AppOpsManager.makeKey(AppOpsManager.UID_STATE_TOP, in createOpEntryWithTime()
165 new AttributedOpEntry(op, false, accessEvents, null))); in createOpEntryWithTime()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DRecentAppOpsAccessesTest.java253 final LongSparseArray<AppOpsManager.NoteOpEvent> accessEvents = new LongSparseArray<>(); in createOpEntryWithTime() local
254 accessEvents.put(AppOpsManager.makeKey(AppOpsManager.UID_STATE_BACKGROUND, in createOpEntryWithTime()
258 new AppOpsManager.AttributedOpEntry(op, false, accessEvents, null))); in createOpEntryWithTime()
/frameworks/base/services/core/java/com/android/server/appop/
DAttributedOp.java638 LongSparseArray<AppOpsManager.NoteOpEvent> accessEvents = deepClone(mAccessEvents); in createAttributedOpEntryLocked() local
645 if (accessEvents == null) { in createAttributedOpEntryLocked()
646 accessEvents = new LongSparseArray<>(numInProgressEvents); in createAttributedOpEntryLocked()
652 accessEvents.append(makeKey(event.getUidState(), event.getFlags()), in createAttributedOpEntryLocked()
661 return new AppOpsManager.AttributedOpEntry(parent.op, isRunning(), accessEvents, in createAttributedOpEntryLocked()
/frameworks/base/core/java/android/app/
DAppOpsManager.java4346 @Nullable LongSparseArray<NoteOpEvent> accessEvents, in AttributedOpEntry() argument
4354 this.mAccessEvents = accessEvents; in AttributedOpEntry()
4420 LongSparseArray<NoteOpEvent> accessEvents = sParcellingForAccessEvents.unparcel(in); in AttributedOpEntry() local
4429 this.mAccessEvents = accessEvents; in AttributedOpEntry()
6928 LongSparseArray<NoteOpEvent> accessEvents = new LongSparseArray<>(); in addDiscreteAccess() local
6931 accessEvents.append(key, note); in addDiscreteAccess()
6932 AttributedOpEntry access = new AttributedOpEntry(mOp, false, accessEvents, null); in addDiscreteAccess()
10998 LongSparseArray<AppOpsManager.NoteOpEvent> accessEvents = new LongSparseArray<>(); in mergeAttributedOpEntries() local
11015 NoteOpEvent existingAccess = accessEvents.get(key); in mergeAttributedOpEntries()
11017 accessEvents.append(key, access); in mergeAttributedOpEntries()
[all …]