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

1234567891011>>

/frameworks/base/services/core/java/com/android/server/vr/
H A DVrStateListener.java28 * @param enabled {@code true} if VR mode is enabled.
30 public abstract void onVrStateChanged(boolean enabled); argument
H A DVrManagerInternal.java50 * @param enabled {@code true} to enable VR mode.
55 public abstract void setVrMode(boolean enabled, @NonNull ComponentName packageName, argument
61 * @param enabled {@code true} to enable VR mode.
66 public abstract void setVrModeImmediate(boolean enabled, @NonNull ComponentName packageName, argument
71 * Return NO_ERROR if the given package is installed on the device and enabled as a
75 * @return NO_ERROR if the given package is installed and is enabled, or a negative error code
/frameworks/base/core/java/android/hardware/hdmi/
H A DIHdmiSystemAudioModeChangeListener.aidl28 * @param enabled true if the device gets activated
30 void onStatusChanged(in boolean enabled);
H A DIHdmiVendorCommandListener.aidl27 void onControlStateChanged(boolean enabled, int reason);
/frameworks/base/core/java/android/service/vr/
H A DIVrStateCallbacks.aidl22 void onVrStateChanged(in boolean enabled);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DHotspotController.java23 void setHotspotEnabled(boolean enabled); argument
27 void onHotspotChanged(boolean enabled); argument
H A DLocationController.java21 boolean setLocationEnabled(boolean enabled); argument
26 * A callback for change in location settings (the user has enabled/disabled location).
33 * is enabled in settings.
H A DBluetoothController.java32 void setBluetoothEnabled(boolean enabled); argument
39 void onBluetoothStateChange(boolean enabled); argument
H A DAccessibilityController.java75 public void onAccessibilityStateChanged(boolean enabled) { argument
76 mAccessibilityEnabled = enabled;
81 public void onTouchExplorationStateChanged(boolean enabled) { argument
82 mTouchExplorationEnabled = enabled;
/frameworks/support/v4/java/android/support/v4/view/
H A DScaleGestureDetectorCompat.java28 public void setQuickScaleEnabled(Object o, boolean enabled); argument
35 public void setQuickScaleEnabled(Object o, boolean enabled) { argument
47 public void setQuickScaleEnabled(Object o, boolean enabled) { argument
48 ScaleGestureDetectorCompatKitKat.setQuickScaleEnabled(o, enabled);
70 * callbacks when the user performs a doubleTap followed by a swipe. Note that this is enabled
72 * @param enabled true to enable quick scaling, false to disable
74 public static void setQuickScaleEnabled(Object scaleGestureDetector, boolean enabled) { argument
75 IMPL.setQuickScaleEnabled(scaleGestureDetector, enabled);
/frameworks/base/core/java/android/app/trust/
H A DITrustListener.aidl25 void onTrustChanged(boolean enabled, int userId, int flags);
/frameworks/support/v4/kitkat/android/support/v4/view/
H A DScaleGestureDetectorCompatKitKat.java32 public static void setQuickScaleEnabled(Object scaleGestureDetector, boolean enabled) { argument
33 ((ScaleGestureDetector) scaleGestureDetector).setQuickScaleEnabled(enabled);
/frameworks/base/core/java/android/app/
H A DAutomaticZenRule.java32 private boolean enabled = false; field in class:AutomaticZenRule
49 * @param enabled Whether the rule is enabled.
52 int interruptionFilter, boolean enabled) {
57 this.enabled = enabled;
65 int interruptionFilter, boolean enabled, long creationTime) {
66 this(name, owner, conditionId, interruptionFilter, enabled);
71 enabled = source.readInt() == 1;
110 * Returns whether this rule is enabled
51 AutomaticZenRule(String name, ComponentName owner, Uri conditionId, int interruptionFilter, boolean enabled) argument
64 AutomaticZenRule(String name, ComponentName owner, Uri conditionId, int interruptionFilter, boolean enabled, long creationTime) argument
148 setEnabled(boolean enabled) argument
[all...]
/frameworks/base/core/java/android/service/persistentdata/
H A DIPersistentDataBlockService.aidl24 * raw data and setting the OEM unlock enabled/disabled bit contained
36 void setOemUnlockEnabled(boolean enabled);
/frameworks/native/services/surfaceflinger/
H A DColorizer.h37 Colorizer(bool enabled) argument
38 : mEnabled(enabled) {
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSetArcTransmissionStateAction.java42 * @param enabled whether to enable ARC Transmission channel
45 boolean enabled) {
50 mEnabled = enabled;
103 private void setArcStatus(boolean enabled) { argument
104 boolean wasEnabled = tv().setArcStatus(enabled);
105 Slog.i(TAG, "Change arc status [old:" + wasEnabled + ", new:" + enabled + "]");
107 // If enabled before and set to "disabled" and send <Report Arc Terminated> to
109 if (!enabled && wasEnabled) {
44 SetArcTransmissionStateAction(HdmiCecLocalDevice source, int avrAddress, boolean enabled) argument
/frameworks/base/core/java/android/os/
H A DPowerManagerInternal.java152 public void onLowPowerModeChanged(boolean enabled); argument
155 public abstract boolean setDeviceIdleMode(boolean enabled); argument
157 public abstract boolean setLightDeviceIdleMode(boolean enabled); argument
/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/location/java/android/location/
H A DSettingInjectorService.java29 * Dynamically specifies the enabled status of a preference injected into
111 * Name of the bundle key for the string specifying whether the setting is currently enabled.
115 public static final String ENABLED_KEY = "enabled";
154 boolean enabled;
156 enabled = onGetEnabled();
164 sendStatus(intent, enabled);
168 * Send the enabled values back to the caller via the messenger encoded in the
171 private void sendStatus(Intent intent, boolean enabled) { argument
174 bundle.putBoolean(ENABLED_KEY, enabled);
179 + ", enabled
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DTextViewInputDisabler.java46 public void setInputEnabled(boolean enabled) { argument
47 mTextView.setFilters(enabled ? mDefaultFilters : mNoInputFilters);
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pWfdInfo.java70 public void setWfdEnabled(boolean enabled) { argument
71 mWfdEnabled = enabled;
91 public void setCoupledSinkSupportAtSource(boolean enabled) { argument
92 if (enabled ) {
103 public void setCoupledSinkSupportAtSink(boolean enabled) { argument
104 if (enabled ) {
115 public void setSessionAvailable(boolean enabled) { argument
116 if (enabled) {
147 sbuf.append("WFD enabled: ").append(mWfdEnabled);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DPowerHAL.h33 status_t vsyncHint(bool enabled);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationTestUtil.java41 * @param enabled whether the configuration is enabled
47 boolean shared, boolean enabled, String fqdn, String providerFriendlyName) {
53 config.status = enabled ? WifiConfiguration.Status.ENABLED
69 * @param enabled whether the configuration is enabled
76 boolean shared, boolean enabled, String fqdn, String providerFriendlyName,
78 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn,
46 generateWifiConfig(int networkId, int uid, String ssid, boolean shared, boolean enabled, String fqdn, String providerFriendlyName) argument
75 generateWifiConfig(int networkId, int uid, String ssid, boolean shared, boolean enabled, String fqdn, String providerFriendlyName, int security) argument
/frameworks/base/core/java/android/content/pm/
H A DPackageUserState.java46 public int enabled; field in class:PackageUserState
58 enabled = COMPONENT_ENABLED_STATE_DEFAULT;
71 enabled = o.enabled;
88 * Test if the given component is considered installed, enabled and a match
114 * Test if the given component is considered enabled.
122 // enabled then fall through to check specific component
123 switch (this.enabled) {
132 if (!componentInfo.applicationInfo.enabled) {
148 return componentInfo.enabled;
[all...]
/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...]

Completed in 3079 milliseconds

1234567891011>>