Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRecentAccessPersistence.java330 ArrayMap<String, AttributedOp> attributedOps = in writeDeviceAttributedOps() local
333 for (int attrIndex = 0; attrIndex < attributedOps.size(); attrIndex++) { in writeDeviceAttributedOps()
334 String attributionTag = attributedOps.keyAt(attrIndex); in writeDeviceAttributedOps()
336 attributedOps.valueAt(attrIndex).createAttributedOpEntryLocked(); in writeDeviceAttributedOps()
DAppOpsService.java633 ArrayMap<String, AttributedOp> attributedOps = mDeviceAttributedOps.valueAt( in removeAttributionsWithNoTime() local
635 for (int tagIndex = attributedOps.size() - 1; tagIndex >= 0; tagIndex--) { in removeAttributionsWithNoTime()
636 if (!attributedOps.valueAt(tagIndex).hasAnyTime()) { in removeAttributionsWithNoTime()
637 attributedOps.removeAt(tagIndex); in removeAttributionsWithNoTime()
641 mDeviceAttributedOps.keyAt(deviceIndex)) && attributedOps.isEmpty()) { in removeAttributionsWithNoTime()
649 ArrayMap<String, AttributedOp> attributedOps = mDeviceAttributedOps.get( in getOrCreateAttribution() local
651 if (attributedOps == null) { in getOrCreateAttribution()
652 attributedOps = new ArrayMap<>(); in getOrCreateAttribution()
653 mDeviceAttributedOps.put(persistentDeviceId, attributedOps); in getOrCreateAttribution()
655 AttributedOp attributedOp = attributedOps.get(attributionTag); in getOrCreateAttribution()
[all …]
DDiscreteRegistry.java1084 ArrayMap<String, List<DiscreteOpEvent>> attributedOps = new ArrayMap<>(); in filter() local
1085 attributedOps.put(attributionTagFilter, in filter()
1087 mAttributedOps = attributedOps; in filter()
1123 List<DiscreteOpEvent> attributedOps = getOrCreateDiscreteOpEventsList( in addDiscreteAccess() local
1126 int nAttributedOps = attributedOps.size(); in addDiscreteAccess()
1129 DiscreteOpEvent previousOp = attributedOps.get(i - 1); in addDiscreteAccess()
1144 attributedOps.add(i, new DiscreteOpEvent(accessTime, accessDuration, uidState, flags, in addDiscreteAccess()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java4164 final AppOpsManager.AttributedHistoricalOps attributedOps =
4166 for (int opIdx = 0; opIdx < attributedOps.getOpCount(); opIdx++) {
4167 final AppOpsManager.HistoricalOp op = attributedOps.getOpAt(opIdx);
4169 packageOps.getPackageName(), attributedOps.getTag());