Home
last modified time | relevance | path

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

12345678910

/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dllstats.cpp111 static wifi_error get_wifi_interface_info(wifi_interface_link_layer_info *stats, in get_wifi_interface_info() argument
121stats->mode = (wifi_interface_mode)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_… in get_wifi_interface_info()
130 len = ((sizeof(stats->mac_addr) <= len) ? sizeof(stats->mac_addr) : len); in get_wifi_interface_info()
131 …memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR])… in get_wifi_interface_info()
138stats->state = (wifi_connection_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_IN… in get_wifi_interface_info()
145stats->roaming = (wifi_roam_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_R… in get_wifi_interface_info()
152stats->capabilities = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_CAPABILITIES]… in get_wifi_interface_info()
160 len = ((sizeof(stats->ssid) <= len) ? sizeof(stats->ssid) : len); in get_wifi_interface_info()
161 … memcpy(&stats->ssid[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_SSID]), len); in get_wifi_interface_info()
169 len = ((sizeof(stats->bssid) <= len) ? sizeof(stats->bssid) : len); in get_wifi_interface_info()
[all …]
Dwifihal_vendor.cpp149 nud_stats *stats = &mStats; in handleResponse() local
151 memset(stats, 0, sizeof(nud_stats)); in handleResponse()
162 stats->arp_req_count_from_netdev = nla_get_u16(tb_vendor[ in handleResponse()
172 stats->arp_req_count_to_lower_mac = nla_get_u16(tb_vendor[ in handleResponse()
182 stats->arp_req_rx_count_by_lower_mac = nla_get_u16(tb_vendor[ in handleResponse()
192 stats->arp_req_count_tx_success = nla_get_u16(tb_vendor[ in handleResponse()
202 stats->arp_rsp_rx_count_by_lower_mac = nla_get_u16(tb_vendor[ in handleResponse()
212 stats->arp_rsp_rx_count_by_upper_mac = nla_get_u16(tb_vendor[ in handleResponse()
222 stats->arp_rsp_count_to_netdev = nla_get_u16(tb_vendor[ in handleResponse()
232 stats->arp_rsp_count_out_of_order_drop = nla_get_u16(tb_vendor[ in handleResponse()
[all …]
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dllstats.cpp106 static wifi_error get_wifi_interface_info(wifi_interface_link_layer_info *stats, in get_wifi_interface_info() argument
116stats->mode = (wifi_interface_mode)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_… in get_wifi_interface_info()
125 len = ((sizeof(stats->mac_addr) <= len) ? sizeof(stats->mac_addr) : len); in get_wifi_interface_info()
126 …memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR])… in get_wifi_interface_info()
133stats->state = (wifi_connection_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_IN… in get_wifi_interface_info()
140stats->roaming = (wifi_roam_state)nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_R… in get_wifi_interface_info()
147stats->capabilities = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_CAPABILITIES]… in get_wifi_interface_info()
155 len = ((sizeof(stats->ssid) <= len) ? sizeof(stats->ssid) : len); in get_wifi_interface_info()
156 … memcpy(&stats->ssid[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_SSID]), len); in get_wifi_interface_info()
164 len = ((sizeof(stats->bssid) <= len) ? sizeof(stats->bssid) : len); in get_wifi_interface_info()
[all …]
Dwifihal_vendor.cpp123 nud_stats *stats = &mStats; in handleResponse() local
125 memset(stats, 0, sizeof(nud_stats)); in handleResponse()
136 stats->arp_req_count_from_netdev = nla_get_u16(tb_vendor[ in handleResponse()
146 stats->arp_req_count_to_lower_mac = nla_get_u16(tb_vendor[ in handleResponse()
156 stats->arp_req_rx_count_by_lower_mac = nla_get_u16(tb_vendor[ in handleResponse()
166 stats->arp_req_count_tx_success = nla_get_u16(tb_vendor[ in handleResponse()
176 stats->arp_rsp_rx_count_by_lower_mac = nla_get_u16(tb_vendor[ in handleResponse()
186 stats->arp_rsp_rx_count_by_upper_mac = nla_get_u16(tb_vendor[ in handleResponse()
196 stats->arp_rsp_count_to_netdev = nla_get_u16(tb_vendor[ in handleResponse()
206 stats->arp_rsp_count_out_of_order_drop = nla_get_u16(tb_vendor[ in handleResponse()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleObjectPool_test.cpp36 stats = PoolStats::instance(); in SetUp()
44 ASSERT_EQ(stats->Obtained, stats->Recycled); in TearDown()
45 ASSERT_LE(stats->Created, stats->Recycled); in TearDown()
49 stats->Obtained = 0; in resetStats()
50 stats->Created = 0; in resetStats()
51 stats->Recycled = 0; in resetStats()
55 PoolStats* stats; member in android::hardware::automotive::vehicle::V2_0::__anonf6348d300111::VehicleObjectPoolTest
68 ASSERT_EQ(3u, stats->Obtained); in TEST_F()
69 ASSERT_EQ(2u, stats->Created); in TEST_F()
83 ASSERT_EQ(0u, stats->Obtained); in TEST_F()
[all …]
/hardware/interfaces/power/stats/aidl/aidl_api/android.hardware.power.stats/2/android/hardware/power/stats/
DIPowerStats.aidl34 package android.hardware.power.stats;
37 android.hardware.power.stats.PowerEntity[] getPowerEntityInfo(); in getPowerEntityInfo()
38 android.hardware.power.stats.StateResidencyResult[] getStateResidency(in int[] powerEntityIds); in getStateResidency()
39 android.hardware.power.stats.EnergyConsumer[] getEnergyConsumerInfo(); in getEnergyConsumerInfo()
40 android.hardware.power.stats.EnergyConsumerResult[] getEnergyConsumed(in int[] energyConsumerIds); in getEnergyConsumed()
41 android.hardware.power.stats.Channel[] getEnergyMeterInfo(); in getEnergyMeterInfo()
42 android.hardware.power.stats.EnergyMeasurement[] readEnergyMeter(in int[] channelIds); in readEnergyMeter()
DEnergyConsumer.aidl34 package android.hardware.power.stats;
39 …android.hardware.power.stats.EnergyConsumerType type = android.hardware.power.stats.EnergyConsumer…
/hardware/interfaces/power/stats/aidl/aidl_api/android.hardware.power.stats/1/android/hardware/power/stats/
DIPowerStats.aidl34 package android.hardware.power.stats;
37 android.hardware.power.stats.PowerEntity[] getPowerEntityInfo(); in getPowerEntityInfo()
38 android.hardware.power.stats.StateResidencyResult[] getStateResidency(in int[] powerEntityIds); in getStateResidency()
39 android.hardware.power.stats.EnergyConsumer[] getEnergyConsumerInfo(); in getEnergyConsumerInfo()
40 android.hardware.power.stats.EnergyConsumerResult[] getEnergyConsumed(in int[] energyConsumerIds); in getEnergyConsumed()
41 android.hardware.power.stats.Channel[] getEnergyMeterInfo(); in getEnergyMeterInfo()
42 android.hardware.power.stats.EnergyMeasurement[] readEnergyMeter(in int[] channelIds); in readEnergyMeter()
DEnergyConsumer.aidl34 package android.hardware.power.stats;
39 …android.hardware.power.stats.EnergyConsumerType type = android.hardware.power.stats.EnergyConsumer…
/hardware/interfaces/power/stats/aidl/aidl_api/android.hardware.power.stats/current/android/hardware/power/stats/
DIPowerStats.aidl33 package android.hardware.power.stats;
36 android.hardware.power.stats.PowerEntity[] getPowerEntityInfo(); in getPowerEntityInfo()
37 android.hardware.power.stats.StateResidencyResult[] getStateResidency(in int[] powerEntityIds); in getStateResidency()
38 android.hardware.power.stats.EnergyConsumer[] getEnergyConsumerInfo(); in getEnergyConsumerInfo()
39 android.hardware.power.stats.EnergyConsumerResult[] getEnergyConsumed(in int[] energyConsumerIds); in getEnergyConsumed()
40 android.hardware.power.stats.Channel[] getEnergyMeterInfo(); in getEnergyMeterInfo()
41 android.hardware.power.stats.EnergyMeasurement[] readEnergyMeter(in int[] channelIds); in readEnergyMeter()
DEnergyConsumer.aidl33 package android.hardware.power.stats;
38 …android.hardware.power.stats.EnergyConsumerType type = android.hardware.power.stats.EnergyConsumer…
/hardware/interfaces/power/stats/aidl/android/hardware/power/stats/
DIPowerStats.aidl17 package android.hardware.power.stats;
19 import android.hardware.power.stats.Channel;
20 import android.hardware.power.stats.EnergyConsumer;
21 import android.hardware.power.stats.EnergyConsumerResult;
22 import android.hardware.power.stats.EnergyMeasurement;
23 import android.hardware.power.stats.PowerEntity;
24 import android.hardware.power.stats.StateResidencyResult;
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DPowerStats.h38 using android::hardware::power::stats::V1_0::EnergyData;
39 using android::hardware::power::stats::V1_0::IPowerStats;
40 using android::hardware::power::stats::V1_0::PowerEntityInfo;
41 using android::hardware::power::stats::V1_0::PowerEntityStateInfo;
42 using android::hardware::power::stats::V1_0::PowerEntityStateResidencyData;
43 using android::hardware::power::stats::V1_0::PowerEntityStateResidencyResult;
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::RailInfo;
47 using android::hardware::power::stats::V1_0::Status;
[all …]
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.h29 namespace stats {
37 using ::android::hardware::power::stats::V1_0::EnergyData;
38 using ::android::hardware::power::stats::V1_0::PowerEntityInfo;
39 using ::android::hardware::power::stats::V1_0::PowerEntityStateInfo;
40 using ::android::hardware::power::stats::V1_0::PowerEntityStateResidencyData;
41 using ::android::hardware::power::stats::V1_0::PowerEntityStateResidencyResult;
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::RailInfo;
45 using ::android::hardware::power::stats::V1_0::Status;
Dservice.cpp33 using android::hardware::power::stats::V1_0::IPowerStats;
34 using android::hardware::power::stats::V1_0::PowerEntityStateResidencyResult;
35 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
36 using android::hardware::power::stats::V1_0::PowerEntityType;
37 using android::hardware::power::stats::V1_0::implementation::IStateResidencyDataProvider;
38 using android::hardware::power::stats::V1_0::implementation::PowerStats;
Dandroid.hardware.power.stats@1.0-service.rc1 service vendor.power.stats-hal-1-0-mock /vendor/bin/hw/android.hardware.power.stats@1.0-service.mock
2 interface android.hardware.power.stats@1.0::IPowerStats default
/hardware/interfaces/power/stats/aidl/default/
DAndroid.bp25 name: "android.hardware.power.stats-service.example",
27 init_rc: [":android.hardware.power.stats.rc"],
28 vintf_fragments: [":android.hardware.power.stats.xml"],
33 "android.hardware.power.stats-V2-ndk",
42 name: "android.hardware.power.stats.xml",
43 src: "power.stats-default.xml",
49 name: "android.hardware.power.stats.rc",
50 srcs: ["power.stats-default.rc"],
Dmain.cpp27 using aidl::android::hardware::power::stats::EnergyConsumerType;
28 using aidl::android::hardware::power::stats::FakeEnergyConsumer;
29 using aidl::android::hardware::power::stats::FakeEnergyMeter;
30 using aidl::android::hardware::power::stats::FakeStateResidencyDataProvider;
31 using aidl::android::hardware::power::stats::PowerStats;
32 using aidl::android::hardware::power::stats::State;
/hardware/google/pixel/powerstats/
DAndroid.bp26 "android.hardware.power.stats@1.0",
34 name: "android.hardware.power.stats-impl.pixel",
60 "android.hardware.power.stats-V2-ndk",
66 srcs: ["android.hardware.power.stats-service.pixel.rc"],
71 srcs: ["android.hardware.power.stats-service.pixel.xml"],
82 "android.hardware.power.stats-impl.pixel",
DAidlStateResidencyDataProvider.cpp120 std::vector<android::vendor::powerstats::StateResidencyData> &stats) { in getStatsTimed() argument
125 binderStatus status = cb.second->getStats(&stats); in getStatsTimed()
139 const std::vector<android::vendor::powerstats::StateResidencyData> &stats, in buildResult() argument
151 for (auto stat = stats.begin(); (numStatesFound < numStates) && (stat != stats.end()); stat++) { in buildResult()
176 std::vector<android::vendor::powerstats::StateResidencyData> stats; in getResults() local
179 binderStatus status = getStatsTimed(cb, stats); in getResults()
185 if (buildResult(cb.first, stats, result)) { in getResults()
/hardware/google/pixel/pwrstats_util/
DPowerStatsCollector.cpp26 int PowerStatsCollector::get(std::vector<PowerStatistic>* stats) const { in get()
27 if (!stats) { in get()
32 stats->clear(); in get()
37 stats->clear(); in get()
41 stats->emplace_back(stat); in get()
73 void PowerStatsCollector::dump(const std::vector<PowerStatistic>& stats, in dump() argument
80 for (auto const& stat : stats) { in dump()
/hardware/google/pixel/pixelstats/
DAndroid.bp28 "frameworks/proto_logging/stats",
46 "frameworks/proto_logging/stats",
64 "frameworks/proto_logging/stats",
76 tools: ["stats-log-api-gen"],
77 …cmd: "$(location stats-log-api-gen) --header $(genDir)/pixelatoms_defs.h --namespace hardware,goog…
98 tools: ["stats-log-api-gen"],
99 cmd: "$(location stats-log-api-gen) --header $(out)" +
116 tools: ["stats-log-api-gen"],
117 cmd: "$(location stats-log-api-gen) --cpp $(out)" +
140 "android.frameworks.stats-V2-ndk",
[all …]
/hardware/google/pixel/perfstatsd/
Dperfstatsd.cpp36 for (auto const &stats : mStats) { in refresh() local
37 stats->refresh(); in refresh()
44 for (auto const &stats : mStats) { in getHistory() local
45 stats->dump(&mergedQueue); in getHistory()
82 for (auto const &stats : mStats) { in setOptions() local
83 stats->setOptions(std::forward<const std::string>(key), in setOptions()
/hardware/google/graphics/common/libhwc2.1/
Dpixelstats-display.h27 using aidl::android::frameworks::stats::IStats;
28 using aidl::android::frameworks::stats::VendorAtom;
29 using aidl::android::frameworks::stats::VendorAtomValue;
/hardware/google/av/media/eco/tests/
DFakeECOServiceStatsProvider.cpp80 bool FakeECOServiceStatsProvider::injectSessionStats(const ECOData& stats) { in injectSessionStats() argument
84 mECOSession->pushNewStats(stats, &res); in injectSessionStats()
88 bool FakeECOServiceStatsProvider::injectFrameStats(const ECOData& stats) { in injectFrameStats() argument
92 mECOSession->pushNewStats(stats, &res); in injectFrameStats()

12345678910