Searched refs:totalTimeMillis (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySavingStats.java | 123 public long totalTimeMillis; field in BatterySavingStats.Stat 128 return totalTimeMillis / 60_000; in totalMinutes() 132 if (totalTimeMillis == 0) { in drainPerHour() 135 return (double) totalBatteryDrain / (totalTimeMillis / (60.0 * 60 * 1000)); in drainPerHour() 139 if (totalTimeMillis == 0) { in drainPercentPerHour() 142 return (double) totalBatteryDrainPercent / (totalTimeMillis / (60.0 * 60 * 1000)); in drainPercentPerHour() 350 stat.totalTimeMillis += deltaTime; 370 stat.totalTimeMillis,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | ServiceStateStatsTest.java | 169 assertEquals(100L, state.totalTimeMillis); in conclude_inService() 205 assertEquals(100L, state.totalTimeMillis); in conclude_outOfService() 273 assertEquals(100L, state.totalTimeMillis); in conclude_noSimCardEmergencyOnly() 310 assertEquals(100L, state.totalTimeMillis); in conclude_noSimCardOutOfService() 342 assertEquals(100L, state.totalTimeMillis); in conclude_longOnGoingServiceState() 355 assertEquals(100L, state.totalTimeMillis); in conclude_longOnGoingServiceState() 393 assertEquals(100L, state.totalTimeMillis); in onImsVoiceRegistrationChanged_wifiCallingWhileOos() 406 assertEquals(200L, state.totalTimeMillis); in onImsVoiceRegistrationChanged_wifiCallingWhileOos() 432 assertEquals(200L, state.totalTimeMillis); in onImsVoiceRegistrationChanged_crossSimCalling() 465 assertEquals(100L, state.totalTimeMillis); in onInternetDataNetworkDisconnected() [all …]
|
D | PersistAtomsStorageTest.java | 507 mServiceState1Proto.totalTimeMillis = 5000L; in makeTestData() 520 mServiceState2Proto.totalTimeMillis = 15000L; in makeTestData() 533 mServiceState3Proto.totalTimeMillis = 10000L; in makeTestData() 546 mServiceState4Proto.totalTimeMillis = 10000L; in makeTestData() 559 mServiceState5Proto.totalTimeMillis = 15000L; in makeTestData() 2053 newServiceState1Proto.totalTimeMillis *= 2; in addCellularServiceStateAndCellularDataServiceSwitch_updateExistingEntries()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/ |
D | ControllerMetricsStats.java | 272 long totalTimeMillis = getCurrentTime() - mSatelliteOnTimeMillis; in captureTotalServiceUpTimeSec() local 274 return (int) (totalTimeMillis / 1000); in captureTotalServiceUpTimeSec()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ServiceStateStats.java | 212 state.totalTimeMillis = now - prevState.mTimestamp; in addServiceStateAndSwitch() 315 copy.totalTimeMillis = state.totalTimeMillis; in copyOf()
|
D | PersistAtomsStorage.java | 323 existingState.totalTimeMillis += state.totalTimeMillis; in addCellularServiceStateAndCellularDataServiceSwitch()
|
D | MetricsCollector.java | 1081 roundAndConvertMillisToSeconds(state.totalTimeMillis, in buildStatsEvent()
|
/frameworks/base/services/core/java/com/android/server/cpu/ |
D | CpuInfoReader.java | 785 long totalTimeMillis = latestCpuUsageStats.getTotalTimeMillis(); in computeNormalizedAvailableCpuFreqKHz() local 786 if (totalTimeMillis == 0) { in computeNormalizedAvailableCpuFreqKHz() 791 double nonIdlePercent = 100.0 * (totalTimeMillis in computeNormalizedAvailableCpuFreqKHz() 792 - (double) latestCpuUsageStats.idleTimeMillis) / totalTimeMillis; in computeNormalizedAvailableCpuFreqKHz()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 3795 long totalTimeMillis = (totalTimeMicros + 500) / 1000; in computeWakeLock() local 3796 return totalTimeMillis; in computeWakeLock() 3815 long totalTimeMillis = computeWakeLock(timer, elapsedRealtimeUs, which); in printWakeLock() local 3818 if (totalTimeMillis != 0) { in printWakeLock() 3820 formatTimeMs(sb, totalTimeMillis); in printWakeLock() 3835 if (totalDurMs > totalTimeMillis) { in printWakeLock() 5964 final long totalTimeMillis = computeWakeLock(timer, rawRealtime, which); in dumpLocked() 5965 if (totalTimeMillis > 0) { in dumpLocked() 5966 ktimers.add(new TimerEntry(ent.getKey(), 0, timer, totalTimeMillis)); in dumpLocked()
|