Home
last modified time | relevance | path

Searched refs:gameMsg (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/resourceschedule/qos_manager/services/src/
H A Dconcurrent_task_controller.cpp767 std::string gameMsg = payload["gameMsg"].asString(); in ModifyGameState() local
769 int newGamePid = GetGamePid(gameMsg); in ModifyGameState()
789 int TaskController::GetGamePid(const std::string &gameMsg) const in GetGamePid()
791 GameStatus status = GetGameScene(gameMsg); in GetGamePid()
795 size_t pos = gameMsg.find(","); in GetGamePid()
809 GameStatus TaskController::GetGameScene(const std::string &gameMsg) const in GetGameScene()
811 if (gameMsg.find("gameScene\":\"1") != std::string::npos) { in GetGameScene()
814 if (gameMsg.find("gameScene\":\"0") != std::string::npos) { in GetGameScene()
817 if (gameMsg.find("cameraScene\":\"1") != std::string::npos) { in GetGameScene()
820 if (gameMsg.find("cameraScene\":\"0") != std::string::npos) { in GetGameScene()
[all …]
/ohos5.0/foundation/resourceschedule/qos_manager/services/include/
H A Dconcurrent_task_controller.h90 int GetGamePid(const std::string &gameMsg) const;
91 GameStatus GetGameScene(const std::string &gameMsg) const;
/ohos5.0/foundation/resourceschedule/qos_manager/test/fuzztest/concurrent_fuzzer/
H A Dconcurrent_fuzzer.cpp885 std::string gameMsg(str1, size1); in FuzzTaskControllerModifyGameState() local
887 payload["gameMsg"] = gameMsg.c_str(); in FuzzTaskControllerModifyGameState()
905 std::string gameMsg(str1, size1); in FuzzTaskControllerModifySystemRate() local
907 payload["gameMsg"] = gameMsg.c_str(); in FuzzTaskControllerModifySystemRate()