/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackHandlerTest.java | 32 import com.android.systemui.statusbar.policy.NetworkController.IconState; 82 IconState status = new IconState(true, 0, ""); in testSignalCallback_setWifiIndicators() 83 IconState qs = new IconState(true, 1, ""); in testSignalCallback_setWifiIndicators() 92 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators() 93 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators() 114 IconState status = new IconState(true, 0, ""); in testSignalCallback_setMobileDataIndicators() 115 IconState qs = new IconState(true, 1, ""); in testSignalCallback_setMobileDataIndicators() 130 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators() 131 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators() 183 IconState state = new IconState(true, R.drawable.stat_sys_ethernet, "Test Description"); in testSignalCallback_setEthernetIndicators() [all …]
|
D | NetworkControllerEthernetTest.java | 10 import com.android.systemui.statusbar.policy.NetworkController.IconState; 44 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastEthernetIcon() 48 IconState iconState = iconArg.getValue(); in verifyLastEthernetIcon()
|
D | NetworkControllerWifiTest.java | 19 import com.android.systemui.statusbar.policy.NetworkController.IconState; 219 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsWifiIcon() 226 IconState iconState = iconArg.getValue(); in verifyLastQsWifiIcon() 234 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastWifiIcon() 239 IconState iconState = iconArg.getValue(); in verifyLastWifiIcon()
|
D | NetworkControllerBaseTest.java | 65 import com.android.systemui.statusbar.policy.NetworkController.IconState; 358 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsMobileDataIndicators() 369 IconState iconState = iconArg.getValue(); in verifyLastQsMobileDataIndicators() 392 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators() 402 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators() 428 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators() 430 ArgumentCaptor<IconState> qsIconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators() 447 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkController.java | 51 default void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators() 71 default void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators() 82 default void setEthernetIndicators(IconState icon) {} in setEthernetIndicators() 84 default void setIsAirplaneMode(IconState icon) {} in setIsAirplaneMode() 93 public static class IconState { class 98 public IconState(boolean visible, int icon, String contentDescription) { in IconState() method in NetworkController.IconState 104 public IconState(boolean visible, int icon, int contentDescription, in IconState() method in NetworkController.IconState
|
D | CallbackHandler.java | 25 import com.android.systemui.statusbar.policy.NetworkController.IconState; 80 signalCluster.setEthernetIndicators((IconState) msg.obj); in handleMessage() 85 signalCluster.setIsAirplaneMode((IconState) msg.obj); in handleMessage() 111 public void setWifiIndicators(final boolean enabled, final IconState statusIcon, in setWifiIndicators() 112 final IconState qsIcon, final boolean activityIn, final boolean activityOut, in setWifiIndicators() 123 public void setMobileDataIndicators(final IconState statusIcon, final IconState qsIcon, in setMobileDataIndicators() 158 public void setEthernetIndicators(IconState icon) { in setEthernetIndicators() 163 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
|
D | WifiSignalController.java | 33 import com.android.systemui.statusbar.policy.NetworkController.IconState; 95 IconState statusIcon = new IconState(wifiVisible, getCurrentIconId(), contentDescription); in notifyListeners() 96 IconState qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconId(), in notifyListeners()
|
D | EthernetSignalController.java | 21 import com.android.systemui.statusbar.policy.NetworkController.IconState; 55 callback.setEthernetIndicators(new IconState(ethernetVisible, getCurrentIconId(), in notifyListeners()
|
D | MobileSignalController.java | 46 import com.android.systemui.statusbar.policy.NetworkController.IconState; 378 IconState statusIcon = new IconState(mCurrentState.enabled && !mCurrentState.airplaneMode, in notifyListeners() 382 IconState qsIcon = null; in notifyListeners() 387 qsIcon = new IconState(mCurrentState.enabled in notifyListeners()
|
D | NetworkControllerImpl.java | 486 cb.setIsAirplaneMode(new IconState(mAirplaneMode, in addCallback() 802 mCallbackHandler.setIsAirplaneMode(new IconState(mAirplaneMode, in notifyListeners() 931 mCallbackHandler.setIsAirplaneMode(new IconState(show, in dispatchDemoCommand()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CastTileTest.java | 108 NetworkController.IconState qsIcon = in testStateUnavailable_wifiDisabled() 109 new NetworkController.IconState(false, 0, ""); in testStateUnavailable_wifiDisabled() 110 mCallback.setWifiIndicators(false, mock(NetworkController.IconState.class), in testStateUnavailable_wifiDisabled() 120 NetworkController.IconState qsIcon = in testStateUnavailable_wifiNotConnected() 121 new NetworkController.IconState(false, 0, ""); in testStateUnavailable_wifiNotConnected() 122 mCallback.setWifiIndicators(true, mock(NetworkController.IconState.class), in testStateUnavailable_wifiNotConnected() 131 NetworkController.IconState qsIcon = in enableWifiAndProcessMessages() 132 new NetworkController.IconState(true, 0, ""); in enableWifiAndProcessMessages() 133 mCallback.setWifiIndicators(true, mock(NetworkController.IconState.class), in enableWifiAndProcessMessages()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconContainer.java | 136 private final HashMap<View, IconState> mIconStates = new HashMap<>(); 156 private IconState mLastVisibleIconState; 157 private IconState mFirstVisibleIconState; 275 IconState v = new IconState(); in onViewAdded() 390 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 423 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 467 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 475 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 480 IconState iconState = mIconStates.get(mIsolatedIcon); in calculateIconTranslations() 577 public IconState getIconState(StatusBarIconView icon) { in getIconState() [all …]
|
D | StatusBarSignalPolicy.java | 28 import com.android.systemui.statusbar.policy.NetworkController.IconState; 139 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators() 179 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators() 272 public void setEthernetIndicators(IconState state) { in setEthernetIndicators() 286 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
|
D | KeyguardBottomAreaView.java | 77 import com.android.systemui.plugins.IntentButtonProvider.IntentButton.IconState; 336 IconState state = mRightButton.getIcon(); in updateRightAffordanceIcon() 391 IconState state = mLeftButton.getIcon(); in updateLeftAffordanceIcon() 770 private IconState mIconState = new IconState(); 773 public IconState getIcon() { in getIcon() 804 private IconState mIconState = new IconState(); 807 public IconState getIcon() { in getIcon()
|
D | CollapsedStatusBarFragment.java | 74 public void setIsAirplaneMode(NetworkController.IconState icon) {
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | IntentButtonProvider.java | 34 public static class IconState { class 41 public IconState getIcon(); in getIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | LockscreenFragment.java | 347 private final IconState mIconState; 351 mIconState = new IconState(); in ShortcutButton() 363 public IconState getIcon() { in getIcon() 375 private final IconState mIconState; 379 mIconState = new IconState(); in ActivityButton() 391 public IconState getIcon() { in getIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CellularTile.java | 51 import com.android.systemui.statusbar.policy.NetworkController.IconState; 256 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators() 282 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
|
D | WifiTile.java | 48 import com.android.systemui.statusbar.policy.NetworkController.IconState; 293 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
|
D | CastTile.java | 248 NetworkController.IconState statusIcon, 249 NetworkController.IconState qsIcon, boolean activityIn, boolean activityOut,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSCarrierGroupTest.java | 173 mock(NetworkController.IconState.class), in testSetMobileDataIndicators_invalidSim() 174 mock(NetworkController.IconState.class), in testSetMobileDataIndicators_invalidSim()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameView.java | 36 import com.android.systemui.statusbar.policy.NetworkController.IconState; 95 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
|
D | NotificationShelf.java | 20 import static com.android.systemui.statusbar.phone.NotificationIconContainer.IconState.NO_VALUE; 339 NotificationIconContainer.IconState iconState = getIconState(icon); in updateAppearance() 537 NotificationIconContainer.IconState iconState = getIconState(icon); 627 NotificationIconContainer.IconState iconState = getIconState(icon); 684 NotificationIconContainer.IconState iconState = getIconState(icon); 758 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSCarrierGroup.java | 207 public void setMobileDataIndicators(NetworkController.IconState statusIcon, in setMobileDataIndicators() 208 NetworkController.IconState qsIcon, int statusType, in setMobileDataIndicators()
|