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

12

/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
182 // do not force device change on duplicated output because if device is 0, it will
184 // a valid device selection on those outputs.
322 // If the RX device is on the primary HW module, then use legacy routing method for voice calls
323 // via setOutputDevice() on primary output.
327 // If the TX device is also on the primary HW module, setOutputDevice() will take care
405 // terminate active capture if on the same HW module as the call TX source device
496 // Note that despite the fact that getNewOutputDevice() is called on the primary output,
1061 // Automatically enable the remote submix input when output is started on a re routing mix
1102 // increment usage count for this stream on th
4676 setStrategyMute(routing_strategy strategy, bool on, const sp<AudioOutputDescriptor>& outputDesc, int delayMs, audio_devices_t device) argument
4694 setStreamMute(audio_stream_type_t stream, bool on, const sp<AudioOutputDescriptor>& outputDesc, int delayMs, audio_devices_t device) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java11 * distributed under the License is distributed on an "AS IS" BASIS,
70 * Public interface for managing policies enforced on a device. Most clients of this class must be
149 * <p> An intent with this action can be sent only on an unprovisioned device.
182 * sends the intent to pass data to itself on the newly created profile.
184 * instance of the app on the primary user.
290 * A Long extra holding the wall clock time (in milliseconds) to be set on the device's
401 * device admin is already installed on the device, it will only be re-downloaded from
517 * If the initializer is already installed on the device, it will only be re-downloaded from
684 * to remotely control restrictions on the user.
1740 * Flag for {@link #resetPassword}: don't ask for user credentials on devic
4097 setMasterVolumeMuted(@onNull ComponentName admin, boolean on) argument
[all...]
/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/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/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/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/core/jni/
H A Dandroid_media_AudioSystem.cpp12 ** distributed under the License is distributed on an "AS IS" BASIS,
189 jobject mObject; // Weak ref to AudioPortEventHandler Java object to call on
280 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument
282 return (jint) check_AudioSystem_Command(AudioSystem::muteMicrophone(on));
/frameworks/base/media/java/android/media/
H A DAudioManager.java11 * distributed under the License is distributed on an "AS IS" BASIS,
78 * on receipt of this intent so as not to surprise the user with audio
120 * @deprecated Applications should maintain their own vibrate policy based on
186 * @deprecated Applications should maintain their own vibrate policy based on
197 * @deprecated Applications should maintain their own vibrate policy based on
212 * reflected by a change of the volume of its alias, {@link #STREAM_RING} on some devices,
213 * {@link #STREAM_MUSIC} on others (e.g. a television).
407 * By default this is on for the ring stream. If this flag is included,
551 * if the vibrate setting is on.
570 * @deprecated Applications should maintain their own vibrate policy based on
1252 setSpeakerphoneOn(boolean on) argument
1469 setBluetoothScoOn(boolean on) argument
1499 setBluetoothA2dpOn(boolean on) argument
1524 setWiredHeadsetOn(boolean on) argument
1556 setMicrophoneMute(boolean on) argument
3348 setHdmiSystemAudioSupported(boolean on) argument
[all...]
H A DAudioSystem.java11 * distributed under the License is distributed on an "AS IS" BASIS,
56 /* @hide The audio stream for phone calls when connected on bluetooth */
87 * Sets the microphone mute on or off.
89 * @param on set <var>true</var> to mute the microphone;
93 public static native int muteMicrophone(boolean on); argument
96 * Checks whether the microphone mute is on or off.
134 * return true if any track playing on this stream is active.
139 * Checks whether the specified stream type is active on a remotely connected device. The notion
142 * return true if any track playing on this stream is active on
[all...]
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java11 * distributed under the License is distributed on an "AS IS" BASIS,
199 // additional instrumentation for testing purposes; intended to be left on during development
401 Log.d(TAG, "dismissing any existing heads up notification on disable event");
528 // emits visibility events via NoMan on changes.
943 // disable profiling bars, since they overlap and clutter the output on app windows
1169 // this will allow the navbar to run in an overlay on devices that support this
1798 // Make it disappear faster, as the focus should be on the activity
2283 // Close any "App info" popups that might have snuck on-screen
2606 public void setLightsOn(boolean on) { argument
2607 Log.v(TAG, "setLightsOn(" + on
4237 fireNotificationLight(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/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/base/services/core/java/com/android/server/audio/
H A DAudioService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
131 * This implementation focuses on delivering a responsive UI. Most methods are
543 // lock always taken synchronized on mConnectedDevices
644 // state on streams affected by ringer mode.
847 Log.e(TAG, "Interrupted while waiting on volume handler.");
1077 // Play sounds on STREAM_RING only.
1172 // convert one UI step (+/-1) into a number of internal units on the stream alias
1352 // setting volume on ui sounds stream type also controls silent mode
1549 // If Hdmi-CEC system audio mode is on, we show volume bar only when TV
1663 * call must be synchronized on mRmtSbmxFullVolDeathHandler
1824 setMicrophoneMute(boolean on, String callingPackage, int userId) argument
2475 setSpeakerphoneOn(boolean on) argument
2500 setBluetoothScoOn(boolean on) argument
2507 setBluetoothScoOnInt(boolean on) argument
2526 setBluetoothA2dpOn(boolean on) argument
5319 setBluetoothA2dpOnInt(boolean on) argument
5408 setSafeMediaVolumeEnabled(boolean on, String caller) argument
5520 setHdmiSystemAudioSupported(boolean on) argument
[all...]
/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/services/core/java/com/android/server/hdmi/
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...]
H A DHdmiControlService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
93 * HDMI-CEC and MHL control command, and providing the information on both standard.
735 * for tasks that are running on main service thread.
807 throw new IllegalStateException("Should run on service thread.");
837 * Send <Feature Abort> command on the given CEC message if possible.
857 // We'll not response on the messages with the invalid source or destination
1029 void handleMhlBusOvercurrent(int portId, boolean on) { argument
1033 device.onBusOvercurrentDetected(on);
1414 // Returns all the CEC devices on the bus including system audio, switch,
2262 * @param contentOn {@code true} if RAP data is content on; otherwis
[all...]
H A DHdmiMhlLocalDeviceStub.java31 void onBusOvercurrentDetected(boolean on) { argument
/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/power/
H A DPowerManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
87 * functions on the device.
207 // go negative before turning the screen on.
233 // is actually on or actually off or whatever was requested.
243 // The suspend blocker used to keep the CPU alive when the display is on, the
245 // must be on).
254 // True if boot completed occurred. We keep the screen on until this happens.
297 // True if dreams are supported on this device.
303 // Default value for dreams activate-on-sleep
306 // Default value for dreams activate-on
2430 setAttentionLightInternal(boolean on, int color) argument
3394 setAttentionLight(boolean on, int color) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
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) {
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 DStrictModeFlash.java11 * distributed under the License is distributed on an "AS IS" BASIS,
94 public void setVisibility(boolean on) { argument
99 if (on) {

Completed in 617 milliseconds

12