use of com.android.systemui.statusbar.policy.NetworkController in project android_frameworks_base by crdroidandroid.
the class TileServicesTests method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
mManagers = new ArrayList<>();
final NetworkController networkController = Mockito.mock(NetworkController.class);
Mockito.when(networkController.getDataSaverController()).thenReturn(Mockito.mock(DataSaverController.class));
QSTileHost host = new QSTileHost(mContext, null, null, null, null, networkController, null, Mockito.mock(HotspotController.class), null, null, null, null, null, null, null, null, null);
mTileService = new TestTileServices(host, Looper.myLooper());
}
Aggregations