/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | memory_level_info.cpp | 26 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 D | app_mgr_client.cpp | 484 AppMgrResultCode AppMgrClient::NotifyMemoryLevel(MemoryLevel level) in NotifyMemoryLevel() 495 AppMgrResultCode AppMgrClient::NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) const in NotifyProcMemoryLevel()
|
H A D | app_mgr_proxy.cpp | 395 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 D | memory_level_info.h | 32 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 D | app_mem_info.h | 21 enum MemoryLevel { enum
|
H A D | app_mgr_client.h | 297 virtual AppMgrResultCode NotifyMemoryLevel(MemoryLevel level); 306 virtual AppMgrResultCode NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) const;
|
H A D | app_mgr_interface.h | 256 virtual int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) = 0;
|
H A D | app_mgr_proxy.h | 232 virtual int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) override;
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/memory_level_manager/ |
H A D | memory_level_manager.cpp | 113 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 D | zip_utils.h | 96 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 D | ams_app_mgr_client_test.cpp | 440 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 D | ability_constant_module.cpp | 25 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 D | ability_constant_module.cpp | 26 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 D | notifymemorylevel_fuzzer.cpp | 40 MemoryLevel level = MEMORY_LEVEL_MODERATE; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_first_test/ |
H A D | app_mgr_client_first_test.cpp | 132 std::map<pid_t, MemoryLevel> procLevelMap = {}; in HWTEST_F()
|
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_running_manager.h | 209 * @param procLevelMap , <pid_t, MemoryLevel>. 212 int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap);
|
H A D | app_mgr_service.h | 257 * @param procLevelMap , <pid_t, MemoryLevel> map. 260 virtual int32_t NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) override;
|
H A D | app_mgr_service_inner.h | 454 * @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 D | mock_app_mgr_service.h | 37 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 D | mock_app_mgr_service.h | 43 MOCK_METHOD1(NotifyProcMemoryLevel, int32_t(const std::map<pid_t, MemoryLevel> &procLevelMap));
|
/foundation/ability/ability_runtime/test/fuzztest/abilityappmgrapprunningmanager_fuzzer/ |
H A D | abilityappmgrapprunningmanager_fuzzer.cpp | 207 std::map<pid_t, MemoryLevel> procLevelMap; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/ |
H A D | mock_app_mgr_service.h | 36 MOCK_METHOD1(NotifyProcMemoryLevel, int32_t(const std::map<pid_t, MemoryLevel> &procLevelMap));
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_test/ |
H A D | app_mgr_client_test.cpp | 719 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 D | app_running_manager_second_test.cpp | 469 std::map<pid_t, MemoryLevel> procLevelMap; in HWTEST_F()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service.cpp | 495 int32_t AppMgrService::NotifyProcMemoryLevel(const std::map<pid_t, MemoryLevel> &procLevelMap) in NotifyProcMemoryLevel()
|