Searched defs:on (Results 1 - 25 of 46) 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 DCircularDisplayMask.java11 * distributed under the License is distributed on an "AS IS" BASIS,
124 // The radius is reduced by 1 to provide an anti aliasing effect on the display edges.
131 public void setVisibility(boolean on) { argument
135 mVisible = on;
137 if (on) {
H A DEmulatorDisplayOverlay.java11 * distributed under the License is distributed on an "AS IS" BASIS,
103 public void setVisibility(boolean on) { argument
107 mVisible = on;
109 if (on) {
H A DFocusedStackFrame.java11 * distributed under the License is distributed on an "AS IS" BASIS,
110 public void setVisibility(boolean on) { argument
111 if (false && DEBUG_STACK) Slog.i(TAG, "setVisibility: on=" + on +
117 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,
36 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,
41 // turn them on.
130 // We'll not clear mIsActiveSource on the hotplug event to pass CETC 11.2.2-2 ~ 3.
140 void setActiveSource(boolean on) { argument
142 mIsActiveSource = on;
143 if (on) {
H A DHdmiCecLocalDeviceTv.java11 * distributed under the License is distributed on an "AS IS" BASIS,
130 // Set of physical addresses of CEC switches on the CEC bus. Managed independently from
329 * Returns the previous port id kept to handle input switching on <Inactive Source>.
579 // Ignore if [Device Discovery Action] is going on.
785 // which turns on and off system audio according to last system
839 void setSystemAudioMode(boolean on, boolean updateSetting) { argument
840 HdmiLogger.debug("System Audio Mode change[old:%b new:%b]", mSystemAudioActivated, on);
843 mService.writeBooleanSetting(Global.HDMI_SYSTEM_AUDIO_ENABLED, on);
845 updateAudioManagerForSystemAudio(on);
847 if (mSystemAudioActivated != on) {
854 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,
57 // The network we're running on, and its type.
69 // Once mIface is non-null and isStarted() is true, methods called by ConnectivityService on
71 // interface observers, called on the notification threads.
94 // Only support clat on mobile and wifi for now, because these are the only IPv6-only
117 * Starts the clat daemon. Called by ConnectivityService on the handler thread.
133 Slog.e(TAG, "startClat: Can't register interface observer for clat on " + mNetwork);
139 Slog.e(TAG, "startClat: Can't start clat on null interface");
143 // From now on, isStarted() will return true.
145 Slog.i(TAG, "Starting clatd on "
226 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/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.java11 * distributed under the License is distributed on an "AS IS" BASIS,
60 * adapter, when running on JELLY_BEAN_MR1 and below, call the
61 * static {@link #getDefaultAdapter} method; when running on JELLY_BEAN_MR2 and
105 * <p>For example, Bluetooth has been turned on or off.
141 * Indicates the local Bluetooth adapter is turning on. However local
147 * Indicates the local Bluetooth adapter is on, and ready for use.
158 * This activity will also request the user to turn on Bluetooth if it
193 * Activity Action: Show a system activity that allows the user to turn on
196 * on, or the user has decided not to turn Bluetooth on
1513 changeApplicationBluetoothState(boolean on, BluetoothStateChangeCallback callback) argument
1532 onBluetoothStateChange(boolean on) argument
1547 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
115 * Total width of the keyboard, including left side gaps and keys, but not any gaps on the
258 /** If this is a sticky key, is it on? */
259 public boolean on; field in class:Keyboard.Key
412 on = !on;
474 * Returns the drawable state for the key, based on the current state and type of the key.
481 if (on) {
567 * @param characters the list of characters to display on the keyboard. One key will be created
699 shiftKey.on
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java11 * distributed under the License is distributed on an "AS IS" BASIS,
85 * may show depending on whether the keyguard is showing, and whether the device
226 void onToggle(boolean on) {
236 changeAirplaneModeSystemSetting(on);
625 // note: the scheme below made more sense when we were planning on having
747 * A toggle action knows whether it is on or off, and displays an icon
779 * @param enabledIconResId The icon for when this action is on.
782 * @param enabledStatusMessageResId The on status message, e.g 'sound disabled'
827 boolean on = ((mState == State.On) || (mState == State.TurningOn));
830 (on
869 onToggle(boolean on) argument
885 onToggle(boolean on) argument
1061 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,
105 // Bluetooth persisted setting is on
108 // Bluetooth persisted setting is on
257 * Returns true if airplane mode is currently on
265 * Returns true if the Bluetooth saved state is "on"
281 * Save the Bluetooth on/off state
712 Log.e(TAG, "Unable to call onBluetoothStateChange() on callback #" + i , e);
730 Log.e(TAG, "Unable to call onBluetoothServiceUp() on callback #" + i, e);
748 Log.e(TAG, "Unable to call onBluetoothServiceDown() on callback #" + i, e);
1418 * if on i
1422 waitForOnOff(boolean on, boolean off) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java11 * distributed under the License is distributed on an "AS IS" BASIS,
65 * Public interface for managing policies enforced on a device. Most clients of this class must be
127 * to itself on the managed profile when provisioning completes. The mobile device management
199 * A Long extra holding the wall clock time (in milliseconds) to be set on the device's
403 * to remotely control restrictions on the user.
1389 * entire device, not for individual accounts) on the user. This takes
1671 * Activity action: begin the process of encrypting data on the device. This activity should
1674 * to check encryption status. However, on some devices this activity may never return, as
1692 * Disable the camera on secure keyguard screens (e.g. PIN/Pattern/Password)
1697 * Disable showing all notifications on secur
3432 setMasterVolumeMuted(ComponentName admin, boolean on) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp12 ** distributed under the License is distributed on an "AS IS" BASIS,
177 jobject mObject; // Weak ref to AudioPortEventHandlerDelegate Java object to call on
251 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument
253 return (jint) check_AudioSystem_Command(AudioSystem::muteMicrophone(on));
/frameworks/base/media/java/android/media/
H A DAudioSystem.java11 * distributed under the License is distributed on an "AS IS" BASIS,
51 /* @hide The audio stream for phone calls when connected on bluetooth */
69 * Sets the microphone mute on or off.
71 * @param on set <var>true</var> to mute the microphone;
75 public static native int muteMicrophone(boolean on); argument
78 * Checks whether the microphone mute is on or off.
116 * return true if any track playing on this stream is active.
121 * Checks whether the specified stream type is active on a remotely connected device. The notion
124 * return true if any track playing on this stream is active on
[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.
506 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { argument
509 setLedStateLocked(device, led, on);
512 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) { argument
520 ev.value = on ? 1 : 0;
578 // built-in so we need to rely on other information to uniquely identify
579 // the input device. Usually we try to avoid relying on the device name or
641 ALOGW("Could not start force feedback effect on device %s due to error %d.",
663 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,
287 * Get current coarse-grained voice call state on a subId.
534 // but only on audio mode transitions
539 if (VDBG) Rlog.d(LOG_TAG, "requestAudioFocus on STREAM_RING");
568 if (VDBG) Rlog.d(LOG_TAG, "requestAudioFocus on STREAM_VOICE_CALL");
708 * Active call, if any, go on hold.
779 * Places active call on hold, and makes held call active.
1243 * Play a DTMF tone on the active call.
1271 * Start to paly a DTMF tone on the active call.
1327 * @param on th
1332 sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) argument
[all...]

Completed in 4478 milliseconds

12