/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | TransactionTest.java | 74 .setEnabled(APP_OVERLAY_ONE_PKG, true) in testValidTransaction() 75 .setEnabled(APP_OVERLAY_TWO_PKG, true) in testValidTransaction() 88 .setEnabled(APP_OVERLAY_TWO_PKG, true) in testValidTransaction() 89 .setEnabled(APP_OVERLAY_ONE_PKG, true) in testValidTransaction() 102 .setEnabled(APP_OVERLAY_TWO_PKG, false) in testValidTransaction() 121 .setEnabled(APP_OVERLAY_ONE_PKG, true) in testInvalidRequestHasNoEffect() 122 .setEnabled(new OverlayIdentifier("does-not-exist"), true) in testInvalidRequestHasNoEffect() 123 .setEnabled(APP_OVERLAY_TWO_PKG, true) in testInvalidRequestHasNoEffect()
|
D | FabricatedOverlaysTest.java | 102 .setEnabled(overlay.getIdentifier(), true, mUserId) in testFabricatedOverlay() 127 .setEnabled(overlay.getIdentifier(), true, mUserId) in testRegisterEnableAtomic() 143 .setEnabled(overlay.getIdentifier(), true, mUserId) in testRegisterTwice() 169 .setEnabled(overlay.getIdentifier(), true, mUserId) in testInvalidOwningPackageName() 186 .setEnabled(overlay.getIdentifier(), true, mUserId) in testInvalidOverlayName() 235 .setEnabled(overlay.getIdentifier(), true, mUserId) in testInvalidResourceValues() 252 .setEnabled(overlay.getIdentifier(), true, mUserId) in testTransactionFailRollback() 253 .setEnabled(new OverlayIdentifier("not-valid"), true, mUserId) in testTransactionFailRollback()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseErrorDialog.java | 74 private void setEnabled(boolean enabled) { in setEnabled() method in BaseErrorDialog 77 b.setEnabled(enabled); in setEnabled() 81 b.setEnabled(enabled); in setEnabled() 85 b.setEnabled(enabled); in setEnabled() 93 setEnabled(true); 95 setEnabled(false);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfActivity.java | 199 mStopButton.setEnabled(false); in onCreate() 397 mStartButton.setEnabled(false); in startRunning() 398 mStopButton.setEnabled(true); in startRunning() 399 mLocalCheckBox.setEnabled(false); in startRunning() 400 mTestTime.setEnabled(false); in startRunning() 401 mFgSpinner.setEnabled(false); in startRunning() 402 mBgSpinner.setEnabled(false); in startRunning() 403 mLimitSpinner.setEnabled(false); in startRunning() 419 mStartButton.setEnabled(true); in stopRunning() 420 mStopButton.setEnabled(false); in stopRunning() [all …]
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | VirtualizerTest.java | 93 mStrength.setEnabled(mVirtualizer.getStrengthSupported()); in onCreate() 119 mStrength.setEnabled(mVirtualizer.getStrengthSupported()); 135 mVirtualizer.setEnabled(isChecked); in onCheckedChanged() 145 mStrength.setEnabled(mVirtualizer.getStrengthSupported()); in onCheckedChanged() 150 mStrength.setEnabled(false); in onCheckedChanged() 239 mReleaseButton.setEnabled(false); in getEffect() 240 mOnOffButton.setEnabled(false); in getEffect() 251 mReleaseButton.setEnabled(true); in getEffect() 254 mOnOffButton.setEnabled(true); in getEffect() 260 mOnOffButton.setEnabled(false); in putEffect()
|
D | BassBoostTest.java | 95 mStrength.setEnabled(mBassBoost.getStrengthSupported()); in onCreate() 122 mStrength.setEnabled(mBassBoost.getStrengthSupported()); 138 mBassBoost.setEnabled(isChecked); in onCheckedChanged() 148 mStrength.setEnabled(mBassBoost.getStrengthSupported()); in onCheckedChanged() 153 mStrength.setEnabled(false); in onCheckedChanged() 242 mReleaseButton.setEnabled(false); in getEffect() 243 mOnOffButton.setEnabled(false); in getEffect() 254 mReleaseButton.setEnabled(true); in getEffect() 257 mOnOffButton.setEnabled(true); in getEffect() 264 mOnOffButton.setEnabled(false); in putEffect()
|
D | VisualizerTest.java | 138 mCallbackButton.setEnabled(!mEnabled); in onCheckedChanged() 142 mVisualizer.setEnabled(mEnabled); in onCheckedChanged() 190 mReleaseButton.setEnabled(false); in getEffect() 191 mOnOffButton.setEnabled(false); in getEffect() 194 mReleaseButton.setEnabled(true); in getEffect() 198 mOnOffButton.setEnabled(true); in getEffect() 200 mCallbackButton.setEnabled(!mEnabled); in getEffect() 207 mOnOffButton.setEnabled(false); in putEffect()
|
D | PresetReverbTest.java | 124 mParameters[i].setEnabled(true); 143 mPresetReverb.setEnabled(isChecked); in onCheckedChanged() 154 mParameters[i].setEnabled(true); in onCheckedChanged() 162 mParameters[i].setEnabled(false); in onCheckedChanged() 266 mReleaseButton.setEnabled(false); in getEffect() 267 mOnOffButton.setEnabled(false); in getEffect() 278 mReleaseButton.setEnabled(true); in getEffect() 281 mOnOffButton.setEnabled(true); in getEffect() 287 mOnOffButton.setEnabled(false); in putEffect()
|
D | EnvReverbTest.java | 188 mReverb.setEnabled(isChecked); in onCheckedChanged() 201 mParameters[i].setEnabled(true); in onCheckedChanged() 207 mParameters[i].setEnabled(false); in onCheckedChanged() 533 mReleaseButton.setEnabled(false); in getEffect() 534 mOnOffButton.setEnabled(false); in getEffect() 535 mAttachButton.setEnabled(false); in getEffect() 541 mReleaseButton.setEnabled(true); in getEffect() 543 mOnOffButton.setEnabled(true); in getEffect() 545 mAttachButton.setEnabled(true); in getEffect() 555 mOnOffButton.setEnabled(false); in putEffect() [all …]
|
D | EqualizerTest.java | 180 mParameters[i].setEnabled(true); 198 mEqualizer.setEnabled(isChecked); in onCheckedChanged() 209 mParameters[i].setEnabled(true); in onCheckedChanged() 216 mParameters[i].setEnabled(false); in onCheckedChanged() 374 mReleaseButton.setEnabled(false); in getEffect() 375 mOnOffButton.setEnabled(false); in getEffect() 387 mReleaseButton.setEnabled(true); in getEffect() 390 mOnOffButton.setEnabled(true); in getEffect() 396 mOnOffButton.setEnabled(false); in putEffect()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayApplierTest.java | 180 verify(mTransactionBuilder).setEnabled(eq(overlayPackage), eq(true), in allCategoriesSpecified_allEnabledExclusively() 192 verify(mTransactionBuilder).setEnabled(eq(entry.getValue()), eq(true), in allCategoriesSpecified_sysuiCategoriesAlsoAppliedToSysuiUser() 195 verify(mTransactionBuilder, never()).setEnabled( in allCategoriesSpecified_sysuiCategoriesAlsoAppliedToSysuiUser() 208 verify(mTransactionBuilder).setEnabled(eq(overlayPackage), eq(true), in allCategoriesSpecified_enabledForAllUserHandles() 211 verify(mTransactionBuilder, never()).setEnabled(eq(overlayPackage), eq(true), in allCategoriesSpecified_enabledForAllUserHandles() 225 verify(mTransactionBuilder, never()).setEnabled(eq(overlayPackage), eq(true), in enablesOverlays_onlyIfItExistsForUser() 253 verify(mTransactionBuilder).setEnabled(eq(overlayPackage), eq(true), in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled() 256 verify(mTransactionBuilder).setEnabled( in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled() 259 verify(mTransactionBuilder).setEnabled( in someCategoriesSpecified_specifiedEnabled_unspecifiedDisabled() 270 verify(mTransactionBuilder).setEnabled( in zeroCategoriesSpecified_allDisabled() [all …]
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | Writer.h | 76 virtual bool setEnabled(bool enabled); // but won't enable if no shared memory 77 bool enable() { return setEnabled(true); } in enable() 78 bool disable() { return setEnabled(false); } in disable() 127 bool setEnabled(bool enabled) override;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthCredentialPatternView.java | 62 mLockPatternView.setEnabled(false); in onPatternDetected() 86 mLockPatternView.setEnabled(false); in onPatternVerified() 88 mLockPatternView.setEnabled(true); in onPatternVerified() 96 mLockPatternView.setEnabled(true); in onErrorTimeoutFinish()
|
/frameworks/av/media/libcpustats/include/cpustats/ |
D | ThreadCpuUsage.h | 63 bool enable() { return setEnabled(true); } in enable() 68 bool disable() { return setEnabled(false); } in disable() 72 bool setEnabled(bool isEnabled);
|
/frameworks/base/media/java/android/media/audiofx/ |
D | HapticGenerator.java | 101 public int setEnabled(boolean enabled) { in setEnabled() method in HapticGenerator 102 int ret = super.setEnabled(enabled); in setEnabled() 105 || mVolumeControlEffect.setEnabled(enabled) != SUCCESS) { in setEnabled()
|
/frameworks/base/core/java/android/widget/ |
D | MediaController.java | 344 mPauseButton.setEnabled(false); in disableUnsupportedButtons() 347 mRewButton.setEnabled(false); in disableUnsupportedButtons() 350 mFfwdButton.setEnabled(false); in disableUnsupportedButtons() 360 mProgress.setEnabled(false); in disableUnsupportedButtons() 638 public void setEnabled(boolean enabled) { in setEnabled() method in MediaController 640 mPauseButton.setEnabled(enabled); in setEnabled() 643 mFfwdButton.setEnabled(enabled); in setEnabled() 646 mRewButton.setEnabled(enabled); in setEnabled() 649 mNextButton.setEnabled(enabled && mNextListener != null); in setEnabled() 652 mPrevButton.setEnabled(enabled && mPrevListener != null); in setEnabled() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserDetailItemView.java | 102 setEnabled(!disabled); in setDisabledByAdmin() 105 public void setEnabled(boolean enabled) { in setEnabled() method in UserDetailItemView 106 super.setEnabled(enabled); in setEnabled() 107 mName.setEnabled(enabled); in setEnabled() 108 mAvatar.setEnabled(enabled); in setEnabled()
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 229 mAllowButton.setEnabled(false); in setViews() 230 mDenyButton.setEnabled(false); in setViews() 238 mAllowButton.setEnabled(false); in setViews() 239 mDenyButton.setEnabled(false); in setViews() 247 mAllowButton.setEnabled(!mDidAcknowledge); in setViews() 248 mDenyButton.setEnabled(!mDidAcknowledge); in setViews() 270 mAllowButton.setEnabled(false); in monitorEncryptionPassword() 280 mAllowButton.setEnabled(mEncPassword.getText().length() > 0); in monitorEncryptionPassword()
|
/frameworks/base/core/java/com/android/internal/globalactions/ |
D | ToggleAction.java | 103 messageView.setEnabled(enabled); in create() 110 icon.setEnabled(enabled); in create() 116 statusView.setEnabled(enabled); in create() 118 v.setEnabled(enabled); in create()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedTopLevelPreferenceTest.java | 54 mPreference.setEnabled(true); in setEnabled_disabledByAdmin_shouldCallSetDisabledByAdmin() 63 mPreference.setEnabled(true); in setEnabled_notDisabledByAdmin_shouldNotCallSetDisabledByAdmin() 72 verify(mPreference, never()).setEnabled(anyBoolean()); in setDisabledByAdmin_shouldNotCallSetEnabled()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/ |
D | FaceDownDetectorTest.java | 153 setEnabled(false); in afterDisablingFeature_doesNotTriggerFaceDown() 163 setEnabled(false); in afterReenablingWhileNonInteractive_doesNotTriggerFaceDown() 166 setEnabled(true); in afterReenablingWhileNonInteractive_doesNotTriggerFaceDown() 176 setEnabled(false); in afterReenablingWhileInteractive_doesTriggerFaceDown() 178 setEnabled(true); in afterReenablingWhileInteractive_doesTriggerFaceDown() 237 private void setEnabled(Boolean enabled) throws Exception { in setEnabled() method in FaceDownDetectorTest
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
D | DeveloperOptionsPreferenceController.java | 78 mPreference.setEnabled(true); in onDeveloperOptionsSwitchEnabled() 85 mPreference.setEnabled(false); in onDeveloperOptionsSwitchDisabled()
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
D | ItemViewHolder.java | 43 public void setEnabled(boolean isEnabled) { in setEnabled() method in ItemViewHolder 46 itemView.setEnabled(isEnabled); in setEnabled()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | Disabled.java | 37 disabledButton.setEnabled(false); in onCreate() 46 disabledButtonB.setEnabled(!disabledButtonB.isEnabled()); in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayApplier.java | 210 setEnabled(transaction, overlayInfo, packageToDisable.first, currentUser, in applyCurrentUserOverlays() 217 setEnabled(transaction, overlayInfo, category, currentUser, managedProfiles, in applyCurrentUserOverlays() 236 private void setEnabled(OverlayManagerTransaction.Builder transaction, in setEnabled() method in ThemeOverlayApplier 252 transaction.setEnabled(identifier, enabled, currentUser); in setEnabled() 255 transaction.setEnabled(identifier, enabled, UserHandle.SYSTEM.getIdentifier()); in setEnabled() 267 transaction.setEnabled(identifier, enabled, userHandle.getIdentifier()); in setEnabled()
|