Lines Matching refs:request
33 #define CHECK_REQUEST_RESPONSE(context, request, response) \ argument
36 CHECK_POINTER_NOTNULL(request, "request ptr invalid!"); \
81 const ::GetCapabilitiesRequest* request, in GetCapabilities()
84 CHECK_REQUEST_RESPONSE(context, request, response); in GetCapabilities()
87 HILOG_INFO(LOG_CORE, "GetCapabilities %d start", request->request_id()); in GetCapabilities()
94 HILOG_INFO(LOG_CORE, "GetCapabilities %d done!", request->request_id()); in GetCapabilities()
227 const ::CreateSessionRequest* request, in CreateSession()
230 CHECK_REQUEST_RESPONSE(context, request, response); in CreateSession()
235 HILOG_INFO(LOG_CORE, "CreateSession %d start", request->request_id()); in CreateSession()
236 const int nConfigs = request->plugin_configs_size(); in CreateSession()
240 ProfilerSessionConfig sessionConfig = request->session_config(); in CreateSession()
249 if (request->plugin_configs(i).name() == "nativehook" && getuid() != 0) { in CreateSession()
251 std::string cfgData = request->plugin_configs(i).config_data(); in CreateSession()
261 pluginConfigs.push_back(request->plugin_configs(i)); in CreateSession()
349 HILOG_INFO(LOG_CORE, "CreateSession %d %u done!", request->request_id(), sessionId); in CreateSession()
464 const ::StartSessionRequest* request, in StartSession()
467 CHECK_REQUEST_RESPONSE(context, request, response); in StartSession()
470 uint32_t sessionId = request->session_id(); in StartSession()
471 HILOG_INFO(LOG_CORE, "StartSession %d %u start", request->request_id(), sessionId); in StartSession()
475 newPluginConfigs.reserve(request->update_configs_size()); in StartSession()
476 for (int i = 0; i < request->update_configs_size(); i++) { in StartSession()
477 …HILOG_INFO(LOG_CORE, "update_configs %d, name = %s", i, request->update_configs(i).name().c_str()); in StartSession()
478 newPluginConfigs.push_back(request->update_configs(i)); in StartSession()
509 HILOG_INFO(LOG_CORE, "StartSession %d %u done!", request->request_id(), sessionId); in StartSession()
514 const ::FetchDataRequest* request, in FetchData()
518 CHECK_POINTER_NOTNULL(request, "request ptr invalid!"); in FetchData()
522 CHECK_POINTER_NOTNULL(request, "request invalid!"); in FetchData()
525 uint32_t sessionId = request->session_id(); in FetchData()
526 HILOG_INFO(LOG_CORE, "FetchData %d %u start", request->request_id(), sessionId); in FetchData()
570 HILOG_INFO(LOG_CORE, "FetchData %d %u done!", request->request_id(), sessionId); in FetchData()
575 const ::StopSessionRequest* request, in StopSession()
578 CHECK_REQUEST_RESPONSE(context, request, response); in StopSession()
581 uint32_t sessionId = request->session_id(); in StopSession()
582 HILOG_INFO(LOG_CORE, "StopSession %d %u start", request->request_id(), sessionId); in StopSession()
587 HILOG_INFO(LOG_CORE, "StopSession %d %u done!", request->request_id(), sessionId); in StopSession()
592 const ::DestroySessionRequest* request, in DestroySession()
595 CHECK_REQUEST_RESPONSE(context, request, response); in DestroySession()
598 uint32_t sessionId = request->session_id(); in DestroySession()
599 HILOG_INFO(LOG_CORE, "DestroySession %d %u start", request->request_id(), sessionId); in DestroySession()
607 HILOG_INFO(LOG_CORE, "DestroySession %d %u done!", request->request_id(), sessionId); in DestroySession()
629 const ::KeepSessionRequest* request, in KeepSession()
632 CHECK_REQUEST_RESPONSE(context, request, response); in KeepSession()
635 uint32_t sessionId = request->session_id(); in KeepSession()
636 HILOG_INFO(LOG_CORE, "KeepSession %d %u start", request->request_id(), sessionId); in KeepSession()
642 auto keepAliveTime = request->keep_alive_time(); in KeepSession()
653 HILOG_INFO(LOG_CORE, "KeepSession %d %u done!", request->request_id(), sessionId); in KeepSession()