summaryrefslogtreecommitdiff
path: root/include/android
diff options
context:
space:
mode:
author Xiang Wang <xwxw@google.com> 2024-12-27 00:13:07 -0800
committer Xiang Wang <xwxw@google.com> 2025-01-07 09:58:31 -0800
commitae83ef29cf1fdca7b9d7c71bfb5e0145e38ce4c9 (patch)
tree1bd53fcab8b71531d1ba2417718c94feac6e1fbc /include/android
parent9bf3e87d645649bc7f29a3e46d9cad090a6d2ce2 (diff)
Add a private API to set mocking hint manager for testing
Updated the doc of interval methods as they won't fail now Bug: 346604998 Flag: EXEMPT ndk Test: atest NativeSystemHealthUnitTest SystemHealthManagerUnitTest NativeSystemHealthTest HeadroomTest Change-Id: Ia8a3d921f831ee0c07b16926500581fc2a8d5b00
Diffstat (limited to 'include/android')
-rw-r--r--include/android/system_health.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/android/system_health.h b/include/android/system_health.h
index 6d59706490..bdb1413555 100644
--- a/include/android/system_health.h
+++ b/include/android/system_health.h
@@ -417,7 +417,6 @@ __INTRODUCED_IN(36);
* @param outMinIntervalMillis Non-null output pointer to a int64_t, which
* will be set to the minimum polling interval in milliseconds.
* @return 0 on success.
- * EPIPE if failed to get the minimum polling interval.
* ENOTSUP if API is unsupported.
*/
int ASystemHealth_getCpuHeadroomMinIntervalMillis(int64_t* _Nonnull outMinIntervalMillis)
@@ -434,7 +433,6 @@ __INTRODUCED_IN(36);
* @param outMinIntervalMillis Non-null output pointer to a int64_t, which
* will be set to the minimum polling interval in milliseconds.
* @return 0 on success.
- * EPIPE if failed to get the minimum polling interval.
* ENOTSUP if API is unsupported.
*/
int ASystemHealth_getGpuHeadroomMinIntervalMillis(int64_t* _Nonnull outMinIntervalMillis)