Home
last modified time | relevance | path

Searched refs:NotifyMemoryLevel (Results 1 – 25 of 90) sorted by relevance

1234

/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/memory_level_manager/
H A Dmemory_level_manager.cpp99 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 Dams_app_mgr_client_test.cpp468 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 Dmemory_level_manager.h43 void NotifyMemoryLevel(SystemMemoryInfo &info);
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/notifymemorylevel_fuzzer/
H A Dnotifymemorylevel_fuzzer.cpp41 if (appMgrClient->NotifyMemoryLevel(level) != 0) { in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_scene_test.cpp325 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 Dwindow_scene_session_impl_test2.cpp586 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 Dwindow_scene.cpp242 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 Dwindow_scene.h162 WMError NotifyMemoryLevel(int32_t level);
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dkswapd_observer.cpp143 PurgeableMemManager::GetInstance().NotifyMemoryLevel(info); in HandleKswapdReport()
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/purgeable_mem_manager/
H A Dpurgeable_mem_manager.h53 void NotifyMemoryLevel(const SystemMemoryInfo &info);
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dextension_impl.h80 void NotifyMemoryLevel(int level);
H A Dextension_ability_thread.h124 void NotifyMemoryLevel(int32_t level) override;
H A Dui_ability_thread.h71 void NotifyMemoryLevel(int32_t level) override;
H A Dui_ability_impl.h152 void NotifyMemoryLevel(int32_t level);
H A Dability_thread.h88 virtual void NotifyMemoryLevel(int32_t level) = 0;
H A Dability_impl.h336 virtual void NotifyMemoryLevel(int32_t level);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dextension_ability_thread_test.cpp796 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 Dmock_app_mgr_service.h35 MOCK_METHOD1(NotifyMemoryLevel, int(int32_t level));
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/appmgrservicefirst_fuzzer/
H A Dappmgrservicefirst_fuzzer.cpp119 appMgrService->NotifyMemoryLevel(level); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/window/window_manager/test/common/mock/
H A Dmock_uicontent.h63 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ui_content.h65 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dextension_ability_thread.cpp556 void ExtensionAbilityThread::NotifyMemoryLevel(int32_t level) in NotifyMemoryLevel() function in OHOS::AbilityRuntime::ExtensionAbilityThread
563 extensionImpl_->NotifyMemoryLevel(level); in NotifyMemoryLevel()
H A Dui_ability_thread.cpp474 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 Dmock_uicontent.h70 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dui_content_impl.cpp561 void UIContentImpl::NotifyMemoryLevel(int32_t level) in NotifyMemoryLevel() function in OHOS::Ace::UIContentImpl
569 pipelineContext->NotifyMemoryLevel(level); in NotifyMemoryLevel()

1234