Searched refs:EchoToPath (Results 1 - 7 of 7) sorted by relevance
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/ |
H A D | oom_score_adj_utils.cpp | 42 KernelInterface::GetInstance().EchoToPath(path.c_str(), content.c_str()); in WriteOomScoreAdjToKernel() 55 KernelInterface::GetInstance().EchoToPath(path.c_str(), content.c_str()); in WriteOomScoreAdjToKernel()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/purgeable_mem_manager/ |
H A D | purgeable_mem_utils.cpp | 138 return KernelInterface::GetInstance().EchoToPath(PATH_PURGE_HEAP.c_str(), "1");
in PurgeHeapAll() 145 return KernelInterface::GetInstance().EchoToPath(path.c_str(), std::to_string(sizeKB).c_str());
in PurgeHeapMemcg() 175 return KernelInterface::GetInstance().EchoToPath(PATH_PURGEABLE_ASHMEM.c_str(), "0 0");
in PurgeAshmAll() 181 return KernelInterface::GetInstance().EchoToPath(PATH_PURGEABLE_ASHMEM.c_str(), idWithTime.c_str());
in PurgeAshmByIdWithTime()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/nandlife_controller/ |
H A D | nandlife_controller.cpp | 345 if (KernelInterface::GetInstance().EchoToPath(ESWAP_ENABLE_PATH.c_str(), ENABLE_ESWAP.c_str())) { in OpenSwapOutTemporarily() 357 if (KernelInterface::GetInstance().EchoToPath(ESWAP_ENABLE_PATH.c_str(), DISABLE_ESWAP.c_str())) { in CloseSwapOutTemporarily()
|
/foundation/resourceschedule/memmgr/common/include/ |
H A D | kernel_interface.h | 46 bool EchoToPath(const char* path, const char* content);
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/kill_strategy_manager/ |
H A D | low_memory_killer.cpp | 205 KernelInterface::GetInstance().EchoToPath(LMKD_DBG_TRIGGER_FILE_PATH.c_str(), "1"); in PsiHandlerInner()
|
/foundation/resourceschedule/memmgr/common/src/ |
H A D | kernel_interface.cpp | 55 bool KernelInterface::EchoToPath(const char* path, const char* content) in EchoToPath() function in OHOS::Memory::KernelInterface
|
/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | kernel_interface_test.cpp | 56 bool ret = KernelInterface::GetInstance().EchoToPath("", ""); in HWTEST_F()
|
Completed in 5 milliseconds