Home
last modified time | relevance | path

Searched refs:memorySize (Results 1 - 23 of 23) sorted by relevance

/foundation/filemanagement/app_file_service/interfaces/kits/ndk/fileshare/src/
H A Doh_file_share.cpp64 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 Dimage_dfx.h44 uint32_t memorySize; member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_dfx.cpp102 "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 Djs_app_manager.cpp468 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 Dapp_mgr_interface.h558 * 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 Dapp_mgr_proxy.h477 * 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 Dext_encoder.h103 std::shared_ptr<Media::AbsMemory> AllocateNewSharedMem(size_t memorySize, std::string tag);
/foundation/ability/ability_runtime/test/unittest/app_mgr_proxy_test/
H A Dapp_mgr_proxy_test.cpp282 * @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 Dapp_mgr_service_test.cpp1247 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 Dmock_app_mgr_service.h91 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 Dmock_app_mgr_service.h73 MOCK_METHOD2(GetProcessMemoryByPid, int32_t(const int32_t pid, int32_t & memorySize));
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_mgr_service.h557 * 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 Dapp_mgr_service_inner.h962 * 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 Dmock_app_mgr_service.h90 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 Dapp_mgr_stub.cpp1190 int32_t memorySize = 0; in HandleGetProcessMemoryByPid() local
1191 auto result = GetProcessMemoryByPid(pid, memorySize); in HandleGetProcessMemoryByPid()
1192 if (!reply.WriteInt32(memorySize)) { in HandleGetProcessMemoryByPid()
H A Dapp_mgr_proxy.cpp1339 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 Djs_app_manager.cpp1129 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 Dapp_mgr_service.cpp1221 int32_t AppMgrService::GetProcessMemoryByPid(const int32_t pid, int32_t &memorySize) in GetProcessMemoryByPid() argument
1228 return appMgrServiceInner_->GetProcessMemoryByPid(pid, memorySize); in GetProcessMemoryByPid()
H A Dapp_mgr_service_inner.cpp6338 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 Dext_encoder.cpp1626 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 Dfunc_test.cpp1743 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 Dapp_mgr_service_inner_test.cpp3323 * @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 Dimage_source.cpp826 "memorySize: %d, memoryType: %d", info.size.width, info.size.height, opts.desiredSize.width,
1096 options.memorySize = context.pixelsBuffer.bufferSize;

Completed in 59 milliseconds