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.cpp229 mBw.enableDataSaver(true); in TEST_F()
251 mBw.enableDataSaver(false); in TEST_F()
DBandwidthController.cpp320 int BandwidthController::enableDataSaver(bool enable) { in enableDataSaver() function in BandwidthController
DNetdNativeService.cpp285 int err = gCtls->bandwidthCtrl.enableDataSaver(enable); in bandwidthEnableDataSaver()
/system/netd/tests/
Dbinder_test.cpp523 bool enableDataSaver(sp<INetd>& netd, bool enable) { in enableDataSaver() function
547 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()
551 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()
554 ASSERT_TRUE(enableDataSaver(mNetd, true)); in TEST_F()
557 ASSERT_TRUE(enableDataSaver(mNetd, true)); in TEST_F()
561 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()