1 /* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef DISPLAY_POWER_MGR_IPC_INTERFACE_DODE_H 17 #define DISPLAY_POWER_MGR_IPC_INTERFACE_DODE_H 18 19 /* SAID: 3308 */ 20 namespace OHOS { 21 namespace PowerMgr { 22 enum class DisplayPowerMgrInterfaceCode { 23 SET_DISPLAY_STATE = 0, 24 GET_DISPLAY_STATE, 25 GET_DISPLAY_IDS, 26 GET_MAIN_DISPLAY_ID, 27 SET_BRIGHTNESS, 28 DISCOUNT_BRIGHTNESS, 29 OVERRIDE_BRIGHTNESS, 30 OVERRIDE_DISPLAY_OFF_DELAY, 31 RESTORE_BRIGHTNESS, 32 GET_BRIGHTNESS, 33 GET_DEFAULT_BRIGHTNESS, 34 GET_MAX_BRIGHTNESS, 35 GET_MIN_BRIGHTNESS, 36 ADJUST_BRIGHTNESS, 37 AUTO_ADJUST_BRIGHTNESS, 38 IS_AUTO_ADJUST_BRIGHTNESS, 39 REGISTER_CALLBACK, 40 BOOST_BRIGHTNESS, 41 CANCEL_BOOST_BRIGHTNESS, 42 GET_DEVICE_BRIGHTNESS, 43 SET_COORDINATED, 44 SET_APS_LIGHT_AND_BRIGHTNESS_THRESOLD = 21, 45 SET_MAX_BRIGHTNESS, 46 SET_MAX_BRIGHTNESS_NIT 47 }; 48 } // space PowerMgr 49 } // namespace OHOS 50 51 #endif // DISPLAY_POWER_MGR_IPC_INTERFACE_DODE_H