Home
last modified time | relevance | path

Searched refs:appCaller (Results 1 - 13 of 13) sorted by relevance

/base/hiviewdfx/hiview/adapter/service/client/src/
H A Dhiview_service_ability_proxy.cpp208 static bool WriteAppCallerBase(MessageParcel& data, UCollectClient::AppCaller &appCaller, std::string &errField) in WriteAppCallerBase() argument
210 if (!data.WriteInt32(appCaller.actionId)) { in WriteAppCallerBase()
215 if (!data.WriteString(appCaller.bundleName)) { in WriteAppCallerBase()
220 if (!data.WriteString(appCaller.bundleVersion)) { in WriteAppCallerBase()
225 if (!data.WriteString(appCaller.threadName)) { in WriteAppCallerBase()
230 if (!data.WriteInt32(appCaller.foreground)) { in WriteAppCallerBase()
237 static bool WriteAppCallerExternal(MessageParcel& data, UCollectClient::AppCaller &appCaller, std::string &errField) in WriteAppCallerExternal() argument
239 if (!data.WriteInt32(appCaller.uid)) { in WriteAppCallerExternal()
244 if (!data.WriteInt32(appCaller.pid)) { in WriteAppCallerExternal()
249 if (!data.WriteInt64(appCaller in WriteAppCallerExternal()
271 CaptureDurationTrace(UCollectClient::AppCaller &appCaller) CaptureDurationTrace() argument
[all...]
H A Dhiview_service_trace_delegate.cpp81 CollectResult<int32_t> HiViewServiceTraceDelegate::CaptureDurationTrace(UCollectClient::AppCaller &appCaller) in CaptureDurationTrace() argument
83 auto proxyHandler = [&appCaller] (HiviewServiceAbilityProxy& proxy) { in CaptureDurationTrace()
84 return proxy.CaptureDurationTrace(appCaller); in CaptureDurationTrace()
/base/hiviewdfx/hiview/service/
H A Dhiview_service.cpp388 static std::shared_ptr<AppCallerEvent> InnerCreateAppCallerEvent(UCollectClient::AppCaller &appCaller, in InnerCreateAppCallerEvent() argument
394 appCallerEvent->isBusinessJank_ = appCaller.isBusinessJank; in InnerCreateAppCallerEvent()
395 appCallerEvent->bundleName_ = appCaller.bundleName; in InnerCreateAppCallerEvent()
396 appCallerEvent->bundleVersion_ = appCaller.bundleVersion; in InnerCreateAppCallerEvent()
397 appCallerEvent->uid_ = appCaller.uid; in InnerCreateAppCallerEvent()
398 appCallerEvent->pid_ = appCaller.pid; in InnerCreateAppCallerEvent()
399 appCallerEvent->happenTime_ = static_cast<uint64_t>(appCaller.happenTime); in InnerCreateAppCallerEvent()
400 appCallerEvent->beginTime_ = appCaller.beginTime; in InnerCreateAppCallerEvent()
401 appCallerEvent->endTime_ = appCaller.endTime; in InnerCreateAppCallerEvent()
405 appCallerEvent->foreground_ = appCaller in InnerCreateAppCallerEvent()
410 InnerResponseAppTrace(UCollectClient::AppCaller &appCaller, const std::string &eventName) InnerResponseAppTrace() argument
435 InnerResponseStartAppTrace(UCollectClient::AppCaller &appCaller) InnerResponseStartAppTrace() argument
440 InnerResponseDumpAppTrace(UCollectClient::AppCaller &appCaller) InnerResponseDumpAppTrace() argument
445 CaptureDurationTrace(UCollectClient::AppCaller &appCaller) CaptureDurationTrace() argument
[all...]
H A Dhiview_service.h53 CollectResult<int32_t> CaptureDurationTrace(UCollectClient::AppCaller &appCaller);
/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp155 AppCaller appCaller; in HWTEST_F() local
156 appCaller.actionId = ACTION_ID_START_TRACE; in HWTEST_F()
157 appCaller.bundleName = "com.example.helloworld"; in HWTEST_F()
158 appCaller.bundleVersion = "2.0.1"; in HWTEST_F()
159 appCaller.foreground = 1; in HWTEST_F()
160 appCaller.threadName = "mainThread"; in HWTEST_F()
161 appCaller.uid = 20020143; // 20020143: user uid in HWTEST_F()
162 appCaller.pid = 100; // 100: pid in HWTEST_F()
163 appCaller.happenTime = GetMilliseconds(); in HWTEST_F()
164 appCaller in HWTEST_F()
183 AppCaller appCaller; HWTEST_F() local
[all...]
/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability_stub.cpp422 static bool ReadAppCallerBase(MessageParcel& data, UCollectClient::AppCaller &appCaller, std::string &errField) in ReadAppCallerBase() argument
424 if (!data.ReadInt32(appCaller.actionId)) { in ReadAppCallerBase()
429 if (!data.ReadString(appCaller.bundleName)) { in ReadAppCallerBase()
434 if (!data.ReadString(appCaller.bundleVersion)) { in ReadAppCallerBase()
439 if (!data.ReadString(appCaller.threadName)) { in ReadAppCallerBase()
444 if (!data.ReadInt32(appCaller.foreground)) { in ReadAppCallerBase()
451 static bool ReadAppCallerExternal(MessageParcel& data, UCollectClient::AppCaller &appCaller, std::string &errField) in ReadAppCallerExternal() argument
453 if (!data.ReadInt32(appCaller.uid)) { in ReadAppCallerExternal()
458 if (!data.ReadInt32(appCaller.pid)) { in ReadAppCallerExternal()
463 if (!data.ReadInt64(appCaller in ReadAppCallerExternal()
488 UCollectClient::AppCaller appCaller; HandleCaptureDurationTraceRequest() local
[all...]
H A Dhiview_service_ability.cpp329 CollectResultParcelable<int32_t> HiviewServiceAbility::CaptureDurationTrace(UCollectClient::AppCaller &appCaller) in CaptureDurationTrace() argument
331 appCaller.uid = IPCSkeleton::GetCallingUid(); in CaptureDurationTrace()
332 appCaller.pid = IPCSkeleton::GetCallingPid(); in CaptureDurationTrace()
334 auto traceRetHandler = [=, &appCaller] (HiviewService* service) { in CaptureDurationTrace()
335 return service->CaptureDurationTrace(appCaller); in CaptureDurationTrace()
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/src/
H A Dtrace_collector_client_impl.cpp37 virtual CollectResult<int32_t> CaptureDurationTrace(AppCaller &appCaller) override;
80 CollectResult<int32_t> TraceCollectorImpl::CaptureDurationTrace(AppCaller &appCaller) in CaptureDurationTrace() argument
82 return HiViewServiceTraceDelegate::CaptureDurationTrace(appCaller); in CaptureDurationTrace()
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/
H A Dtrace_collector_client.h60 virtual CollectResult<int32_t> CaptureDurationTrace(AppCaller &appCaller) = 0;
/base/hiviewdfx/hiview/adapter/service/client/include/
H A Dhiview_service_trace_delegate.h38 static CollectResult<int32_t> CaptureDurationTrace(UCollectClient::AppCaller &appCaller);
H A Dhiview_service_ability_proxy.h46 CollectResultParcelable<int32_t> CaptureDurationTrace(UCollectClient::AppCaller &appCaller) override;
/base/hiviewdfx/hiview/adapter/service/common/include/
H A Dihiview_service_ability.h47 virtual CollectResultParcelable<int32_t> CaptureDurationTrace(UCollectClient::AppCaller &appCaller) = 0;
/base/hiviewdfx/hiview/adapter/service/server/include/
H A Dhiview_service_ability.h59 CollectResultParcelable<int32_t> CaptureDurationTrace(UCollectClient::AppCaller &appCaller) override;

Completed in 7 milliseconds