Home
last modified time | relevance | path

Searched refs:msgType_ (Results 1 - 5 of 5) sorted by relevance

/foundation/resourceschedule/qos_manager/services/src/
H A Dconcurrent_task_controller.cpp360 msgType_.clear(); in Release()
377 msgType_.clear(); in TypeMapInit()
378 msgType_.insert(pair<std::string, int>("foreground", MSG_FOREGROUND)); in TypeMapInit()
379 msgType_.insert(pair<std::string, int>("background", MSG_BACKGROUND)); in TypeMapInit()
380 msgType_.insert(pair<std::string, int>("appStart", MSG_APP_START)); in TypeMapInit()
381 msgType_.insert(pair<std::string, int>("appKilled", MSG_APP_KILLED)); in TypeMapInit()
382 msgType_.insert(pair<std::string, int>("continuousStart", MSG_CONTINUOUS_TASK_START)); in TypeMapInit()
383 msgType_.insert(pair<std::string, int>("continuousEnd", MSG_CONTINUOUS_TASK_END)); in TypeMapInit()
384 msgType_.insert(pair<std::string, int>("getFocus", MSG_GET_FOCUS)); in TypeMapInit()
385 msgType_ in TypeMapInit()
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/
H A Dtmessenger.h61 explicit Message(const Request &req) : msgType_(MsgType::MSG_SEQ), request(new Request(req)) { } in Message()
62 explicit Message(const Response &rsp) : msgType_(MsgType::MSG_RSP), response(new Response(rsp)) { } in Message()
67 MsgType msgType_; member in OHOS::Message
H A Dtmessenger.cpp75 if (msgType_ == MsgType::MSG_SEQ && request != nullptr) { in ~Message()
78 if (msgType_ == MsgType::MSG_RSP && response != nullptr) { in ~Message()
85 std::string data = std::to_string(static_cast<int32_t>(msgType_)); in Encode()
86 switch (msgType_) { in Encode()
92 LOGE("invalid msgType=%d", static_cast<int32_t>(msgType_)); in Encode()
275 switch (msg->msgType_) { in OnMessageRecv()
359 return it->msgType_ == type; in GetMessageFromRecvList()
/foundation/resourceschedule/qos_manager/services/include/
H A Dconcurrent_task_controller.h99 std::unordered_map<std::string, int> msgType_ = {}; member in OHOS::ConcurrentTask::TaskController
/foundation/resourceschedule/qos_manager/test/unittest/phone/
H A Dconcurrent_task_controller_test.cpp219 TaskController::GetInstance().msgType_["test"] = 8; in HWTEST_F()
222 TaskController::GetInstance().msgType_.erase("test"); in HWTEST_F()

Completed in 4 milliseconds