blob: 1c2c7b85a908dfb3f26a222019bc5d66d13ca9f4 [file] [log] [blame]
Wei Wang2e687c22017-11-16 16:02:54 -08001/*
2 * Copyright (C) 2017 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 */
16package android.hardware.power@1.2;
17
18import @1.1::IPower;
19
20interface IPower extends @1.1::IPower {
21 /**
22 * called to pass hints on power requirements which
23 * may result in adjustment of power/performance parameters of the
24 * cpufreq governor and other controls.
25 *
26 * A particular platform may choose to ignore any hint.
27 *
28 * @param hint PowerHint which is passed
29 * @param data contains additional information about the hint
30 * and is described along with the comments for each of the hints.
31 */
32 oneway powerHintAsync_1_2(PowerHint hint, int32_t data);
33};