Searched refs:accessEvents (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
H A D | RecentLocationAppsTest.java | 160 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()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
H A D | RecentAppOpsAccessesTest.java | 193 final LongSparseArray<AppOpsManager.NoteOpEvent> accessEvents = new LongSparseArray<>(); in createOpEntryWithTime() local 194 accessEvents.put(AppOpsManager.makeKey(AppOpsManager.UID_STATE_BACKGROUND, in createOpEntryWithTime() 198 new AppOpsManager.AttributedOpEntry(op, false, accessEvents, null))); in createOpEntryWithTime()
|
/aosp14/frameworks/base/services/core/java/com/android/server/appop/ |
H A D | AttributedOp.java | 606 LongSparseArray<AppOpsManager.NoteOpEvent> accessEvents = deepClone(mAccessEvents); in createAttributedOpEntryLocked() local 613 if (accessEvents == null) { in createAttributedOpEntryLocked() 614 accessEvents = new LongSparseArray<>(numInProgressEvents); in createAttributedOpEntryLocked() 620 accessEvents.append(makeKey(event.getUidState(), event.getFlags()), in createAttributedOpEntryLocked() 629 return new AppOpsManager.AttributedOpEntry(parent.op, isRunning(), accessEvents, in createAttributedOpEntryLocked()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 4000 @Nullable LongSparseArray<NoteOpEvent> accessEvents, in AttributedOpEntry() argument 4008 this.mAccessEvents = accessEvents; in AttributedOpEntry() 4074 LongSparseArray<NoteOpEvent> accessEvents = sParcellingForAccessEvents.unparcel(in); in AttributedOpEntry() local 4083 this.mAccessEvents = accessEvents; in AttributedOpEntry() 6582 LongSparseArray<NoteOpEvent> accessEvents = new LongSparseArray<>(); in addDiscreteAccess() local 6585 accessEvents.append(key, note); in addDiscreteAccess() 6586 AttributedOpEntry access = new AttributedOpEntry(mOp, false, accessEvents, null); in addDiscreteAccess() 10252 LongSparseArray<AppOpsManager.NoteOpEvent> accessEvents = new LongSparseArray<>(); in mergeAttributedOpEntries() local 10269 NoteOpEvent existingAccess = accessEvents.get(key); in mergeAttributedOpEntries() 10271 accessEvents.append(key, access); in mergeAttributedOpEntries() [all …]
|