Searched refs:msgType_ (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/startup/appspawn/test/moduletest/ |
H A D | appspawn_test_cmder.cpp | 97 msgType_ = MAX_TYPE_INVALID; in ProcessArgs() 125 msgType_ = atoi(argv[i]); in ProcessArgs() 129 msgType_ = MSG_GET_RENDER_TERMINATION_STATUS; in ProcessArgs() 304 if (msgType_ == MSG_GET_RENDER_TERMINATION_STATUS) { in CreateOtherMsg() 308 if (msgType_ == MSG_DUMP) { in CreateOtherMsg() 365 msgType_ = (msgType_ == MAX_TYPE_INVALID) ? GetMsgTypeFromJson(appInfoConfig_) : msgType_; in CreateMsg() 366 msgType_ = (defMsgType != MAX_TYPE_INVALID) ? defMsgType : msgType_; in CreateMsg() 367 if (msgType_ == MSG_DUMP) { in CreateMsg() 395 if (msgType_ == MSG_DUMP) { in SendMsg() 409 switch (msgType_) { in SendMsg() [all …]
|
H A D | appspawn_test_cmder.h | 44 msgType_ = MAX_TYPE_INVALID; in AppSpawnTestCommander() 52 msgType_ = MAX_TYPE_INVALID; in AppSpawnTestCommander() 105 uint32_t msgType_; variable
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/ |
H A D | tmessenger.cpp | 76 if (msgType_ == MsgType::MSG_SEQ && request != nullptr) { in ~Message() 79 if (msgType_ == MsgType::MSG_RSP && response != nullptr) { in ~Message() 86 std::string data = std::to_string(static_cast<int32_t>(msgType_)); in Encode() 87 switch (msgType_) { in Encode() 93 LOGE("invalid msgType=%d", static_cast<int32_t>(msgType_)); in Encode() 276 switch (msg->msgType_) { in OnMessageRecv() 360 return it->msgType_ == type; in GetMessageFromRecvList()
|
H A D | tmessenger.h | 61 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_; variable
|
/ohos5.0/foundation/resourceschedule/qos_manager/services/src/ |
H A D | concurrent_task_controller.cpp | 363 msgType_.clear(); in Release() 381 msgType_.clear(); in TypeMapInit() 382 msgType_.insert(pair<std::string, int>("foreground", MSG_FOREGROUND)); in TypeMapInit() 383 msgType_.insert(pair<std::string, int>("background", MSG_BACKGROUND)); in TypeMapInit() 384 msgType_.insert(pair<std::string, int>("appStart", MSG_APP_START)); in TypeMapInit() 385 msgType_.insert(pair<std::string, int>("appKilled", MSG_APP_KILLED)); in TypeMapInit() 388 msgType_.insert(pair<std::string, int>("getFocus", MSG_GET_FOCUS)); in TypeMapInit() 389 msgType_.insert(pair<std::string, int>("loseFocus", MSG_LOSE_FOCUS)); in TypeMapInit() 439 auto iter = msgType_.find(strRequstType); in GetRequestType() 440 if (iter == msgType_.end()) { in GetRequestType() [all …]
|
/ohos5.0/foundation/resourceschedule/qos_manager/services/include/ |
H A D | concurrent_task_controller.h | 101 std::unordered_map<std::string, int> msgType_ = {}; variable
|
/ohos5.0/foundation/resourceschedule/qos_manager/test/unittest/phone/ |
H A D | concurrent_task_controller_test.cpp | 219 TaskController::GetInstance().msgType_["test"] = 8; 222 TaskController::GetInstance().msgType_.erase("test");
|