Home
last modified time | relevance | path

Searched refs:memoryCaller (Results 1 - 12 of 12) sorted by relevance

/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/src/
H A Dmemory_collector_client_impl.cpp30 CollectResult<int32_t> SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) override;
39 CollectResult<int32_t> MemoryCollectorImpl::SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) in SetAppResourceLimit() argument
41 return HiViewServiceMemoryDelegate::SetAppResourceLimit(memoryCaller); in SetAppResourceLimit()
/base/hiviewdfx/hiview/adapter/service/client/src/
H A Dhiview_service_memory_delegate.cpp22 CollectResult<int32_t> HiViewServiceMemoryDelegate::SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) in SetAppResourceLimit() argument
31 return proxy.SetAppResourceLimit(memoryCaller).result_; in SetAppResourceLimit()
H A Dhiview_service_ability_proxy.cpp304 UCollectClient::MemoryCaller& memoryCaller) in SetAppResourceLimit()
306 auto parcelHandler = [&memoryCaller] (MessageParcel& data) { in SetAppResourceLimit()
307 if (!data.WriteInt32(memoryCaller.pid)) { in SetAppResourceLimit()
312 if (!data.WriteString(memoryCaller.resourceType)) { in SetAppResourceLimit()
317 if (!data.WriteInt32(memoryCaller.limitValue)) { in SetAppResourceLimit()
322 if (!data.WriteBool(memoryCaller.enabledDebugLog)) { in SetAppResourceLimit()
303 SetAppResourceLimit( UCollectClient::MemoryCaller& memoryCaller) SetAppResourceLimit() argument
/base/hiviewdfx/hiview/adapter/service/client/include/
H A Dhiview_service_memory_delegate.h26 static CollectResult<int32_t> SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller);
H A Dhiview_service_ability_proxy.h48 CollectResultParcelable<int32_t> SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) override;
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/
H A Dmemory_collector_client.h40 virtual CollectResult<int32_t> SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) = 0;
/base/hiviewdfx/hiview/adapter/service/server/src/
H A Dhiview_service_ability_stub.cpp523 UCollectClient::MemoryCaller memoryCaller; in HandleSetAppResourceLimitRequest() local
524 if (!data.ReadInt32(memoryCaller.pid)) { in HandleSetAppResourceLimitRequest()
529 if (!data.ReadString(memoryCaller.resourceType)) { in HandleSetAppResourceLimitRequest()
534 if (!data.ReadInt32(memoryCaller.limitValue)) { in HandleSetAppResourceLimitRequest()
539 if (!data.ReadBool(memoryCaller.enabledDebugLog)) { in HandleSetAppResourceLimitRequest()
543 memoryCaller.pid = IPCObjectStub::GetCallingPid(); in HandleSetAppResourceLimitRequest()
544 if (memoryCaller.pid < 0) { in HandleSetAppResourceLimitRequest()
547 auto ret = SetAppResourceLimit(memoryCaller); in HandleSetAppResourceLimitRequest()
H A Dhiview_service_ability.cpp347 CollectResultParcelable<int32_t> HiviewServiceAbility::SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) in SetAppResourceLimit() argument
349 auto handler = [&memoryCaller] (HiviewService* service) { in SetAppResourceLimit()
350 return service->SetAppResourceLimit(memoryCaller); in SetAppResourceLimit()
/base/hiviewdfx/hiview/service/
H A Dhiview_service.cpp480 CollectResult<int32_t> HiviewService::SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) in SetAppResourceLimit() argument
488 HIVIEW_LOGE("XPower plugin does not exists. pid=%{public}d", memoryCaller.pid); in SetAppResourceLimit()
495 sysEventCreator.SetKeyValue("PID", memoryCaller.pid); in SetAppResourceLimit()
496 sysEventCreator.SetKeyValue("RESOURCE_TYPE", memoryCaller.resourceType); in SetAppResourceLimit()
497 sysEventCreator.SetKeyValue("RESOURCE_LIMIT", memoryCaller.limitValue); in SetAppResourceLimit()
498 sysEventCreator.SetKeyValue("RESOURCE_DEBUG_ENABLE", memoryCaller.enabledDebugLog ? "true" : "false"); in SetAppResourceLimit()
502 HIVIEW_LOGE("%{public}s failed for pid=%{public}d error", eventName.c_str(), memoryCaller.pid); in SetAppResourceLimit()
H A Dhiview_service.h55 CollectResult<int32_t> SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller);
/base/hiviewdfx/hiview/adapter/service/common/include/
H A Dihiview_service_ability.h49 virtual CollectResultParcelable<int32_t> SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) = 0;
/base/hiviewdfx/hiview/adapter/service/server/include/
H A Dhiview_service_ability.h61 CollectResultParcelable<int32_t> SetAppResourceLimit(UCollectClient::MemoryCaller& memoryCaller) override;

Completed in 6 milliseconds