/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioTrackWrapper.java | 36 private boolean mIsEnabled; field in AudioTrackWrapper 39 mIsEnabled = true; in AudioTrackWrapper() 47 return mIsEnabled && mAudioTrack.isInitialized(); in isInitialized() 54 mIsEnabled = true; in restart() 65 if (!mIsEnabled) { in initialize() 76 if (!mIsEnabled) { in reset() 83 return !mIsEnabled || !mAudioTrack.hasPendingData(); in isEnded() 88 return !mIsEnabled || mAudioTrack.hasPendingData(); in isReady() 92 if (!mIsEnabled) { in play() 99 if (!mIsEnabled) { in pause() [all …]
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | OpportunisticNetworkService.java | 61 @VisibleForTesting protected boolean mIsEnabled; field in OpportunisticNetworkService 144 if (!mIsEnabled) { in handleSimStateChange() 211 return mIsEnabled; 453 if (mIsEnabled) { in handleCarrierAppAvailableNetworks() 473 if (!mIsEnabled) { in handleCarrierAppAvailableNetworks() 540 if (mIsEnabled) { in handleSystemAppAvailableNetworks() 556 if (!mIsEnabled) { in handleSystemAppAvailableNetworks() 588 mIsEnabled = enable; in updateEnableState() 589 mSharedPref.edit().putBoolean(PREF_ENABLED, mIsEnabled).apply(); in updateEnableState() 599 if (mIsEnabled != enable) { in enableOpportunisticNetwork() [all …]
|
D | ONSProfileSelector.java | 79 private boolean mIsEnabled = false; field in ONSProfileSelector 140 if (mIsEnabled && mAvailableNetworkInfos != null 145 if (mIsEnabled) { 517 mIsEnabled = true; in checkProfileUpdate() 712 mIsEnabled = false; in stopProfileScanningPrecedure()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | RecapitalizeStatus.java | 79 private boolean mIsEnabled = true; field in RecapitalizeStatus 91 if (!mIsEnabled) { in start() 128 mIsEnabled = true; in enable() 132 mIsEnabled = false; in disable() 135 public boolean mIsEnabled() { in mIsEnabled() method in RecapitalizeStatus 136 return mIsEnabled; in mIsEnabled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | HighPowerDetail.java | 59 boolean mIsEnabled; field in HighPowerDetail 84 mIsEnabled = mDefaultOn || mBackend.isWhitelisted(mPackageName); in onCreate() 121 mOptionOn.setChecked(mIsEnabled); in updateViews() 122 mOptionOff.setChecked(!mIsEnabled); in updateViews() 128 mIsEnabled = true; in onClick() 131 mIsEnabled = false; in onClick() 139 boolean newValue = mIsEnabled; in onClick()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | HighPowerDetail.java | 59 boolean mIsEnabled; field in HighPowerDetail 84 mIsEnabled = mDefaultOn || mBackend.isWhitelisted(mPackageName); in onCreate() 121 mOptionOn.setChecked(mIsEnabled); in updateViews() 122 mOptionOff.setChecked(!mIsEnabled); in updateViews() 128 mIsEnabled = true; in onClick() 131 mIsEnabled = false; in onClick() 139 boolean newValue = mIsEnabled; in onClick()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | MenuItem.java | 70 private boolean mIsEnabled; field in MenuItem 84 mIsEnabled = builder.mIsEnabled; in MenuItem() 116 return mIsEnabled; in isEnabled() 121 mIsEnabled = enabled; in setEnabled() 324 private boolean mIsEnabled = true; field in MenuItem.Builder 486 mIsEnabled = enabled; in setEnabled()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | SoundLevels.java | 65 private boolean mIsEnabled; field in SoundLevels 118 if (!mIsEnabled) { in onDraw() 177 if (enabled == mIsEnabled) { in setEnabled() 184 mIsEnabled = enabled; in setEnabled() 190 if (mIsEnabled) { in updateSpeechLevelsAnimatorState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/qstile/ |
D | DevelopmentTiles.java | 290 private boolean mIsEnabled; field in DevelopmentTiles.SensorsOff 298 mIsEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled(); in onCreate() 307 return mIsEnabled; in isEnabled() 313 if (mIsEnabled && mKeyguardManager.isKeyguardLocked()) { in setIsEnabled() 318 mIsEnabled = isEnabled; in setIsEnabled()
|
/packages/apps/Settings/src/com/android/settings/development/qstile/ |
D | DevelopmentTiles.java | 290 private boolean mIsEnabled; field in DevelopmentTiles.SensorsOff 298 mIsEnabled = mSensorPrivacyManager.isSensorPrivacyEnabled(); in onCreate() 307 return mIsEnabled; in isEnabled() 313 if (mIsEnabled && mKeyguardManager.isKeyguardLocked()) { in setIsEnabled() 318 mIsEnabled = isEnabled; in setIsEnabled()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiContentListItem.java | 108 private boolean mIsEnabled = true; field in CarUiContentListItem 207 return mIsEnabled; in isEnabled() 216 mIsEnabled = enabled; in setEnabled()
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | OpportunisticNetworkServiceTest.java | 142 mOpportunisticNetworkService.mIsEnabled = true; in testHandleSimStateChange() 152 mOpportunisticNetworkService.mIsEnabled = true; in testHandleSimStateChange() 183 mOpportunisticNetworkService.mIsEnabled = true; in testSystemPreferredDataWhileCarrierAppIsActive() 314 mOpportunisticNetworkService.mIsEnabled = true; in testPriorityRuleOfActivatingAvailableNetworks()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | HighPowerDetailTest.java | 87 mFragment.mIsEnabled = true; in onClick_appAddedToDozeWhitelist_getsUnrestricted()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
D | InputLogic.java | 1392 if (!mConnection.hasSelection() || !mRecapitalizeStatus.mIsEnabled()) { in performRecapitalization()
|