Home
last modified time | relevance | path

Searched refs:mIsEnabled (Results 1 – 21 of 21) 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/apps/Settings/src/com/android/settings/applications/intentpicker/
DSupportedLinkWrapper.java39 private boolean mIsEnabled; field in SupportedLinkWrapper
46 mIsEnabled = true; in SupportedLinkWrapper()
57 mIsEnabled = (nonOverirideableNo == 0L); in init()
87 return mIsEnabled; in isEnabled()
117 if (this.mIsEnabled != that.mIsEnabled) { in compareTo()
118 return this.mIsEnabled ? -1 : 1; in compareTo()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DOpportunisticNetworkService.java65 @VisibleForTesting protected boolean mIsEnabled; field in OpportunisticNetworkService
155 if (!mIsEnabled) { in handleSimStateChange()
222 return mIsEnabled;
471 if (mIsEnabled) { in handleCarrierAppAvailableNetworks()
490 if (!mIsEnabled) { in handleCarrierAppAvailableNetworks()
555 if (mIsEnabled) { in handleSystemAppAvailableNetworks()
570 if (!mIsEnabled) { in handleSystemAppAvailableNetworks()
602 mIsEnabled = enable; in updateEnableState()
603 mSharedPref.edit().putBoolean(PREF_ENABLED, mIsEnabled).apply(); in updateEnableState()
613 if (mIsEnabled != enable) { in enableOpportunisticNetwork()
[all …]
DONSProfileSelector.java79 private boolean mIsEnabled = false; field in ONSProfileSelector
140 if (mIsEnabled && mAvailableNetworkInfos != null
145 if (mIsEnabled) {
518 mIsEnabled = true; in checkProfileUpdate()
714 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/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/recyclerview/
DContentListItemOEMV1.java87 private final boolean mIsEnabled; field in ContentListItemOEMV1
102 mIsEnabled = builder.mIsEnabled; in ContentListItemOEMV1()
149 return mIsEnabled; in isEnabled()
234 private boolean mIsEnabled = true; field in ContentListItemOEMV1.Builder
307 mIsEnabled = enabled; in setEnabled()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DHighPowerDetail.java59 boolean mIsEnabled; field in HighPowerDetail
84 mIsEnabled = mDefaultOn || mBackend.isAllowlisted(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/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItem.java72 private boolean mIsEnabled; field in MenuItem
97 mIsEnabled = builder.mIsEnabled; in MenuItem()
130 return mIsEnabled; in isEnabled()
135 mIsEnabled = enabled; in setEnabled()
337 private boolean mIsEnabled = true; field in MenuItem.Builder
500 mIsEnabled = enabled; in setEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseActionItem.java33 private boolean mIsEnabled = true; field in BaseActionItem
45 return mIsEnabled; in isEnabled()
52 if (enabled != mIsEnabled) { in setEnabled()
53 mIsEnabled = enabled; in setEnabled()
DActionButtonInfo.java49 private boolean mIsEnabled = true; field in ActionButtonInfo
107 if (isEnabled != mIsEnabled) { in setEnabled()
108 mIsEnabled = isEnabled; in setEnabled()
175 return mIsEnabled; in isEnabled()
/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/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGestureHandler.java63 private boolean mIsEnabled; field in EdgeBackGestureHandler
107 mIsEnabled = parent != null; in setViewGroupParent()
114 if (mIsEnabled) { in setViewGroupParent()
142 if (mIsEnabled) { in onTouch()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTiles.java357 private boolean mIsEnabled; field in DevelopmentTiles.SensorsOff
365 mIsEnabled = mSensorPrivacyManager.isAllSensorPrivacyEnabled(); in onCreate()
374 return mIsEnabled; in isEnabled()
380 if (mIsEnabled && mKeyguardManager.isKeyguardLocked()) { in setIsEnabled()
385 mIsEnabled = isEnabled; in setIsEnabled()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiContentListItem.java122 private boolean mIsEnabled = true; field in CarUiContentListItem
262 return mIsEnabled; in isEnabled()
271 mIsEnabled = enabled; in setEnabled()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DOpportunisticNetworkServiceTest.java134 mOpportunisticNetworkService.mIsEnabled = true; in testHandleSimStateChange()
144 mOpportunisticNetworkService.mIsEnabled = true; in testHandleSimStateChange()
175 mOpportunisticNetworkService.mIsEnabled = true; in testSystemPreferredDataWhileCarrierAppIsActive()
306 mOpportunisticNetworkService.mIsEnabled = true; in testPriorityRuleOfActivatingAvailableNetworks()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp130 mIsEnabled(true), in WatchdogProcessService()
274 if (mIsEnabled != isEnabled) { in setEnabled()
277 mIsEnabled = isEnabled; in setEnabled()
278 if (mIsEnabled) { in setEnabled()
312 mIsEnabled ? "true" : "false"), in dump()
346 if (Mutex::Autolock lock(mMutex); !mIsEnabled) { in doHealthCheck()
DWatchdogProcessService.h235 bool mIsEnabled GUARDED_BY(mMutex);
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java400 private boolean mIsEnabled = true; field in PowerComponentHandler.VoiceInteractionPowerComponentMediator
419 return mIsEnabled; in isEnabled()
426 mIsEnabled = enabled; in setEnabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java318 private boolean mIsEnabled; field in BluetoothBondedDevicesPreferenceControllerTest.TestLocalBluetoothProfile
341 return mIsEnabled; in isEnabled()
351 return mIsEnabled = enabled; in setEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DHighPowerDetailTest.java87 mFragment.mIsEnabled = true; in onClick_appAddedToDozeAllowlist_getsUnrestricted()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java1392 if (!mConnection.hasSelection() || !mRecapitalizeStatus.mIsEnabled()) { in performRecapitalization()