Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DUsageEvents.java380 public int mBucketAndReason; field in UsageEvents.Event
418 mBucketAndReason = orig.mBucketAndReason; in Event()
527 return (mBucketAndReason & 0xFFFF0000) >>> 16; in getStandbyBucket()
537 return (mBucketAndReason & 0xFFFF0000) >>> 16; in getAppStandbyBucket()
549 return mBucketAndReason & 0x0000FFFF; in getStandbyReason()
764 p.writeInt(event.mBucketAndReason); in writeEventToParcel()
832 eventOut.mBucketAndReason = p.readInt(); in readEventFromParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java165 event.mBucketAndReason = (((i % 5 + 1) * 10) << 16) & (i % 5 + 1) << 8; in populateIntervalStats()
281 assertEquals(e1.mBucketAndReason, e2.mBucketAndReason, in compareUsageEvent()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java235 event.mBucketAndReason = XmlUtils.readIntAttribute(parser, STANDBY_BUCKET_ATTR, 0); in loadEvent()
360 if (event.mBucketAndReason != 0) { in writeEvent()
361 XmlUtils.writeIntAttribute(xml, STANDBY_BUCKET_ATTR, event.mBucketAndReason); in writeEvent()
DUsageStatsProto.java474 if (event.mBucketAndReason != 0) { in writeEvent()
475 proto.write(IntervalStatsProto.Event.STANDBY_BUCKET, event.mBucketAndReason); in writeEvent()
DIntervalStats.java205 event.mBucketAndReason = parser.readInt( in buildEvent()
DUsageStatsService.java166 event.mBucketAndReason = (bucket << 16) | (reason & 0xFFFF);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9424 Landroid/app/usage/UsageEvents$Event;->mBucketAndReason:I