Searched refs:accessEvents (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
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()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | RecentAppOpsAccessesTest.java | 253 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/ |
D | AttributedOp.java | 638 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/ |
D | AppOpsManager.java | 4346 @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 …]
|