Home
last modified time | relevance | path

Searched refs:appCaller (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/service/
H A Dhiview_service.cpp395 appCallerEvent->bundleName_ = appCaller.bundleName; in InnerCreateAppCallerEvent()
397 appCallerEvent->uid_ = appCaller.uid; in InnerCreateAppCallerEvent()
398 appCallerEvent->pid_ = appCaller.pid; in InnerCreateAppCallerEvent()
400 appCallerEvent->beginTime_ = appCaller.beginTime; in InnerCreateAppCallerEvent()
401 appCallerEvent->endTime_ = appCaller.endTime; in InnerCreateAppCallerEvent()
419 appCaller.uid, appCaller.pid); in InnerResponseAppTrace()
428 eventName.c_str(), appCaller.uid, appCaller.pid, appCallerEvent->resultCode_); in InnerResponseAppTrace()
451 appCaller.uid, appCaller.pid); in CaptureDurationTrace()
457 return InnerResponseStartAppTrace(appCaller); in CaptureDurationTrace()
459 return InnerResponseDumpAppTrace(appCaller); in CaptureDurationTrace()
[all …]
H A Dhiview_service.h53 CollectResult<int32_t> CaptureDurationTrace(UCollectClient::AppCaller &appCaller);
/ohos5.0/base/hiviewdfx/hiview/adapter/service/client/src/
H A Dhiview_service_ability_proxy.cpp210 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()
239 if (!data.WriteInt32(appCaller.uid)) { in WriteAppCallerExternal()
244 if (!data.WriteInt32(appCaller.pid)) { in WriteAppCallerExternal()
249 if (!data.WriteInt64(appCaller.happenTime)) { in WriteAppCallerExternal()
254 if (!data.WriteInt64(appCaller.beginTime)) { in WriteAppCallerExternal()
259 if (!data.WriteInt64(appCaller.endTime)) { in WriteAppCallerExternal()
[all …]
H A Dhiview_service_trace_delegate.cpp81 …ult<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()
/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp156 AppCaller appCaller; variable
159 appCaller.bundleVersion = "2.0.1";
160 appCaller.foreground = 1;
163 appCaller.pid = 100; // 100: pid
165 appCaller.beginTime = appCaller.happenTime - 100; // 100: ms
166 appCaller.endTime = appCaller.happenTime + 100; // 100: ms
184 AppCaller appCaller; variable
188 appCaller.foreground = 1;
191 appCaller.pid = 100; // 100: pid
193 appCaller.beginTime = appCaller.happenTime - 100; // 100: ms
[all …]
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability_stub.cpp424 if (!data.ReadInt32(appCaller.actionId)) { in ReadAppCallerBase()
429 if (!data.ReadString(appCaller.bundleName)) { in ReadAppCallerBase()
439 if (!data.ReadString(appCaller.threadName)) { in ReadAppCallerBase()
444 if (!data.ReadInt32(appCaller.foreground)) { in ReadAppCallerBase()
453 if (!data.ReadInt32(appCaller.uid)) { in ReadAppCallerExternal()
458 if (!data.ReadInt32(appCaller.pid)) { in ReadAppCallerExternal()
463 if (!data.ReadInt64(appCaller.happenTime)) { in ReadAppCallerExternal()
468 if (!data.ReadInt64(appCaller.beginTime)) { in ReadAppCallerExternal()
473 if (!data.ReadInt64(appCaller.endTime)) { in ReadAppCallerExternal()
488 UCollectClient::AppCaller appCaller; in HandleCaptureDurationTraceRequest() local
[all …]
H A Dhiview_service_ability.cpp329 …arcelable<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()
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/src/
H A Dtrace_collector_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()
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/
H A Dobject_radar_reporter.cpp91 int32_t state, std::string appCaller) in ReportStateStart() argument
120 .v = { .s = const_cast<char *>(appCaller.c_str()) }, in ReportStateStart()
/ohos5.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) overri…
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/
H A Dtrace_collector.h60 virtual CollectResult<int32_t> CaptureDurationTrace(AppCaller &appCaller) = 0;
/ohos5.0/base/hiviewdfx/hiview/adapter/service/common/include/
H A Dihiview_service_ability.h47 …al CollectResultParcelable<int32_t> CaptureDurationTrace(UCollectClient::AppCaller &appCaller) = 0;
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/common/
H A Dobject_radar_reporter.h74 int32_t state, std::string appCaller);
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/include/
H A Dhiview_service_ability.h59 …CollectResultParcelable<int32_t> CaptureDurationTrace(UCollectClient::AppCaller &appCaller) overri…