15bbf6e98Sopenharmony_ci/* 25bbf6e98Sopenharmony_ci * Copyright (C) 2023 Huawei Device Co., Ltd. 35bbf6e98Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 45bbf6e98Sopenharmony_ci * you may not use this file except in compliance with the License. 55bbf6e98Sopenharmony_ci * You may obtain a copy of the License at 65bbf6e98Sopenharmony_ci * 75bbf6e98Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 85bbf6e98Sopenharmony_ci * 95bbf6e98Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 105bbf6e98Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 115bbf6e98Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 125bbf6e98Sopenharmony_ci * See the License for the specific language governing permissions and 135bbf6e98Sopenharmony_ci * limitations under the License. 145bbf6e98Sopenharmony_ci */ 155bbf6e98Sopenharmony_ci 165bbf6e98Sopenharmony_ci#ifndef DEVATTEST_TASK_H 175bbf6e98Sopenharmony_ci#define DEVATTEST_TASK_H 185bbf6e98Sopenharmony_ci 195bbf6e98Sopenharmony_cinamespace OHOS { 205bbf6e98Sopenharmony_cinamespace DevAttest { 215bbf6e98Sopenharmony_ciclass DevAttestTask { 225bbf6e98Sopenharmony_cipublic: 235bbf6e98Sopenharmony_ci DevAttestTask(); 245bbf6e98Sopenharmony_ci ~DevAttestTask(); 255bbf6e98Sopenharmony_ci bool CreateThread(); 265bbf6e98Sopenharmony_ci 275bbf6e98Sopenharmony_ciprivate: 285bbf6e98Sopenharmony_ci static void* Run(void* arg); 295bbf6e98Sopenharmony_ci static void UnloadTask(void); 305bbf6e98Sopenharmony_ci}; 315bbf6e98Sopenharmony_ci} // end of DevAttest 325bbf6e98Sopenharmony_ci} // end of OHOS 335bbf6e98Sopenharmony_ci#endif