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_DUMP_SERVICE_H 17 #define DISPLAY_DUMP_SERVICE_H 18 19 #include <securec.h> 20 #include <stdio.h> 21 #include <thread> 22 #include <mutex> 23 #include <condition_variable> 24 #include "hdf_sbuf.h" 25 #include "devhost_dump_reg.h" 26 #include "display_log.h" 27 #include "display_dump_disp.h" 28 #include "display_dump_vdi.h" 29 30 namespace OHOS { 31 namespace HDI { 32 namespace Display { 33 namespace Composer { 34 namespace V1_0 { 35 36 using namespace OHOS::HDI::Display::Composer::V1_0; 37 int32_t ComposerDumpEvent(struct HdfSBuf *data, struct HdfSBuf *reply); 38 } //namespace V1_0 39 } //namespace Composer 40 } //namespace Display 41 } //namespace HDI 42 } //namespace OHOS 43 #endif