File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -417,7 +417,6 @@ __INTRODUCED_IN(36);
417417 * @param outMinIntervalMillis Non-null output pointer to a int64_t, which
418418 * will be set to the minimum polling interval in milliseconds.
419419 * @return 0 on success.
420- * EPIPE if failed to get the minimum polling interval.
421420 * ENOTSUP if API is unsupported.
422421 */
423422int ASystemHealth_getCpuHeadroomMinIntervalMillis (int64_t * _Nonnull outMinIntervalMillis )
@@ -434,7 +433,6 @@ __INTRODUCED_IN(36);
434433 * @param outMinIntervalMillis Non-null output pointer to a int64_t, which
435434 * will be set to the minimum polling interval in milliseconds.
436435 * @return 0 on success.
437- * EPIPE if failed to get the minimum polling interval.
438436 * ENOTSUP if API is unsupported.
439437 */
440438int ASystemHealth_getGpuHeadroomMinIntervalMillis (int64_t * _Nonnull outMinIntervalMillis )
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2024 The Android Open Source Project
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ #ifndef ANDROID_PRIVATE_NATIVE_SYSTEM_HEALTH_H
18+ #define ANDROID_PRIVATE_NATIVE_SYSTEM_HEALTH_H
19+
20+ #include <stdint.h>
21+
22+ __BEGIN_DECLS
23+
24+ /**
25+ * For testing only.
26+ */
27+ void ASystemHealth_setIHintManagerForTesting (void * iManager );
28+
29+ __END_DECLS
30+
31+ #endif // ANDROID_PRIVATE_NATIVE_SYSTEM_HEALTH_H
32+
You can’t perform that action at this time.
0 commit comments