Home
last modified time | relevance | path

Searched refs:states (Results 1 – 25 of 152) sorted by relevance

1234567

/device/google/zuma/usb/usb/
DUsbDataSessionMonitor.cpp180 &mDeviceState.states, &mDeviceState.timestamps, &event); in reportUsbDataSessionMetrics()
189 if (e->states.size() > 1) { in reportUsbDataSessionMetrics()
192 mDataSessionStart, &e->states, &e->timestamps, in reportUsbDataSessionMetrics()
202 &mHost1State.states, &mHost1State.timestamps, &event); in reportUsbDataSessionMetrics()
251 int configuredCount = std::count(mDeviceState.states.begin(), in evaluateComplianceWarning()
252 mDeviceState.states.end(), kConfiguredState); in evaluateComplianceWarning()
254 std::count(mDeviceState.states.begin(), mDeviceState.states.end(), kDefaultState); in evaluateComplianceWarning()
262 int host1StateCount = mHost1State.states.size(); in evaluateComplianceWarning()
264 std::count(mHost1State.states.begin(), mHost1State.states.end(), kConfiguredState); in evaluateComplianceWarning()
266 std::count(mHost1State.states.begin(), mHost1State.states.end(), kDefaultState); in evaluateComplianceWarning()
[all …]
/device/google/zumapro/usb/usb/
DUsbDataSessionMonitor.cpp180 &mDeviceState.states, &mDeviceState.timestamps, &event); in reportUsbDataSessionMetrics()
189 if (e->states.size() > 1) { in reportUsbDataSessionMetrics()
192 mDataSessionStart, &e->states, &e->timestamps, in reportUsbDataSessionMetrics()
202 &mHost1State.states, &mHost1State.timestamps, &event); in reportUsbDataSessionMetrics()
251 int configuredCount = std::count(mDeviceState.states.begin(), in evaluateComplianceWarning()
252 mDeviceState.states.end(), kConfiguredState); in evaluateComplianceWarning()
254 std::count(mDeviceState.states.begin(), mDeviceState.states.end(), kDefaultState); in evaluateComplianceWarning()
262 int host1StateCount = mHost1State.states.size(); in evaluateComplianceWarning()
264 std::count(mHost1State.states.begin(), mHost1State.states.end(), kConfiguredState); in evaluateComplianceWarning()
266 std::count(mHost1State.states.begin(), mHost1State.states.end(), kDefaultState); in evaluateComplianceWarning()
[all …]
/device/google/gs201/usb/usb/
DUsbDataSessionMonitor.cpp180 &mDeviceState.states, &mDeviceState.timestamps, &event); in reportUsbDataSessionMetrics()
189 if (e->states.size() > 1) { in reportUsbDataSessionMetrics()
192 mDataSessionStart, &e->states, &e->timestamps, in reportUsbDataSessionMetrics()
202 &mHost1State.states, &mHost1State.timestamps, &event); in reportUsbDataSessionMetrics()
251 int configuredCount = std::count(mDeviceState.states.begin(), in evaluateComplianceWarning()
252 mDeviceState.states.end(), kConfiguredState); in evaluateComplianceWarning()
254 std::count(mDeviceState.states.begin(), mDeviceState.states.end(), kDefaultState); in evaluateComplianceWarning()
262 int host1StateCount = mHost1State.states.size(); in evaluateComplianceWarning()
264 std::count(mHost1State.states.begin(), mHost1State.states.end(), kConfiguredState); in evaluateComplianceWarning()
266 std::count(mHost1State.states.begin(), mHost1State.states.end(), kDefaultState); in evaluateComplianceWarning()
[all …]
/device/google/gs101/usb/usb/
DUsbDataSessionMonitor.cpp180 &mDeviceState.states, &mDeviceState.timestamps, &event); in reportUsbDataSessionMetrics()
189 if (e->states.size() > 1) { in reportUsbDataSessionMetrics()
192 mDataSessionStart, &e->states, &e->timestamps, in reportUsbDataSessionMetrics()
202 &mHost1State.states, &mHost1State.timestamps, &event); in reportUsbDataSessionMetrics()
251 int configuredCount = std::count(mDeviceState.states.begin(), in evaluateComplianceWarning()
252 mDeviceState.states.end(), kConfiguredState); in evaluateComplianceWarning()
254 std::count(mDeviceState.states.begin(), mDeviceState.states.end(), kDefaultState); in evaluateComplianceWarning()
262 int host1StateCount = mHost1State.states.size(); in evaluateComplianceWarning()
264 std::count(mHost1State.states.begin(), mHost1State.states.end(), kConfiguredState); in evaluateComplianceWarning()
266 std::count(mHost1State.states.begin(), mHost1State.states.end(), kDefaultState); in evaluateComplianceWarning()
[all …]
/device/google/gs-common/powerstats/
DAdaptiveDvfsStateResidencyDataProvider.cpp44 std::vector<std::pair<std::string, std::string>> states = {}; local
59 states.push_back(std::make_pair(
68 if (states.size() > 1 &&
69 std::atoll(states[0].second.c_str()) < std::atoll(states[1].second.c_str())) {
70 std::reverse(states.begin(), states.end());
73 mPowerEntities.push_back({powerEntities[i].first, std::move(states)});
DDvfsStateResidencyDataProvider.cpp52 for (int32_t i = 0; i < powerEntity.states.size(); i++) { in matchState()
53 if (StartsWith(Trim(std::string(line)), powerEntity.states[i].second)) { in matchState()
84 std::vector<StateResidency> stateResidency(powerEntity.states.size()); in getStateResidencies()
135 std::vector<State> stateInfo(entity.states.size()); in getInfo()
137 for (auto const &state : entity.states) { in getInfo()
DCpupmStateResidencyDataProvider.cpp47 for (int32_t i = 0; i < mConfig.states.size(); i++) { in matchState()
48 if (mConfig.states[i].second == Trim(std::string(line))) { in matchState()
94 std::vector<StateResidency> stateResidencies(mConfig.states.size()); in getStateResidencies()
162 std::vector<State> stateInfo(mConfig.states.size()); in getInfo()
164 for (auto const &state : mConfig.states) { in getInfo()
DAocTimedStateResidencyDataProvider.cpp30 std::vector<std::pair<std::string, std::string>> states, in AocTimedStateResidencyDataProvider() argument
33 : AocStateResidencyDataProvider(ids, states, aocClock) { in AocTimedStateResidencyDataProvider()
37 timeoutMillis == 0 ? DEFAULT_MAX_TIME_PER_STATE_MILLIS * states.size() : timeoutMillis; in AocTimedStateResidencyDataProvider()
DTpuDvfsStateResidencyDataProvider.cpp91 std::vector<State> states; in getInfo() local
95 states.push_back(s); in getInfo()
98 return {{ENTITY_NAME, states}}; in getInfo()
DDevfreqStateResidencyDataProvider.cpp98 std::vector<State> states; in getInfo() local
101 states.push_back(s); in getInfo()
104 return {{mName, states}}; in getInfo()
DDisplayMrrStateResidencyDataProvider.cpp144 std::vector<State> states; in getInfo() local
159 states.push_back(s); in getInfo()
162 return {{ mName, states }}; in getInfo()
/device/google/coral/powerstats/
DIaxxxStateResidencyDataProvider.cpp80 hidl_vec<PowerEntityStateInfo> states; in getStateSpaces() local
81 states.resize(NUM_MPLL_CLK_FREQ + 1); // Each of the MPLL frequencies and sleep in getStateSpaces()
83 states[stateId] = PowerEntityStateInfo{ in getStateSpaces()
87 stateSpace[0].states = states; in getStateSpaces()
/device/google/gs-common/soc/
Ddump_soc.cpp45 std::string states; in main() local
77states += full_state_path+": "+readFile(name)+" "+readFile(desc)+" "+readFile(time)+" "+readFile(u… in main()
81 printf("------ CPU cpuidle ------\n%s\n", states.c_str()); in main()
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dapp.js589 let states = device_states;
598 ...states[index],
603 if ('lid_switch_open' in states[index]) {
604 lidSwitchOpen = states[index].lid_switch_open;
607 if ('hinge_angle_value' in states[index]) {
608 hingeAngle = states[index].hinge_angle_value;
613 states[index].hinge_angle_value);
618 index = (index + 1) % states.length;
/device/google/caimito/powerstats/ripcurrent24/
Dservice.cpp36 std::vector<std::string> states = { in addDisplay() local
47 states)); in addDisplay()
/device/google/shusky/powerstats/ripcurrent/
Dservice.cpp36 std::vector<std::string> states = { in addDisplay() local
47 states)); in addDisplay()
/device/google/pantah/powerstats/cloudripper/
Dservice.cpp36 std::vector<std::string> states = { in addDisplay() local
47 states)); in addDisplay()
/device/google/caimito/powerstats/ripcurrentpro/
Dservice.cpp36 std::vector<std::string> states = { in addDisplay() local
47 states)); in addDisplay()
/device/google/raviole/powerstats/whitefin/
Dservice.cpp36 std::vector<std::string> states = { in addDisplay() local
46 states)); in addDisplay()
/device/google/caimito/powerstats/tokay/
Dservice.cpp36 std::vector<std::string> states = { in addDisplay() local
47 states)); in addDisplay()
/device/google/shusky/powerstats/husky/
Dservice.cpp40 std::vector<std::string> states = { in addDisplay() local
70 states)); in addDisplay()
/device/google/pantah/powerstats/ravenclaw/
Dservice.cpp37 std::vector<std::string> states = { in addDisplay() local
50 states)); in addDisplay()
/device/google/shusky/powerstats/shiba/
Dservice.cpp40 std::vector<std::string> states = { in addDisplay() local
51 states)); in addDisplay()
/device/google/raviole/powerstats/slider/
Dservice.cpp37 std::vector<std::string> states = { in addDisplay() local
47 states)); in addDisplay()
/device/google/pantah/powerstats/panther/
Dservice.cpp43 std::vector<std::string> states = { in addDisplay() local
54 states)); in addDisplay()

1234567