HomeSort by relevance Sort by last modified time
    Searched refs:IconState (Results 1 - 14 of 14) sorted by null

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SignalCallbackAdapter.java 20 import com.android.systemui.statusbar.policy.NetworkController.IconState;
33 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon,
38 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType,
52 public void setEthernetIndicators(IconState icon) {
56 public void setIsAirplaneMode(IconState icon) {
NetworkController.java 44 void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon,
47 void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType,
53 void setEthernetIndicators(IconState icon);
55 void setIsAirplaneMode(IconState icon);
64 public static class IconState {
69 public IconState(boolean visible, int icon, String contentDescription) {
75 public IconState(boolean visible, int icon, int contentDescription,
CallbackHandler.java 24 import com.android.systemui.statusbar.policy.NetworkController.IconState;
79 signalCluster.setEthernetIndicators((IconState) msg.obj);
84 signalCluster.setIsAirplaneMode((IconState) msg.obj);
110 public void setWifiIndicators(final boolean enabled, final IconState statusIcon,
111 final IconState qsIcon, final boolean activityIn, final boolean activityOut,
125 public void setMobileDataIndicators(final IconState statusIcon, final IconState qsIcon,
162 public void setEthernetIndicators(IconState icon) {
167 public void setIsAirplaneMode(IconState icon) {
EthernetSignalController.java 21 import com.android.systemui.statusbar.policy.NetworkController.IconState;
55 callback.setEthernetIndicators(new IconState(ethernetVisible, getCurrentIconId(),
WifiSignalController.java 30 import com.android.systemui.statusbar.policy.NetworkController.IconState;
90 IconState statusIcon = new IconState(wifiVisible, getCurrentIconId(), contentDescription);
91 IconState qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconId(),
MobileSignalController.java 36 import com.android.systemui.statusbar.policy.NetworkController.IconState;
233 IconState statusIcon = new IconState(mCurrentState.enabled && !mCurrentState.airplaneMode,
237 IconState qsIcon = null;
242 qsIcon = new IconState(mCurrentState.enabled
NetworkControllerImpl.java 327 cb.setIsAirplaneMode(new IconState(mAirplaneMode,
590 mCallbackHandler.setIsAirplaneMode(new IconState(mAirplaneMode,
709 mCallbackHandler.setIsAirplaneMode(new IconState(show,
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
CallbackHandlerTest.java 24 import com.android.systemui.statusbar.policy.NetworkController.IconState;
69 IconState status = new IconState(true, 0, "");
70 IconState qs = new IconState(true, 1, "");
78 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class);
79 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class);
95 IconState status = new IconState(true, 0, "")
    [all...]
NetworkControllerEthernetTest.java 6 import com.android.systemui.statusbar.policy.NetworkController.IconState;
35 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class);
39 IconState iconState = iconArg.getValue();
40 assertEquals("Ethernet visible, in status bar", visible, iconState.visible);
41 assertEquals("Ethernet icon, in status bar", icon, iconState.icon);
NetworkControllerWifiTest.java 10 import com.android.systemui.statusbar.policy.NetworkController.IconState;
141 Mockito.anyBoolean(), Mockito.any(IconState.class), Mockito.any(IconState.class),
149 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class);
154 enabledArg.capture(), Mockito.any(IconState.class),
158 IconState iconState = iconArg.getValue();
160 assertEquals("WiFi connected, in quick settings", connected, iconState.visible);
161 assertEquals("WiFi signal, in quick settings", icon, iconState.icon)
    [all...]
NetworkControllerBaseTest.java 34 import com.android.systemui.statusbar.policy.NetworkController.IconState;
272 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class);
278 ArgumentCaptor.forClass(IconState.class).capture(),
286 IconState iconState = iconArg.getValue();
287 assertEquals("Visibility in, quick settings", visible, iconState.visible);
288 assertEquals("Signal icon in, quick settings", icon, iconState.icon);
297 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
CellularTile.java 37 import com.android.systemui.statusbar.policy.NetworkController.IconState;
191 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon,
198 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType,
234 public void setIsAirplaneMode(IconState icon) {
WifiTile.java 41 import com.android.systemui.statusbar.policy.NetworkController.IconState;
252 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
SignalClusterView.java 42 import com.android.systemui.statusbar.policy.NetworkController.IconState;
262 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon,
272 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType,
290 public void setEthernetIndicators(IconState state) {
364 public void setIsAirplaneMode(IconState icon) {

Completed in 1005 milliseconds