Home
last modified time | relevance | path

Searched refs:suspend (Results 1 – 25 of 126) sorted by relevance

123456

/system/hardware/interfaces/suspend/aidl/
DAndroid.bp6 name: "android.system.suspend.control.internal",
10 "android/system/suspend/internal/*.aidl",
20 name: "android.system.suspend.control",
23 "android/system/suspend/ISuspendControlService.aidl",
24 "android/system/suspend/ISuspendCallback.aidl",
25 "android/system/suspend/IWakelockCallback.aidl",
43 name: "android.system.suspend",
47 "android/system/suspend/ISystemSuspend.aidl",
48 "android/system/suspend/IWakeLock.aidl",
49 "android/system/suspend/WakeLockType.aidl",
/system/hardware/interfaces/suspend/1.0/default/api/
DSuspendProperties-current.txt6 prop_name: "suspend.backoff_threshold_count"
11 prop_name: "suspend.base_sleep_time_millis"
15 prop_name: "suspend.failed_suspend_backoff_enabled"
20 prop_name: "suspend.max_sleep_time_millis"
24 prop_name: "suspend.short_suspend_backoff_enabled"
29 prop_name: "suspend.short_suspend_threshold_millis"
34 prop_name: "suspend.sleep_time_scale_factor"
DSuspendProperties-latest.txt6 prop_name: "suspend.backoff_threshold_count"
11 prop_name: "suspend.base_sleep_time_millis"
15 prop_name: "suspend.failed_suspend_backoff_enabled"
20 prop_name: "suspend.max_sleep_time_millis"
24 prop_name: "suspend.short_suspend_backoff_enabled"
29 prop_name: "suspend.short_suspend_threshold_millis"
34 prop_name: "suspend.sleep_time_scale_factor"
/system/hardware/interfaces/suspend/1.0/default/
DAndroid.bp46 name: "android.system.suspend-service",
52 init_rc: ["android.system.suspend-service.rc"],
53 vintf_fragments: ["android.system.suspend-service.xml"],
55 "android.system.suspend-V1-ndk",
56 "android.system.suspend.control-V1-cpp",
57 "android.system.suspend.control.internal-cpp",
58 "android.system.suspend@1.0",
81 "android.system.suspend-V1-ndk",
82 "android.system.suspend.control-V1-cpp",
83 "android.system.suspend.control.internal-cpp",
[all …]
DSuspendProperties.sysprop18 # Maximum time in milliseconds that system will wait between repeated suspend attempts
24 prop_name: "suspend.max_sleep_time_millis"
27 # Base time in milliseconds that system will wait between repeated suspend attempts
33 prop_name: "suspend.base_sleep_time_millis"
42 prop_name: "suspend.backoff_threshold_count"
45 # Duration in milliseconds below which a given suspend is considered a short suspend
51 prop_name: "suspend.short_suspend_threshold_millis"
54 # Factor for scaling the time between repeated suspend attempts
60 prop_name: "suspend.sleep_time_scale_factor"
63 # If true, the wait time between repeated suspend attempts will be scaled on failed suspends
[all …]
DSuspendControlService.h26 using ::android::system::suspend::BnSuspendControlService;
27 using ::android::system::suspend::ISuspendCallback;
28 using ::android::system::suspend::IWakelockCallback;
29 using ::android::system::suspend::internal::BnSuspendControlServiceInternal;
30 using ::android::system::suspend::internal::SuspendInfo;
31 using ::android::system::suspend::internal::WakeLockInfo;
32 using ::android::system::suspend::internal::WakeupInfo;
36 namespace suspend {
80 void setSuspendService(const wp<SystemSuspend>& suspend);
Dmain.cpp39 using aidl::android::system::suspend::SystemSuspendAidl;
47 using android::system::suspend::V1_0::ISystemSuspend;
48 using android::system::suspend::V1_0::SleepTimeConfig;
49 using android::system::suspend::V1_0::SuspendControlService;
50 using android::system::suspend::V1_0::SuspendControlServiceInternal;
51 using android::system::suspend::V1_0::SystemSuspend;
52 using android::system::suspend::V1_0::SystemSuspendHidl;
150 sp<SystemSuspend> suspend = new SystemSuspend( in main() local
156 ndk::SharedRefBase::make<SystemSuspendAidl>(suspend.get()); in main()
164 sp<SystemSuspendHidl> suspendHidl = new SystemSuspendHidl(suspend.get()); in main()
DSystemSuspendBenchmark.cpp24 using aidl::android::system::suspend::ISystemSuspend;
25 using aidl::android::system::suspend::IWakeLock;
26 using aidl::android::system::suspend::WakeLockType;
29 using android::system::suspend::internal::ISuspendControlServiceInternal;
30 using android::system::suspend::internal::WakeLockInfo;
DSystemSuspendAidl.h29 namespace suspend {
31 using ::android::system::suspend::V1_0::SystemSuspend;
DWakeupList.h25 using ::android::system::suspend::internal::WakeupInfo;
29 namespace suspend {
/system/hardware/interfaces/suspend/aidl/android/system/suspend/internal/
DISuspendControlServiceInternal.aidl17 package android.system.suspend.internal;
19 import android.system.suspend.internal.SuspendInfo;
20 import android.system.suspend.internal.WakeLockInfo;
21 import android.system.suspend.internal.WakeupInfo;
/system/hardware/interfaces/suspend/aidl/aidl_api/android.system.suspend/current/android/system/suspend/
DISystemSuspend.aidl34 package android.system.suspend;
37 …android.system.suspend.IWakeLock acquireWakeLock(android.system.suspend.WakeLockType type, @utf8In… in acquireWakeLock()
/system/hardware/interfaces/suspend/aidl/aidl_api/android.system.suspend/1/android/system/suspend/
DISystemSuspend.aidl34 package android.system.suspend;
37 …android.system.suspend.IWakeLock acquireWakeLock(android.system.suspend.WakeLockType type, @utf8In… in acquireWakeLock()
/system/hardware/interfaces/suspend/aidl/aidl_api/android.system.suspend.control/current/android/system/suspend/
DISuspendControlService.aidl18 package android.system.suspend;
21 boolean registerCallback(android.system.suspend.ISuspendCallback callback); in registerCallback()
22 …boolean registerWakelockCallback(android.system.suspend.IWakelockCallback callback, @utf8InCpp Str… in registerWakelockCallback()
/system/hardware/interfaces/suspend/aidl/aidl_api/android.system.suspend.control/1/android/system/suspend/
DISuspendControlService.aidl34 package android.system.suspend;
37 boolean registerCallback(android.system.suspend.ISuspendCallback callback); in registerCallback()
38 …boolean registerWakelockCallback(android.system.suspend.IWakelockCallback callback, @utf8InCpp Str… in registerWakelockCallback()
/system/hardware/interfaces/suspend/aidl/android/system/suspend/
DISystemSuspend.aidl17 package android.system.suspend;
19 import android.system.suspend.IWakeLock;
20 import android.system.suspend.WakeLockType;
DISuspendControlService.aidl17 package android.system.suspend;
19 import android.system.suspend.IWakelockCallback;
20 import android.system.suspend.ISuspendCallback;
/system/hardware/interfaces/suspend/1.0/
DIWakeLock.hal17 package android.system.suspend@1.0;
20 * Allocating an IWakeLock instance must block system suspend. Deallocating an
21 * IWakeLock must unblock system suspend in a manner equivalent to calling
28 * lock is present, system is allowed to suspend.
Dtypes.hal17 package android.system.suspend@1.0;
20 * Blocking CPU suspend is the only constraint that must be respected by all
21 * wake lock types. E.g. a request for a full wake lock must block CPU suspend,
/system/hardware/interfaces/
Dcurrent.txt16 33917c1ec8ce300d5f50cf4b00ced1333d77d11d8b8314a70fc7adab008553fc android.system.suspend@1.0::ISyste…
17 4a288d439addc1a1c58d55495f4f1e5602cbb0d12e29f39b985151e165d016ac android.system.suspend@1.0::IWakeL…
18 93310e309a676fce1bdff182e5241e44028e869e54be5ba6e3413c4b12fcd453 android.system.suspend@1.0::types
/system/sepolicy/private/
Dsystem_suspend.te12 # Access to /sys/power/{ wakeup_count, state } suspend interface.
15 # Access to wakeup, suspend stats, and wakeup reasons.
32 # Allow init to take kernel wakelock and system suspend to
/system/sepolicy/prebuilts/api/34.0/private/
Dsystem_suspend.te12 # Access to /sys/power/{ wakeup_count, state } suspend interface.
15 # Access to wakeup, suspend stats, and wakeup reasons.
32 # Allow init to take kernel wakelock and system suspend to
/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.
/system/sepolicy/prebuilts/api/30.0/private/
Dsystem_suspend.te10 # Access to /sys/power/{ wakeup_count, state } suspend interface.
13 # Access to wakeup and suspend stats.
/system/extras/ANRdaemon/
DANRdaemon.cpp85 static bool suspend = false; variable
366 } while (!suspend && !dump_requested && is_heavy_load()); in start_tracing()
375 if (suspend) { in start_tracing()
419 if (!suspend && is_heavy_load()) { in start()
448 suspend = true; in handle_signal()
452 suspend = true; in handle_signal()
455 suspend = false; in handle_signal()

123456