Home
last modified time | relevance | path

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

12

/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()
116 if (this.mIsEnabled != that.mIsEnabled) { in compareTo()
117 return this.mIsEnabled ? -1 : 1; in compareTo()
/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/systemlibs/car-qc-lib/src/com/android/car/qc/
DQCItem.java60 private final boolean mIsEnabled; field in QCItem
72 mIsEnabled = isEnabled; in QCItem()
78 mIsEnabled = in.readBoolean(); in QCItem()
89 return mIsEnabled; in isEnabled()
104 dest.writeBoolean(mIsEnabled); in writeToParcel()
DQCSlider.java119 private boolean mIsEnabled = true; field in QCSlider.Builder
152 mIsEnabled = enabled; in setEnabled()
185 return new QCSlider(mMin, mMax, mValue, mIsEnabled, mIsClickableWhileDisabled, in build()
DQCTile.java142 private boolean mIsEnabled = true; field in QCTile.Builder
162 mIsEnabled = enabled; in setEnabled()
218 return new QCTile(mIsChecked, mIsEnabled, mIsAvailable, mIsClickableWhileDisabled, in build()
DQCActionItem.java155 private boolean mIsEnabled = true; field in QCActionItem.Builder
183 mIsEnabled = enabled; in setEnabled()
257 return new QCActionItem(mType, mIsChecked, mIsEnabled, mIsAvailable, mIsClickable, in build()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseActionItem.java35 private boolean mIsEnabled = true; field in BaseActionItem
47 return mIsEnabled; in isEnabled()
54 if (enabled != mIsEnabled) { in setEnabled()
55 mIsEnabled = enabled; in setEnabled()
DActionButtonInfo.java50 private boolean mIsEnabled = true; field in ActionButtonInfo
108 if (isEnabled != mIsEnabled) { in setEnabled()
109 mIsEnabled = isEnabled; in setEnabled()
176 return mIsEnabled; in isEnabled()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DHighPowerDetail.java54 @VisibleForTesting boolean mIsEnabled; field in HighPowerDetail
79 mIsEnabled = mDefaultOn || mBackend.isAllowlisted(mPackageName, mPackageUid); in onCreate()
120 mOptionOn.setChecked(mIsEnabled); in updateViews()
121 mOptionOff.setChecked(!mIsEnabled); in updateViews()
127 mIsEnabled = true; in onClick()
130 mIsEnabled = false; in onClick()
138 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/AlternativeNetworkAccess/src/com/android/ons/
DOpportunisticNetworkService.java79 @VisibleForTesting protected boolean mIsEnabled; field in OpportunisticNetworkService
200 if (!mIsEnabled) { in handleSimStateChange()
275 return mIsEnabled;
637 if (mIsEnabled) { in handleCarrierAppAvailableNetworks()
656 if (!mIsEnabled) { in handleCarrierAppAvailableNetworks()
725 if (mIsEnabled) { in handleSystemAppAvailableNetworks()
740 if (!mIsEnabled) { in handleSystemAppAvailableNetworks()
768 mIsEnabled = enable; in updateEnableState()
769 mSharedPref.edit().putBoolean(PREF_ENABLED, mIsEnabled).apply(); in updateEnableState()
779 if (mIsEnabled != enable) { in enableOpportunisticNetwork()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java129 mViewModel.mSpeedInfo6g.mIsEnabled = false; in on6gAvailableChanged_itsAvailable_setLiveData6gEnabled()
135 assertThat(speedInfo.mIsEnabled).isTrue(); in on6gAvailableChanged_itsAvailable_setLiveData6gEnabled()
142 mViewModel.mSpeedInfo6g.mIsEnabled = true; in on6gAvailableChanged_notAvailable_setLiveData6gDisabled()
148 assertThat(speedInfo.mIsEnabled).isFalse(); in on6gAvailableChanged_notAvailable_setLiveData6gDisabled()
155 mViewModel.mSpeedInfo5g.mIsEnabled = false; in on5gAvailableChanged_itsAvailable_setLiveData5gEnabled()
161 assertThat(speedInfo.mIsEnabled).isTrue(); in on5gAvailableChanged_itsAvailable_setLiveData5gEnabled()
168 mViewModel.mSpeedInfo5g.mIsEnabled = true; in on5gAvailableChanged_notAvailable_setLiveData5gDisabled()
174 assertThat(speedInfo.mIsEnabled).isFalse(); in on5gAvailableChanged_notAvailable_setLiveData5gDisabled()
DWifiHotspotSecurityViewModelTest.java210 assertThat(mViewModel.mViewItemMap.get(SECURITY_TYPE_WPA3_SAE).mIsEnabled) in assertItemEnabled()
212 assertThat(mViewModel.mViewItemMap.get(SECURITY_TYPE_WPA3_SAE_TRANSITION).mIsEnabled) in assertItemEnabled()
214 assertThat(mViewModel.mViewItemMap.get(SECURITY_TYPE_WPA2_PSK).mIsEnabled) in assertItemEnabled()
216 assertThat(mViewModel.mViewItemMap.get(SECURITY_TYPE_OPEN).mIsEnabled) in assertItemEnabled()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java88 mSpeedInfo6g.mIsEnabled = available; in on6gAvailableChanged()
96 mSpeedInfo5g.mIsEnabled = available; in on5gAvailableChanged()
158 boolean mIsEnabled; field in WifiHotspotSpeedViewModel.SpeedInfo
164 this.mIsEnabled = isEnabled; in SpeedInfo()
172 .append(",isEnabled:").append(mIsEnabled) in toString()
DWifiHotspotSecuritySettings.java90 if (preference.isEnabled() != viewItem.mIsEnabled) { in onViewItemListDataChanged()
91 preference.setEnabled(viewItem.mIsEnabled); in onViewItemListDataChanged()
92 if (viewItem.mIsEnabled) { in onViewItemListDataChanged()
DWifiHotspotSecurityViewModel.java93 entry.getValue().mIsEnabled = !isWpa3Only; in onSpeedTypeChanged()
145 boolean mIsEnabled = true; field in WifiHotspotSecurityViewModel.ViewItem
156 .append(",IsEnabled:").append(mIsEnabled) in toString()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAuctionServerDebugReporting.java34 private final boolean mIsEnabled; field in AuctionServerDebugReporting
37 this.mIsEnabled = isEnabled; in AuctionServerDebugReporting()
73 return mIsEnabled; in isEnabled()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DCarFullScreenTouchHandler.java38 private boolean mIsEnabled; field in CarFullScreenTouchHandler
49 mIsEnabled = isEnabled; in enable()
64 if (mIsEnabled) { in updateInputChannel()
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/
DAppSharing.java121 private boolean mIsEnabled = true; field in AppSharing.Share
155 if (!mIsEnabled) { in onClick()
234 if (mIsEnabled != isEnabled) { in setEnabled()
235 mIsEnabled = isEnabled; in setEnabled()
241 return mIsEnabled; in isEnabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DBluetoothTestUtils.java102 private boolean mIsEnabled; field in BluetoothTestUtils.TestLocalBluetoothProfile
125 return mIsEnabled; in isEnabled()
135 return mIsEnabled = enabled; in setEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGestureHandler.java66 private boolean mIsEnabled; field in EdgeBackGestureHandler
110 mIsEnabled = parent != null; in setViewGroupParent()
117 if (mIsEnabled) { in setViewGroupParent()
144 if (mIsEnabled) { in onTouch()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTiles.java209 private boolean mIsEnabled; field in DevelopmentTiles.SensorsOff
217 mIsEnabled = mSensorPrivacyManager.isAllSensorPrivacyEnabled(); in onCreate()
226 return mIsEnabled; in isEnabled()
237 mIsEnabled = isEnabled; in setIsEnabled()
/packages/services/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/
DTestSatelliteService.java95 private boolean mIsEnabled; field in TestSatelliteService
115 mIsEnabled = false; in TestSatelliteService()
207 mIsEnabled = true; in enableSatellite()
213 mIsEnabled = false; in disableSatellite()
226 runWithExecutor(() -> callback.accept(mIsEnabled)); in requestIsSatelliteEnabled()
520 if (!mIsEnabled) { in verifySatelliteModemState()
/packages/services/Car/cpp/watchdog/server/src/
DPressureMonitor.h129 mIsEnabled(false), in PressureMonitor()
142 return mIsEnabled; in isEnabled()
218 bool mIsEnabled GUARDED_BY(mMutex);

12