/hardware/interfaces/power/aidl/default/apex/ |
D | Android.bp | 20 name: "com.android.hardware.power.key", 21 public_key: "com.android.hardware.power.avbpubkey", 22 private_key: "com.android.hardware.power.pem", 26 name: "com.android.hardware.power.certificate", 27 certificate: "com.android.hardware.power", 31 name: "com.android.hardware.power.rc-srcs", 33 ":android.hardware.power.rc", 34 ":android.hardware.power.stats.rc", 36 out: ["com.android.hardware.power.rc"], 37 cmd: "sed -E 's/\\/vendor/\\/apex\\/com.android.hardware.power/' $(in) > $(out)", [all …]
|
/hardware/interfaces/power/1.0/vts/functional/ |
D | VtsHalPowerV1_0TargetTest.cpp | 33 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/stats/aidl/aidl_api/android.hardware.power.stats/current/android/hardware/power/stats/ |
D | IPowerStats.aidl | 33 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/2/android/hardware/power/stats/ |
D | IPowerStats.aidl | 34 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/1/android/hardware/power/stats/ |
D | IPowerStats.aidl | 34 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/aidl/vts/ |
D | VtsHalPowerTargetTest.cpp | 29 namespace aidl::android::hardware::power { namespace 33 using android::hardware::power::Boost; 34 using android::hardware::power::IPower; 35 using android::hardware::power::IPowerHintSession; 36 using android::hardware::power::Mode; 37 using android::hardware::power::SessionHint; 38 using android::hardware::power::WorkDuration; 117 power = IPower::fromBinder(ndk::SpAIBinder(binder)); in SetUp() 123 std::shared_ptr<IPower> power; member in aidl::android::hardware::power::__anon407c013c0111::PowerAidl 129 ASSERT_TRUE(power->setMode(mode, true).isOk()); in TEST_P() [all …]
|
/hardware/interfaces/power/stats/aidl/android/hardware/power/stats/ |
D | IPowerStats.aidl | 17 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/aidl/aidl_api/android.hardware.power/current/android/hardware/power/ |
D | IPower.aidl | 34 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/ |
D | IPower.aidl | 34 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/ |
D | IPower.aidl | 34 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/2/android/hardware/power/ |
D | IPower.aidl | 34 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/1.1/vts/functional/ |
D | VtsHalPowerV1_1TargetTest.cpp | 24 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/1.3/vts/functional/ |
D | VtsHalPowerV1_3TargetTest.cpp | 27 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/ |
D | IPower.aidl | 18 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/interfaces/power/1.2/vts/functional/ |
D | VtsHalPowerV1_2TargetTest.cpp | 27 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/qcom/audio/hal/ |
D | audio_perf.cpp | 33 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/google/pixel/powerstats/ |
D | Android.bp | 25 "android.hardware.power@1.1", 26 "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",
|
/hardware/google/pixel/power-libperfmgr/ |
D | Android.bp | 24 "disp-power/DisplayLowPower.cpp", 25 "disp-power/InteractionHandler.cpp", 37 // Use pixel-power-ext for vendor extension 45 name: "android.hardware.power-service.pixel-libperfmgr", 47 init_rc: ["aidl/android.hardware.power-service.pixel-libperfmgr.rc"], 48 vintf_fragments: ["aidl/android.hardware.power-service.pixel.xml"], 51 "android.hardware.power-V4-ndk", 60 "pixel-power-ext-V1-ndk", 76 "android.hardware.power-V3-ndk", 82 "pixel-power-ext-V1-ndk",
|
/hardware/interfaces/power/1.0/default/ |
D | Power.h | 26 namespace power { 30 using ::android::hardware::power::V1_0::Feature; 31 using ::android::hardware::power::V1_0::IPower; 32 using ::android::hardware::power::V1_0::PowerHint; 33 using ::android::hardware::power::V1_0::PowerStatePlatformSleepState; 34 using ::android::hardware::power::V1_0::Status;
|
D | android.hardware.power@1.0-service.rc | 1 service vendor.power-hal-1-0 /vendor/bin/hw/android.hardware.power@1.0-service 2 interface android.hardware.power@1.0::IPower default
|
/hardware/google/pixel/powerstats/include/pixelpowerstats/ |
D | PowerStats.h | 38 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/ |
D | PowerStats.h | 28 namespace power { 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;
|
/hardware/interfaces/power/aidl/default/ |
D | Android.bp | 25 name: "android.hardware.power-service.example", 27 init_rc: [":android.hardware.power.rc"], 28 vintf_fragments: [":android.hardware.power.xml"], 33 "android.hardware.power-V4-ndk", 43 name: "android.hardware.power.xml", 44 srcs: ["power-default.xml"], 48 name: "android.hardware.power.rc", 49 srcs: ["power-default.rc"],
|
/hardware/interfaces/power/stats/aidl/default/ |
D | Android.bp | 25 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 srcs: ["power.stats-default.xml"], 47 name: "android.hardware.power.stats.rc", 48 srcs: ["power.stats-default.rc"],
|
/hardware/interfaces/power/aidl/android/hardware/power/ |
D | IPower.aidl | 17 package android.hardware.power; 19 import android.hardware.power.Boost; 20 import android.hardware.power.IPowerHintSession; 21 import android.hardware.power.Mode;
|