Searched refs:getTimeInProcessStateMs (Results 1 – 4 of 4) sorted by relevance
114 public long getTimeInProcessStateMs(@ProcessState int state) { in getTimeInProcessStateMs() method in UidBatteryConsumer181 getTimeInProcessStateMs(PROCESS_STATE_FOREGROUND)); in writeToXml()183 getTimeInProcessStateMs(PROCESS_STATE_BACKGROUND)); in writeToXml()185 getTimeInProcessStateMs(PROCESS_STATE_FOREGROUND_SERVICE)); in writeToXml()340 + consumer.getTimeInProcessStateMs(PROCESS_STATE_FOREGROUND)); in add()343 + consumer.getTimeInProcessStateMs(PROCESS_STATE_BACKGROUND)); in add()346 + consumer.getTimeInProcessStateMs(PROCESS_STATE_FOREGROUND_SERVICE)); in add()
528 final long timeInStateMillis = consumer.getTimeInProcessStateMs(processState); in writeUidBatteryConsumersProto()
527 assertThat(uidBatteryConsumer.getTimeInProcessStateMs( in assertUidBatteryConsumer()529 assertThat(uidBatteryConsumer.getTimeInProcessStateMs( in assertUidBatteryConsumer()531 assertThat(uidBatteryConsumer.getTimeInProcessStateMs( in assertUidBatteryConsumer()
204 final long timeInStateMillis = uidConsumer.getTimeInProcessStateMs(processState); in assertSameUidBatteryConsumer()