Searched refs:mUninstallButton (Results 1 – 4 of 4) sorted by relevance
102 private Button mUninstallButton; field in AppButtonsPreferenceControllerTest132 mController.mUninstallButton = mUninstallButton; in setUp()191 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isSystemApp_handleAsDisableableButton()229 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isDeviceAdminApp_setButtonDisable()238 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isProfileOrDeviceOwner_setButtonDisable()248 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isDeviceProvisioningApp_setButtonDisable()257 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isUninstallInQueue_setButtonDisable()267 verify(mUninstallButton).setEnabled(false); in testUpdateUninstallButton_isHomeAppAndBundled_setButtonDisable()315 final boolean controllable = mController.handleDisableable(mUninstallButton); in testHandleDisableable_isHomeApp_notControllable()317 verify(mUninstallButton).setText(R.string.disable_text); in testHandleDisableable_isHomeApp_notControllable()[all …]
99 Button mUninstallButton; field in AppButtonsPreferenceController169 mUninstallButton = (Button) mButtonsPref.findViewById(R.id.left_button); in displayPreference()170 mUninstallButton.setText(R.string.uninstall_text); in displayPreference()365 enabled = handleDisableable(mUninstallButton); in updateUninstallButton()430 mUninstallButton.setEnabled(enabled); in updateUninstallButton()433 mUninstallButton.setOnClickListener(this); in updateUninstallButton()
114 Button mUninstallButton; field in DeviceAdminAdd338 mUninstallButton = (Button) findViewById(R.id.uninstall_button); in onCreate()339 mUninstallButton.setFilterTouchesWhenObscured(true); in onCreate()340 mUninstallButton.setOnClickListener(new View.OnClickListener() { in onCreate()620 mUninstallButton.setVisibility(View.VISIBLE); in updateInterface()
174 private Button mUninstallButton; field in InstalledAppDetails268 enabled = handleDisableable(mUninstallButton); in initUninstallButtons()333 mUninstallButton.setEnabled(enabled); in initUninstallButtons()336 mUninstallButton.setOnClickListener(this); in initUninstallButtons()350 mUninstallButton.setVisibility(View.GONE); in initUnintsallButtonForUserApp()352 mUninstallButton.setText(R.string.uninstall_text); in initUnintsallButtonForUserApp()520 mUninstallButton = (Button) mActionButtons.findViewById(R.id.left_button); in prepareUninstallAndStop()981 if (v == mUninstallButton) {