Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java842 public long currentAirtimeStartElapsedMs = -1; field in NotificationUsageStats.SingleNotificationStats
876 if (currentAirtimeStartElapsedMs >= 0) { in getCurrentAirtimeMs()
877 result += (SystemClock.elapsedRealtime() - currentAirtimeStartElapsedMs); in getCurrentAirtimeMs()
923 if (currentAirtimeStartElapsedMs < 0) { in onVisibilityChanged()
925 currentAirtimeStartElapsedMs = elapsedNowMs; in onVisibilityChanged()
931 if (currentAirtimeStartElapsedMs >= 0) { in onVisibilityChanged()
932 airtimeMs += (elapsedNowMs - currentAirtimeStartElapsedMs); in onVisibilityChanged()
933 currentAirtimeStartElapsedMs = -1; in onVisibilityChanged()
991 output.append("currentAirtimeStartElapsedMs=").append(currentAirtimeStartElapsedMs) in toString()
1011 currentAirtimeStartElapsedMs = old.currentAirtimeStartElapsedMs; in updateFrom()