Searched refs:enabled (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/net/
H A DNetworkStateTracker.java150 public void setUserDataEnable(boolean enabled); argument
157 public void setPolicyDataEnable(boolean enabled); argument
174 public void privateDnsRouteSet(boolean enabled); argument
184 public void defaultRouteSet(boolean enabled); argument
H A DBaseNetworkStateTracker.java115 public void setUserDataEnable(boolean enabled) { argument
116 // Base tracker doesn't handle enabled flags
120 public void setPolicyDataEnable(boolean enabled) { argument
121 // Base tracker doesn't handle enabled flags
130 public void privateDnsRouteSet(boolean enabled) { argument
131 mPrivateDnsRouteSet.set(enabled);
140 public void defaultRouteSet(boolean enabled) { argument
141 mDefaultRouteSet.set(enabled);
H A DDummyDataStateTracker.java74 public void privateDnsRouteSet(boolean enabled) { argument
75 mPrivateDnsRouteSet = enabled;
86 public void defaultRouteSet(boolean enabled) { argument
87 mDefaultRouteSet = enabled;
157 setDetailedState(NetworkInfo.DetailedState.CONNECTING, "enabled", null);
158 setDetailedState(NetworkInfo.DetailedState.CONNECTED, "enabled", null);
173 public void setUserDataEnable(boolean enabled) { argument
178 public void setPolicyDataEnable(boolean enabled) { argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DPowerHAL.cpp41 status_t PowerHAL::vsyncHint(bool enabled) { argument
47 if (mVSyncHintEnabled != bool(enabled)) {
49 POWER_HINT_VSYNC, (void*)enabled);
50 mVSyncHintEnabled = bool(enabled);
H A DPowerHAL.h35 status_t vsyncHint(bool enabled);
/frameworks/base/core/java/android/content/pm/
H A DPackageUserState.java31 public int enabled; field in class:PackageUserState
38 enabled = COMPONENT_ENABLED_STATE_DEFAULT;
45 enabled = o.enabled;
H A DComponentInfo.java56 public boolean enabled = true; field in class:ComponentInfo
74 enabled = orig.enabled;
103 * Return whether this component and its enclosing application are enabled.
106 return enabled && applicationInfo.enabled;
122 pw.println(prefix + "enabled=" + enabled + " exported=" + exported
144 dest.writeInt(enabled ? 1 : 0);
153 enabled
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DAirplaneModeController.java67 final boolean enabled = intent.getBooleanExtra("state", false);
68 if (enabled != mAirplaneMode) {
69 mAirplaneMode = enabled;
70 mCheckBox.setChecked(enabled);
82 private void unsafe(final boolean enabled) { argument
88 enabled ? 1 : 0);
91 intent.putExtra("state", enabled);
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityManagerCompatIcs.java31 public void onAccessibilityStateChanged(boolean enabled); argument
38 public void onAccessibilityStateChanged(boolean enabled) {
39 bridge.onAccessibilityStateChanged(enabled);
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pWfdInfo.java68 public void setWfdEnabled(boolean enabled) { argument
69 mWfdEnabled = enabled;
88 public void setCoupledSinkSupportAtSource(boolean enabled) { argument
89 if (enabled ) {
100 public void setCoupledSinkSupportAtSink(boolean enabled) { argument
101 if (enabled ) {
112 public void setSessionAvailable(boolean enabled) { argument
113 if (enabled) {
143 sbuf.append("WFD enabled: ").append(mWfdEnabled);
/frameworks/native/services/sensorservice/
H A DSensorInterface.cpp49 status_t HardwareSensor::activate(void* ident, bool enabled) { argument
50 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled);
H A DRotationVectorSensor.h43 virtual status_t activate(void* ident, bool enabled);
57 virtual status_t activate(void* ident, bool enabled);
H A DSensorInterface.h39 virtual status_t activate(void* ident, bool enabled) = 0;
60 virtual status_t activate(void* ident, bool enabled);
H A DSensorFusion.cpp77 status_t SensorFusion::activate(void* ident, bool enabled) { argument
80 "SensorFusion::activate(ident=%p, enabled=%d)",
81 ident, enabled);
84 if (enabled) {
94 mSensorDevice.activate(ident, mAcc.getHandle(), enabled);
95 mSensorDevice.activate(ident, mMag.getHandle(), enabled);
96 mSensorDevice.activate(ident, mGyro.getHandle(), enabled);
133 mEnabled ? "enabled" : "disabled",
H A DCorrectedGyroSensor.cpp59 status_t CorrectedGyroSensor::activate(void* ident, bool enabled) { argument
60 mSensorDevice.activate(this, mGyro.getHandle(), enabled);
61 return mSensorFusion.activate(this, enabled);
/frameworks/base/services/java/com/android/server/am/
H A DBaseErrorDialog.java57 private void setEnabled(boolean enabled) { argument
60 b.setEnabled(enabled);
64 b.setEnabled(enabled);
68 b.setEnabled(enabled);
/frameworks/base/core/java/com/android/internal/os/
H A DSamplingProfilerIntegration.java47 private static final boolean enabled; field in class:SamplingProfilerIntegration
71 enabled = true;
72 Log.i(TAG, "Profiling enabled. Sampling interval ms: "
76 enabled = true;
81 enabled = false;
90 * Is profiling enabled?
93 return enabled;
97 * Starts the profiler if profiling is enabled.
100 if (!enabled) {
116 * Writes a snapshot if profiling is enabled
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java71 public void setSessionEnabled(InputMethodSession session, boolean enabled) { argument
72 ((AbstractInputMethodSessionImpl)session).setEnabled(enabled);
95 * Check whether this session has been enabled by the system. If not
96 * enabled, you should not execute any calls on to it.
112 * Change the enabled state of the session. This only works if the
115 public void setEnabled(boolean enabled) { argument
117 mEnabled = enabled;
123 * prevents it from ever being enabled again.
/frameworks/wilhelm/src/
H A Dtrace.c27 void slTraceSetEnabled(unsigned enabled) argument
29 slTraceEnabled = enabled;
150 void slTraceSetEnabled(unsigned enabled) argument
/frameworks/base/core/java/com/android/internal/view/
H A DRotationPolicy.java65 * Returns true if rotation lock is enabled.
77 public static void setRotationLock(Context context, final boolean enabled) { argument
87 if (enabled) {
105 public static void setRotationLockForAccessibility(Context context, final boolean enabled) { argument
107 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, enabled ? 1 : 0,
115 if (enabled) {
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DEmergencyButton.java112 boolean enabled = false;
114 enabled = true; // always show "return to call" if phone is off-hook
119 enabled = mLockPatternUtils.isEmergencyCallEnabledWhileSimLocked();
123 enabled = mLockPatternUtils.isSecure();
126 mLockPatternUtils.updateEmergencyCallButtonState(this, phoneState, enabled,
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateTracker.java133 * supplicant daemon and there is at least one enabled network. If a teardown
145 public void setUserDataEnable(boolean enabled) { argument
146 Slog.w(TAG, "ignoring setUserDataEnable(" + enabled + ")");
150 public void setPolicyDataEnable(boolean enabled) { argument
164 public void privateDnsRouteSet(boolean enabled) { argument
165 mPrivateDnsRouteSet.set(enabled);
202 public void defaultRouteSet(boolean enabled) { argument
203 mDefaultRouteSet.set(enabled);
/frameworks/base/core/java/android/widget/
H A DZoomButton.java84 public void setEnabled(boolean enabled) { argument
85 if (!enabled) {
93 super.setEnabled(enabled);
/frameworks/av/include/media/
H A DIEffectClient.h33 virtual void enableStatusChanged(bool enabled) = 0;
/frameworks/av/media/libmedia/
H A DIEffectClient.cpp50 void enableStatusChanged(bool enabled) argument
55 data.writeInt32((uint32_t)enabled);
108 bool enabled = (bool)data.readInt32(); local
109 enableStatusChanged(enabled);

Completed in 270 milliseconds

1234567891011>>