Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java34 private static final boolean ENABLED = true; field in DozeLog
66 if (!ENABLED) return; in tracePickupPulse()
74 if (!ENABLED) return; in tracePulseStart()
80 if (!ENABLED) return; in tracePulseFinish()
86 if (!ENABLED) return; in traceNotificationPulse()
118 if (!ENABLED) return; in traceDozing()
126 if (!ENABLED) return; in traceFling()
132 if (!ENABLED) return; in traceEmergencyCall()
138 if (!ENABLED) return; in traceKeyguardBouncerChanged()
143 if (!ENABLED) return; in traceScreenOn()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManager.java119 if (FalsingLog.ENABLED && FalsingLog.VERBOSE) in shouldSessionBeActive()
157 if (FalsingLog.ENABLED) { in onSessionStart()
197 if (FalsingLog.ENABLED) { in isFalseTouch()
267 if (FalsingLog.ENABLED) { in setStatusBarState()
278 if (FalsingLog.ENABLED) { in onScreenTurningOn()
291 if (FalsingLog.ENABLED) { in onScreenOnFromTouch()
303 if (FalsingLog.ENABLED) { in onScreenOff()
314 if (FalsingLog.ENABLED) { in onSucccessfulUnlock()
321 if (FalsingLog.ENABLED) { in onBouncerShown()
333 if (FalsingLog.ENABLED) { in onBouncerHidden()
[all …]
DHumanInteractionClassifier.java169 StringBuilder sb = FalsingLog.ENABLED ? new StringBuilder("stroke") : null; in addTouchEvent()
172 if (FalsingLog.ENABLED) { in addTouchEvent()
179 if (FalsingLog.ENABLED) { in addTouchEvent()
188 StringBuilder sb = FalsingLog.ENABLED ? new StringBuilder("gesture") : null; in addTouchEvent()
191 if (FalsingLog.ENABLED) { in addTouchEvent()
197 if (FalsingLog.ENABLED) { in addTouchEvent()
222 if (FalsingLog.ENABLED) { in isFalseTouch()
DFalsingLog.java51 public static final boolean ENABLED = SystemProperties.getBoolean("debug.falsing_log", field in FalsingLog
107 if (!ENABLED) { in log()
125 if (!ENABLED) { in dump()
142 if (!ENABLED) { in wtf()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DBackgroundHelper.java39 private static final boolean ENABLED = true; field in BackgroundHelper
106 if (DEBUG && !ENABLED) Log.v(TAG, "BackgroundHelper: disabled"); in BackgroundHelper()
203 if (!ENABLED) { in attachToWindow()
215 if (!ENABLED) { in attachToView()
228 if (!ENABLED) { in setBackground()
253 if (!ENABLED) { in clearDrawable()
265 if (!ENABLED) { in setDrawable()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java65 private int mFlags = ENABLED;
70 private static final int ENABLED = 0x00000010; field in ActionMenuItem
147 return (mFlags & ENABLED) != 0; in isEnabled()
181 mFlags = (mFlags & ~ENABLED) | (enabled ? ENABLED : 0); in setEnabled()
DMenuItemImpl.java84 private int mFlags = ENABLED;
89 private static final int ENABLED = 0x00000010; field in MenuItemImpl
193 return (mFlags & ENABLED) != 0; in isEnabled()
198 mFlags |= ENABLED; in setEnabled()
200 mFlags &= ~ENABLED; in setEnabled()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DActionMenuItem.java74 private int mFlags = ENABLED;
79 private static final int ENABLED = 0x00000010; field in ActionMenuItem
173 return (mFlags & ENABLED) != 0; in isEnabled()
213 mFlags = (mFlags & ~ENABLED) | (enabled ? ENABLED : 0); in setEnabled()
DMenuItemImpl.java95 private int mFlags = ENABLED;
100 private static final int ENABLED = 0x00000010; field in MenuItemImpl
198 return (mFlags & ENABLED) != 0; in isEnabled()
204 mFlags |= ENABLED; in setEnabled()
206 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/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java86 private static final boolean ENABLED = Build.IS_DEBUGGABLE field in GarbageMonitor.Service
96 if (!ENABLED && !forceEnable) { in start()
DLeakDetector.java35 public static final boolean ENABLED = Build.IS_DEBUGGABLE; field in LeakDetector
135 if (ENABLED) { in create()
/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/tuner/
DTunerServiceImpl.java69 private final HashSet<Tunable> mTunables = LeakDetector.ENABLED ? new HashSet<>() : null;
161 if (LeakDetector.ENABLED) { in addTunable()
180 if (LeakDetector.ENABLED) { in removeTunable()
/frameworks/base/telephony/java/com/android/ims/
DImsSsInfo.java33 public static final int ENABLED = 1; field in ImsSsInfo
/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java53 if (LockGuard.ENABLED) { in boost()
DLockGuard.java63 public static final boolean ENABLED = false; field in LockGuard
/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/support/media-compat/tests/src/android/support/v4/media/session/
DMediaControllerCompatTest.java62 private static final boolean ENABLED = true; field in MediaControllerCompatTest
386 controls.setCaptioningEnabled(ENABLED); in testTransportControlsAndMediaSessionCallback()
389 assertEquals(ENABLED, mCallback.mCaptioningEnabled); in testTransportControlsAndMediaSessionCallback()
399 controls.setShuffleModeEnabled(ENABLED); in testTransportControlsAndMediaSessionCallback()
402 assertEquals(ENABLED, mCallback.mShuffleModeEnabled); in testTransportControlsAndMediaSessionCallback()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDctConstants.java129 public static final int ENABLED = 1; field in DctConstants
/frameworks/base/services/core/java/com/android/server/hdmi/
DConstants.java244 static final int ENABLED = 1; field in Constants
DHdmiControlService.java22 import static com.android.server.hdmi.Constants.ENABLED;
424 mMhlController.setOption(OPTION_MHL_SERVICE_CONTROL, ENABLED); in onStart()
545 return enabled ? ENABLED : DISABLED; in toInt()
550 return Global.getInt(cr, key, toInt(defVal)) == ENABLED; in readBooleanSetting()
2294 mMhlController.setOption(OPTION_MHL_ENABLE, ENABLED); in enableHdmiControlService()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1004 setEnableFailFastMobileData(DctConstants.ENABLED); in onReceive()
2373 msg.arg1 = (enabled ? DctConstants.ENABLED : DctConstants.DISABLED); in setPolicyDataEnabled()
2551 msg.arg2 = (enable ? DctConstants.ENABLED : DctConstants.DISABLED); in setEnabled()
2563 applyNewState(apnContext, enabled == DctConstants.ENABLED, apnContext.getDependencyMet()); in onEnableApn()
3736 final boolean enabled = (msg.arg1 == DctConstants.ENABLED) ? true : false; in handleMessage()
3842 final boolean enabled = (msg.arg1 == DctConstants.ENABLED) ? true : false; in handleMessage()
3849 boolean met = (msg.arg1 == DctConstants.ENABLED) ? true : false; in handleMessage()
3861 final boolean enabled = (msg.arg1 == DctConstants.ENABLED) ? true : false; in handleMessage()
3866 sEnableFailFastRefCounter += (msg.arg1 == DctConstants.ENABLED) ? 1 : -1; in handleMessage()
3966 isProvApn ? DctConstants.ENABLED : DctConstants.DISABLED); in handleMessage()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java226 assertEquals(WifiConfiguration.Status.ENABLED, deserializedConfiguration.second.status); in testCurrentStatusConfigurationSerializeDeserializeForConfigStore()
/frameworks/base/core/java/android/view/
DView.java1311 static final int ENABLED = 0x00000000; field in View
5495 out.append((mViewFlags&ENABLED_MASK) == ENABLED ? 'E' : '.');
9431 return (mViewFlags & ENABLED_MASK) == ENABLED; in isEnabled()
9444 setFlags(enabled ? ENABLED : DISABLED, ENABLED_MASK); in setEnabled()
10614 && (viewFlags & ENABLED_MASK) == ENABLED) {
11708 if (li != null && li.mOnKeyListener != null && (mViewFlags & ENABLED_MASK) == ENABLED
11765 if ((mViewFlags & ENABLED_MASK) == ENABLED && handleScrollBarDragging(event)) {
11771 && (mViewFlags & ENABLED_MASK) == ENABLED
11900 && (mViewFlags & ENABLED_MASK) == ENABLED
11954 && (mViewFlags & ENABLED_MASK) == ENABLED
[all …]

12