/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/ |
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()
|
D | trace_decorator.cpp | 102 uint64_t latency = (endTime - startTime > 0) ? (endTime - startTime) : 0; in UpdateTraceStatInfo() local 110 .isOverCall = isOverCall, .latency = latency}; in UpdateTraceStatInfo() 112 UpdateTrafficInfo(callerStr, latency, result); in UpdateTraceStatInfo() 124 .avgLatency = item.latency, in UpdateAPIStatInfo() 125 .maxLatency = item.latency, in UpdateAPIStatInfo() 126 .totalTimeSpend = item.latency, in UpdateAPIStatInfo() 136 statInfo.totalTimeSpend += item.latency; in UpdateAPIStatInfo() 137 if (statInfo.maxLatency < item.latency) { in UpdateAPIStatInfo() 138 statInfo.maxLatency = item.latency; in UpdateAPIStatInfo() 146 void TraceStatWrapper::UpdateTrafficInfo(const std::string& caller, uint64_t latency, in UpdateTrafficInfo() argument [all …]
|
/base/msdp/device_status/intention/stationary/data/src/ |
D | stationary_params.cpp | 23 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in SubscribeStationaryParam() argument 24 : type_(type), event_(event), latency_(latency), callback_(callback) in SubscribeStationaryParam() 42 int32_t latency {}; in Unmarshalling() local 46 parcel.ReadInt32(latency); in Unmarshalling() 52 latency_ = static_cast<ReportLatencyNs>(latency); in Unmarshalling()
|
/base/msdp/device_status/frameworks/native/src/ |
D | devicestatus_agent.cpp | 43 ReportLatencyNs latency, in SubscribeAgentEvent() argument 53 RegisterServiceEvent(type, event, latency); in SubscribeAgentEvent() 69 …id DeviceStatusAgent::RegisterServiceEvent(Type type, ActivityEvent event, ReportLatencyNs latency) in RegisterServiceEvent() argument 74 StationaryManager::GetInstance()->SubscribeCallback(type, event, latency, callback_); in RegisterServiceEvent()
|
D | stationary_manager.cpp | 38 …t32_t StationaryManager::SubscribeCallback(Type type, ActivityEvent event, ReportLatencyNs latency, in SubscribeCallback() argument 42 return INTER_MGR_IMPL.SubscribeCallback(type, event, latency, callback); in SubscribeCallback() 44 return DeviceStatusClient::GetInstance().SubscribeCallback(type, event, latency, callback); in SubscribeCallback()
|
/base/msdp/device_status/test/systemtest/src/ |
D | devicestatus_client_test.cpp | 61 ReportLatencyNs latency = ReportLatencyNs::Latency_INVALID; variable 63 …esult = stationaryMgr->SubscribeCallback(Type::TYPE_VERTICAL_POSITION, activityEvent, latency, cb); 68 result = stationaryMgr->SubscribeCallback(Type::TYPE_INVALID, activityEvent, latency, cb); 73 … result = stationaryMgr->SubscribeCallback(Type::TYPE_ABSOLUTE_STILL, activityEvent, latency, cb); 78 …ult = stationaryMgr->SubscribeCallback(Type::TYPE_HORIZONTAL_POSITION, activityEvent, latency, cb); 83 result = stationaryMgr->SubscribeCallback(Type::TYPE_LID_OPEN, activityEvent, latency, cb); 88 result = stationaryMgr->SubscribeCallback(Type::TYPE_MAX, activityEvent, latency, cb);
|
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetlatency_fuzzer/ |
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/ |
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/client/src/ |
D | stationary_client.cpp | 30 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in SubscribeCallback() argument 32 SubscribeStationaryParam param { type, event, latency, callback }; in SubscribeCallback() 34 …("SubscribeStationary(type:%{public}d,event:%{public}d,latency:%{public}d)", type, event, latency); in SubscribeCallback()
|
/base/msdp/device_status/interfaces/innerkits/include/ |
D | devicestatus_agent.h | 48 int32_t SubscribeAgentEvent(Type type, ActivityEvent event, ReportLatencyNs latency, 54 void RegisterServiceEvent(Type type, ActivityEvent event, ReportLatencyNs latency);
|
D | stationary_manager.h | 50 int32_t SubscribeCallback(Type type, ActivityEvent event, ReportLatencyNs latency,
|
/base/web/webview/ohos_glue/ohos_adapter/bridge/ |
D | ark_audio_renderer_adapter_impl.cpp | 64 int32_t ArkAudioRendererAdapterImpl::GetLatency(uint64_t& latency) in GetLatency() argument 66 return real_->GetLatency(latency); in GetLatency()
|
D | ark_audio_renderer_adapter_impl.h | 41 int32_t GetLatency(uint64_t& latency) override;
|
/base/web/webview/ohos_glue/ohos_adapter/cpptoc/ |
D | ark_audio_renderer_adapter_cpptoc.cpp | 95 struct _ark_audio_renderer_adapter_t* self, uint64_t* latency) in ark_audio_renderer_adapter_get_latency() argument 101 ARK_WEB_CPPTOC_CHECK_PARAM(latency, 0); in ark_audio_renderer_adapter_get_latency() 104 return ArkAudioRendererAdapterCppToC::Get(self)->GetLatency(*latency); in ark_audio_renderer_adapter_get_latency()
|
/base/msdp/device_status/intention/stationary/server/src/ |
D | stationary_server.cpp | 128 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) in Subscribe() argument 130 …("SubscribeStationary(type:%{public}d,event:%{public}d,latency:%{public}d)", type, event, latency); in Subscribe() 140 manager_.Subscribe(type, event, latency, callback); in Subscribe()
|
/base/web/webview/ohos_adapter/audio_adapter/src/ |
D | audio_renderer_adapter_mock.cpp | 52 int32_t AudioRendererAdapterImpl::GetLatency(uint64_t& latency) in GetLatency() argument
|
/base/msdp/device_status/intention/stationary/client/include/ |
D | stationary_client.h | 36 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
|
/base/msdp/device_status/frameworks/js/napi/src/ |
D | devicestatus_napi.cpp | 332 int32_t type, int32_t event, int32_t latency) in SubscribeDeviceStatusCallback() argument 361 static_cast<ActivityEvent>(event), static_cast<ReportLatencyNs>(latency), callback); in SubscribeDeviceStatusCallback() 376 const auto [ret, handler, typeMode, event, latency] = CheckSubscribeParam(env, info); in SubscribeDeviceStatus() 382 FI_HILOGD("type:%{public}d, event:%{public}d, latency:%{public}d", type, event, latency); in SubscribeDeviceStatus() 391 if ((latency < ReportLatencyNs::SHORT) || (latency > ReportLatencyNs::LONG)) { in SubscribeDeviceStatus() 395 return SubscribeDeviceStatusCallback(env, info, handler, type, event, latency); in SubscribeDeviceStatus()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/include/ |
D | trace_decorator.h | 32 uint32_t latency = 0; member 98 void UpdateTrafficInfo(const std::string& caller, uint64_t latency,
|
/base/msdp/device_status/intention/stationary/data/include/ |
D | stationary_params.h | 35 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
|
/base/web/webview/ohos_glue/ohos_adapter/include/ |
D | ark_audio_renderer_adapter.h | 82 virtual int32_t GetLatency(uint64_t& latency) = 0;
|
/base/web/webview/ohos_glue/ohos_adapter/capi/ |
D | ark_audio_renderer_adapter_capi.h | 78 …32_t(ARK_WEB_CALLBACK* get_latency)(struct _ark_audio_renderer_adapter_t* self, uint64_t* latency);
|
/base/msdp/device_status/services/native/include/ |
D | devicestatus_manager.h | 50 …void Subscribe(Type type, ActivityEvent event, ReportLatencyNs latency, sptr<IRemoteDevStaCallback…
|
/base/web/webview/ohos_adapter/audio_adapter/include/ |
D | audio_renderer_adapter_impl.h | 63 int32_t GetLatency(uint64_t& latency) override;
|
/base/msdp/device_status/intention/stationary/server/include/ |
D | stationary_server.h | 45 ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback);
|