Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 25 of 62) sorted by relevance

123

/device/google/coral/powerstats/
DOsloStateResidencyDataProvider.cpp57 struct iaxxx_sensor_mode_stats stats[SENSOR_NUM_MODE]; in getResults() local
58 err = ioctl(devNode.get(), IAXXX_SENSOR_MODE_STATS, (unsigned long)stats); in getResults()
68 .totalTimeInStateMs = stats[SENSOR_MODE_OFF].totalTimeSpentMs, in getResults()
69 .totalStateEntryCount = stats[SENSOR_MODE_OFF].totalNumEntries, in getResults()
70 .lastEntryTimestampMs = stats[SENSOR_MODE_OFF].lastEntryTimeStampMs}, in getResults()
72 .totalTimeInStateMs = stats[SENSOR_MODE_ENTRANCE].totalTimeSpentMs, in getResults()
73 .totalStateEntryCount = stats[SENSOR_MODE_ENTRANCE].totalNumEntries, in getResults()
74 .lastEntryTimestampMs = stats[SENSOR_MODE_ENTRANCE].lastEntryTimeStampMs}, in getResults()
76 .totalTimeInStateMs = stats[SENSOR_MODE_INTERACTIVE].totalTimeSpentMs, in getResults()
77 .totalStateEntryCount = stats[SENSOR_MODE_INTERACTIVE].totalNumEntries, in getResults()
[all …]
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
DAndroid.bp16 name: "android.hardware.power.stats@1.0-service.pixel",
24 init_rc: ["android.hardware.power.stats@1.0-service.pixel.rc"],
47 "android.hardware.power.stats@1.0",
DGpuStateResidencyDataProvider.h21 using android::hardware::power::stats::V1_0::PowerEntityStateResidencyResult;
22 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
/device/google/bonito/health/
DHealthService.cpp136 DiskStats* stats = &vec_stats[0]; in get_disk_stats() local
137 fill_emmc_storage_attribute(&stats->attr); in get_disk_stats()
141 stream >> stats->reads in get_disk_stats()
142 >> stats->readMerges in get_disk_stats()
143 >> stats->readSectors in get_disk_stats()
144 >> stats->readTicks in get_disk_stats()
145 >> stats->writes in get_disk_stats()
146 >> stats->writeMerges in get_disk_stats()
147 >> stats->writeSectors in get_disk_stats()
148 >> stats->writeTicks in get_disk_stats()
[all …]
/device/google/crosshatch/health/
DHealthService.cpp139 DiskStats *stats = &vec_stats[0]; in get_disk_stats() local
140 fill_ufs_storage_attribute(&stats->attr); in get_disk_stats()
144 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> stats->readTicks >> in get_disk_stats()
145 stats->writes >> stats->writeMerges >> stats->writeSectors >> stats->writeTicks >> in get_disk_stats()
146 stats->ioInFlight >> stats->ioTicks >> stats->ioInQueue; in get_disk_stats()
/device/google/coral/health/
DHealth.cpp141 DiskStats *stats = &vec_stats[0]; in private_get_disk_stats() local
142 fill_ufs_storage_attribute(&stats->attr); in private_get_disk_stats()
146 stream >> stats->reads >> stats->readMerges >> stats->readSectors >> in private_get_disk_stats()
147 stats->readTicks >> stats->writes >> stats->writeMerges >> in private_get_disk_stats()
148 stats->writeSectors >> stats->writeTicks >> stats->ioInFlight >> in private_get_disk_stats()
149 stats->ioTicks >> stats->ioInQueue; in private_get_disk_stats()
194 std::vector<struct DiskStats> stats; in getDiskStats() local
195 private_get_disk_stats(stats); in getDiskStats()
196 hidl_vec<struct DiskStats> stats_vec(stats); in getDiskStats()
197 if (!stats.size()) { in getDiskStats()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c147 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/wahoo/health/
DHealthService.cpp152 struct DiskStats stats = {}; in get_disk_stats() local
154 stats.attr.isInternal = true; in get_disk_stats()
155 stats.attr.isBootDevice = true; in get_disk_stats()
156 stats.attr.name = std::string(kUFSName); in get_disk_stats()
168 ss >> *(reinterpret_cast<uint64_t*>(&stats) + i); in get_disk_stats()
171 vec_stats[0] = stats; in get_disk_stats()
/device/google/wahoo/sepolicy/vendor/
Dhal_power_stats_default.te1 # power.stats HAL needs access to rpm, and wlan sysfs nodes in /d/
6 # power.stats HAL needs access to the easel sysfs node
9 # Allow power.stats HAL to add the power_stats_service
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dstats_keeper.h159 CompositionStats stats; in Broadcast() local
160 stats_getter_(&stats); in Broadcast()
161 return screen_view_->Broadcast(buffer_id, &stats); in Broadcast()
191 [this](CompositionStats* stats) { in StatsKeepingComposer()
192 FinalizeStatsAndGet(stats); in StatsKeepingComposer()
214 void FinalizeStatsAndGet(CompositionStats* stats) { in FinalizeStatsAndGet() argument
216 stats_keeper_.GetLastCompositionStats(stats); in FinalizeStatsAndGet()
/device/google/bonito/powerstats/
Dservice.cpp40 using android::hardware::power::stats::V1_0::IPowerStats;
41 using android::hardware::power::stats::V1_0::PowerEntityInfo;
42 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
43 using android::hardware::power::stats::V1_0::PowerEntityType;
44 using android::hardware::power::stats::V1_0::implementation::PowerStats;
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
DAndroid.bp16 name: "android.hardware.power.stats@1.0-service.pixel",
18 init_rc: ["android.hardware.power.stats@1.0-service.pixel.rc"],
35 "android.hardware.power.stats@1.0",
/device/google/wahoo/powerstats/
Dservice.cpp41 using android::hardware::power::stats::V1_0::IPowerStats;
42 using android::hardware::power::stats::V1_0::PowerEntityInfo;
43 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
44 using android::hardware::power::stats::V1_0::PowerEntityType;
45 using android::hardware::power::stats::V1_0::implementation::PowerStats;
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
DAndroid.bp16 name: "android.hardware.power.stats@1.0-service.pixel",
18 init_rc: ["android.hardware.power.stats@1.0-service.pixel.rc"],
35 "android.hardware.power.stats@1.0",
DEaselStateResidencyDataProvider.h21 using android::hardware::power::stats::V1_0::PowerEntityStateResidencyResult;
22 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dvideo_track_source_impl.cpp68 bool VideoTrackSourceImpl::GetStats(Stats *stats) { in GetStats() argument
69 stats->input_height = height_; in GetStats()
70 stats->input_width = width_; in GetStats()
/device/google/crosshatch/powerstats/
Dandroid.hardware.power.stats@1.0-service.pixel.rc1 service vendor.power.stats-hal-1-0 /vendor/bin/hw/android.hardware.power.stats@1.0-service.pixel
Dservice.cpp40 using android::hardware::power::stats::V1_0::IPowerStats;
41 using android::hardware::power::stats::V1_0::PowerEntityInfo;
42 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
43 using android::hardware::power::stats::V1_0::PowerEntityType;
44 using android::hardware::power::stats::V1_0::implementation::PowerStats;
DAndroid.bp16 name: "android.hardware.power.stats@1.0-service.pixel",
18 init_rc: ["android.hardware.power.stats@1.0-service.pixel.rc"],
34 "android.hardware.power.stats@1.0",
/device/google/bonito-sepolicy/vendor/qcom/common/
Dhal_power_stats_default.te1 # Allow power.stats hal to read from the following
7 # Allow power.stats hal to add the power_stats_service
Dvndservice_contexts3 power.stats-vendor u:object_r:power_stats_service:s0
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dhal_power_stats_default.te1 # Allow power.stats hal to read from the following
8 # Allow power.stats hal to add the power_stats_service

123