Home
last modified time | relevance | path

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

12

/hardware/interfaces/power/1.1/
Dtypes.hal20 * PowerStateSubsystemSleepState represents the sleep states
55 * and all the sleep states this susbsystem is capable of getting into.
66 * states represents the list of sleep states supported by this susbsystem.
67 * Higher the index in the returned <states> vector deeper the state is
72 * or the subsystem does not have any sleep states.
74 vec<PowerStateSubsystemSleepState> states;
DIPower.hal27 * Report cumulative info on the statistics on subsystem-level sleep states
30 * @return subsystems supported on this device and their sleep states
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/
Dlibnetdevice.cpp146 StatesMap states = {}; in waitFor() local
150 states[ifname] = {present, up}; in waitFor()
156 const auto isFullySatisfied = [&states, allOf, mapConditionChecker]() { in waitFor()
158 return std::all_of(states.begin(), states.end(), mapConditionChecker); in waitFor()
160 return std::any_of(states.begin(), states.end(), mapConditionChecker); in waitFor()
177 states[ifname] = {present, up}; in waitFor()
/hardware/interfaces/power/1.0/default/
DPower.cpp66 hidl_vec<PowerStatePlatformSleepState> states; in getPlatformLowPowerStats() local
76 _hidl_cb(states, Status::SUCCESS); in getPlatformLowPowerStats()
113 states.resize(number_platform_modes); in getPlatformLowPowerStats()
117 PowerStatePlatformSleepState& state = states[i]; in getPlatformLowPowerStats()
142 _hidl_cb(states, Status::SUCCESS); in getPlatformLowPowerStats()
/hardware/google/pixel/powerstats/
DDisplayStateResidencyDataProvider.cpp37 uint32_t id, std::string path, std::vector<std::string> states) in DisplayStateResidencyDataProvider() argument
40 mStates(states), in DisplayStateResidencyDataProvider()
96 s.states.resize(mStates.size()); in getStateSpaces()
98 s.states[i] = {.powerEntityStateId = i, .powerEntityStateName = mStates[i]}; in getStateSpaces()
DAidlStateResidencyDataProvider.cpp206 .powerEntityId = info.second.powerEntityId, .states = {}}; in getStateSpaces()
207 statespace.states.resize(info.second.stateInfos.size()); in getStateSpaces()
210 statespace.states[i++] = { in getStateSpaces()
DPowerStatsAidl.cpp48 for (const auto &[entityName, states] : info) { in addStateResidencyDataProvider()
52 .states = states, in addStateResidencyDataProvider()
191 for (const auto &state : info.states) { in getEntityStateNames()
/hardware/google/pixel/powerstats/include/dataproviders/
DPixelStateResidencyDataProvider.h38 void addEntity(std::string name, std::vector<State> states);
67 Entry(std::string name, std::vector<State> states) in Entry()
68 : mName(name), mStates(states), mCallback(nullptr) {} in Entry()
DDisplayStateResidencyDataProvider.h42 std::vector<std::string> states);
/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp193 for (auto state : stateSpace.states) { in TEST_P()
206 for (auto state : stateSpace.states) { in TEST_P()
260 ASSERT_EQ(stateSpace.states.size(), it->second.states.size()); in TEST_P()
261 for (auto i = 0; i < stateSpace.states.size(); i++) { in TEST_P()
262 ASSERT_EQ(stateSpace.states[i].powerEntityStateId, in TEST_P()
263 it->second.states[i].powerEntityStateId); in TEST_P()
264 ASSERT_EQ(stateSpace.states[i].powerEntityStateName, in TEST_P()
265 it->second.states[i].powerEntityStateName); in TEST_P()
288 ASSERT_EQ(stateSpace.states.size(), it->second.stateResidencyData.size()); in TEST_P()
295 for (auto state : stateSpace.states) { in TEST_P()
[all …]
/hardware/interfaces/power/1.0/
DIPower.hal76 * Report cumulative info on the statistics on platform-level sleep states
79 * Higher the index in the returned <states> vector deeper the state is
83 * @return states of power states the device supports
88 generates (vec<PowerStatePlatformSleepState> states, Status retval);
/hardware/interfaces/power/stats/aidl/default/
DFakeStateResidencyDataProvider.h31 FakeStateResidencyDataProvider(const std::string& name, std::vector<State> states) in FakeStateResidencyDataProvider() argument
32 : mName(name), mStates(states) { in FakeStateResidencyDataProvider()
DPowerStats.cpp40 for (const auto& [entityName, states] : info) { in addStateResidencyDataProvider()
44 .states = states, in addStateResidencyDataProvider()
/hardware/interfaces/power/stats/aidl/aidl_api/android.hardware.power.stats/current/android/hardware/power/stats/
DPowerEntity.aidl38 android.hardware.power.stats.State[] states;
/hardware/interfaces/power/stats/aidl/aidl_api/android.hardware.power.stats/1/android/hardware/power/stats/
DPowerEntity.aidl39 android.hardware.power.stats.State[] states;
/hardware/interfaces/power/stats/aidl/android/hardware/power/stats/
DPowerEntity.aidl34 State[] states;
/hardware/google/pixel/powerstats/dataproviders/
DDisplayStateResidencyDataProvider.cpp34 std::string name, std::string path, std::vector<std::string> states) in DisplayStateResidencyDataProvider() argument
37 mStates(states), in DisplayStateResidencyDataProvider()
DPixelStateResidencyDataProvider.cpp32 void PixelStateResidencyDataProvider::addEntity(std::string name, std::vector<State> states) { in addEntity() argument
35 mEntries.emplace_back(name, states); in addEntity()
/hardware/interfaces/media/c2/1.0/
DIConfigurable.hal22 * This interface must be supported in all states of the owning object, and must
71 * The blocking behavior of this method differs among states:
74 * - In any of the running states, this method may block momentarily if
126 * The blocking behavior of this method differs among states:
129 * - In any of the running states, this method may block momentarily if
207 * The blocking behavior of this method differs among states:
210 * - In any of the running states, this method may block momentarily if
/hardware/interfaces/power/stats/1.0/
Dtypes.hal91 * PowerEntity. The state space, is the set of possible states that a given
98 /** List of states that the PowerEntity may reside in */
99 vec<PowerEntityStateInfo> states;
/hardware/google/pixel/powerstats/include/pixelpowerstats/
DDisplayStateResidencyDataProvider.h41 std::vector<std::string> states);
/hardware/interfaces/power/stats/aidl/vts/
DVtsHalPowerStatsTargetTest.cpp146 EXPECT_GT(entity.states.size(), 0); in TEST_P()
156 for (auto state : entity.states) { in TEST_P()
168 testUnique(entity.states, &State::name); in TEST_P()
178 testUnique(entity.states, &State::id); in TEST_P()
212 testMatching(entity.states, &State::id, it->stateResidencyData, &StateResidency::id); in TEST_P()
/hardware/interfaces/media/c2/1.2/
DIComponent.hal26 * Components have two states: stopped and running. The running state has three
27 * sub-states: executing, tripped and error.
/hardware/interfaces/power/1.0/vts/functional/
DVtsHalPowerV1_0TargetTest.cpp161 auto cb = [&vec, &s](hidl_vec<PowerStatePlatformSleepState> states, in TEST_P()
163 vec = states; in TEST_P()
/hardware/google/interfaces/media/c2/1.0/
DIComponent.hal28 * below. Components have two states: stopped and running. The running
29 * state has three sub-states: executing, tripped and error.
39 * This method must be supported in running (including tripped) states.
61 * This method must be supported in running (including tripped) states.
96 * This method must be supported in running (including tripped) states.
280 * This method must be supported in all (including tripped) states other

12