Home
last modified time | relevance | path

Searched refs:ENABLED (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/app/
DAutomaticZenRule.java36 private static final int ENABLED = 1; field in AutomaticZenRule
116 enabled = source.readInt() == ENABLED; in AutomaticZenRule()
117 if (source.readInt() == ENABLED) { in AutomaticZenRule()
126 mModified = source.readInt() == ENABLED; in AutomaticZenRule()
270 dest.writeInt(enabled ? ENABLED : DISABLED); in writeToParcel()
283 dest.writeInt(mModified ? ENABLED : DISABLED); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginEnablerImpl.java43 setDisabled(component, ENABLED); in setEnabled()
48 boolean enabled = reason == ENABLED; in setDisabled()
68 return ENABLED; in getDisableReason()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginEnabler.java25 int ENABLED = 0; field
31 @IntDef({ENABLED, DISABLED_MANUALLY, DISABLED_INVALID_VERSION, DISABLED_FROM_EXPLICIT_CRASH,
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DIContextHubWrapper.java249 enabled ? SettingValue.ENABLED : SettingValue.DISABLED); in onLocationSettingChanged()
313 enabled ? SettingValue.ENABLED : SettingValue.DISABLED); in onLocationSettingChanged()
318 enabled ? SettingValue.ENABLED : SettingValue.DISABLED); in onWifiSettingChanged()
323 enabled ? SettingValue.ENABLED : SettingValue.DISABLED); in onAirplaneModeSettingChanged()
331 enabled ? SettingValue.DISABLED : SettingValue.ENABLED); in onMicrophoneDisableSettingChanged()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java67 private int mFlags = ENABLED;
72 private static final int ENABLED = 0x00000010; field in ActionMenuItem
150 return (mFlags & ENABLED) != 0; in isEnabled()
184 mFlags = (mFlags & ~ENABLED) | (enabled ? ENABLED : 0); in setEnabled()
DMenuItemImpl.java89 private int mFlags = ENABLED;
94 private static final int ENABLED = 0x00000010; field in MenuItemImpl
178 return (mFlags & ENABLED) != 0; in isEnabled()
183 mFlags |= ENABLED; in setEnabled()
185 mFlags &= ~ENABLED; in setEnabled()
/frameworks/base/core/java/com/android/internal/util/
DEmergencyAffordanceManager.java29 public static final boolean ENABLED = true; field in EmergencyAffordanceManager
81 if (!ENABLED) { in needsEmergencyAffordance()
/frameworks/base/services/core/java/com/android/server/utils/
DSnapshotCache.java39 private static final boolean ENABLED = true; field in SnapshotCache
137 if (s == null || !ENABLED) { in snapshot()
/frameworks/base/services/coverage/java/com/android/server/coverage/
DCoverageService.java41 public static final boolean ENABLED; field in CoverageService
51 ENABLED = shouldEnable;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakDetector.java34 public static final boolean ENABLED = Build.IS_DEBUGGABLE; field in LeakDetector
134 if (ENABLED) { in create()
/frameworks/base/telephony/java/android/telephony/ims/
DImsSsInfo.java47 ENABLED
57 public static final int ENABLED = 1; field in ImsSsInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java82 private final HashSet<Tunable> mTunables = LeakDetector.ENABLED ? new HashSet<>() : null;
202 if (LeakDetector.ENABLED) { in addTunable()
222 if (LeakDetector.ENABLED) { in removeTunable()
/frameworks/proto_logging/stats/enums/stats/accessibility/
Daccessibility_enums.proto34 ENABLED = 1; enumerator
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java169 assertTrue(c.status == Status.ENABLED); in testEnableDisableNetwork()
171 assertFalse(c.status == Status.ENABLED); in testEnableDisableNetwork()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDctConstants.java122 public static final int ENABLED = 1; field in DctConstants
/frameworks/opt/net/ims/tests/src/com/android/ims/
DImsUtTest.java136 ImsSsInfo info = new ImsSsInfo.Builder(ImsSsInfo.ENABLED).setProvisionStatus( in testClipConversionCompat()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java650 GlobalSettingsProto.DynamicPowerSavings.ENABLED); in dumpProtoGlobalSettingsLocked()
904 GlobalSettingsProto.LowPowerMode.ENABLED); in dumpProtoGlobalSettingsLocked()
979 GlobalSettingsProto.Netstats.ENABLED); in dumpProtoGlobalSettingsLocked()
1704 SecureSettingsProto.Accessibility.ENABLED); in dumpProtoSecureSettingsLocked()
1830 SecureSettingsProto.AdaptiveSleep.ENABLED); in dumpProtoSecureSettingsLocked()
1928 SecureSettingsProto.AutomaticStorageManager.ENABLED); in dumpProtoSecureSettingsLocked()
1946 SecureSettingsProto.Backup.ENABLED); in dumpProtoSecureSettingsLocked()
1975 SecureSettingsProto.CameraAutorotate.ENABLED); in dumpProtoSecureSettingsLocked()
2019 SecureSettingsProto.Controls.ENABLED); in dumpProtoSecureSettingsLocked()
2044 SecureSettingsProto.Doze.ENABLED); in dumpProtoSecureSettingsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DConstants.java517 static final int ENABLED = 1; field in Constants
DHdmiControlService.java25 import static com.android.server.hdmi.Constants.ENABLED;
555 mMhlController.setOption(OPTION_MHL_SERVICE_CONTROL, ENABLED); in onStart()
826 return enabled ? ENABLED : DISABLED; in toInt()
832 return Global.getInt(cr, key, toInt(defVal)) == ENABLED; in readBooleanSetting()
3382 mMhlController.setOption(OPTION_MHL_ENABLE, ENABLED); in enableHdmiControlService()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp248 static constexpr Switch ENABLED() { return IS_ENABLED; }; in ENABLED() function in android::__anon690583750111::Switch
275 return enablement->second == "1" ? Switch::ENABLED() : Switch::DISABLED(); in isSettingEnabled()
/frameworks/native/services/sensorservice/
DSensorFusion.cpp244 proto->write(ENABLED, mEnabled[mode]); in dumpFusion()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageImpl.java412 private long mBooleans = Booleans.ENABLED;
465 ENABLED,
514 private static final long ENABLED = 1L << 44; field in ParsingPackageImpl.Booleans
1041 appInfo.enabled = getBoolean(Booleans.ENABLED);
1842 return getBoolean(Booleans.ENABLED);
2325 return setBoolean(Booleans.ENABLED, value);
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java21 import static com.android.server.wm.WindowOrientationListenerProto.ENABLED;
306 proto.write(ENABLED, mEnabled); in dumpDebug()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java185 ENABLED, enumConstant
899 if (mIorapStatus == IorapStatus.ENABLED && enable) { in toggleIorapStatus()
925 mIorapStatus = IorapStatus.ENABLED; in toggleIorapStatus()
/frameworks/base/core/java/android/view/
DView.java1531 static final int ENABLED = 0x00000000; field in View
6447 out.append((mViewFlags&ENABLED_MASK) == ENABLED ? 'E' : '.');
8051 || (mViewFlags & ENABLED_MASK) != ENABLED) {
11908 return (mViewFlags & ENABLED_MASK) == ENABLED; in isEnabled()
11921 setFlags(enabled ? ENABLED : DISABLED, ENABLED_MASK); in setEnabled()
13277 && (viewFlags & ENABLED_MASK) == ENABLED) { in addTouchables()
14473 if (li != null && li.mOnKeyListener != null && (mViewFlags & ENABLED_MASK) == ENABLED in dispatchKeyEvent()
14529 if ((mViewFlags & ENABLED_MASK) == ENABLED && handleScrollBarDragging(event)) { in dispatchTouchEvent()
14535 && (mViewFlags & ENABLED_MASK) == ENABLED in dispatchTouchEvent()
14674 && (mViewFlags & ENABLED_MASK) == ENABLED in dispatchGenericMotionEventInternal()
[all …]

12