Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java52 private int mFlags = ENABLED;
57 private static final int ENABLED = 0x00000010; field in ActionMenuItem
126 return (mFlags & ENABLED) != 0; in isEnabled()
154 mFlags = (mFlags & ~ENABLED) | (enabled ? ENABLED : 0); in setEnabled()
DMenuItemImpl.java72 private int mFlags = ENABLED;
77 private static final int ENABLED = 0x00000010; field in MenuItemImpl
175 return (mFlags & ENABLED) != 0; in isEnabled()
180 mFlags |= ENABLED; in setEnabled()
182 mFlags &= ~ENABLED; in setEnabled()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataConnectionTracker.java148 public static final int ENABLED = 1; field in DataConnectionTracker
625 boolean enabled = (msg.arg1 == ENABLED) ? true : false; in handleMessage()
635 final boolean enabled = (msg.arg1 == ENABLED) ? true : false; in handleMessage()
641 boolean met = (msg.arg1 == ENABLED) ? true : false; in handleMessage()
653 final boolean enabled = (msg.arg1 == ENABLED) ? true : false; in handleMessage()
893 msg.arg2 = (enable ? ENABLED : DISABLED); in setEnabled()
904 if (enabled == ENABLED) { in onEnableApn()
986 msg.arg1 = (enable ? ENABLED : DISABLED); in setInternalDataEnabled()
/frameworks/base/core/java/android/net/
DMobileDataStateTracker.java22 import static com.android.internal.telephony.DataConnectionTracker.ENABLED;
473 channel.sendMessage(CMD_SET_USER_DATA_ENABLE, enabled ? ENABLED : DISABLED); in setUserDataEnable()
484 channel.sendMessage(CMD_SET_POLICY_DATA_ENABLE, enabled ? ENABLED : DISABLED); in setPolicyDataEnable()
499 msg.arg1 = (met ? DataConnectionTracker.ENABLED : DataConnectionTracker.DISABLED); in setDependencyMet()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java176 assertTrue(c.status == Status.ENABLED); in testEnableDisableNetwork()
178 assertFalse(c.status == Status.ENABLED); in testEnableDisableNetwork()
/frameworks/base/media/libstagefright/
DOMXCodec.cpp1476 mPortStatus[kPortIndexInput] = ENABLED; in OMXCodec()
1477 mPortStatus[kPortIndexOutput] = ENABLED; in OMXCodec()
2233 CHECK_EQ((int)mPortStatus[kPortIndexInput], (int)ENABLED); in on_message()
2279 } else if (mPortStatus[kPortIndexOutput] == ENABLED in on_message()
2286 CHECK_EQ((int)mPortStatus[kPortIndexOutput], (int)ENABLED); in on_message()
2628 mPortStatus[portIndex] = ENABLED; in onCmdComplete()
2647 mPortStatus[portIndex] = ENABLED; in onCmdComplete()
2657 if (mPortStatus[kPortIndexInput] == ENABLED in onCmdComplete()
2658 && mPortStatus[kPortIndexOutput] == ENABLED) { in onCmdComplete()
2672 if (mPortStatus[kPortIndexInput] == ENABLED in onCmdComplete()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfigStore.java175 config.status = Status.ENABLED; in enableAllNetworks()
268 sConfiguredNetworks.get(netId).status = Status.ENABLED; in saveNetwork()
354 if (config != null) config.status = Status.ENABLED; in enableNetworkWithoutBroadcast()
582 config.status = WifiConfiguration.Status.ENABLED; in loadConfiguredNetworks()
584 config.status = WifiConfiguration.Status.ENABLED; in loadConfiguredNetworks()
DWifiConfiguration.java209 public static final int ENABLED = 2; field in WifiConfiguration.Status
/frameworks/base/services/java/com/android/server/
DConnectivityService.java171 private static final int ENABLED = 1; field in ConnectivityService
1253 (met ? ENABLED : DISABLED), networkType)); in setDataDependency()
1313 (enabled ? ENABLED : DISABLED), 0)); in setMobileDataEnabled()
1331 EVENT_SET_POLICY_DATA_ENABLE, networkType, (enabled ? ENABLED : DISABLED))); in setPolicyDataEnable()
2315 boolean enabled = (msg.arg1 == ENABLED); in handleMessage()
2326 boolean met = (msg.arg1 == ENABLED); in handleMessage()
2345 final boolean enabled = msg.arg2 == ENABLED; in handleMessage()
/frameworks/base/include/media/stagefright/
DOMXCodec.h121 ENABLED, enumerator
/frameworks/base/core/java/android/view/
DView.java701 static final int ENABLED = 0x00000000; field in View
4576 return (mViewFlags & ENABLED_MASK) == ENABLED; in isEnabled()
4589 setFlags(enabled ? ENABLED : DISABLED, ENABLED_MASK); in setEnabled()
5226 && (viewFlags & ENABLED_MASK) == ENABLED) {
5441 if (mOnKeyListener != null && (mViewFlags & ENABLED_MASK) == ENABLED
5481 if (mOnTouchListener != null && (mViewFlags & ENABLED_MASK) == ENABLED &&
5574 if (mOnGenericMotionListener != null && (mViewFlags & ENABLED_MASK) == ENABLED
5601 if (mOnHoverListener != null && (mViewFlags & ENABLED_MASK) == ENABLED
11477 if ((mViewFlags & ENABLED_MASK) == ENABLED) viewStateIndex |= VIEW_STATE_ENABLED;
11502 + " en=" + ((mViewFlags & ENABLED_MASK) == ENABLED)
[all …]
/frameworks/base/core/java/android/provider/
DTelephony.java1765 public static final String ENABLED = "enabled"; field in Telephony.Carriers
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnectionTracker.java1672 applyNewState(apnContext, enabled == ENABLED, apnContext.getDependencyMet()); in onEnableApn()
/frameworks/base/api/
Dcurrent.txt12347 field public static final int ENABLED = 2; // 0x2
D14.txt12347 field public static final int ENABLED = 2; // 0x2