mirror of
https://github.com/openharmony/linux_frame_aware_sched.git
synced 2026-07-18 16:34:27 -04:00
5f8bd459e4
Signed-off-by: lixiang <lixiang475@huawei.com>
48 lines
1023 B
C++
48 lines
1023 B
C++
/*
|
|
* Copyright (c) 2022 Huawei Device Co., Ltd.
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifndef RME_CONSTANTS_H
|
|
#define RME_CONSTANTS_H
|
|
|
|
namespace OHOS {
|
|
namespace RME {
|
|
enum class ThreadType {
|
|
UI,
|
|
RENDER,
|
|
};
|
|
|
|
enum class ThreadState {
|
|
CREATE = 0,
|
|
DIED = 5,
|
|
};
|
|
|
|
enum class WindowState {
|
|
FOCUS_YES = 0,
|
|
FOCUS_NO,
|
|
};
|
|
|
|
enum class ContinuousTaskState {
|
|
TASK_START = 0,
|
|
TASK_END,
|
|
};
|
|
|
|
enum class ErrorCode {
|
|
FAIL,
|
|
SUCC,
|
|
};
|
|
} // namespace RME
|
|
} // namespace OHOS
|
|
#endif
|