Home
last modified time | relevance | path

Searched refs:MENU_ADVANCED_BATTERY (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerUsageSummary.java80 static final int MENU_ADVANCED_BATTERY = Menu.FIRST + 1; field in PowerUsageSummary
249 menu.add(Menu.NONE, MENU_ADVANCED_BATTERY, Menu.NONE, R.string.advanced_battery_title); in onCreateOptionsMenu()
270 case MENU_ADVANCED_BATTERY: in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java85 static final int MENU_ADVANCED_BATTERY = Menu.FIRST + 1; field in PowerUsageSummary
275 menu.add(Menu.NONE, MENU_ADVANCED_BATTERY, Menu.NONE, R.string.advanced_battery_title); in onCreateOptionsMenu()
296 case MENU_ADVANCED_BATTERY: in onOptionsItemSelected()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageSummaryTest.java19 import static com.android.settings.fuelgauge.PowerUsageSummary.MENU_ADVANCED_BATTERY;
159 doReturn(MENU_ADVANCED_BATTERY).when(mAdvancedPageMenu).getItemId(); in setUp()
301 verify(mMenu).add(Menu.NONE, MENU_ADVANCED_BATTERY, Menu.NONE, in optionsMenu_advancedPageEnabled()