Home
last modified time | relevance | path

Searched refs:mallocInfo (Results 1 - 25 of 34) sorted by relevance

12

/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_malloc_info.cpp28 MallocInfo *mallocInfo = new (std::nothrow) MallocInfo(); in Unmarshalling() local
29 if (mallocInfo == nullptr) { in Unmarshalling()
32 mallocInfo->usmblks = parcel.ReadInt32(); in Unmarshalling()
33 mallocInfo->uordblks = parcel.ReadInt32(); in Unmarshalling()
34 mallocInfo->fordblks = parcel.ReadInt32(); in Unmarshalling()
35 mallocInfo->hblkhd = parcel.ReadInt32(); in Unmarshalling()
36 return mallocInfo; in Unmarshalling()
H A Dapp_scheduler_host.cpp204 struct OHOS::AppExecFwk::MallocInfo mallocInfo; in HandleScheduleHeapMemory() local
205 ScheduleHeapMemory(pid, mallocInfo); in HandleScheduleHeapMemory()
206 reply.WriteParcelable(&mallocInfo); in HandleScheduleHeapMemory()
H A Dapp_scheduler_proxy.cpp120 void AppSchedulerProxy::ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) in ScheduleHeapMemory() argument
143 mallocInfo = *info; in ScheduleHeapMemory()
H A Dapp_mgr_stub.cpp651 struct OHOS::AppExecFwk::MallocInfo mallocInfo; in HandleDumpHeapMemory() local
652 auto result = DumpHeapMemory(pid, mallocInfo); in HandleDumpHeapMemory()
656 reply.WriteParcelable(&mallocInfo); in HandleDumpHeapMemory()
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_lifecycle_deal.h124 * @param mallocInfo, dynamic storage information output.
128 void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo);
H A Dapp_running_manager.h218 * @param mallocInfo, dynamic storage information output.
222 int32_t DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo);
H A Dapp_mgr_service.h267 * @param mallocInfo, dynamic storage information output.
270 virtual int32_t DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) override;
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_app_scheduler.h45 MOCK_METHOD2(ScheduleHeapMemory, void(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_scheduler_client.h47 MOCK_METHOD2(ScheduleHeapMemory, void(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
H A Dmock_app_scheduler.h47 MOCK_METHOD2(ScheduleHeapMemory, void(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
H A Dmock_application_proxy.h34 MOCK_METHOD2(ScheduleHeapMemory, void(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
H A Dmock_application.h33 MOCK_METHOD2(ScheduleHeapMemory, void(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
H A Dmock_app_mgr_service.h38 MOCK_METHOD2(DumpHeapMemory, int(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_scheduler_interface.h91 * @param mallocInfo, dynamic storage information output.
95 virtual void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) = 0;
H A Dapp_scheduler_proxy.h86 * @param mallocInfo, dynamic storage information output.
90 virtual void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) override;
H A Dapp_mgr_interface.h263 * @param mallocInfo, dynamic storage information output.
266 virtual int DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) = 0;
H A Dapp_mgr_client.h313 * @param mallocInfo, dynamic storage information output.
316 virtual AppMgrResultCode DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo);
H A Dapp_mgr_proxy.h239 * @param mallocInfo, dynamic storage information output.
242 virtual int32_t DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) override;
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_lifecycle_deal.cpp146 void AppLifeCycleDeal::ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) in ScheduleHeapMemory() argument
154 appThread->ScheduleHeapMemory(pid, mallocInfo); in ScheduleHeapMemory()
/foundation/ability/ability_runtime/test/fuzztest/abilityappmgrapprunningmanager_fuzzer/
H A Dabilityappmgrapprunningmanager_fuzzer.cpp210 OHOS::AppExecFwk::MallocInfo mallocInfo; in DoSomethingInterestingWithMyAPI() local
211 manager->DumpHeapMemory(pidDump, mallocInfo); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dmain_thread.h175 * @param mallocInfo, dynamic storage information output.
177 void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) override;
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_app_mgr_service.h44 MOCK_METHOD2(DumpHeapMemory, int(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/
H A Dmock_app_mgr_service.h37 MOCK_METHOD2(DumpHeapMemory, int(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_test/
H A Dapp_mgr_client_test.cpp691 OHOS::AppExecFwk::MallocInfo mallocInfo; in HWTEST_F() local
692 appMgrClient->DumpHeapMemory(pid, mallocInfo); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/app_running_manager_second_test/
H A Dapp_running_manager_second_test.cpp494 OHOS::AppExecFwk::MallocInfo mallocInfo; in HWTEST_F() local
495 auto ret = appRunningManager->DumpHeapMemory(1, mallocInfo); in HWTEST_F()

Completed in 21 milliseconds

12