Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp220 bool enableDataSaver(sp<INetd>& netd, bool enable) { in enableDataSaver() function
244 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()
248 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()
251 ASSERT_TRUE(enableDataSaver(mNetd, true)); in TEST_F()
254 ASSERT_TRUE(enableDataSaver(mNetd, true)); in TEST_F()
258 ASSERT_TRUE(enableDataSaver(mNetd, false)); in TEST_F()
/system/netd/server/
DBandwidthControllerTest.cpp191 mBw.enableDataSaver(true); in TEST_F()
199 mBw.enableDataSaver(false); in TEST_F()
DBandwidthController.h74 int enableDataSaver(bool enable);
DNetdNativeService.cpp149 int err = gCtls->bandwidthCtrl.enableDataSaver(enable); in bandwidthEnableDataSaver()
DBandwidthController.cpp302 int BandwidthController::enableDataSaver(bool enable) { in enableDataSaver() function in BandwidthController