/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | EarlyWarningTipTest.java | 67 final EarlyWarningTip tip = in testInfo_stateNew_displayPowerModeInfo() local 70 assertThat(tip.getTitle(mContext)).isEqualTo("Turn on Battery Saver"); in testInfo_stateNew_displayPowerModeInfo() 71 assertThat(tip.getSummary(mContext)).isEqualTo("Battery may run out earlier than usual"); in testInfo_stateNew_displayPowerModeInfo() 72 assertThat(tip.getIconId()).isEqualTo(R.drawable.ic_battery_status_bad_24dp); in testInfo_stateNew_displayPowerModeInfo() 73 assertThat(tip.getIconTintColorId()).isEqualTo(R.color.battery_bad_color_light); in testInfo_stateNew_displayPowerModeInfo() 78 final EarlyWarningTip tip = in testInfo_stateHandled_displayPowerModeHandledInfo() local 81 assertThat(tip.getTitle(mContext)).isEqualTo("Battery Saver is on"); in testInfo_stateHandled_displayPowerModeHandledInfo() 82 assertThat(tip.getSummary(mContext)).isEqualTo("Some features may be limited"); in testInfo_stateHandled_displayPowerModeHandledInfo() 83 assertThat(tip.getIconId()).isEqualTo(R.drawable.ic_battery_status_maybe_24dp); in testInfo_stateHandled_displayPowerModeHandledInfo() 84 assertThat(tip.getIconTintColorId()).isEqualTo(R.color.battery_maybe_color_light); in testInfo_stateHandled_displayPowerModeHandledInfo()
|
D | BatteryTipTest.java | 126 public void updateState(BatteryTip tip) { in updateState() argument
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | RestrictAppTip.java | 92 public void updateState(BatteryTip tip) { in updateState() argument 93 if (tip.mState == StateType.NEW) { in updateState() 96 mRestrictAppList = ((RestrictAppTip) tip).mRestrictAppList; in updateState() 98 } else if (mState == StateType.NEW && tip.mState == StateType.INVISIBLE) { in updateState() 103 mState = tip.getState(); in updateState() 104 mShowDialog = tip.shouldShowDialog(); in updateState() 105 mRestrictAppList = ((RestrictAppTip) tip).mRestrictAppList; in updateState()
|
D | SmartBatteryTip.java | 55 public void updateState(BatteryTip tip) { in updateState() argument 56 mState = tip.mState; in updateState()
|
D | UnrestrictAppTip.java | 67 public void updateState(BatteryTip tip) { in updateState() argument 68 mState = tip.mState; in updateState()
|
D | SummaryTip.java | 68 public void updateState(BatteryTip tip) { in updateState() argument 69 mState = tip.mState; in updateState()
|
D | EarlyWarningTip.java | 74 public void updateState(BatteryTip tip) { in updateState() argument 75 final EarlyWarningTip earlyWarningTip = (EarlyWarningTip) tip; in updateState()
|
D | HighUsageTip.java | 78 public void updateState(BatteryTip tip) { in updateState() argument 79 mState = tip.mState; in updateState()
|
D | BatteryTip.java | 136 public abstract void updateState(BatteryTip tip); in updateState() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/ |
D | RestrictAppTip.java | 92 public void updateState(BatteryTip tip) { in updateState() argument 93 if (tip.mState == StateType.NEW) { in updateState() 96 mRestrictAppList = ((RestrictAppTip) tip).mRestrictAppList; in updateState() 98 } else if (mState == StateType.NEW && tip.mState == StateType.INVISIBLE) { in updateState() 103 mState = tip.getState(); in updateState() 104 mShowDialog = tip.shouldShowDialog(); in updateState() 105 mRestrictAppList = ((RestrictAppTip) tip).mRestrictAppList; in updateState()
|
D | SmartBatteryTip.java | 55 public void updateState(BatteryTip tip) { in updateState() argument 56 mState = tip.mState; in updateState()
|
D | UnrestrictAppTip.java | 67 public void updateState(BatteryTip tip) { in updateState() argument 68 mState = tip.mState; in updateState()
|
D | SummaryTip.java | 68 public void updateState(BatteryTip tip) { in updateState() argument 69 mState = tip.mState; in updateState()
|
D | EarlyWarningTip.java | 74 public void updateState(BatteryTip tip) { in updateState() argument 75 final EarlyWarningTip earlyWarningTip = (EarlyWarningTip) tip; in updateState()
|
D | HighUsageTip.java | 78 public void updateState(BatteryTip tip) { in updateState() argument 79 mState = tip.mState; in updateState()
|
D | BatteryTip.java | 136 public abstract void updateState(BatteryTip tip); in updateState() argument
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | UnrestrictAppAction.java | 37 public UnrestrictAppAction(Context context, UnrestrictAppTip tip) { in UnrestrictAppAction() argument 39 mUnRestrictAppTip = tip; in UnrestrictAppAction()
|
D | OpenRestrictAppFragmentAction.java | 43 RestrictAppTip tip) { in OpenRestrictAppFragmentAction() argument 46 mRestrictAppTip = tip; in OpenRestrictAppFragmentAction()
|
D | RestrictAppAction.java | 44 public RestrictAppAction(Context context, RestrictAppTip tip) { in RestrictAppAction() argument 46 mRestrictAppTip = tip; in RestrictAppAction()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/actions/ |
D | UnrestrictAppAction.java | 37 public UnrestrictAppAction(Context context, UnrestrictAppTip tip) { in UnrestrictAppAction() argument 39 mUnRestrictAppTip = tip; in UnrestrictAppAction()
|
D | OpenRestrictAppFragmentAction.java | 43 RestrictAppTip tip) { in OpenRestrictAppFragmentAction() argument 46 mRestrictAppTip = tip; in OpenRestrictAppFragmentAction()
|
D | RestrictAppAction.java | 44 public RestrictAppAction(Context context, RestrictAppTip tip) { in RestrictAppAction() argument 46 mRestrictAppTip = tip; in RestrictAppAction()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 142 BatteryTip tip = restricted in showDialog() local 146 final BatteryTipDialogFragment dialogFragment = BatteryTipDialogFragment.newInstance(tip, in showDialog()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BackgroundActivityPreferenceController.java | 142 BatteryTip tip = restricted in showDialog() local 146 final BatteryTipDialogFragment dialogFragment = BatteryTipDialogFragment.newInstance(tip, in showDialog()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 1530 private static byte[] arpReply(byte[] sip, byte[] tip) { in arpReply() argument 1535 put(packet, ARP_TARGET_IP_ADDRESS_OFFSET, tip); in arpReply() 1539 private static byte[] arpRequestBroadcast(byte[] tip) { in arpRequestBroadcast() argument 1544 put(packet, ARP_TARGET_IP_ADDRESS_OFFSET, tip); in arpRequestBroadcast() 1746 private static byte[] ipv6TcpPacket(byte[] sip, byte[] tip, int sport, in ipv6TcpPacket() argument 1752 put(packet, IPV6_DEST_ADDR_OFFSET, tip); in ipv6TcpPacket()
|