Home
last modified time | relevance | path

Searched refs:MemoryLevel (Results 1 - 25 of 27) sorted by relevance

12

/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dmemory_level_info.cpp26 MemoryLevelInfo::MemoryLevelInfo(const std::map<pid_t, MemoryLevel> &procLevelMap) : procLevelMap_(procLevelMap) in MemoryLevelInfo()
57 const std::map<pid_t, MemoryLevel> &MemoryLevelInfo::GetProcLevelMap() const in GetProcLevelMap()
74 MemoryLevel level = MEMORY_LEVEL_MODERATE; in ReadFromParcel()
79 level = static_cast<MemoryLevel>(tempLevel); in ReadFromParcel()
H A Dapp_mgr_client.cpp484 AppMgrResultCode AppMgrClient::NotifyMemoryLevel(MemoryLevel level) in NotifyMemoryLevel()
495 AppMgrResultCode AppMgrClient::NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) const in NotifyProcMemoryLevel()
H A Dapp_mgr_proxy.cpp395 int32_t AppMgrProxy::NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) in NotifyProcMemoryLevel()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dmemory_level_info.h32 MemoryLevelInfo(const std::map<pid_t, MemoryLevel> &procLevelMap);
38 const std::map<pid_t, MemoryLevel> &GetProcLevelMap() const;
43 std::map<pid_t, MemoryLevel> procLevelMap_;
H A Dapp_mem_info.h21 enum MemoryLevel { enum
H A Dapp_mgr_client.h297 virtual AppMgrResultCode NotifyMemoryLevel(MemoryLevel level);
306 virtual AppMgrResultCode NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) const;
H A Dapp_mgr_interface.h256 virtual int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) = 0;
H A Dapp_mgr_proxy.h232 virtual int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) override;
/foundation/resourceschedule/memmgr/services/memmgrservice/src/memory_level_manager/
H A Dmemory_level_manager.cpp113 appMgrClient_->NotifyMemoryLevel(AppExecFwk::MemoryLevel::MEMORY_LEVEL_MODERATE); in NotifyMemoryLevel()
118 appMgrClient_->NotifyMemoryLevel(AppExecFwk::MemoryLevel::MEMORY_LEVEL_LOW); in NotifyMemoryLevel()
123 appMgrClient_->NotifyMemoryLevel(AppExecFwk::MemoryLevel::MEMORY_LEVEL_CRITICAL); in NotifyMemoryLevel()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/include/
H A Dzip_utils.h96 enum MemoryLevel { MEM_LEVEL_MIN_MEMLEVEL = 1, MEM_LEVEL_DEFAULT_MEMLEVEL = 8, MEM_LEVEL_MAX_MEMLEVEL = 9 }; enum
97 using MEMORY_LEVEL = enum MemoryLevel;
/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/
H A Dams_app_mgr_client_test.cpp440 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_CRITICAL); in HWTEST_F()
455 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_LOW); in HWTEST_F()
470 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_MODERATE); in HWTEST_F()
485 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_CRITICAL); in HWTEST_F()
500 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_LOW); in HWTEST_F()
515 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_MODERATE); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/simulator/napi_module/ability_constant/
H A Dability_constant_module.cpp25 enum class MemoryLevel { class
137 static_cast<int>(MemoryLevel::MEMORY_LEVEL_MODERATE))); in InitMemoryLevelObject()
139 static_cast<int>(MemoryLevel::MEMORY_LEVEL_LOW))); in InitMemoryLevelObject()
141 static_cast<int>(MemoryLevel::MEMORY_LEVEL_CRITICAL))); in InitMemoryLevelObject()
198 DECLARE_NAPI_PROPERTY("MemoryLevel", memoryLevel), in AbilityConstantInit()
/foundation/ability/ability_runtime/frameworks/js/napi/ability_constant/
H A Dability_constant_module.cpp26 enum class MemoryLevel { class
160 static_cast<int>(MemoryLevel::MEMORY_LEVEL_MODERATE))); in InitMemoryLevelObject()
162 static_cast<int>(MemoryLevel::MEMORY_LEVEL_LOW))); in InitMemoryLevelObject()
164 static_cast<int>(MemoryLevel::MEMORY_LEVEL_CRITICAL))); in InitMemoryLevelObject()
228 DECLARE_NAPI_PROPERTY("MemoryLevel", memoryLevel), in AbilityConstantInit()
/foundation/ability/ability_runtime/test/fuzztest/notifymemorylevel_fuzzer/
H A Dnotifymemorylevel_fuzzer.cpp40 MemoryLevel level = MEMORY_LEVEL_MODERATE; in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_first_test/
H A Dapp_mgr_client_first_test.cpp132 std::map<pid_t, MemoryLevel> procLevelMap = {}; in HWTEST_F()
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_running_manager.h209 * @param procLevelMap , <pid_t, MemoryLevel>.
212 int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap);
H A Dapp_mgr_service.h257 * @param procLevelMap , <pid_t, MemoryLevel> map.
260 virtual int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) override;
H A Dapp_mgr_service_inner.h454 * @param procLevelMap , <pid_t, MemoryLevel>.
458 virtual int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap);
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_mgr_service.h37 MOCK_METHOD1(NotifyProcMemoryLevel, int32_t(const std::map<pid_t, MemoryLevel> &procLevelMap));
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_app_mgr_service.h43 MOCK_METHOD1(NotifyProcMemoryLevel, int32_t(const std::map<pid_t, MemoryLevel> &procLevelMap));
/foundation/ability/ability_runtime/test/fuzztest/abilityappmgrapprunningmanager_fuzzer/
H A Dabilityappmgrapprunningmanager_fuzzer.cpp207 std::map<pid_t, MemoryLevel> procLevelMap; in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/
H A Dmock_app_mgr_service.h36 MOCK_METHOD1(NotifyProcMemoryLevel, int32_t(const std::map<pid_t, MemoryLevel> &procLevelMap));
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_test/
H A Dapp_mgr_client_test.cpp719 MemoryLevel level = MEMORY_LEVEL_MODERATE; in HWTEST_F()
732 std::map<pid_t, MemoryLevel> procLevelMap; in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/app_running_manager_second_test/
H A Dapp_running_manager_second_test.cpp469 std::map<pid_t, MemoryLevel> procLevelMap; in HWTEST_F()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service.cpp495 int32_t AppMgrService::NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) in NotifyProcMemoryLevel()

Completed in 26 milliseconds

12