Searched defs:on (Results 1 - 25 of 47) sorted by relevance

12

/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java11 * distributed under the License is distributed on an "AS IS" BASIS,
24 * Utility class that you can call on with a timeout, and get called back
33 * This is called with the monitor on this method held, so be careful.
37 public abstract void on(boolean alreadyOn); method in class:ResettableTimeout
41 * This is called with the monitor on this method held, so be careful.
47 * <p>1. Call on()</p>
60 // thread to stop it can't start, we don't turn the vibrator on
76 on(alreadyOn);
/frameworks/base/services/core/java/com/android/server/wm/
H A DStrictModeFlash.java11 * distributed under the License is distributed on an "AS IS" BASIS,
94 public void setVisibility(boolean on) { argument
99 if (on) {
H A DEmulatorDisplayOverlay.java11 * distributed under the License is distributed on an "AS IS" BASIS,
104 public void setVisibility(boolean on) { argument
108 mVisible = on;
110 if (on) {
H A DCircularDisplayMask.java11 * distributed under the License is distributed on an "AS IS" BASIS,
126 // The radius is reduced by mMaskThickness to provide an anti aliasing effect on the display edges.
133 public void setVisibility(boolean on) { argument
137 mVisible = on;
139 if (on) {
/frameworks/base/core/java/android/os/
H A DTokenWatcher.java11 * distributed under the License is distributed on an "AS IS" BASIS,
37 * on. If you don't care, just call it like this, although your thread
60 * the current count is 0, the acquired method is called on the given
164 private void sendNotificationLocked(boolean on) argument
166 int value = on ? 1 : 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeHost.java11 * distributed under the License is distributed on an "AS IS" BASIS,
37 void onNotificationLight(boolean on); argument
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiMhlLocalDeviceStub.java31 void onBusOvercurrentDetected(boolean on) { argument
H A DHdmiCecLocalDevicePlayback.java11 * distributed under the License is distributed on an "AS IS" BASIS,
51 // turn them on. True by default, and can be disabled (i.e. device can go to sleep
66 // initial setting on UI.
151 // We'll not clear mIsActiveSource on the hotplug event to pass CETC 11.2.2-2 ~ 3.
190 void setActiveSource(boolean on) { argument
192 mIsActiveSource = on;
193 if (on) {
217 HdmiLogger.debug("No wakelock is used to keep the display on.");
330 // which is not available on Settings.
H A DHdmiCecLocalDeviceTv.java11 * distributed under the License is distributed on an "AS IS" BASIS,
124 // Set of physical addresses of CEC switches on the CEC bus. Managed independently from
328 * Returns the previous port id kept to handle input switching on <Inactive Source>.
578 // Ignore if [Device Discovery Action] is going on.
784 // which turns on and off system audio according to last system
841 void setSystemAudioMode(boolean on, boolean updateSetting) { argument
842 HdmiLogger.debug("System Audio Mode change[old:%b new:%b]", mSystemAudioActivated, on);
845 mService.writeBooleanSetting(Global.HDMI_SYSTEM_AUDIO_ENABLED, on);
847 updateAudioManagerForSystemAudio(on);
849 if (mSystemAudioActivated != on) {
856 updateAudioManagerForSystemAudio(boolean on) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
H A DMapView.java11 * distributed under the License is distributed on an "AS IS" BASIS,
79 public void setSatellite(boolean on) { argument
86 public void setTraffic(boolean on) { argument
93 public void setStreetView(boolean on) { argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNat464Xlat.java11 * distributed under the License is distributed on an "AS IS" BASIS,
54 // The network we're running on, and its type.
66 // Once mIface is non-null and isStarted() is true, methods called by ConnectivityService on
68 // interface observers, called on the notification threads.
91 // Only support clat on mobile and wifi for now, because these are the only IPv6-only
114 * Starts the clat daemon. Called by ConnectivityService on the handler thread.
130 Slog.e(TAG, "startClat: Can't register interface observer for clat on " + mNetwork);
136 Slog.e(TAG, "startClat: Can't start clat on null interface");
140 // From now on, isStarted() will return true.
142 Slog.i(TAG, "Starting clatd on "
223 maybeSetIpv6NdOffload(String iface, boolean on) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbStorageActivity.java11 * distributed under the License is distributed on an "AS IS" BASIS,
55 * on-demand (that is, when the USB cable is connected). It uses the alert
93 final boolean on = newState.equals(Environment.MEDIA_SHARED);
94 switchDisplay(on);
247 private void switchUsbMassStorage(final boolean on) { argument
248 // things to do on the UI thread
264 if (on) {
295 // List of applications on sdcard.
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTextViewBindingAdapter.java11 * distributed under the License is distributed on an "AS IS" BASIS,
312 final OnTextChanged on) {
313 setListener(view, before, on, null);
317 public static void setListener(TextView view,final OnTextChanged on, argument
319 setListener(view, null, on, after);
324 final OnTextChanged on, final AfterTextChanged after) {
326 if (before == null && after == null && on == null) {
339 if (on != null) {
340 on.onTextChanged(s, start, before, count);
311 setListener(TextView view, final BeforeTextChanged before, final OnTextChanged on) argument
323 setListener(TextView view, final BeforeTextChanged before, final OnTextChanged on, final AfterTextChanged after) argument
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp115 const unsigned int on = 0xff0000ff; local
119 on, off, on, off, on, off, on, off,
120 off, on, off, on, off, on, off, on,
121 on, of
[all...]
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp2 // ITERATIONS. Should draw a checkerboard on the screen after
208 const unsigned int on = 0xff0000ff; local
212 on, off, on, off, on, off, on, off,
213 off, on, off, on, off, on, off, on,
[all...]
/frameworks/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java11 * distributed under the License is distributed on an "AS IS" BASIS,
39 * {@link #getMetaState(long)} operate on a meta key state bit mask.</li>
41 * {@link #getMetaState(CharSequence, int)} operate on meta key state flags stored
75 * Flag that indicates that the SHIFT key is on.
80 * Flag that indicates that the ALT key is on.
85 * Flag that indicates that the SYM key is on.
250 int on, int lock) {
261 return on;
446 // Version of API that operates on a state bit mask
249 getActive(CharSequence text, Object meta, int on, int lock) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java12 * distributed under the License is distributed on an "AS IS" BASIS,
65 * adapter, when running on JELLY_BEAN_MR1 and below, call the
66 * static {@link #getDefaultAdapter} method; when running on JELLY_BEAN_MR2 and
118 * <p>For example, Bluetooth has been turned on or off.
160 * Indicates the local Bluetooth adapter is turning on. However local
166 * Indicates the local Bluetooth adapter is on, and ready for use.
176 * Indicates the local Bluetooth adapter is turning Bluetooth LE mode on.
195 * This activity will also request the user to turn on Bluetooth if it
230 * Activity Action: Show a system activity that allows the user to turn on
233 * on, o
2002 changeApplicationBluetoothState(boolean on, BluetoothStateChangeCallback callback) argument
2021 onBluetoothStateChange(boolean on) argument
2036 onBluetoothStateChange(boolean on) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
116 * Total width of the keyboard, including left side gaps and keys, but not any gaps on the
259 /** If this is a sticky key, is it on? */
260 public boolean on; field in class:Keyboard.Key
417 * @param inside whether the finger was released inside the key. Works only on Android M and
424 on = !on;
486 * Returns the drawable state for the key, based on the current state and type of the key.
493 if (on) {
580 * @param characters the list of characters to display on th
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DGlobalActions.java11 * distributed under the License is distributed on an "AS IS" BASIS,
84 * may show depending on whether the keyguard is showing, and whether the device
227 void onToggle(boolean on) {
237 changeAirplaneModeSystemSetting(on);
678 // note: the scheme below made more sense when we were planning on having
800 * A toggle action knows whether it is on or off, and displays an icon
832 * @param enabledIconResId The icon for when this action is on.
835 * @param enabledStatusMessageResId The on status message, e.g 'sound disabled'
880 boolean on = ((mState == State.On) || (mState == State.TurningOn));
883 (on
922 onToggle(boolean on) argument
938 onToggle(boolean on) argument
1114 changeAirplaneModeSystemSetting(boolean on) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DBluetoothManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
108 // Bluetooth persisted setting is on
111 // Bluetooth persisted setting is on
282 * Returns true if airplane mode is currently on
290 * Returns true if the Bluetooth saved state is "on"
306 * Save the Bluetooth on/off state
947 Log.e(TAG, "Unable to call onBluetoothStateChange() on callback #" + i , e);
968 Log.e(TAG, "Unable to call onBluetoothServiceUp() on callback #" + i, e);
989 Log.e(TAG, "Unable to call onBluetoothServiceDown() on callback #" + i, e);
1728 * if on i
1732 waitForOnOff(boolean on, boolean off) argument
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
107 // Touch devices get dibs on touch-related axes.
527 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { argument
530 setLedStateLocked(device, led, on);
533 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) { argument
541 ev.value = on ? 1 : 0;
599 // built-in so we need to rely on other information to uniquely identify
600 // the input device. Usually we try to avoid relying on the device name or
662 ALOGW("Could not start force feedback effect on device %s due to error %d.",
684 ALOGW("Could not stop force feedback effect on devic
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallManager.java11 * distributed under the License is distributed on an "AS IS" BASIS,
289 * Get current coarse-grained voice call state on a subId.
535 // but only on audio mode transitions
540 if (VDBG) Rlog.d(LOG_TAG, "requestAudioFocus on STREAM_RING");
569 if (VDBG) Rlog.d(LOG_TAG, "requestAudioFocus on STREAM_VOICE_CALL");
731 * Active call, if any, go on hold.
802 * Places active call on hold, and makes held call active.
1266 * Play a DTMF tone on the active call.
1294 * Start to paly a DTMF tone on the active call.
1350 * @param on th
1355 sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java11 * distributed under the License is distributed on an "AS IS" BASIS,
553 // to get ICCID form SIMRecords because it is on MF.
711 * Only notify complete if it's on the pending list. Otherwise, it's
877 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
888 mCi.sendBurstDtmf(dtmfString, on, off, onComplete);
1298 // If this is on APM off, SIM may already be loaded. Send setPreferredNetworkType
1449 * @param response Callback message is empty on completion
1460 * @param response Callback message is empty on completion
1471 * @param response Callback message is empty on completion
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java11 * distributed under the License is distributed on an "AS IS" BASIS,
259 log.log("DcTracker.incApnRefCount on " + name + " found " + apnContext);
268 log.log("DcTracker.decApnRefCount on " + name + " found " + apnContext);
297 // Turn telephony radio on or off.
298 private void setRadio(boolean on) { argument
301 phone.setRadio(on);
333 // Turning back on the radio can take time on the order of a minute, so show user a
334 // spinner so they know something is going on.
619 * Report on whethe
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java11 * distributed under the License is distributed on an "AS IS" BASIS,
211 public void sendBurstDtmf(String dtmfString, int on, int off, argument
268 public void setRadioPower(boolean on, Message result) { argument

Completed in 6940 milliseconds

12