/frameworks/base/core/java/android/app/ |
D | AutomaticZenRule.java | 36 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/ |
D | PluginEnablerImpl.java | 43 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/ |
D | PluginEnabler.java | 25 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/ |
D | IContextHubWrapper.java | 249 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/ |
D | ActionMenuItem.java | 67 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()
|
D | MenuItemImpl.java | 89 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/ |
D | EmergencyAffordanceManager.java | 29 public static final boolean ENABLED = true; field in EmergencyAffordanceManager 81 if (!ENABLED) { in needsEmergencyAffordance()
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | SnapshotCache.java | 39 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/ |
D | CoverageService.java | 41 public static final boolean ENABLED; field in CoverageService 51 ENABLED = shouldEnable;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | LeakDetector.java | 34 public static final boolean ENABLED = Build.IS_DEBUGGABLE; field in LeakDetector 134 if (ENABLED) { in create()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsSsInfo.java | 47 ENABLED 57 public static final int ENABLED = 1; field in ImsSsInfo
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 82 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/ |
D | accessibility_enums.proto | 34 ENABLED = 1; enumerator
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 169 assertTrue(c.status == Status.ENABLED); in testEnableDisableNetwork() 171 assertFalse(c.status == Status.ENABLED); in testEnableDisableNetwork()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | DctConstants.java | 122 public static final int ENABLED = 1; field in DctConstants
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsUtTest.java | 136 ImsSsInfo info = new ImsSsInfo.Builder(ImsSsInfo.ENABLED).setProvisionStatus( in testClipConversionCompat()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 650 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/ |
D | Constants.java | 517 static final int ENABLED = 1; field in Constants
|
D | HdmiControlService.java | 25 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/ |
D | Codec2InfoBuilder.cpp | 248 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/ |
D | SensorFusion.cpp | 244 proto->write(ENABLED, mEnabled[mode]); in dumpFusion()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ParsingPackageImpl.java | 412 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/ |
D | WindowOrientationListener.java | 21 import static com.android.server.wm.WindowOrientationListenerProto.ENABLED; 306 proto.write(ENABLED, mEnabled); in dumpDebug()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 185 ENABLED, enumConstant 899 if (mIorapStatus == IorapStatus.ENABLED && enable) { in toggleIorapStatus() 925 mIorapStatus = IorapStatus.ENABLED; in toggleIorapStatus()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 1531 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 …]
|