/device/google/sunfish/health/ |
D | Health.cpp | 130 DiskStats *stats = &vec_stats[0]; in private_get_disk_stats() local 131 fill_ufs_storage_attribute(&stats->attr); in private_get_disk_stats() 135 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats() 136 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats() 137 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats() 138 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats() 183 std::vector<struct DiskStats> stats; in getDiskStats() local 184 private_get_disk_stats(stats); in getDiskStats() 185 hidl_vec<struct DiskStats> stats_vec(stats); in getDiskStats() 186 if (!stats.size()) { in getDiskStats()
|
/device/google/redbull/health/ |
D | Health.cpp | 155 DiskStats *stats = &vec_stats[0]; in private_get_disk_stats() local 156 fill_ufs_storage_attribute(&stats->attr); in private_get_disk_stats() 160 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats() 161 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats() 162 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats() 163 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats() 208 std::vector<struct DiskStats> stats; in getDiskStats() local 209 private_get_disk_stats(stats); in getDiskStats() 210 hidl_vec<struct DiskStats> stats_vec(stats); in getDiskStats() 211 if (!stats.size()) { in getDiskStats()
|
/device/google/coral/health/ |
D | Health.cpp | 165 DiskStats *stats = &vec_stats[0]; in private_get_disk_stats() local 166 fill_ufs_storage_attribute(&stats->attr); in private_get_disk_stats() 170 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats() 171 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats() 172 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats() 173 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats() 218 std::vector<struct DiskStats> stats; in getDiskStats() local 219 private_get_disk_stats(stats); in getDiskStats() 220 hidl_vec<struct DiskStats> stats_vec(stats); in getDiskStats() 221 if (!stats.size()) { in getDiskStats()
|
/device/google/coral/powerstats/ |
D | OsloStateResidencyDataProvider.cpp | 61 struct iaxxx_sensor_mode_stats stats[SENSOR_NUM_MODE]; in getResults() local 62 err = ioctl(devNode.get(), IAXXX_SENSOR_MODE_STATS, (unsigned long)stats); in getResults() 72 .totalTimeInStateMs = stats[SENSOR_MODE_OFF].totalTimeSpentMs, in getResults() 73 .totalStateEntryCount = stats[SENSOR_MODE_OFF].totalNumEntries, in getResults() 74 .lastEntryTimestampMs = stats[SENSOR_MODE_OFF].lastEntryTimeStampMs}, in getResults() 76 .totalTimeInStateMs = stats[SENSOR_MODE_ENTRANCE].totalTimeSpentMs, in getResults() 77 .totalStateEntryCount = stats[SENSOR_MODE_ENTRANCE].totalNumEntries, in getResults() 78 .lastEntryTimestampMs = stats[SENSOR_MODE_ENTRANCE].lastEntryTimeStampMs}, in getResults() 80 .totalTimeInStateMs = stats[SENSOR_MODE_INTERACTIVE].totalTimeSpentMs, in getResults() 81 .totalStateEntryCount = stats[SENSOR_MODE_INTERACTIVE].totalNumEntries, in getResults() [all …]
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 147 struct TaskStatistics stats; member 344 mTask.stats.proxEnabledTimestamp = sensorGetTime(); in configProx() 352 mTask.stats.totalProxEnabledTime += sensorGetTime() - mTask.stats.proxEnabledTimestamp; in configProx() 354 mTask.stats.totalProxFarTime += sensorGetTime() - mTask.stats.lastProxFarTimestamp; in configProx() 367 mTask.stats.enabledTimestamp = sensorGetTime(); in callbackPower() 369 mTask.stats.totalEnabledTime += sensorGetTime() - mTask.stats.enabledTimestamp; in callbackPower() 372 enabledSeconds = U64_DIV_BY_U64_CONSTANT(mTask.stats.totalEnabledTime, 1000000000); in callbackPower() 373 proxEnabledSeconds = U64_DIV_BY_U64_CONSTANT(mTask.stats.totalProxEnabledTime, 1000000000); in callbackPower() 374 proxFarSeconds = U64_DIV_BY_U64_CONSTANT(mTask.stats.totalProxFarTime, 1000000000); in callbackPower() 383 mTask.stats.totalProxBecomesFar, in callbackPower() [all …]
|
/device/google/gs201/health/ |
D | Health.cpp | 186 DiskStats *stats = &vec_stats->at(0); in private_get_disk_stats() local 190 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats() 191 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats() 192 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats() 193 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats()
|
/device/google/gs101/health/ |
D | Health.cpp | 183 DiskStats *stats = &vec_stats->at(0); in private_get_disk_stats() local 187 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats() 188 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats() 189 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats() 190 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats()
|
/device/google/zuma/health/ |
D | Health.cpp | 184 DiskStats *stats = &vec_stats->at(0); in private_get_disk_stats() local 188 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats() 189 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats() 190 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats() 191 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats()
|
/device/google/zuma/powerstats/ |
D | ZumaCommonDataProviders.cpp | 37 using aidl::android::hardware::power::stats::AdaptiveDvfsStateResidencyDataProvider; 38 using aidl::android::hardware::power::stats::AocStateResidencyDataProvider; 39 using aidl::android::hardware::power::stats::CpupmStateResidencyDataProvider; 40 using aidl::android::hardware::power::stats::DevfreqStateResidencyDataProvider; 41 using aidl::android::hardware::power::stats::DvfsStateResidencyDataProvider; 42 using aidl::android::hardware::power::stats::UfsStateResidencyDataProvider; 43 using aidl::android::hardware::power::stats::EnergyConsumerType; 44 using aidl::android::hardware::power::stats::GenericStateResidencyDataProvider; 45 using aidl::android::hardware::power::stats::IioEnergyMeterDataProvider; 46 using aidl::android::hardware::power::stats::PixelStateResidencyDataProvider; [all …]
|
/device/google/gs201/powerstats/ |
D | Gs201CommonDataProviders.cpp | 37 using aidl::android::hardware::power::stats::AdaptiveDvfsStateResidencyDataProvider; 38 using aidl::android::hardware::power::stats::AocTimedStateResidencyDataProvider; 39 using aidl::android::hardware::power::stats::DevfreqStateResidencyDataProvider; 40 using aidl::android::hardware::power::stats::DvfsStateResidencyDataProvider; 41 using aidl::android::hardware::power::stats::UfsStateResidencyDataProvider; 42 using aidl::android::hardware::power::stats::EnergyConsumerType; 43 using aidl::android::hardware::power::stats::GenericStateResidencyDataProvider; 44 using aidl::android::hardware::power::stats::IioEnergyMeterDataProvider; 45 using aidl::android::hardware::power::stats::PixelStateResidencyDataProvider; 46 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer; [all …]
|
/device/google/tangorpro/powerstats/ |
D | service.cpp | 32 using aidl::android::hardware::power::stats::DevfreqStateResidencyDataProvider; 33 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 34 using aidl::android::hardware::power::stats::EnergyConsumerType; 35 using aidl::android::hardware::power::stats::GenericStateResidencyDataProvider; 36 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/redbull-sepolicy/vendor/google/ |
D | hal_power_stats_default.te | 1 allow hal_power_stats_default sysfs_msm_wlan:dir search; # Needed to traverse to wlan stats file 3 …dir_file(hal_power_stats_default, sysfs_power_stats) # Needed to traverse platform low power stats 5 r_dir_file(hal_power_stats_default, sysfs_msm_subsys) # Needed to traverse subsystem low power stats 6 r_dir_file(hal_power_stats_default, sysfs_leds) # Needed to track display stats
|
/device/google/felix/powerstats/felix/ |
D | service.cpp | 33 using aidl::android::hardware::power::stats::DevfreqStateResidencyDataProvider; 34 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 35 using aidl::android::hardware::power::stats::EnergyConsumerType; 36 using aidl::android::hardware::power::stats::GenericStateResidencyDataProvider; 37 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/sunfish-sepolicy/vendor/google/ |
D | hal_power_stats_default.te | 1 allow hal_power_stats_default sysfs_msm_wlan:dir search; # Needed to traverse to wlan stats file 4 r_dir_file(hal_power_stats_default, sysfs_power_stats) # Needed to traverse platform low power stats 5 r_dir_file(hal_power_stats_default, sysfs_msm_subsys) # Needed to traverse subsystem low power stats 6 r_dir_file(hal_power_stats_default, sysfs_leds) # Needed to track display stats
|
/device/google/lynx/powerstats/ |
D | service.cpp | 32 using aidl::android::hardware::power::stats::DevfreqStateResidencyDataProvider; 33 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 34 using aidl::android::hardware::power::stats::EnergyConsumerType; 35 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/pantah/powerstats/cheetah/ |
D | service.cpp | 32 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 33 using aidl::android::hardware::power::stats::EnergyConsumerType; 34 using aidl::android::hardware::power::stats::GenericStateResidencyDataProvider; 35 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/sunfish/powerstats/ |
D | service.cpp | 42 using android::hardware::power::stats::V1_0::IPowerStats; 43 using android::hardware::power::stats::V1_0::PowerEntityInfo; 44 using android::hardware::power::stats::V1_0::PowerEntityStateSpace; 45 using android::hardware::power::stats::V1_0::PowerEntityType; 46 using android::hardware::power::stats::V1_0::implementation::PowerStats;
|
/device/google/redbull/powerstats/ |
D | service.cpp | 43 using android::hardware::power::stats::V1_0::IPowerStats; 44 using android::hardware::power::stats::V1_0::PowerEntityInfo; 45 using android::hardware::power::stats::V1_0::PowerEntityStateSpace; 46 using android::hardware::power::stats::V1_0::PowerEntityType; 47 using android::hardware::power::stats::V1_0::implementation::PowerStats;
|
/device/google/raviole/powerstats/raven/ |
D | service.cpp | 32 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 33 using aidl::android::hardware::power::stats::EnergyConsumerType; 34 using aidl::android::hardware::power::stats::GenericStateResidencyDataProvider; 35 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/gs101/powerstats/ |
D | Gs101CommonDataProviders.cpp | 35 using aidl::android::hardware::power::stats::AocStateResidencyDataProvider; 36 using aidl::android::hardware::power::stats::DevfreqStateResidencyDataProvider; 37 using aidl::android::hardware::power::stats::DvfsStateResidencyDataProvider; 38 using aidl::android::hardware::power::stats::UfsStateResidencyDataProvider; 39 using aidl::android::hardware::power::stats::EnergyConsumerType; 40 using aidl::android::hardware::power::stats::GenericStateResidencyDataProvider; 41 using aidl::android::hardware::power::stats::IioEnergyMeterDataProvider; 42 using aidl::android::hardware::power::stats::PixelStateResidencyDataProvider; 43 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/shusky/powerstats/husky/ |
D | service.cpp | 30 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 31 using aidl::android::hardware::power::stats::EnergyConsumerType; 32 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/shusky/powerstats/shiba/ |
D | service.cpp | 30 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 31 using aidl::android::hardware::power::stats::EnergyConsumerType; 32 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/raviole/powerstats/whitefin/ |
D | service.cpp | 30 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 31 using aidl::android::hardware::power::stats::EnergyConsumerType; 32 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/shusky/powerstats/ripcurrent/ |
D | service.cpp | 30 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 31 using aidl::android::hardware::power::stats::EnergyConsumerType; 32 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
/device/google/pantah/powerstats/cloudripper/ |
D | service.cpp | 30 using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 31 using aidl::android::hardware::power::stats::EnergyConsumerType; 32 using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|