Home
last modified time | relevance | path

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

12345678910

/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;
63 power = ::testing::VtsHalHidlTargetTestBase::getService<IPower>( in SetUp()
65 ASSERT_NE(power, nullptr); in SetUp()
70 sp<IPower> power; member in PowerHidlTest
77 ret = power->setInteractive(true); in TEST_F()
80 ret = power->setInteractive(false); in TEST_F()
[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
5 interface android.hardware.power@1.0::IPower default
6 interface android.hardware.power@1.1::IPower default
7 interface android.hardware.power@1.2::IPower default
8 interface android.hardware.power@1.3::IPower default
15 restart vendor.power-hal-1-3
20 restart vendor.power-hal-1-3
25 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"],
40 "android.hardware.power@1.0",
41 "android.hardware.power@1.1",
42 "android.hardware.power@1.2",
43 "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;
DPower.cpp37 namespace power { namespace
44 using ::android::hardware::power::V1_0::Feature;
45 using ::android::hardware::power::V1_0::Status;
131 ATRACE_INT(android::hardware::power::V1_0::toString(hint).c_str(), data); in powerHint()
133 android::hardware::power::V1_0::toString(hint).c_str(), static_cast<int>(data)); in powerHint()
234 ATRACE_INT(android::hardware::power::V1_2::toString(hint).c_str(), data); in powerHintAsync_1_2()
236 android::hardware::power::V1_2::toString(hint).c_str(), static_cast<int>(data)); in powerHintAsync_1_2()
332 ATRACE_INT(android::hardware::power::V1_3::toString(hint).c_str(), data); in powerHintAsync_1_3()
/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;
47 power = ::testing::VtsHalHidlTargetTestBase::getService<IPower>( in SetUp()
49 ASSERT_NE(power, nullptr); in SetUp()
54 sp<IPower> power; member in PowerHidlTest
67 Return<void> ret = power->getSubsystemLowPowerStats(cb); in TEST_F()
80 ret = power->powerHintAsync(hint, 30000); in TEST_F()
83 ret = power->powerHintAsync(hint, 0); in TEST_F()
[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;
45 power = ::testing::VtsHalHidlTargetTestBase::getService<IPower>( in SetUp()
47 ASSERT_NE(power, nullptr); in SetUp()
50 sp<IPower> power; member in PowerHidlTest
65 ret = power->powerHintAsync_1_2(hint, 30000); in TEST_F()
68 ret = power->powerHintAsync_1_2(hint, 0); in TEST_F()
82 ret = power->powerHintAsync_1_2(*iter, 0); in TEST_F()
86 ret = power->powerHintAsync_1_2(*iter, 30000); in TEST_F()
DAndroid.bp22 "android.hardware.power@1.0",
23 "android.hardware.power@1.1",
24 "android.hardware.power@1.2",
/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;
45 power = ::testing::VtsHalHidlTargetTestBase::getService<IPower>( in SetUp()
47 ASSERT_NE(power, nullptr); in SetUp()
50 sp<IPower> power; member in PowerHidlTest
54 ASSERT_TRUE(power->powerHintAsync_1_3(PowerHint::EXPENSIVE_RENDERING, 0).isOk()); in TEST_F()
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/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"],
31 "android.hardware.power.stats@1.0",
34 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.bp16 name: "android.hardware.power@1.0-impl",
33 "android.hardware.power@1.0",
42 name: "android.hardware.power@1.0-service",
43 init_rc: ["android.hardware.power@1.0-service.rc"],
58 "android.hardware.power@1.0",
Dandroid.hardware.power@1.0-service.rc1 service vendor.power-hal-1-0 /vendor/bin/hw/android.hardware.power@1.0-service
/hardware/interfaces/power/1.3/
DAndroid.bp4 name: "android.hardware.power@1.3",
14 "android.hardware.power@1.0",
15 "android.hardware.power@1.1",
16 "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",
14 "android.hardware.power@1.0",
15 "android.hardware.power@1.1",
/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/1.1/
DIPower.hal16 package android.hardware.power@1.1;
18 import android.hardware.power@1.0;
23 interface IPower extends android.hardware.power@1.0::IPower {
38 * powerHintAsync() is called to pass hints on power requirements which
39 * may result in adjustment of power/performance parameters of the
/hardware/interfaces/usb/1.0/
Dtypes.hal51 * Denotes the power role of the port.
52 * The port can either be a "source" or "sink" for power.
91 * Indicates that the port does not have a power role.
92 * In case of DRP, the current power role of the port is only resolved
98 * Indicates that the port is supplying power to the other port.
103 * Indicates that the port is sinking power from the other port.
119 * Indicates that port can only act as device for data and sink for power.
124 * Indicates the port can only act as host for data and source for power.
196 * True indicates that the port's power role
207 * data and sink for power.
[all …]
/hardware/invensense/6515/libsensors_iio/
DCompassSensor.IIO.9150.cpp300 list->power = COMPASS_MPU9150_POWER; in fillList()
310 list->power = COMPASS_AKM8975_POWER; in fillList()
320 list->power = COMPASS_AKM8963_POWER; in fillList()
330 list->power = COMPASS_AKM9911_POWER; in fillList()
340 list->power = COMPASS_AKM9912_POWER; in fillList()
349 list->power = COMPASS_MPU9350_POWER; in fillList()
356 list->power = COMPASS_YAS53x_POWER; in fillList()
363 list->power = COMPASS_AMI306_POWER; in fillList()
373 list->power = COMPASS_AKM8975_POWER; in fillList()

12345678910