Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageEventsQueryTest.java89 assertEquals(query.getBeginTimeMillis(), query.getEndTimeMillis()); in testQueryDuration()
101 assertEquals(query.getBeginTimeMillis(), 2001); in testQueryDuration()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java435 || inMemoryAdjEndTimeMillis <= currentOps.getBeginTimeMillis())) { in getHistoricalOps()
759 current.offsetBeginAndEndTime(previous.getBeginTimeMillis()); in persistPendingHistory()
776 nowMillis- ops.getBeginTimeMillis()); in makeRelativeToEpochStart()
785 } else if (op.getBeginTimeMillis() < mBaseSnapshotInterval) { in pruneFutureOps()
1135 } else if (op.getBeginTimeMillis() < currentIntervalEndMillis) { in handlePersistHistoricalOpsRecursiveDLocked()
1509 serializer.attributeLong(null, ATTR_BEGIN_TIME, ops.getBeginTimeMillis()); in writeHistoricalOpDLocked()
1612 if (current.getEndTimeMillis() < current.getBeginTimeMillis()) { in enforceOpsWellFormed()
1617 if (previous.getEndTimeMillis() > current.getBeginTimeMillis()) { in enforceOpsWellFormed()
1621 if (previous.getBeginTimeMillis() > current.getBeginTimeMillis()) { in enforceOpsWellFormed()
1678 - Math.min(slotBeginTimeMillis, processedOp.getBeginTimeMillis()); in normalizeSnapshotForSlotDuration()
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageEventsQuery.java73 public @CurrentTimeMillisLong long getBeginTimeMillis() { in getBeginTimeMillis() method in UsageEventsQuery
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java2455 return queryEventsHelper(userId, query.getBeginTimeMillis(), in queryEventsWithFilter()
/frameworks/base/core/java/android/app/
DAppOpsManager.java5570 if (getBeginTimeMillis() >= getEndTimeMillis()) { in isEmpty()
5661 public long getBeginTimeMillis() { in getBeginTimeMillis() method in AppOpsManager.HistoricalOps
/frameworks/base/core/api/
Dsystem-current.txt790 method public long getBeginTimeMillis();
Dcurrent.txt9488 method public long getBeginTimeMillis();