Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsNoteTest.java316 assertEquals("foo", item.eventTag.string); in testAlarmStartAndFinishLocked()
317 assertEquals(UID, item.eventTag.uid); in testAlarmStartAndFinishLocked()
327 assertEquals("foo", item.eventTag.string); in testAlarmStartAndFinishLocked()
328 assertEquals(UID, item.eventTag.uid); in testAlarmStartAndFinishLocked()
355 assertEquals("foo", item.eventTag.string); in testAlarmStartAndFinishLocked_workSource()
356 assertEquals(100, item.eventTag.uid); in testAlarmStartAndFinishLocked_workSource()
363 assertEquals("foo", item.eventTag.string); in testAlarmStartAndFinishLocked_workSource()
364 assertEquals(500, item.eventTag.uid); in testAlarmStartAndFinishLocked_workSource()
368 assertEquals("foo", item.eventTag.string); in testAlarmStartAndFinishLocked_workSource()
369 assertEquals(100, item.eventTag.uid); in testAlarmStartAndFinishLocked_workSource()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java1694 public HistoryTag eventTag; field in BatteryStats.HistoryItem
1745 eventTag.writeToParcel(dest, flags); in writeToParcel()
1780 eventTag = localEventTag; in readFromParcel()
1781 eventTag.readFromParcel(src); in readFromParcel()
1784 eventTag = null; in readFromParcel()
1809 eventTag = null; in clear()
1847 if (o.eventTag != null) { in setToCommon()
1848 eventTag = localEventTag; in setToCommon()
1849 eventTag.setTo(o.eventTag); in setToCommon()
1851 eventTag = null; in setToCommon()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3382 int index = writeHistoryTag(cur.eventTag); in writeHistoryDelta()
3386 + cur.eventTag.poolIdx + " " + cur.eventTag.uid + ":" in writeHistoryDelta()
3387 + cur.eventTag.string); in writeHistoryDelta()
3647 cur.eventTag = cur.localEventTag; in readHistoryDelta()
3651 readHistoryTag(index, cur.eventTag); in readHistoryDelta()
3654 + cur.eventTag.poolIdx + " " + cur.eventTag.uid + ":" in readHistoryDelta()
3655 + cur.eventTag.string); in readHistoryDelta()
3734 cur.eventTag = cur.localEventTag; in addHistoryBufferLocked()
3735 cur.eventTag.setTo(mHistoryLastWritten.eventTag); in addHistoryBufferLocked()
3826 cur.eventTag = null; in addHistoryBufferLocked()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9290 final int eventTag = enabledFromThisOwner in setUserRestriction() local
9293 SecurityLog.writeEvent(eventTag, who.getPackageName(), userHandle, key); in setUserRestriction()