Home
last modified time | relevance | path

Searched refs:enableDataSaver (Results 1 – 5 of 5) sorted by relevance

/system/netd/server/
DBandwidthController.h39 int enableDataSaver(bool enable);
DBandwidthControllerTest.cpp279 mBw.enableDataSaver(true); in TEST_F()
301 mBw.enableDataSaver(false); in TEST_F()
DBandwidthController.cpp349 int BandwidthController::enableDataSaver(bool enable) { in enableDataSaver() function in BandwidthController
DNetdNativeService.cpp282 int err = gCtls->bandwidthCtrl.enableDataSaver(enable); in bandwidthEnableDataSaver()
/system/netd/tests/
Dbinder_test.cpp466 bool enableDataSaver(sp<INetd>& netd, bool enable) { in enableDataSaver() function
490 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()
494 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()
497 ASSERT_TRUE(enableDataSaver(mNetd, true)); in TEST_F()
500 ASSERT_TRUE(enableDataSaver(mNetd, true)); in TEST_F()
504 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()