Home
last modified time | relevance | path

Searched refs:getMenuItems (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountSettingsFragmentTest.java76 assertThat(toolbar.getMenuItems()).hasSize(1); in cannotModifyUsers_addAccountButtonShouldNotBeVisible()
77 assertThat(toolbar.getMenuItems().get(0).isVisible()).isFalse(); in cannotModifyUsers_addAccountButtonShouldNotBeVisible()
86 assertThat(toolbar.getMenuItems()).hasSize(1); in canModifyUsers_addAccountButtonShouldBeVisible()
87 assertThat(toolbar.getMenuItems().get(0).isVisible()).isTrue(); in canModifyUsers_addAccountButtonShouldBeVisible()
96 toolbar.getMenuItems().get(0).performClick(); in clickAddAccountButton_shouldOpenChooseAccountFragment()
DAccountDetailsFragmentTest.java98 assertThat(toolbar.getMenuItems()).hasSize(1); in cannotModifyUsers_removeAccountButtonShouldNotBeVisible()
99 assertThat(toolbar.getMenuItems().get(0).isVisible()).isFalse(); in cannotModifyUsers_removeAccountButtonShouldNotBeVisible()
108 assertThat(toolbar.getMenuItems()).hasSize(1); in canModifyUsers_removeAccountButtonShouldBeVisible()
109 assertThat(toolbar.getMenuItems().get(0).isVisible()).isTrue(); in canModifyUsers_removeAccountButtonShouldBeVisible()
118 toolbar.getMenuItems().get(0).performClick(); in onRemoveAccountButtonClicked_canModifyUsers_shouldShowConfirmRemoveAccountDialog()
DAccountSyncDetailsFragmentTest.java192 return toolbar.getMenuItems().get(0); in getSyncButton()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DEditUsernameFragmentTest.java92 .getMenuItems().get(1); in testClickingOkSavesNewUserName()
113 .getMenuItems().get(0); in testClickingCancelInvokesGoingBack()
135 .getMenuItems().get(1); in testEmptyUsernameCannotBeSaved()
DChooseNewAdminFragmentTest.java74 .getMenuItems().get(0); in testBackButtonPressed_whenRemoveCancelled()
DUserDetailsBaseFragmentTest.java160 .getMenuItems().get(0); in createUserDetailsBaseFragment()
DUsersListFragmentTest.java172 mActionButton = toolbar.getMenuItems().get(0); in createUsersListFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDeviceDetailsFragmentTest.java204 return toolbar.getMenuItems().get(1); in findForgetButton()
209 return toolbar.getMenuItems().get(0); in findConnectionButton()
DBluetoothSettingsFragmentTest.java247 return toolbar.getMenuItems().get(0); in findSwitch()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DToolbar.java427 public List<MenuItem> getMenuItems() { in getMenuItems() method in Toolbar
428 return mController.getMenuItems(); in getMenuItems()
DToolbarController.java184 List<MenuItem> getMenuItems(); in getMenuItems() method
DToolbarControllerImpl.java483 public List<MenuItem> getMenuItems() { in getMenuItems() method in ToolbarControllerImpl
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DAppStorageSettingsDetailsFragmentTest.java310 return toolbar.getMenuItems().get(1); in findClearCacheButton()
315 return toolbar.getMenuItems().get(0); in findClearStorageButton()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/
DLocationSettingsFragmentTest.java100 mLocationSwitch = toolbar.getMenuItems().get(0); in initFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearFragmentTest.java120 return toolbar.getMenuItems().get(0); in findMasterClearButton()
DMasterClearConfirmFragmentTest.java184 return toolbar.getMenuItems().get(0); in findMasterClearConfirmButton()
DResetNetworkConfirmFragmentTest.java100 mResetButton = toolbar.getMenuItems().get(0); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DAddWifiFragmentTest.java149 return toolbar.getMenuItems().get(0); in getAddWifiButton()
DWifiTetherFragmentTest.java179 return toolbar.getMenuItems().get(0); in findSwitch()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java573 return toolbar.getMenuItems().get(1); in findForceStopButton()
583 return toolbar.getMenuItems().get(0); in findUninstallButton()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/toolbar/
DToolbarTest.java446 return mToolbar.getMenuItems().size(); in getMenuItemCount()