Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/satellite/
DEnableRequestAttributes.java37 private boolean mIsEnabled; field in EnableRequestAttributes
56 this.mIsEnabled = builder.mIsEnabled; in EnableRequestAttributes()
66 return mIsEnabled; in isEnabled()
90 private boolean mIsEnabled; field in EnableRequestAttributes.Builder
96 mIsEnabled = isEnabled; in Builder()
110 if (mIsEnabled) { in setDemoMode()
128 if (mIsEnabled) { in setEmergencyMode()
/frameworks/base/telephony/java/android/telephony/
DCellBroadcastIdRange.java38 private boolean mIsEnabled; field in CellBroadcastIdRange
65 mIsEnabled = isEnabled; in CellBroadcastIdRange()
97 return mIsEnabled; in isEnabled()
108 out.writeBoolean(mIsEnabled); in writeToParcel()
145 return Objects.hash(mStartId, mEndId, mType, mIsEnabled); in hashCode()
157 && mIsEnabled == other.mIsEnabled; in equals()
163 + mIsEnabled + "]"; in toString()
DSignalThresholdInfo.java158 private final boolean mIsEnabled; field in SignalThresholdInfo
352 mIsEnabled = isEnabled; in SignalThresholdInfo()
364 private boolean mIsEnabled = false;
489 mIsEnabled = isEnabled;
510 mIsEnabled);
550 return mIsEnabled;
609 out.writeBoolean(mIsEnabled);
618 mIsEnabled = in.readBoolean();
635 && mIsEnabled == other.mIsEnabled;
646 mIsEnabled);
[all …]
/frameworks/base/core/java/android/hardware/location/
DNanoAppState.java41 private boolean mIsEnabled; field in NanoAppState
54 mIsEnabled = enabled; in NanoAppState()
68 mIsEnabled = enabled; in NanoAppState()
86 mIsEnabled = enabled; in NanoAppState()
116 return mIsEnabled; in isEnabled()
137 mIsEnabled = (in.readInt() == 1); in NanoAppState()
154 out.writeInt(mIsEnabled ? 1 : 0); in writeToParcel()
/frameworks/base/core/java/android/credentials/
DCredentialProviderInfo.java49 private final boolean mIsEnabled; field in CredentialProviderInfo
62 mIsEnabled = builder.mIsEnabled; in CredentialProviderInfo()
108 return mIsEnabled; in isEnabled()
150 dest.writeBoolean(mIsEnabled); in writeToParcel()
172 + mIsEnabled in toString()
195 mIsEnabled = in.readBoolean(); in CredentialProviderInfo()
223 private boolean mIsEnabled = false; field in CredentialProviderInfo.Builder
276 mIsEnabled = isEnabled; in setEnabled()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeManagedProfileController.java29 private boolean mIsEnabled = false; field in FakeManagedProfileController
49 if (mIsEnabled != enabled) { in setWorkModeEnabled()
50 mIsEnabled = enabled; in setWorkModeEnabled()
81 return mIsEnabled; in isWorkModeEnabled()
DFakeDataSaverController.java27 private boolean mIsEnabled = false; field in FakeDataSaverController
36 return mIsEnabled; in isDataSaverEnabled()
41 mIsEnabled = enabled; in setDataSaverEnabled()
/frameworks/base/core/java/android/app/admin/
DPreferentialNetworkServiceConfig.java51 final boolean mIsEnabled; field in PreferentialNetworkServiceConfig
120 mIsEnabled = isEnabled; in PreferentialNetworkServiceConfig()
129 mIsEnabled = in.readBoolean(); in PreferentialNetworkServiceConfig()
142 return mIsEnabled; in isEnabled()
235 return mIsEnabled == that.mIsEnabled in equals()
245 return Objects.hash(mIsEnabled, mAllowFallbackToDefaultConnection, in hashCode()
255 boolean mIsEnabled = false; field in PreferentialNetworkServiceConfig.Builder
275 mIsEnabled = isEnabled; in setEnabled()
383 return new PreferentialNetworkServiceConfig(mIsEnabled, in build()
408 dest.writeBoolean(mIsEnabled); in writeToParcel()
[all …]
/frameworks/av/media/libcpustats/include/cpustats/
DThreadCpuUsage.h42 mIsEnabled(false), in ThreadCpuUsage()
58 bool isEnabled() const { return mIsEnabled; } in isEnabled()
122 bool mIsEnabled; // whether tracking is currently enabled
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccount.java499 private boolean mIsEnabled; field in PhoneAccount
511 mIsEnabled == that.mIsEnabled && in equals()
529 mExtras, mIsEnabled, mGroupId, mSimultaneousCallingRestriction); in hashCode()
548 private boolean mIsEnabled = false; field in PhoneAccount.Builder
581 mIsEnabled = phoneAccount.isEnabled(); in Builder()
755 mIsEnabled = isEnabled; in setIsEnabled()
880 mIsEnabled, in build()
912 mIsEnabled = isEnabled; in PhoneAccount()
1060 return mIsEnabled; in isEnabled()
1113 mIsEnabled = isEnabled; in setIsEnabled()
[all …]
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
DActionButtonsPreference.java274 if (isEnabled != mButton1Info.mIsEnabled) { in setButton1Enabled()
275 mButton1Info.mIsEnabled = isEnabled; in setButton1Enabled()
339 if (isEnabled != mButton2Info.mIsEnabled) { in setButton2Enabled()
340 mButton2Info.mIsEnabled = isEnabled; in setButton2Enabled()
404 if (isEnabled != mButton3Info.mIsEnabled) { in setButton3Enabled()
405 mButton3Info.mIsEnabled = isEnabled; in setButton3Enabled()
469 if (isEnabled != mButton4Info.mIsEnabled) { in setButton4Enabled()
470 mButton4Info.mIsEnabled = isEnabled; in setButton4Enabled()
515 private boolean mIsEnabled = true; field in ActionButtonsPreference.ButtonInfo
521 mButton.setEnabled(mIsEnabled); in setUpButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/
DCommunalTouchHandler.java46 private Boolean mIsEnabled = false; field in CommunalTouchHandler
74 return mIsEnabled; in isEnabled()
79 mIsEnabled = enabled; in setIsEnabled()
84 if (!mIsEnabled) { in onSessionStart()
/frameworks/base/services/core/java/com/android/server/power/
DFaceDownDetector.java78 private boolean mIsEnabled; field in FaceDownDetector
205 final boolean shouldBeActive = mInteractive && mIsEnabled && !sawRecentInteraction; in updateActiveState()
251 if (!mActive || !mIsEnabled) return;
435 final boolean oldEnabled = mIsEnabled; in readValuesFromDeviceConfig()
436 mIsEnabled = isEnabled(); in readValuesFromDeviceConfig()
437 if (oldEnabled != mIsEnabled) { in readValuesFromDeviceConfig()
438 if (!mIsEnabled) { in readValuesFromDeviceConfig()
451 + "\nmIsEnabled=" + mIsEnabled); in readValuesFromDeviceConfig()
460 mIsEnabled = isEnabled(); in setEnabledOverride()
DLowPowerStandbyController.java269 private boolean mIsEnabled; field in LowPowerStandbyController
414 if (mIsEnabled) { in systemReady()
455 mIsEnabled = mSupportedConfig && Settings.Global.getInt(resolver, in updateSettingsLocked()
605 mForceActive || (mIsEnabled && !mIsInteractive && standbyTimeoutExpired in updateActiveLocked()
608 Slog.d(TAG, "updateActiveLocked: mIsEnabled=" + mIsEnabled + ", mIsInteractive=" in updateActiveLocked()
713 final boolean oldEnabled = mIsEnabled; in onSettingsChanged()
716 if (mIsEnabled != oldEnabled) { in onSettingsChanged()
717 if (mIsEnabled) { in onSettingsChanged()
766 Slog.d(TAG, "notifyEnabledChangedLocked, mIsEnabled=" + mIsEnabled); in notifyEnabledChangedLocked()
845 return mSupportedConfig && mIsEnabled; in isEnabled()
[all …]
/frameworks/base/core/java/android/printservice/
DPrintServiceInfo.java61 private boolean mIsEnabled; field in PrintServiceInfo
78 mIsEnabled = parcel.readByte() != 0; in PrintServiceInfo()
202 return mIsEnabled; in isEnabled()
213 mIsEnabled = isEnabled; in setIsEnabled()
283 parcel.writeByte((byte)(mIsEnabled ? 1 : 0)); in writeToParcel()
323 builder.append("isEnabled=").append(mIsEnabled); in toString()
/frameworks/base/services/core/java/com/android/server/display/layout/
DLayout.java286 private final boolean mIsEnabled; field in Layout.Display
328 mIsEnabled = isEnabled; in Display()
343 + "(" + (mIsEnabled ? "ON" : "OFF") + ")" in toString()
364 return otherDisplay.mIsEnabled == this.mIsEnabled in equals()
383 result = 31 * result + Boolean.hashCode(mIsEnabled); in hashCode()
406 return mIsEnabled; in isEnabled()
/frameworks/base/services/core/java/com/android/server/utils/quota/
DQuotaTracker.java111 private boolean mIsEnabled = true; field in QuotaTracker
223 if (!mIsEnabled) { in setQuotaFree()
257 if (mIsEnabled == enable) { in setEnabled()
260 mIsEnabled = enable; in setEnabled()
262 if (!mIsEnabled) { in setEnabled()
272 return mIsEnabled; in isEnabledLocked()
486 pw.println("Is enabled: " + mIsEnabled); in dump()
523 proto.write(QuotaTrackerProto.IS_ENABLED, mIsEnabled); in dump()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DAutoBrightnessFallbackStrategy.java56 private boolean mIsEnabled; field in AutoBrightnessFallbackStrategy
101 writer.println(" mIsEnabled=" + mIsEnabled); in dump()
114 strategySelectionNotifyRequest.isAutoBrightnessEnabled() && mIsEnabled in strategySelectionPostProcessor()
138 mIsEnabled = isEnabled; in setupAutoBrightnessFallbackSensor()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedTouchHandler.java55 private boolean mIsEnabled; field in OneHandedTouchHandler
72 mIsEnabled = isEnabled; in onOneHandedEnabled()
131 if (mIsEnabled) { in updateIsEnabled()
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp39 bool wasEnabled = mIsEnabled; in setEnabled()
77 mIsEnabled = isEnabled; in setEnabled()
105 if (mIsEnabled) { in sample()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipResizeGestureHandler.java91 private boolean mIsEnabled; field in PipResizeGestureHandler
191 if (isEnabled == mIsEnabled) { in updateIsEnabled()
194 mIsEnabled = isEnabled; in updateIsEnabled()
197 if (mIsEnabled) { in updateIsEnabled()
523 pw.println(innerPrefix + "mIsEnabled=" + mIsEnabled);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipResizeGestureHandler.java95 private boolean mIsEnabled; field in PipResizeGestureHandler
203 if (isEnabled == mIsEnabled) { in updateIsEnabled()
206 mIsEnabled = isEnabled; in updateIsEnabled()
209 if (mIsEnabled) { in updateIsEnabled()
580 pw.println(innerPrefix + "mIsEnabled=" + mIsEnabled); in dump()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java431 pw.println(item.mIsEnabled);
562 XmlUtils.writeBooleanAttribute(xml, ATTR_IS_ENABLED, item.mIsEnabled);
578 private boolean mIsEnabled;
597 mIsEnabled = isEnabled;
644 return mIsEnabled;
652 if (mIsEnabled != enable) {
653 mIsEnabled = enable;
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java167 private boolean mIsEnabled; field in LogicalDisplay
241 mIsEnabled = true; in LogicalDisplay()
937 return mIsEnabled; in isEnabledLocked()
946 if (enabled != mIsEnabled) { in setEnabledLocked()
948 mIsEnabled = enabled; in setEnabledLocked()
1043 pw.println("mIsEnabled=" + mIsEnabled); in dumpLocked()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DCrashRecoveryTest.java423 assertThat(controller.mIsEnabled).isFalse(); in createWatchdog()
429 assertThat(controller.mIsEnabled).isTrue(); in createWatchdog()
578 private boolean mIsEnabled; field in CrashRecoveryTest.TestController
586 mIsEnabled = enabled; in setEnabled()
587 if (!mIsEnabled) { in setEnabled()
602 if (mIsEnabled) { in syncRequests()

12