Home
last modified time | relevance | path

Searched refs:power (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/hardware/interfaces/power/1.0/vts/functional/
DVtsHalPowerV1_0TargetTest.cpp33 using ::android::hardware::power::V1_0::IPower;
34 using ::android::hardware::power::V1_0::Feature;
35 using ::android::hardware::power::V1_0::PowerHint;
36 using ::android::hardware::power::V1_0::PowerStatePlatformSleepState;
37 using ::android::hardware::power::V1_0::Status;
53 power = IPower::getService(GetParam()); in SetUp()
54 ASSERT_NE(power, nullptr); in SetUp()
59 sp<IPower> power; member in PowerHidlTest
66 ret = power->setInteractive(true); in TEST_P()
69 ret = power->setInteractive(false); in TEST_P()
[all …]
/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/5/android/hardware/power/
DIPower.aidl34 package android.hardware.power;
37 oneway void setMode(in android.hardware.power.Mode type, in boolean enabled); in setMode()
38 boolean isModeSupported(in android.hardware.power.Mode type); in isModeSupported()
39 oneway void setBoost(in android.hardware.power.Boost type, in int durationMs); in setBoost()
40 boolean isBoostSupported(in android.hardware.power.Boost type); in isBoostSupported()
41 …android.hardware.power.IPowerHintSession createHintSession(in int tgid, in int uid, in int[] threa… in createHintSession()
43power.IPowerHintSession createHintSessionWithConfig(in int tgid, in int uid, in int[] threadIds, i… in createHintSessionWithConfig()
44 android.hardware.power.ChannelConfig getSessionChannel(in int tgid, in int uid); in getSessionChannel()
DChannelMessage.aidl34 package android.hardware.power;
39 android.hardware.power.ChannelMessage.ChannelMessageContents data;
44 android.hardware.power.SessionHint hint;
45 android.hardware.power.ChannelMessage.ChannelMessageContents.SessionModeSetter mode;
46 android.hardware.power.WorkDurationFixedV1 workDuration;
49 android.hardware.power.SessionMode modeInt;
DIPowerHintSession.aidl34 package android.hardware.power;
38 oneway void reportActualWorkDuration(in android.hardware.power.WorkDuration[] durations); in reportActualWorkDuration()
42 oneway void sendHint(android.hardware.power.SessionHint hint); in sendHint()
44 oneway void setMode(android.hardware.power.SessionMode type, boolean enabled); in setMode()
45 android.hardware.power.SessionConfig getSessionConfig(); in getSessionConfig()
/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/
DIPower.aidl34 package android.hardware.power;
37 oneway void setMode(in android.hardware.power.Mode type, in boolean enabled); in setMode()
38 boolean isModeSupported(in android.hardware.power.Mode type); in isModeSupported()
39 oneway void setBoost(in android.hardware.power.Boost type, in int durationMs); in setBoost()
40 boolean isBoostSupported(in android.hardware.power.Boost type); in isBoostSupported()
41 …android.hardware.power.IPowerHintSession createHintSession(in int tgid, in int uid, in int[] threa… in createHintSession()
43power.IPowerHintSession createHintSessionWithConfig(in int tgid, in int uid, in int[] threadIds, i… in createHintSessionWithConfig()
44 android.hardware.power.ChannelConfig getSessionChannel(in int tgid, in int uid); in getSessionChannel()
DChannelMessage.aidl34 package android.hardware.power;
39 android.hardware.power.ChannelMessage.ChannelMessageContents data;
44 android.hardware.power.SessionHint hint;
45 android.hardware.power.ChannelMessage.ChannelMessageContents.SessionModeSetter mode;
46 android.hardware.power.WorkDurationFixedV1 workDuration;
49 android.hardware.power.SessionMode modeInt;
DIPowerHintSession.aidl34 package android.hardware.power;
38 oneway void reportActualWorkDuration(in android.hardware.power.WorkDuration[] durations); in reportActualWorkDuration()
42 oneway void sendHint(android.hardware.power.SessionHint hint); in sendHint()
44 oneway void setMode(android.hardware.power.SessionMode type, boolean enabled); in setMode()
45 android.hardware.power.SessionConfig getSessionConfig(); in getSessionConfig()
/hardware/interfaces/power/aidl/default/apex/
DAndroid.bp20 name: "com.android.hardware.power.rc-srcs",
22 ":android.hardware.power.rc",
23 ":android.hardware.power.stats.rc",
25 out: ["com.android.hardware.power.rc"],
26 cmd: "sed -E 's@/vendor/bin/@/apex/com.android.hardware.power/bin/@' $(in) > $(out)",
30 name: "com.android.hardware.power.rc",
31 src: ":com.android.hardware.power.rc-srcs",
36 name: "com.android.hardware.power",
46 "android.hardware.power-service.example",
47 "android.hardware.power.stats-service.example",
[all …]
/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()
/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()
/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()
/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/interfaces/power/1.1/vts/functional/
DVtsHalPowerV1_1TargetTest.cpp24 using ::android::hardware::power::V1_1::IPower;
25 using ::android::hardware::power::V1_1::PowerStateSubsystem;
26 using ::android::hardware::power::V1_0::Status;
27 using ::android::hardware::power::V1_0::PowerHint;
35 power = IPower::getService(GetParam()); in SetUp()
36 ASSERT_NE(power, nullptr); in SetUp()
41 sp<IPower> power; member in PowerHidlTest
54 Return<void> ret = power->getSubsystemLowPowerStats(cb); in TEST_P()
67 ret = power->powerHintAsync(hint, 30000); in TEST_P()
70 ret = power->powerHintAsync(hint, 0); in TEST_P()
[all …]
/hardware/interfaces/power/aidl/vts/
DVtsHalPowerTargetTest.cpp34 namespace aidl::android::hardware::power { namespace
40 using android::hardware::power::Boost;
41 using android::hardware::power::ChannelConfig;
42 using android::hardware::power::ChannelMessage;
43 using android::hardware::power::IPower;
44 using android::hardware::power::IPowerHintSession;
45 using android::hardware::power::Mode;
46 using android::hardware::power::SessionHint;
47 using android::hardware::power::SessionMode;
48 using android::hardware::power::WorkDuration;
[all …]
/hardware/interfaces/power/aidl/
DAndroid.bp25 name: "android.hardware.power",
28 "android/hardware/power/*.aidl",
79 name: "android.hardware.power-ndk_shared",
81 "android.hardware.power-V5-ndk",
86 name: "android.hardware.power-ndk_export_shared",
88 "android.hardware.power-V5-ndk",
91 "android.hardware.power-V5-ndk",
96 name: "android.hardware.power-ndk_static",
98 "android.hardware.power-V5-ndk",
103 name: "android.hardware.power-java_shared",
[all …]
/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/2/android/hardware/power/
DIPower.aidl34 package android.hardware.power;
37 oneway void setMode(in android.hardware.power.Mode type, in boolean enabled); in setMode()
38 boolean isModeSupported(in android.hardware.power.Mode type); in isModeSupported()
39 oneway void setBoost(in android.hardware.power.Boost type, in int durationMs); in setBoost()
40 boolean isBoostSupported(in android.hardware.power.Boost type); in isBoostSupported()
41 …android.hardware.power.IPowerHintSession createHintSession(in int tgid, in int uid, in int[] threa… in createHintSession()
/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/4/android/hardware/power/
DIPower.aidl34 package android.hardware.power;
37 oneway void setMode(in android.hardware.power.Mode type, in boolean enabled); in setMode()
38 boolean isModeSupported(in android.hardware.power.Mode type); in isModeSupported()
39 oneway void setBoost(in android.hardware.power.Boost type, in int durationMs); in setBoost()
40 boolean isBoostSupported(in android.hardware.power.Boost type); in isBoostSupported()
41 …android.hardware.power.IPowerHintSession createHintSession(in int tgid, in int uid, in int[] threa… in createHintSession()
/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/3/android/hardware/power/
DIPower.aidl34 package android.hardware.power;
37 oneway void setMode(in android.hardware.power.Mode type, in boolean enabled); in setMode()
38 boolean isModeSupported(in android.hardware.power.Mode type); in isModeSupported()
39 oneway void setBoost(in android.hardware.power.Boost type, in int durationMs); in setBoost()
40 boolean isBoostSupported(in android.hardware.power.Boost type); in isBoostSupported()
41 …android.hardware.power.IPowerHintSession createHintSession(in int tgid, in int uid, in int[] threa… in createHintSession()
/hardware/qcom/audio/hal/
Daudio_perf.cpp33 static android::sp<android::hardware::power::V1_2::IPower> gPowerHal_1_2_;
34 static std::shared_ptr<aidl::android::hardware::power::IPower> gPowerHal_Aidl_;
40 std::string(aidl::android::hardware::power::IPower::descriptor) + "/default";
61 android::hardware::power::V1_2::IPower::getService(); in connectPowerHalLocked()
77 gPowerHal_Aidl_ = aidl::android::hardware::power::IPower::fromBinder(pwBinder); in connectPowerHalLocked()
99 android::hardware::power::V1_2::PowerHint::AUDIO_STREAMING, in audio_streaming_hint_start()
112 aidl::android::hardware::power::Boost::AUDIO_LAUNCH, in audio_streaming_hint_start()
136 android::hardware::power::V1_2::PowerHint::AUDIO_STREAMING, in audio_streaming_hint_end()
149 aidl::android::hardware::power::Boost::AUDIO_LAUNCH, in audio_streaming_hint_end()
173 android::hardware::power::V1_2::PowerHint::AUDIO_LOW_LATENCY, in audio_low_latency_hint_start()
[all …]
/hardware/interfaces/power/1.2/vts/functional/
DVtsHalPowerV1_2TargetTest.cpp27 using ::android::hardware::power::V1_2::IPower;
28 using ::android::hardware::power::V1_2::PowerHint;
33 power = IPower::getService(GetParam()); in SetUp()
34 ASSERT_NE(power, nullptr); in SetUp()
37 sp<IPower> power; member in PowerHidlTest
52 ret = power->powerHintAsync_1_2(hint, 30000); in TEST_P()
55 ret = power->powerHintAsync_1_2(hint, 0); in TEST_P()
69 ret = power->powerHintAsync_1_2(*iter, 0); in TEST_P()
73 ret = power->powerHintAsync_1_2(*iter, 30000); in TEST_P()
/hardware/interfaces/power/aidl/android/hardware/power/
DIPower.aidl17 package android.hardware.power;
19 import android.hardware.power.Boost;
20 import android.hardware.power.ChannelConfig;
21 import android.hardware.power.IPowerHintSession;
22 import android.hardware.power.Mode;
23 import android.hardware.power.SessionConfig;
24 import android.hardware.power.SessionTag;
/hardware/interfaces/power/1.3/vts/functional/
DVtsHalPowerV1_3TargetTest.cpp27 using ::android::hardware::power::V1_3::IPower;
28 using ::android::hardware::power::V1_3::PowerHint;
33 power = IPower::getService(GetParam()); in SetUp()
34 ASSERT_NE(power, nullptr); in SetUp()
37 sp<IPower> power; member in PowerHidlTest
41 ASSERT_TRUE(power->powerHintAsync_1_3(PowerHint::EXPENSIVE_RENDERING, 0).isOk()); in TEST_P()
/hardware/interfaces/power/aidl/aidl_api/android.hardware.power/1/android/hardware/power/
DIPower.aidl18 package android.hardware.power;
21 oneway void setMode(in android.hardware.power.Mode type, in boolean enabled); in setMode()
22 boolean isModeSupported(in android.hardware.power.Mode type); in isModeSupported()
23 oneway void setBoost(in android.hardware.power.Boost type, in int durationMs); in setBoost()
24 boolean isBoostSupported(in android.hardware.power.Boost type); in isBoostSupported()
/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/google/pixel/power-libperfmgr/aidl/tests/mocks/
DMockPowerHintSession.h24 namespace aidl::google::hardware::power::mock::pixel {
36 (const std::vector<android::hardware::power::WorkDuration> &actualDurations));
37 MOCK_METHOD(ndk::ScopedAStatus, sendHint, (android::hardware::power::SessionHint hint));
39 (android::hardware::power::SessionMode mode, bool enabled));
42 (android::hardware::power::SessionConfig * _aidl_return));
44 MOCK_METHOD(bool, isModeSet, (android::hardware::power::SessionMode mode), (const));
46 MOCK_METHOD(android::hardware::power::SessionTag, getSessionTag, (), (const));

12345678910>>...22