Home
last modified time | relevance | path

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

1234567

/system/core/fs_mgr/libstorage_literals/storage_literals/
Dstorage_literals.h25 static constexpr size_t power = Power; member
28 constexpr uint64_t bytes() const { return value_ << power; } in bytes()
59 if (Src::power < Dest::power) { in size_cast()
60 return Dest(src.count() >> (Dest::power - Src::power)); in size_cast()
62 if (Src::power > Dest::power) { in size_cast()
63 return Dest(src.count() << (Src::power - Dest::power)); in size_cast()
/system/media/audio_utils/tests/
Dpower_tests.cpp30 const float power = audio_utils_power_from_amplitude(f_value); in testFloatValue() local
72 EXPECT_EQ(power, in testFloatValue()
74 EXPECT_EQ(power, in testFloatValue()
76 EXPECT_EQ(power, in testFloatValue()
78 EXPECT_EQ(power, in testFloatValue()
80 EXPECT_EQ(power, in testFloatValue()
83 EXPECT_EQ(power, in testFloatValue()
149 const float power = audio_utils_power_from_amplitude(f_value); in TEST() local
150 printf("power_mono: amplitude: %f power: %f\n", f_value, power); in TEST()
/system/extras/tests/workloads/
Dpwrsummary.sh149 powerfile=${workload}-power.out
167 power=$(echo $2 $baselinePower | awk '{ printf "%.2f", $1-$2; }')
194 …perfPerWatt=$(echo $aveperf $power | awk '{ if ($2) { val=$1*1000/$2; printf "%.3f\n", val; } else…
196 …,%s,%f,%f,%f,%f,%f,%f," $testdir "$build" $minperf $aveperf $maxperf $current $baselinePower $power
199 … %12.2f %12.2f %12.2f " $testdir "$build" $minperf $aveperf $maxperf $current $baselinePower $power
Dpwrtest.sh158 collectOutput=${testName}-power-raw.out
159 powerOutput=${testName}-power.out
178 echo power data for $testName copied to $collectOutput
262 echo Test 1 : measure idle power for $idleTime minutes
265 echo Restarting for power baseline in airplane mode...
/system/libsysprop/srcs/android/sysprop/
DPowerProperties.sysprop19 # power mode as described in the Power HAL AIDL description
25 prop_name: "ro.power.fixed_performance_scale_factor"
29 # the device will drain battery even when connected to a power source.
35 prop_name: "power.battery_input.suspended"
/system/bt/doc/
Dpower_management.md27 The PM code makes calls into the BTM module to set various power
35 Overall power states are managed *per device*, not per connection, but the power
36 policy is determined by the greatest allowable power action defined across all
40 states it wants ACTIVE, the power management code will change to ACTIVE.
44 The tables that determine which power levels are acceptable for which profiles
52 power modes are acceptable and what actions to take for each event.
63 from `bta_dm_conn_srvcs` and no longer be considered for power management
71 - `BTA_DM_PM_ACTIVE` is full-on power.
73 timeout is possible to be set, which effectively allows a power operation to
79 `bta_dm_pm_cback` with the bta sys module for incoming power management events,
[all …]
/system/bt/service/
Dlow_energy_advertiser.cc69 int8_t power; in GetAdvertisingTxPower() local
73 power = -21; in GetAdvertisingTxPower()
76 power = -15; in GetAdvertisingTxPower()
79 power = -7; in GetAdvertisingTxPower()
84 power = 1; in GetAdvertisingTxPower()
88 return power; in GetAdvertisingTxPower()
/system/sepolicy/prebuilts/api/29.0/private/
Dsystem_suspend.te10 # Access to /sys/power/{ wakeup_count, state } suspend interface.
14 # Access to /sys/power/{ wake_lock, wake_unlock } suspend blocker interface.
Dgenfs_contexts116 genfscon sysfs /devices/platform/nfc-power/nfc_power u:object_r:sysfs_nfc_power_writable:s0
131 genfscon sysfs /power/autosleep u:object_r:sysfs_power:s0
132 genfscon sysfs /power/state u:object_r:sysfs_power:s0
133 genfscon sysfs /power/wakeup_count u:object_r:sysfs_power:s0
134 genfscon sysfs /power/wake_lock u:object_r:sysfs_wake_lock:s0
135 genfscon sysfs /power/wake_unlock u:object_r:sysfs_wake_lock:s0
211 genfscon tracefs /events/power/cpu_frequency/ u:object_r:debugfs_tracing…
212 genfscon tracefs /events/power/cpu_idle/ u:object_r:debugfs_tracing…
213 genfscon tracefs /events/power/clock_set_rate/ u:object_r:debugfs_tracing…
214 genfscon tracefs /events/power/cpu_frequency_limits/ u:object_r:debugfs_tracing…
[all …]
/system/media/audio_utils/
DPowerLog.cpp219 const float power = in dumpToString() local
221 ss << std::setw(6) << power; in dumpToString()
222 ALOGV("state: %d %lld %f", state, (long long)time, power); in dumpToString()
225 plotEntries.emplace_back(power, false); in dumpToString()
/system/sepolicy/prebuilts/api/31.0/private/
Dgenfs_contexts130 genfscon sysfs /devices/platform/nfc-power/nfc_power u:object_r:sysfs_nfc_power_writable:s0
148 genfscon sysfs /power/autosleep u:object_r:sysfs_power:s0
149 genfscon sysfs /power/state u:object_r:sysfs_power:s0
150 genfscon sysfs /power/suspend_stats u:object_r:sysfs_suspend_stats:s0
151 genfscon sysfs /power/wakeup_count u:object_r:sysfs_power:s0
152 genfscon sysfs /power/wake_lock u:object_r:sysfs_wake_lock:s0
153 genfscon sysfs /power/wake_unlock u:object_r:sysfs_wake_lock:s0
246 genfscon tracefs /events/power/cpu_frequency/ u:object_r:debugfs_tracing…
247 genfscon tracefs /events/power/cpu_idle/ u:object_r:debugfs_tracing…
248 genfscon tracefs /events/power/clock_enable/ u:object_r:debugfs_tracing…
[all …]
/system/sepolicy/private/
Dgenfs_contexts130 genfscon sysfs /devices/platform/nfc-power/nfc_power u:object_r:sysfs_nfc_power_writable:s0
148 genfscon sysfs /power/autosleep u:object_r:sysfs_power:s0
149 genfscon sysfs /power/state u:object_r:sysfs_power:s0
150 genfscon sysfs /power/suspend_stats u:object_r:sysfs_suspend_stats:s0
151 genfscon sysfs /power/wakeup_count u:object_r:sysfs_power:s0
152 genfscon sysfs /power/wake_lock u:object_r:sysfs_wake_lock:s0
153 genfscon sysfs /power/wake_unlock u:object_r:sysfs_wake_lock:s0
246 genfscon tracefs /events/power/cpu_frequency/ u:object_r:debugfs_tracing…
247 genfscon tracefs /events/power/cpu_idle/ u:object_r:debugfs_tracing…
248 genfscon tracefs /events/power/clock_enable/ u:object_r:debugfs_tracing…
[all …]
/system/sepolicy/prebuilts/api/30.0/private/
Dgenfs_contexts121 genfscon sysfs /devices/platform/nfc-power/nfc_power u:object_r:sysfs_nfc_power_writable:s0
137 genfscon sysfs /power/autosleep u:object_r:sysfs_power:s0
138 genfscon sysfs /power/state u:object_r:sysfs_power:s0
139 genfscon sysfs /power/suspend_stats u:object_r:sysfs_suspend_stats:s0
140 genfscon sysfs /power/wakeup_count u:object_r:sysfs_power:s0
141 genfscon sysfs /power/wake_lock u:object_r:sysfs_wake_lock:s0
142 genfscon sysfs /power/wake_unlock u:object_r:sysfs_wake_lock:s0
221 genfscon tracefs /events/power/cpu_frequency/ u:object_r:debugfs_tracing…
222 genfscon tracefs /events/power/cpu_idle/ u:object_r:debugfs_tracing…
223 genfscon tracefs /events/power/clock_set_rate/ u:object_r:debugfs_tracing…
[all …]
Dsystem_suspend.te10 # Access to /sys/power/{ wakeup_count, state } suspend interface.
/system/sepolicy/prebuilts/api/28.0/private/
Dgenfs_contexts101 genfscon sysfs /devices/platform/nfc-power/nfc_power u:object_r:sysfs_nfc_power_writable:s0
112 genfscon sysfs /power/autosleep u:object_r:sysfs_power:s0
113 genfscon sysfs /power/state u:object_r:sysfs_power:s0
114 genfscon sysfs /power/wakeup_count u:object_r:sysfs_power:s0
115 genfscon sysfs /power/wake_lock u:object_r:sysfs_wake_lock:s0
116 genfscon sysfs /power/wake_unlock u:object_r:sysfs_wake_lock:s0
186 genfscon tracefs /events/power/cpu_frequency/ u:object_r:debugfs_tracing…
187 genfscon tracefs /events/power/cpu_idle/ u:object_r:debugfs_tracing…
188 genfscon tracefs /events/power/clock_set_rate/ u:object_r:debugfs_tracing…
189 genfscon tracefs /events/power/cpu_frequency_limits/ u:object_r:debugfs_tracing…
[all …]
/system/linkerconfig/testdata/root/system/apex/com.android.vndk.vR/etc/
Dvndkcore.libraries.R.txt104 android.hardware.power-V1-ndk_platform.so
105 android.hardware.power.stats@1.0.so
106 android.hardware.power@1.0.so
107 android.hardware.power@1.1.so
108 android.hardware.power@1.2.so
109 android.hardware.power@1.3.so
/system/chre/doc/
Dnanoapp_overview.md11 low-power hardware. Typically, nanoapps integrate with a component on the
14 as the nanoapp’s “client”. Since nanoapps are not limited to the same power
34 used to power APIs available for use by any Android app.
120 example low-power tightly coupled memory (TCM, usually SRAM), versus a
121 higher-power but higher-capacity memory bank (such as DRAM). This distinction is
179 hardware that directly measures the power usage of the system and/or its
184 5 seconds - the power monitoring equipment can then be used to determine the
185 power cost of performing a WiFi scan from CHRE. Typically this is done after
188 get a clean power trace of purely the functionality exercised by the
/system/core/rootdir/
Dinit.zygote32.rc9 onrestart write /sys/power/state on
Dinit.zygote64.rc9 onrestart write /sys/power/state on
/system/unwinding/libunwindstack/tests/files/
Dboot_arm.oat.gnu_debugdata.txt6 …z --block-size=100000 --stdout boot_arm.oat.gnu_debugdata > boot_arm.oat.gnu_debugdata.xz.non-power
/system/chre/apps/power_test/common/idl/
DREADME.md2 between the power test nanoapp and the host (applications processor) test code.
/system/teeui/test/example_config/
DREADME65 …"native-test-flag": "--powerButtonTop=<distance from the top of the power button to the top of the…
68 …"native-test-flag": "--powerButtonBottom=<distance from the bottom of the power button to the top …
74 …"native-test-flag": "--volUpButtonBottom=<distance from the bottom of the UP power button to the t…
/system/sepolicy/prebuilts/api/31.0/public/
Dhal_bluetooth.te9 # The HAL toggles rfkill to power the chip off/on.
/system/sepolicy/prebuilts/api/27.0/public/
Dhal_bluetooth.te10 # The HAL toggles rfkill to power the chip off/on.
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_bluetooth.te9 # The HAL toggles rfkill to power the chip off/on.

1234567