/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() 129 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators() 130 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators() 179 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 | 12 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 | 57 import com.android.systemui.statusbar.policy.NetworkController.IconState; 342 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsMobileDataIndicators() 353 IconState iconState = iconArg.getValue(); in verifyLastQsMobileDataIndicators() 376 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators() 386 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators() 412 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators() 414 ArgumentCaptor<IconState> qsIconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators() 430 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkController.java | 50 default void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators() 54 default void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators() 60 default void setEthernetIndicators(IconState icon) {} in setEthernetIndicators() 62 default void setIsAirplaneMode(IconState icon) {} in setIsAirplaneMode() 71 public static class IconState { class 76 public IconState(boolean visible, int icon, String contentDescription) { in IconState() method in NetworkController.IconState 82 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() 126 public void setMobileDataIndicators(final IconState statusIcon, final IconState qsIcon, in setMobileDataIndicators() 163 public void setEthernetIndicators(IconState icon) { in setEthernetIndicators() 168 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 | 43 import com.android.systemui.statusbar.policy.NetworkController.IconState; 305 IconState statusIcon = new IconState(mCurrentState.enabled && !mCurrentState.airplaneMode, in notifyListeners() 309 IconState qsIcon = null; in notifyListeners() 314 qsIcon = new IconState(mCurrentState.enabled in notifyListeners()
|
D | NetworkControllerImpl.java | 437 cb.setIsAirplaneMode(new IconState(mAirplaneMode, in addCallback() 763 mCallbackHandler.setIsAirplaneMode(new IconState(mAirplaneMode, in notifyListeners() 889 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/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/statusbar/phone/ |
D | NotificationIconContainer.java | 136 private final HashMap<View, IconState> mIconStates = new HashMap<>(); 155 private IconState mLastVisibleIconState; 156 private IconState mFirstVisibleIconState; 274 IconState v = new IconState(); in onViewAdded() 385 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 418 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 462 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 470 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 475 IconState iconState = mIconStates.get(mIsolatedIcon); in calculateIconTranslations() 572 public IconState getIconState(StatusBarIconView icon) { in getIconState() [all …]
|
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() 769 private IconState mIconState = new IconState(); 772 public IconState getIcon() { in getIcon() 803 private IconState mIconState = new IconState(); 806 public IconState getIcon() { in getIcon()
|
D | CollapsedStatusBarFragment.java | 73 public void setIsAirplaneMode(NetworkController.IconState icon) {
|
/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/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/qs/tiles/ |
D | CellularTile.java | 48 import com.android.systemui.statusbar.policy.NetworkController.IconState; 247 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators() 270 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/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; 361 NotificationIconContainer.IconState iconState = getIconState(icon); in updateAppearance() 551 NotificationIconContainer.IconState iconState = getIconState(icon); 641 NotificationIconContainer.IconState iconState = getIconState(icon); 698 NotificationIconContainer.IconState iconState = getIconState(icon); 771 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSCarrierGroup.java | 205 public void setMobileDataIndicators(NetworkController.IconState statusIcon, in setMobileDataIndicators() 206 NetworkController.IconState qsIcon, int statusType, in setMobileDataIndicators()
|