Home
last modified time | relevance | path

Searched refs:NotifyMemoryLevel (Results 1 - 25 of 88) sorted by relevance

1234

/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()
/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/resourceschedule/memmgr/services/memmgrservice/include/memory_level_manager/
H A Dmemory_level_manager.h43 void NotifyMemoryLevel(SystemMemoryInfo &info);
/foundation/ability/ability_runtime/test/fuzztest/notifymemorylevel_fuzzer/
H A Dnotifymemorylevel_fuzzer.cpp41 if (appMgrClient->NotifyMemoryLevel(level) != 0) { in DoSomethingInterestingWithMyAPI()
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_scene.h162 WMError NotifyMemoryLevel(int32_t level);
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_scene_test.cpp325 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(level)); in HWTEST_F()
497 * @tc.desc: NotifyMemoryLevel without mainWindow
505 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(level)); in HWTEST_F()
510 * @tc.desc: NotifyMemoryLevel with level
523 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(0)); // ui content is null in HWTEST_F()
528 * @tc.desc: NotifyMemoryLevel with windowSceneSession
541 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(0)); // ui content is null in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dextension_ability_thread.h124 void NotifyMemoryLevel(int32_t level) override;
H A Dextension_impl.h80 void NotifyMemoryLevel(int level);
H A Dui_ability_impl.h152 void NotifyMemoryLevel(int32_t level);
H A Dui_ability_thread.h71 void NotifyMemoryLevel(int32_t level) override;
H A Dability_thread.h89 virtual void NotifyMemoryLevel(int32_t level) = 0;
H A Dability_impl.h332 virtual void NotifyMemoryLevel(int32_t level);
H A Dfa_ability_thread.h270 void NotifyMemoryLevel(int32_t level) override;
/foundation/resourceschedule/memmgr/services/memmgrservice/include/purgeable_mem_manager/
H A Dpurgeable_mem_manager.h53 void NotifyMemoryLevel(const SystemMemoryInfo &info);
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dkswapd_observer.cpp143 PurgeableMemManager::GetInstance().NotifyMemoryLevel(info); in HandleKswapdReport()
/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()
/foundation/ability/ability_runtime/test/fuzztest/appmgrservicefirst_fuzzer/
H A Dappmgrservicefirst_fuzzer.cpp119 appMgrService->NotifyMemoryLevel(level); in DoSomethingInterestingWithMyAPI()
/foundation/window/window_manager/test/common/mock/
H A Dmock_uicontent.h63 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dextension_ability_thread_test.cpp773 * @tc.name: NotifyMemoryLevel
774 * @tc.desc: Test NotifyMemoryLevel function when isExtension_ is false and
786 extensionabilitythread->NotifyMemoryLevel(result); in HWTEST_F()
792 * @tc.name: NotifyMemoryLevel
793 * @tc.desc: Test NotifyMemoryLevel function when isExtension_ is false and
806 extensionabilitythread->NotifyMemoryLevel(result); in HWTEST_F()
812 * @tc.name: NotifyMemoryLevel
813 * @tc.desc: Test NotifyMemoryLevel function when isExtension_ is true and
825 extensionabilitythread->NotifyMemoryLevel(result); in HWTEST_F()
831 * @tc.name: NotifyMemoryLevel
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dextension_ability_thread.cpp559 void ExtensionAbilityThread::NotifyMemoryLevel(int32_t level) in NotifyMemoryLevel() function in OHOS::AbilityRuntime::ExtensionAbilityThread
566 extensionImpl_->NotifyMemoryLevel(level); in NotifyMemoryLevel()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ui_content.h66 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_running_manager.h204 int32_t NotifyMemoryLevel(int32_t level);
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_mgr_interface.h241 * NotifyMemoryLevel, call NotifyMemoryLevel() through proxy project.
247 virtual int NotifyMemoryLevel(int32_t level) = 0;
250 * NotifyProcMemoryLevel, call NotifyMemoryLevel() through proxy project.
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dui_content_impl.h101 void NotifyMemoryLevel(int32_t level) override;
/foundation/arkui/ace_engine/test/mock/interfaces/
H A Dmock_uicontent.h71 MOCK_METHOD1(NotifyMemoryLevel, void(int32_t level));

Completed in 19 milliseconds

1234