Home
last modified time | relevance | path

Searched refs:mIsEnabled (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackWrapper.java36 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/
DOpportunisticNetworkService.java60 private boolean mIsEnabled; field in OpportunisticNetworkService
137 if (!mIsEnabled) { in handleSimStateChange()
207 return mIsEnabled;
411 if (mIsEnabled) { in handleCarrierAppAvailableNetworks()
422 if (!mIsEnabled) { in handleCarrierAppAvailableNetworks()
472 if (mIsEnabled && mONSConfigInputHashMap.get(CARRIER_APP_CONFIG_NAME) == null) { in handleSystemAppAvailableNetworks()
476 if (!mIsEnabled) { in handleSystemAppAvailableNetworks()
498 mIsEnabled = enable; in updateEnableState()
499 mSharedPref.edit().putBoolean(PREF_ENABLED, mIsEnabled).apply(); in updateEnableState()
509 if (mIsEnabled != enable) { in enableOpportunisticNetwork()
[all …]
DONSProfileSelector.java77 private boolean mIsEnabled = false; field in ONSProfileSelector
131 if (mIsEnabled && mAvailableNetworkInfos != null
458 mIsEnabled = true; in checkProfileUpdate()
611 mIsEnabled = false; in stopProfileScanningPrecedure()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DRecapitalizeStatus.java79 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/
DHighPowerDetail.java59 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/
DHighPowerDetail.java59 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/Messaging/src/com/android/messaging/ui/mediapicker/
DSoundLevels.java65 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/
DDevelopmentTiles.java290 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/
DDevelopmentTiles.java290 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/tests/robotests/src/com/android/settings/fuelgauge/
DHighPowerDetailTest.java87 mFragment.mIsEnabled = true; in onClick_appAddedToDozeWhitelist_getsUnrestricted()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java1392 if (!mConnection.hasSelection() || !mRecapitalizeStatus.mIsEnabled()) { in performRecapitalization()