/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/memory_level_manager/ |
H A D | memory_level_manager.cpp | 99 void MemoryLevelManager::NotifyMemoryLevel(SystemMemoryInfo &info) in NotifyMemoryLevel() function in OHOS::Memory::MemoryLevelManager 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() 133 PurgeableMemManager::GetInstance().NotifyMemoryLevel(info); in NotifyMemoryLevel() 161 NotifyMemoryLevel(info); in TriggerMemoryLevelByDump() 173 NotifyMemoryLevel(info); in PsiHandlerInner()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/ |
H A D | ams_app_mgr_client_test.cpp | 468 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_CRITICAL); 483 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_LOW); 498 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_MODERATE); 513 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_CRITICAL); 528 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_LOW); 543 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_MODERATE);
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/memory_level_manager/ |
H A D | memory_level_manager.h | 43 void NotifyMemoryLevel(SystemMemoryInfo &info);
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/notifymemorylevel_fuzzer/ |
H A D | notifymemorylevel_fuzzer.cpp | 41 if (appMgrClient->NotifyMemoryLevel(level) != 0) { in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_scene_test.cpp | 325 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(level)); 505 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(level)); 523 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(0)); // ui content is null 541 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(0)); // ui content is null
|
H A D | window_scene_session_impl_test2.cpp | 586 windowSceneSession->NotifyMemoryLevel(2); 587 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowSceneSession->NotifyMemoryLevel(2)); 589 ASSERT_EQ(WMError::WM_OK, windowSceneSession->NotifyMemoryLevel(2)); 650 ASSERT_EQ(WMError::WM_OK, window->NotifyMemoryLevel(2)); 672 ASSERT_EQ(WMError::WM_OK, window->NotifyMemoryLevel(2)); 692 ASSERT_EQ(WMError::WM_OK, window->NotifyMemoryLevel(2));
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | window_scene.cpp | 242 WMError WindowScene::NotifyMemoryLevel(int32_t level) in NotifyMemoryLevel() function in OHOS::Rosen::WindowScene 250 return mainWindow->NotifyMemoryLevel(level); in NotifyMemoryLevel()
|
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window_scene.h | 162 WMError NotifyMemoryLevel(int32_t level);
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/ |
H A D | kswapd_observer.cpp | 143 PurgeableMemManager::GetInstance().NotifyMemoryLevel(info); in HandleKswapdReport()
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/purgeable_mem_manager/ |
H A D | purgeable_mem_manager.h | 53 void NotifyMemoryLevel(const SystemMemoryInfo &info);
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | extension_impl.h | 80 void NotifyMemoryLevel(int level);
|
H A D | extension_ability_thread.h | 124 void NotifyMemoryLevel(int32_t level) override;
|
H A D | ui_ability_thread.h | 71 void NotifyMemoryLevel(int32_t level) override;
|
H A D | ui_ability_impl.h | 152 void NotifyMemoryLevel(int32_t level);
|
H A D | ability_thread.h | 88 virtual void NotifyMemoryLevel(int32_t level) = 0;
|
H A D | ability_impl.h | 336 virtual void NotifyMemoryLevel(int32_t level);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | extension_ability_thread_test.cpp | 796 extensionabilitythread->NotifyMemoryLevel(result); 816 extensionabilitythread->NotifyMemoryLevel(result); 835 extensionabilitythread->NotifyMemoryLevel(result); 855 extensionabilitythread->NotifyMemoryLevel(result);
|
/ohos5.0/base/security/access_token/services/test/mock/aafwk/ |
H A D | mock_app_mgr_service.h | 35 MOCK_METHOD1(NotifyMemoryLevel, int(int32_t level));
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/appmgrservicefirst_fuzzer/ |
H A D | appmgrservicefirst_fuzzer.cpp | 119 appMgrService->NotifyMemoryLevel(level); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/window/window_manager/test/common/mock/ |
H A D | mock_uicontent.h | 63 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));
|
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_ui_content.h | 65 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | extension_ability_thread.cpp | 556 void ExtensionAbilityThread::NotifyMemoryLevel(int32_t level) in NotifyMemoryLevel() function in OHOS::AbilityRuntime::ExtensionAbilityThread 563 extensionImpl_->NotifyMemoryLevel(level); in NotifyMemoryLevel()
|
H A D | ui_ability_thread.cpp | 474 void UIAbilityThread::NotifyMemoryLevel(int32_t level) in NotifyMemoryLevel() function in OHOS::AbilityRuntime::UIAbilityThread 481 abilityImpl_->NotifyMemoryLevel(level); in NotifyMemoryLevel()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/interfaces/ |
H A D | mock_uicontent.h | 70 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ui_content_impl.cpp | 561 void UIContentImpl::NotifyMemoryLevel(int32_t level) in NotifyMemoryLevel() function in OHOS::Ace::UIContentImpl 569 pipelineContext->NotifyMemoryLevel(level); in NotifyMemoryLevel()
|