blob: 2be67edfc946663aafabe759f74b5e0dd43253fe [file] [log] [blame]
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.android.systemui.utils.leaks;
import android.testing.LeakCheck;
import com.android.internal.statusbar.StatusBarIcon;
import com.android.systemui.statusbar.phone.StatusBarIconController;
import com.android.systemui.statusbar.phone.StatusBarIconController.IconManager;
import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.CallIndicatorIconState;
import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.MobileIconState;
import com.android.systemui.statusbar.phone.StatusBarSignalPolicy.WifiIconState;
import java.util.List;
public class FakeStatusBarIconController extends BaseLeakChecker<IconManager>
implements StatusBarIconController {
public FakeStatusBarIconController(LeakCheck test) {
super(test, "StatusBarGroup");
}
@Override
public void addIconGroup(IconManager iconManager) {
addCallback(iconManager);
}
@Override
public void removeIconGroup(IconManager iconManager) {
removeCallback(iconManager);
}
@Override
public void refreshIconGroup(IconManager iconManager) {
}
@Override
public void setExternalIcon(String slot) {
}
@Override
public void setIcon(String slot, int resourceId, CharSequence contentDescription) {
}
@Override
public void setIcon(String slot, StatusBarIcon icon) {
}
@Override
public void setSignalIcon(String slot, WifiIconState state) {
}
@Override
public void setMobileIcons(String slot, List<MobileIconState> states) {
}
@Override
public void setCallStrengthIcons(String slot, List<CallIndicatorIconState> states) {
}
@Override
public void setNoCallingIcons(String slot, List<CallIndicatorIconState> states) {
}
@Override
public void setIconVisibility(String slotTty, boolean b) {
}
@Override
public void removeIcon(String slot, int tag) {
}
@Override
public void removeAllIconsForSlot(String slot) {
}
@Override
public void setIconAccessibilityLiveRegion(String slot, int mode) {
}
}