Home
last modified time | relevance | path

Searched refs:mBucketAndReason (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/app/usage/
DUsageEvents.java529 public int mBucketAndReason; field in UsageEvents.Event
710 return (mBucketAndReason & 0xFFFF0000) >>> 16; in getAppStandbyBucket()
722 return mBucketAndReason & 0x0000FFFF; in getStandbyReason()
781 mBucketAndReason = orig.mBucketAndReason; in copyFrom()
1018 p.writeInt(event.mBucketAndReason); in writeEventToParcel()
1099 eventOut.mBucketAndReason = p.readInt(); in readEventFromParcel()
DParcelableUsageEventList.java238 case Event.STANDBY_BUCKET_CHANGED -> event.mBucketAndReason = in.readInt(); in readEventFromParcel()
269 case Event.STANDBY_BUCKET_CHANGED -> dest.writeInt(event.mBucketAndReason); in writeEventToParcel()
/frameworks/base/core/tests/coretests/src/android/app/usage/
DParcelableUsageEventListTest.java136 event.mBucketAndReason = anyInt(); in generateUsageEvent()
178 assertEquals(ue1.mBucketAndReason, ue2.mBucketAndReason); in compareUsageEvent()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProtoV2.java268 event.mBucketAndReason = proto.readInt(EventObfuscatedProto.STANDBY_BUCKET); in parseEvent()
426 if (event.mBucketAndReason != 0) { in writeEvent()
427 proto.write(EventObfuscatedProto.STANDBY_BUCKET, event.mBucketAndReason); in writeEvent()
711 event.mBucketAndReason = proto.readInt(PendingEventProto.STANDBY_BUCKET); in parsePendingEvent()
805 if (event.mBucketAndReason != 0) { in writePendingEvent()
806 proto.write(PendingEventProto.STANDBY_BUCKET, event.mBucketAndReason); in writePendingEvent()
DUsageStatsXmlV1.java234 event.mBucketAndReason = XmlUtils.readIntAttribute(parser, STANDBY_BUCKET_ATTR, 0); in loadEvent()
DUsageStatsProto.java473 if (event.mBucketAndReason != 0) { in writeEvent()
474 proto.write(IntervalStatsProto.Event.STANDBY_BUCKET, event.mBucketAndReason); in writeEvent()
DIntervalStats.java218 event.mBucketAndReason = parser.readInt( in buildEvent()
DUsageStatsService.java288 event.mBucketAndReason = (bucket << 16) | (reason & 0xFFFF);
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DIntervalStatsTests.java97 event.mBucketAndReason = (((i % 5 + 1) * 10) << 16) & (i % 5 + 1) << 8; in populateIntervalStats()
DUsageStatsDatabaseTest.java179 event.mBucketAndReason = (((i % 5 + 1) * 10) << 16) & (i % 5 + 1) << 8; in populateIntervalStats()
344 assertEquals(e1.mBucketAndReason, e2.mBucketAndReason, in compareUsageEvent()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt9343 Landroid/app/usage/UsageEvents$Event;->mBucketAndReason:I