/foundation/filemanagement/app_file_service/interfaces/kits/ndk/fileshare/src/ |
H A D | oh_file_share.cpp | 64 auto memorySize = count * sizeof(FileShare_PolicyErrorResult); in ConvertPolicyErrorResult() local 65 if (memorySize == 0 || memorySize > FOO_MAX_LEN) { in ConvertPolicyErrorResult() 69 *result = static_cast<FileShare_PolicyErrorResult *>(malloc(memorySize)); in ConvertPolicyErrorResult() 110 auto memorySize = count * sizeof(bool); in ConvertPolicyErrorResultBool() local 111 if (memorySize == 0 || memorySize > FOO_MAX_LEN) { in ConvertPolicyErrorResultBool() 115 *result = (bool *)malloc(memorySize); in ConvertPolicyErrorResultBool()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_dfx.h | 44 uint32_t memorySize; member
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_dfx.cpp | 102 "MEMORY_SIZE", options.memorySize, in ReportDecodeFault() 156 { .name = "MEMORY_SIZE", .t = HISYSEVENT_UINT32, .v = { .ui32 = options.memorySize } }, in ReportDecodeInfo()
|
/foundation/ability/ability_runtime/frameworks/js/napi/app/app_manager/ |
H A D | js_app_manager.cpp | 468 int32_t memorySize = abilityManager->GetAppMemorySize(); in OnGetAppMemorySize() 469 TAG_LOGI(AAFwkTag::APPMGR, "memorySize:%{public}d", memorySize); in OnGetAppMemorySize() 470 task.Resolve(env, CreateJsValue(env, memorySize)); in OnGetAppMemorySize()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | app_mgr_interface.h | 558 * get memorySize by pid. 561 * @param memorySize Output parameters, return memorySize in KB. 564 virtual int32_t GetProcessMemoryByPid(const int32_t pid, int32_t &memorySize) = 0;
|
H A D | app_mgr_proxy.h | 477 * get memorySize by pid. 480 * @param memorySize Output parameters, return memorySize in KB. 483 virtual int32_t GetProcessMemoryByPid(const int32_t pid, int32_t &memorySize) override;
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/ |
H A D | ext_encoder.h | 103 std::shared_ptr<Media::AbsMemory> AllocateNewSharedMem(size_t memorySize, std::string tag);
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_proxy_test/ |
H A D | app_mgr_proxy_test.cpp | 282 * @tc.desc: Get memorySize by pid. 295 int32_t memorySize = 0; in HWTEST_F() local 296 appMgrProxy_->GetProcessMemoryByPid(pid, memorySize); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/ |
H A D | app_mgr_service_test.cpp | 1247 int32_t memorySize = 0; in HWTEST_F() local 1248 int32_t res = appMgrService->GetProcessMemoryByPid(pid, memorySize); in HWTEST_F() 1270 int32_t memorySize = 0; in HWTEST_F() local 1271 int32_t res = appMgrService->GetProcessMemoryByPid(pid, memorySize); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/ |
H A D | mock_app_mgr_service.h | 91 MOCK_METHOD2(GetProcessMemoryByPid, int32_t(const int32_t pid, int32_t & memorySize));
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/ |
H A D | mock_app_mgr_service.h | 73 MOCK_METHOD2(GetProcessMemoryByPid, int32_t(const int32_t pid, int32_t & memorySize));
|
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_mgr_service.h | 557 * get memorySize by pid. 560 * @param memorySize Output parameters, return memorySize in KB. 563 virtual int32_t GetProcessMemoryByPid(const int32_t pid, int32_t &memorySize) override;
|
H A D | app_mgr_service_inner.h | 962 * get memorySize by pid. 965 * @param memorySize Output parameters, return memorySize in KB. 968 virtual int32_t GetProcessMemoryByPid(const int32_t pid, int32_t &memorySize);
|
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/ |
H A D | mock_app_mgr_service.h | 90 MOCK_METHOD2(GetProcessMemoryByPid, int32_t(const int32_t pid, int32_t & memorySize));
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | app_mgr_stub.cpp | 1190 int32_t memorySize = 0; in HandleGetProcessMemoryByPid() local 1191 auto result = GetProcessMemoryByPid(pid, memorySize); in HandleGetProcessMemoryByPid() 1192 if (!reply.WriteInt32(memorySize)) { in HandleGetProcessMemoryByPid()
|
H A D | app_mgr_proxy.cpp | 1339 int32_t AppMgrProxy::GetProcessMemoryByPid(const int32_t pid, int32_t &memorySize) in GetProcessMemoryByPid() argument 1356 memorySize = reply.ReadInt32(); in GetProcessMemoryByPid()
|
/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/ |
H A D | js_app_manager.cpp | 1129 int32_t memorySize = abilityManager->GetAppMemorySize(); in OnGetAppMemorySize() 1130 TAG_LOGI(AAFwkTag::APPMGR, "memorySize:%{public}d", memorySize); in OnGetAppMemorySize() 1131 task->ResolveWithNoError(env, CreateJsValue(env, memorySize)); in OnGetAppMemorySize()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service.cpp | 1221 int32_t AppMgrService::GetProcessMemoryByPid(const int32_t pid, int32_t &memorySize) in GetProcessMemoryByPid() argument 1228 return appMgrServiceInner_->GetProcessMemoryByPid(pid, memorySize); in GetProcessMemoryByPid()
|
H A D | app_mgr_service_inner.cpp | 6338 int32_t AppMgrServiceInner::GetProcessMemoryByPid(const int32_t pid, int32_t &memorySize) in NotifyAppFaultBySA() argument 6342 memorySize = static_cast<int32_t>(memSize); in NotifyAppFaultBySA()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_encoder.cpp | 1626 std::shared_ptr<AbsMemory> ExtEncoder::AllocateNewSharedMem(size_t memorySize, std::string tag)
in AllocateNewSharedMem() argument 1629 memoryData.size = memorySize;
in AllocateNewSharedMem()
|
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/ |
H A D | func_test.cpp | 1743 int32_t memorySize = OH_AVMemory_GetSize(memory); 1744 ASSERT_NE(0, memorySize);
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_test/ |
H A D | app_mgr_service_inner_test.cpp | 3323 * @tc.desc: Get memorySize by pid. 3334 int32_t memorySize = 0; in HWTEST_F() local 3335 int32_t ret = appMgrServiceInner->GetProcessMemoryByPid(pid, memorySize); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 826 "memorySize: %d, memoryType: %d", info.size.width, info.size.height, opts.desiredSize.width, 1096 options.memorySize = context.pixelsBuffer.bufferSize;
|