Home
last modified time | relevance | path

Searched refs:MENU_ID_FORGET (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkProviderSettingsTest.java20 import static com.android.settings.network.NetworkProviderSettings.MENU_ID_FORGET;
353 verify(mContextMenu).add(anyInt(), eq(MENU_ID_FORGET), anyInt(), anyInt()); in onCreateContextMenu_shouldHaveForgetAndDisconnectMenuForConnectedWifiEntry()
785 verify(mContextMenu).add(anyInt(), eq(MENU_ID_FORGET), anyInt(), anyInt()); in addForgetMenuIfSuitable_isAdmin_addMenu()
795 verify(mContextMenu, never()).add(anyInt(), eq(MENU_ID_FORGET), anyInt(), anyInt()); in addForgetMenuIfSuitable_isNotAdmin_notAddMenu()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java115 static final int MENU_ID_FORGET = Menu.FIRST + 3; field in NetworkProviderSettings
664 menu.add(Menu.NONE, MENU_ID_FORGET, 0 /* order */, R.string.forget); in addForgetMenuIfSuitable()
690 case MENU_ID_FORGET: in onContextItemSelected()