From ae83ef29cf1fdca7b9d7c71bfb5e0145e38ce4c9 Mon Sep 17 00:00:00 2001 From: Xiang Wang Date: Fri, 27 Dec 2024 00:13:07 -0800 Subject: 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 --- include/android/system_health.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/android') 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) -- cgit v1.2.3-59-g8ed1b