| /system/extras/tests/workloads/ |
| D | pwrtest.sh | 5 # - device connected to monsoon with USB passthrough enabled 6 # - network enabled (baseline will be measured and subtracted 8 # - the device is rebooted after each test (can be inhibited 9 # with "-r 0") 12 # 30 minutes gathering both performance and power data. 14 # The default time can be overridden with the -t option. To 16 # via -f with times for individual tests. Example file contents: 29 # - Run all tests for 15 minutes (default is 30): ./pwrtest.sh -t 15 -R MDA20 31 # - Use a config file for test times: ./pwrtest.sh -f ./myconfig -R MDA20 33 # - Use a init file to setup device tuneables after each restart (this is [all …]
|
| /system/chre/core/ |
| D | sensor_type.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 case SensorMode::Off: in getSensorModeName() 26 return "Off"; in getSensorModeName() 44 return SensorMode::Off; in getSensorModeFromEnum() 54 // Default to off since it is the least harmful and has no power impact. in getSensorModeFromEnum() 55 return SensorMode::Off; in getSensorModeFromEnum() 62 case SensorMode::Off: in getConfigureModeFromSensorMode() 73 // Default to off since it is the least harmful and has no power impact. in getConfigureModeFromSensorMode()
|
| /system/core/rootdir/ |
| D | init.zygote32.rc | 1 service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server 3 priority -20 8 onrestart exec_background - system system -- /system/bin/vdc volume abort_fuse 9 onrestart write /sys/power/state on 12 onrestart write /sys/power/wake_lock zygote_kwl 16 onrestart restart --only-if-running media.tuner 20 critical window=${zygote.critical_window.minute:-off} target=zygote-fatal
|
| D | init.zygote64.rc | 1 service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --sock… 3 priority -20 8 onrestart exec_background - system system -- /system/bin/vdc volume abort_fuse 9 onrestart write /sys/power/state on 12 onrestart write /sys/power/wake_lock zygote_kwl 16 onrestart restart --only-if-running media.tuner 20 critical window=${zygote.critical_window.minute:-off} target=zygote-fatal
|
| /system/sepolicy/prebuilts/api/31.0/public/ |
| D | hal_bluetooth.te | 9 # The HAL toggles rfkill to power the chip off/on. 22 # Allow write access to bluetooth-specific properties 31 # allow to run with real-time scheduling policy
|
| /system/sepolicy/prebuilts/api/29.0/public/ |
| D | hal_bluetooth.te | 9 # The HAL toggles rfkill to power the chip off/on. 22 # Allow write access to bluetooth-specific properties 31 # allow to run with real-time scheduling policy
|
| D | perfprofd.te | 1 # perfprofd - perf profile collection daemon 13 # perfprofd needs to control CPU hot-plug in order to avoid kernel 14 # perfevents problems in cases where CPU goes on/off during measurement; 36 # perfprofd inspects /sys/power/wake_unlock
|
| /system/sepolicy/prebuilts/api/33.0/public/ |
| D | hal_bluetooth.te | 9 # The HAL toggles rfkill to power the chip off/on. 22 # Allow write access to bluetooth-specific properties 31 # allow to run with real-time scheduling policy
|
| /system/sepolicy/prebuilts/api/32.0/public/ |
| D | hal_bluetooth.te | 9 # The HAL toggles rfkill to power the chip off/on. 22 # Allow write access to bluetooth-specific properties 31 # allow to run with real-time scheduling policy
|
| /system/sepolicy/prebuilts/api/30.0/public/ |
| D | hal_bluetooth.te | 9 # The HAL toggles rfkill to power the chip off/on. 22 # Allow write access to bluetooth-specific properties 31 # allow to run with real-time scheduling policy
|
| /system/sepolicy/prebuilts/api/202404/public/ |
| D | hal_bluetooth.te | 11 # The HAL toggles rfkill to power the chip off/on. 24 # Allow write access to bluetooth-specific properties 33 # allow to run with real-time scheduling policy
|
| /system/sepolicy/prebuilts/api/34.0/public/ |
| D | hal_bluetooth.te | 11 # The HAL toggles rfkill to power the chip off/on. 24 # Allow write access to bluetooth-specific properties 33 # allow to run with real-time scheduling policy
|
| /system/sepolicy/private/ |
| D | hal_bluetooth.te | 11 # The HAL toggles rfkill to power the chip off/on. 24 # Allow write access to bluetooth-specific properties 34 # allow to run with real-time scheduling policy
|
| /system/sepolicy/prebuilts/api/202504/private/ |
| D | hal_bluetooth.te | 11 # The HAL toggles rfkill to power the chip off/on. 24 # Allow write access to bluetooth-specific properties 34 # allow to run with real-time scheduling policy
|
| D | gmscore_app.te | 44 # suppress denials for non-API accesses. 73 # Allow loading executable code from writable priv-app home 159 neverallow { domain -init -dumpstate -vendor_init -gmscore_app } quick_start_prop:file no_rw_file_p… 161 # Allow GmsCore to read Bluetotoh Power Off Finder property 164 # Do not allow getting permission-protected network information from sysfs.
|
| /system/media/audio_utils/tests/ |
| D | channelmix_tests.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 160 size_t frames = 100; // set to an even number (2, 4, 6 ... ) stream alternates +1, -1. in testBalance() 170 int outIndexToOffset[32] = {[0 ... 31] = -1}; in testBalance() 196 // Generate a +0.5, -0.5 alternating stream in one channel, which has variance 0.25f in testBalance() 200 *indata++ = (k == i) ? (j & 1 ? -0.5f : 0.5f) : 0; in testBalance() 204 // Add an offset to the output data - this is ignored if replace instead of accumulate. in testBalance() 205 // This must not cause the output to exceed [-1.f, 1.f] otherwise clamping will occur. in testBalance() 214 remix->process(input.data(), output.data(), frames, accumulate, inputChannelMask); in testBalance() 221 *outdata++ -= 0.5f; in testBalance() 235 // printf("power: %s %s\n", stats[0].toString().c_str(), stats[1].toString().c_str()); in testBalance() [all …]
|
| /system/core/libsuspend/include/suspend/ |
| D | autosuspend.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 33 * Returns 0 on success, -1 if autosuspend was not enabled. 40 * Turn off autosuspend in the kernel, preventing suspend and synchronizing 41 * with any in-progress resume. 43 * Returns 0 on success, -1 if autosuspend was not disabled. 51 * When timeout expires, suspend will be forced via mem --> /sys/power/state. timeout_ms of 0 54 * Returns 0 if system suspended, -1 if suspend did not occur.
|
| /system/chre/doc/ |
| D | nanoapp_overview.md | 11 low-power hardware. Typically, nanoapps integrate with a component on the 12 Android side, such as a privileged APK, in order to provide complete end-to-end 13 functionality of the target feature. This Android-side component is referred to 14 as the nanoapp’s “client”. Since nanoapps are not limited to the same power 16 much more frequently while the device’s screen is off. 20 is *code compatible* across devices - its source code does not need to be 31 hold a special privileged/same-signature permission (`ACCESS_CONTEXT_HUB`) to be 33 does not mean that third-party APKs cannot benefit from CHRE - nanoapps can be 34 used to power APIs available for use by any Android app. 50 can be useful during CHRE development and bring-up of new devices, especially [all …]
|
| /system/cros-codecs/ci/ |
| D | template.yaml | 4 job_name: Test cros-codecs on {{ arch }} 11 power-off: 20 - deploy: 21 namespace: cros-codecs 23 …romeos.kernelci.org/images/kernel/cros---chromeos-6.1-x86_64-chromiumos-x86_64.flavour.config+x86-… 26 …romeos.kernelci.org/images/kernel/cros---chromeos-6.1-x86_64-chromiumos-x86_64.flavour.config+x86-… 29 …url: https://storage.kernelci.org/images/rootfs/debian/bullseye-gst-fluster/20231117.0/amd64/full.… 33 …url: https://storage.kernelci.org/images/rootfs/debian/bullseye-gst-fluster/20231117.0/amd64/initr… 37 - boot: 40 namespace: cros-codecs [all …]
|
| /system/chre/util/include/chre/util/nanoapp/ |
| D | app_id.h | 9 * http://www.apache.org/licenses/LICENSE-2.0 43 * @param appNumber Value with vendor-scoped app number in the least significant 53 * @return App ID combining the given 3-byte app number and the example 5-byte 61 * @return App ID combining the given 3-byte app number and Google's 5-byte 68 // clang-format off 84 // 16 = Power Test TCM 88 // clang-format on
|
| /system/chre/chre_api/legacy/v1_0/chre/ |
| D | sensor.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 41 * Unless otherwise noted, each of these sensor types is based off of a 69 * This is a one-shot sensor. 82 * This is a one-shot sensor. 127 * This is an on-change sensor. 157 * Since this is a one-shot sensor, after this event is delivered to the 167 * Since this is a one-shot sensor, after this event is delivered to the 192 * All values are in micro-Tesla (uT) and measure the geomagnetic 224 * As an on-change sensor, there is an event generated upon configuring 270 * All values are in micro-Tesla (uT) and measure the geomagnetic [all …]
|
| /system/libziparchive/ |
| D | zip_cd_entry_map.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 #include <android-base/logging.h> 32 * Round up to the next highest power of 2. 39 val--; in RoundUpPower2() 85 * ZipStringOffset20 stores 20-bit for offset from a fixed location in the memory 86 * mapped file instead of the entire address, with 12-bit for filename length (i.e. 90 static constexpr size_t offset_max = (1u << 20) - 1; 91 static constexpr size_t length_max = (1u << 12) - 1; 122 * low as 50% after we round off to a power of 2. There must be at in CdEntryMapZip32() 135 // fixed-size hash table. We define a load factor of 0.75 and over
|
| /system/chre/chre_api/legacy/v1_1/chre/ |
| D | sensor.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 41 * Unless otherwise noted, each of these sensor types is based off of a 70 * This is a one-shot sensor. 83 * This is a one-shot sensor. 141 * This is an on-change sensor. 150 * This is an on-change sensor. 211 * Since this is a one-shot sensor, after this event is delivered to the 221 * Since this is a one-shot sensor, after this event is delivered to the 246 * All values are in micro-Tesla (uT) and measure the geomagnetic 278 * As an on-change sensor, there can be an event generated upon configuring [all …]
|
| /system/chre/chre_api/legacy/v1_2/chre/ |
| D | sensor.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 66 * Since this is a one-shot sensor, after this event is delivered to the 76 * Since this is a one-shot sensor, after this event is delivered to the 101 * All values are in micro-Tesla (uT) and measure the geomagnetic 173 * All values are in micro-Tesla (uT) and measure the geomagnetic 244 * All values are in micro-Tesla (uT) and measure the geomagnetic 266 * Special value indicating non-importance, or non-applicability of the sampling 272 #define CHRE_SENSOR_INTERVAL_DEFAULT UINT64_C(-1) 275 * Special value indicating non-importance of the latency. 280 #define CHRE_SENSOR_LATENCY_DEFAULT UINT64_C(-1) [all …]
|
| /system/libsysprop/srcs/android/sysprop/ |
| D | BluetoothProperties.sysprop | 7 # http://www.apache.org/licenses/LICENSE-2.0 36 # When snoop_log_mode is set as filtered, this filter truncates ACL packets (non-fragment) 46 # When snoop_log_mode is set as filtered, this filter discards A2DP media packets (non-split mode) 56 # fullfilter - discard whole packet 57 # header - truncate to fixed length 58 # magic - fill with a magic string, such as: "PROHIBITED" 70 # fullfilter - discard whole packet 71 # header - truncate to fixed length 72 # magic - fill with a magic string, such as: "PROHIBITED" 109 # - "disabled" - All LE audio feature off. [all …]
|