/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/ |
H A D | decorator.cpp | 26 uint64_t latency = (endTime - startTime) > 0 ? (endTime - startTime) : 0;
in UpdateStatInfo() local 32 .avgLatency = latency,
in UpdateStatInfo() 33 .maxLatency = latency,
in UpdateStatInfo() 34 .totalTimeSpend = latency,
in UpdateStatInfo() 43 statInfo.totalTimeSpend += latency;
in UpdateStatInfo() 44 statInfo.maxLatency = statInfo.maxLatency < latency ? latency : statInfo.maxLatency;
in UpdateStatInfo()
|
H A D | trace_decorator.cpp | 104 uint64_t latency = (endTime - startTime > 0) ? (endTime - startTime) : 0;
in UpdateTraceStatInfo() local 112 .isOverCall = isOverCall, .latency = latency};
in UpdateTraceStatInfo() 114 UpdateTrafficInfo(callerStr, latency, result);
in UpdateTraceStatInfo() 126 .avgLatency = item.latency,
in UpdateAPIStatInfo() 127 .maxLatency = item.latency,
in UpdateAPIStatInfo() 128 .totalTimeSpend = item.latency,
in UpdateAPIStatInfo() 138 statInfo.totalTimeSpend += item.latency;
in UpdateAPIStatInfo() 139 if (statInfo.maxLatency < item.latency) {
in UpdateAPIStatInfo() 140 statInfo.maxLatency = item.latency;
in UpdateAPIStatInfo() 148 UpdateTrafficInfo(const std::string& caller, uint64_t latency, const CollectResult<std::vector<std::string>>& result) UpdateTrafficInfo() argument [all...] |
/base/msdp/device_status/test/unittest/interfaces/src/ |
H A D | devicestatus_client_test.cpp | 61 ReportLatencyNs latency = ReportLatencyNs::Latency_INVALID; in HWTEST_F() local 63 int32_t result = stationaryMgr->SubscribeCallback(Type::TYPE_VERTICAL_POSITION, activityEvent, latency, cb); in HWTEST_F() 68 result = stationaryMgr->SubscribeCallback(Type::TYPE_INVALID, activityEvent, latency, cb); in HWTEST_F() 73 result = stationaryMgr->SubscribeCallback(Type::TYPE_ABSOLUTE_STILL, activityEvent, latency, cb); in HWTEST_F() 78 result = stationaryMgr->SubscribeCallback(Type::TYPE_HORIZONTAL_POSITION, activityEvent, latency, cb); in HWTEST_F() 83 result = stationaryMgr->SubscribeCallback(Type::TYPE_LID_OPEN, activityEvent, latency, cb); in HWTEST_F() 88 result = stationaryMgr->SubscribeCallback(Type::TYPE_MAX, activityEvent, latency, cb); in HWTEST_F()
|
/base/msdp/device_status/frameworks/native/src/ |
H A D | devicestatus_agent.cpp | 43 ReportLatencyNs latency, in SubscribeAgentEvent() 53 RegisterServiceEvent(type, event, latency); in SubscribeAgentEvent() 69 void DeviceStatusAgent::RegisterServiceEvent(Type type, ActivityEvent event, ReportLatencyNs latency) in RegisterServiceEvent() argument 74 StationaryManager::GetInstance()->SubscribeCallback(type, event, latency, callback_); in RegisterServiceEvent() 41 SubscribeAgentEvent(Type type, ActivityEvent event, ReportLatencyNs latency, std::shared_ptr<DeviceStatusAgent::DeviceStatusAgentEvent> agentEvent) SubscribeAgentEvent() argument
|
H A D | stationary_manager.cpp | 36 int32_t StationaryManager::SubscribeCallback(Type type, ActivityEvent event, ReportLatencyNs latency,
in SubscribeCallback() argument 39 return INTER_MGR_IMPL.SubscribeCallback(type, event, latency, callback);
in SubscribeCallback()
|
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetlatency_fuzzer/ |
H A D | audiogetlatency_fuzzer.cpp | 32 uint64_t latency = 0; in AudioGetLatencyFuzzTest() local 33 adapter->GetLatency(latency); in AudioGetLatencyFuzzTest()
|
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiowriterender_fuzzer/ |
H A D | audiowriterender_fuzzer.cpp | 32 uint8_t *latency = 0; in AudioWriteRenderFuzzTest() local 33 adapter.Write(latency, sizeof(uint8_t)); in AudioWriteRenderFuzzTest()
|
/base/msdp/device_status/intention/stationary/data/src/ |
H A D | stationary_params.cpp | 23 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in SubscribeStationaryParam() 24 : type_(type), event_(event), latency_(latency), callback_(callback) in SubscribeStationaryParam() 42 int32_t latency {}; in Unmarshalling() 46 parcel.ReadInt32(latency); in Unmarshalling() 52 latency_ = static_cast<ReportLatencyNs>(latency); in Unmarshalling() 22 SubscribeStationaryParam(Type type, ActivityEvent event, ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) SubscribeStationaryParam() argument
|
/base/msdp/device_status/intention/stationary/client/src/ |
H A D | stationary_client.cpp | 30 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in SubscribeCallback() 32 SubscribeStationaryParam param { type, event, latency, callback }; in SubscribeCallback() 34 FI_HILOGI("SubscribeStationary(type:%{public}d,event:%{public}d,latency:%{public}d)", type, event, latency); in SubscribeCallback() 29 SubscribeCallback(ITunnelClient &tunnel, Type type, ActivityEvent event, ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) SubscribeCallback() argument
|
/base/msdp/device_status/interfaces/innerkits/include/ |
H A D | devicestatus_agent.h | 48 int32_t SubscribeAgentEvent(Type type, ActivityEvent event, ReportLatencyNs latency, 54 void RegisterServiceEvent(Type type, ActivityEvent event, ReportLatencyNs latency);
|
H A D | stationary_manager.h | 45 * @param latency Indicates the reporting interval.
50 int32_t SubscribeCallback(Type type, ActivityEvent event, ReportLatencyNs latency,
|
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiorendereradapter_fuzzer/ |
H A D | audiorenderadapter_fuzzer.cpp | 47 uint64_t latency; in AudioRendererAdapterFuzzTest() local 48 audioRendererAdapterImpl.GetLatency(latency); in AudioRendererAdapterFuzzTest()
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_audio_renderer_adapter_wrapper.cpp | 69 int32_t ArkAudioRendererAdapterWrapper::GetLatency(uint64_t& latency) in GetLatency() argument 71 return ctocpp_->GetLatency(latency); in GetLatency()
|
H A D | ark_audio_renderer_adapter_wrapper.h | 42 int32_t GetLatency(uint64_t& latency) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_audio_renderer_adapter_impl.cpp | 65 int32_t ArkAudioRendererAdapterImpl::GetLatency(uint64_t& latency)
in GetLatency() argument 67 return real_->GetLatency(latency);
in GetLatency()
|
H A D | ark_audio_renderer_adapter_impl.h | 41 int32_t GetLatency(uint64_t& latency) override;
|
/base/msdp/device_status/intention/stationary/client/include/ |
H A D | stationary_client.h | 36 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
|
/base/web/webview/ohos_adapter/audio_adapter/src/ |
H A D | audio_renderer_adapter_mock.cpp | 52 int32_t AudioRendererAdapterImpl::GetLatency(uint64_t& latency) in GetLatency() argument
|
/base/msdp/device_status/intention/stationary/server/src/ |
H A D | stationary_server.cpp | 154 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in Subscribe() 156 FI_HILOGI("SubscribeStationary(type:%{public}d,event:%{public}d,latency:%{public}d)", type, event, latency); in Subscribe() 168 manager_.Subscribe(type, event, latency, callback); in Subscribe() 153 Subscribe(CallingContext &context, Type type, ActivityEvent event, ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) Subscribe() argument
|
/base/msdp/device_status/frameworks/js/napi/src/ |
H A D | devicestatus_napi.cpp | 237 ThrowErr(env, PARAM_ERROR, "Failed to get latency value item"); in CheckSubscribeParam() 330 int32_t type, int32_t event, int32_t latency) in SubscribeDeviceStatusCallback() 376 static_cast<ActivityEvent>(event), static_cast<ReportLatencyNs>(latency), callback); in SubscribeDeviceStatusCallback() 391 const auto [ret, handler, typeMode, event, latency] = CheckSubscribeParam(env, info); in SubscribeDeviceStatus() 397 FI_HILOGD("type:%{public}d, event:%{public}d, latency:%{public}d", type, event, latency); in SubscribeDeviceStatus() 406 if ((latency < ReportLatencyNs::SHORT) || (latency > ReportLatencyNs::LONG)) { in SubscribeDeviceStatus() 410 return SubscribeDeviceStatusCallback(env, info, handler, type, event, latency); in SubscribeDeviceStatus() 329 SubscribeDeviceStatusCallback(napi_env env, napi_callback_info info, napi_value handler, int32_t type, int32_t event, int32_t latency) SubscribeDeviceStatusCallback() argument
|
/base/msdp/device_status/intention/stationary/data/include/ |
H A D | stationary_params.h | 35 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_audio_renderer_adapter.h | 89 virtual int32_t GetLatency(uint64_t& latency) = 0;
|
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/include/ |
H A D | trace_decorator.h | 32 uint32_t latency = 0;
member 98 void UpdateTrafficInfo(const std::string& caller, uint64_t latency,
|
/base/msdp/device_status/services/native/include/ |
H A D | devicestatus_manager.h | 50 void Subscribe(Type type, ActivityEvent event, ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
|
/base/msdp/device_status/intention/stationary/server/include/ |
H A D | stationary_server.h | 49 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
|