Home
last modified time | relevance | path

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

1234567891011

/hardware/interfaces/power/aidl/vts/
DVtsHalPowerTargetTest.cpp33 using android::hardware::power::Boost;
34 using android::hardware::power::IPower;
35 using android::hardware::power::Mode;
56 power = android::waitForDeclaredService<IPower>(String16(GetParam().c_str())); in SetUp()
57 ASSERT_NE(power, nullptr); in SetUp()
60 sp<IPower> power; member in PowerAidl
65 ASSERT_TRUE(power->setMode(mode, true).isOk()); in TEST_P()
66 ASSERT_TRUE(power->setMode(mode, false).isOk()); in TEST_P()
69 ASSERT_TRUE(power->setMode(mode, true).isOk()); in TEST_P()
70 ASSERT_TRUE(power->setMode(mode, false).isOk()); in TEST_P()
[all …]
/hardware/interfaces/power/1.0/vts/functional/
DVtsHalPowerV1_0TargetTest.cpp31 using ::android::hardware::power::V1_0::IPower;
32 using ::android::hardware::power::V1_0::Feature;
33 using ::android::hardware::power::V1_0::PowerHint;
34 using ::android::hardware::power::V1_0::PowerStatePlatformSleepState;
35 using ::android::hardware::power::V1_0::Status;
51 power = IPower::getService(GetParam()); in SetUp()
52 ASSERT_NE(power, nullptr); in SetUp()
57 sp<IPower> power; member in PowerHidlTest
64 ret = power->setInteractive(true); in TEST_P()
67 ret = power->setInteractive(false); in TEST_P()
[all …]
/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/google/pixel/power-libperfmgr/
Dandroid.hardware.power@1.3-service.pixel-libperfmgr.rc1 service vendor.power-hal-1-3 /vendor/bin/hw/android.hardware.power@1.3-service.pixel-libperfmgr
6 interface android.hardware.power@1.0::IPower default
7 interface android.hardware.power@1.1::IPower default
8 interface android.hardware.power@1.2::IPower default
9 interface android.hardware.power@1.3::IPower default
16 restart vendor.power-hal-1-3
21 restart vendor.power-hal-1-3
26 restart vendor.power-hal-1-3
DAndroid.bp23 name: "android.hardware.power@1.3-service.pixel-libperfmgr",
25 vintf_fragments: ["android.hardware.power@1.3-service.pixel.xml"],
26 init_rc: ["android.hardware.power@1.3-service.pixel-libperfmgr.rc"],
39 "android.hardware.power@1.0",
40 "android.hardware.power@1.1",
41 "android.hardware.power@1.2",
42 "android.hardware.power@1.3",
DPower.h34 namespace power {
41 using ::android::hardware::power::V1_0::Feature;
42 using ::android::hardware::power::V1_3::IPower;
43 using PowerHint_1_0 = ::android::hardware::power::V1_0::PowerHint;
44 using PowerHint_1_2 = ::android::hardware::power::V1_2::PowerHint;
45 using PowerHint_1_3 = ::android::hardware::power::V1_3::PowerHint;
/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/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()
DAndroid.bp22 "android.hardware.power@1.0",
23 "android.hardware.power@1.1",
24 "android.hardware.power@1.2",
25 "android.hardware.power@1.3",
/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/interfaces/power/aidl/aidl_api/android.hardware.power/current/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/interfaces/power/stats/1.0/default/
DPowerStats.h28 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;
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
DAndroid.bp15 name: "android.hardware.power.stats@1.0-service.mock",
17 init_rc: ["android.hardware.power.stats@1.0-service.rc"],
30 "android.hardware.power.stats@1.0",
33 vintf_fragments: ["android.hardware.power.stats@1.0-service-mock.xml"],
/hardware/interfaces/power/1.0/default/
DPower.h26 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;
Dandroid.hardware.power@1.0-service.rc1 service vendor.power-hal-1-0 /vendor/bin/hw/android.hardware.power@1.0-service
2 interface android.hardware.power@1.0::IPower default
DAndroid.bp16 name: "android.hardware.power@1.0-impl",
32 "android.hardware.power@1.0",
41 name: "android.hardware.power@1.0-service",
42 init_rc: ["android.hardware.power@1.0-service.rc"],
56 "android.hardware.power@1.0",
/hardware/interfaces/power/1.3/
DAndroid.bp4 name: "android.hardware.power@1.3",
11 "android.hardware.power@1.0",
12 "android.hardware.power@1.1",
13 "android.hardware.power@1.2",
/hardware/interfaces/power/1.0/
DIPower.hal16 package android.hardware.power@1.0;
19 * Constructor for the interface performs power management setup actions at
24 * setInteractive() performs power management actions upon the
30 * inactivity in order to conserve battery power during
36 * system to low-power sleep state when entering non-interactive
37 * state, and to disallow low-power suspend when the system is in
38 * interactive state. When low-power suspend state is allowed, the
53 * powerHint() is called to pass hints on power requirements which
54 * may result in adjustment of power/performance parameters of the
80 * i.e. lesser steady-state power is consumed by the platform to be
[all …]
/hardware/interfaces/power/1.2/
DAndroid.bp4 name: "android.hardware.power@1.2",
11 "android.hardware.power@1.0",
12 "android.hardware.power@1.1",
/hardware/interfaces/power/aidl/android/hardware/power/
DIPower.aidl17 package android.hardware.power;
19 import android.hardware.power.Boost;
20 import android.hardware.power.Mode;
/hardware/interfaces/wifi/1.1/
DIWifiChip.hal47 * List of preset wifi radio TX power levels for different scenarios.
48 * The actual power values (typically varies based on the channel,
58 * API to select one of the preset TX power scenarios.
61 * the wifi chip change it's transmitting power levels.
62 * OEM's should define various power profiles for each of the scenarios
78 * API to reset TX power levels.
79 * This is used to indicate the end of the previously selected TX power
80 * scenario and let the wifi chip fall back to the default power values.
/hardware/interfaces/power/aidl/default/
DAndroid.bp16 name: "android.hardware.power-service.example",
18 init_rc: ["power-default.rc"],
19 vintf_fragments: ["power-default.xml"],
24 "android.hardware.power-ndk_platform",

1234567891011