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

12

/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
129 // parameters on newly connected devices (instead of opening the outputs...)
204 // do not force device change on duplicated output because if device is 0, it will
206 // a valid device selection on those outputs.
244 // parameters on newly connected devices (instead of opening the inputs...)
407 // If the RX device is on the primary HW module, then use legacy routing method for voice calls
408 // via setOutputDevice() on primary output.
412 // If the TX device is also on the primary HW module, setOutputDevice() will take care
493 // terminate active capture if on the same HW module as the call TX source device
587 // Note that despite the fact that getNewOutputDevice() is called on th
5357 setStrategyMute(routing_strategy strategy, bool on, const sp<AudioOutputDescriptor>& outputDesc, int delayMs, audio_devices_t device) argument
5372 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,
90 * Public interface for managing policies enforced on a device. Most clients of this class must be
232 * <p> An intent with this action can be sent only on an unprovisioned device.
316 * <p>NOTE: This is only supported on split system user devices, and puts the device into a
318 * {@link #ACTION_PROVISION_MANAGED_DEVICE} - specifically the device owner runs on the system
330 * <p>An intent with this action can be sent only on an unprovisioned device.
457 * sends the intent to pass data to itself on the newly created profile.
459 * instance of the app on the primary user.
582 * A Long extra holding the wall clock time (in milliseconds) to be set on the device's
755 * device admin is already installed on th
6520 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,
73 * adapter, when running on JELLY_BEAN_MR1 and below, call the
74 * static {@link #getDefaultAdapter} method; when running on JELLY_BEAN_MR2 and
129 * <p>For example, Bluetooth has been turned on or off.
171 * Indicates the local Bluetooth adapter is turning on. However local
177 * Indicates the local Bluetooth adapter is on, and ready for use.
187 * Indicates the local Bluetooth adapter is turning Bluetooth LE mode on.
223 * This activity will also request the user to turn on Bluetooth if it
258 * Activity Action: Show a system activity that allows the user to turn on
261 * on, o
2248 changeApplicationBluetoothState(boolean on, BluetoothStateChangeCallback callback) argument
2257 onBluetoothStateChange(boolean on) argument
2272 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/android/view/
H A DViewRootImpl.java11 * distributed under the License is distributed on an "AS IS" BASIS,
261 // that it became invisible. This will ignore that information and depend on the decor view
890 * kModeProcessNoContext, depending on whether or not there is an EGLContext.
936 // accelerated rendering on low-end devices. In that case,
941 // can be used by code on the system process to escape that and enable
1114 * @param config Configuration of the resources on new display after move.
1123 // Get new instance of display based on current display adjustments. It may be updated later
1271 if (DEBUG_DRAW) Log.d(mTag, "WindowStopped on " + getTitle() + " set to " + mStopped);
1323 * This list will be cleared after the transitions on the list are start()'ed. These
1330 * @param transition The LayoutTransition to be started on th
7009 dispatchPointerCaptureChanged(boolean on) argument
[all...]
/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,
193 jobject mObject; // Weak ref to AudioPortEventHandler Java object to call on
284 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument
286 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,
83 * on receipt of this intent so as not to surprise the user with audio
125 * @deprecated Applications should maintain their own vibrate policy based on
191 * @deprecated Applications should maintain their own vibrate policy based on
202 * @deprecated Applications should maintain their own vibrate policy based on
217 * reflected by a change of the volume of its alias, {@link #STREAM_RING} on some devices,
218 * {@link #STREAM_MUSIC} on others (e.g. a television).
346 * @deprecated Do not iterate on volume stream type values.
418 * By default this is on for the ring stream. If this flag is included,
562 * if the vibrate setting is on
1212 setSpeakerphoneOn(boolean on) argument
1428 setBluetoothScoOn(boolean on) argument
1457 setBluetoothA2dpOn(boolean on) argument
1488 setWiredHeadsetOn(boolean on) argument
1520 setMicrophoneMute(boolean on) argument
3817 setHdmiSystemAudioSupported(boolean on) argument
[all...]
H A DAudioSystem.java11 * distributed under the License is distributed on an "AS IS" BASIS,
56 /** Used to identify the volume of audio streams for phone calls when connected on bluetooth */
92 * Sets the microphone mute on or off.
94 * @param on set <var>true</var> to mute the microphone;
98 public static native int muteMicrophone(boolean on); argument
101 * Checks whether the microphone mute is on or off.
139 * return true if any track playing on this stream is active.
144 * Checks whether the specified stream type is active on a remotely connected device. The notion
147 * return true if any track playing on this stream is active on
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUManager.java150 public void wifiStateChange(boolean on) { argument
151 if (on) {
249 Log.d(TAG, String.format("De-auth imminent on %s, delay %ss to '%s'",
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsDialog.java10 * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
79 * may show depending on whether the keyguard is showing, and whether the device
230 void onToggle(boolean on) {
240 changeAirplaneModeSystemSetting(on);
751 // note: the scheme below made more sense when we were planning on having
866 * A toggle action knows whether it is on or off, and displays an icon
898 * @param enabledIconResId The icon for when this action is on.
901 * @param enabledStatusMessageResId The on status message, e.g 'sound disabled'
946 boolean on = ((mState == State.On) || (mState == State.TurningOn));
949 (on
988 onToggle(boolean on) argument
1004 onToggle(boolean on) argument
1180 changeAirplaneModeSystemSetting(boolean on) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBar.java13 * distributed under the License is distributed on an "AS IS" BASIS,
307 // additional instrumentation for testing purposes; intended to be left on during development
526 Log.d(TAG, "dismissing any existing heads up notification on disable event");
650 // emits visibility events via NoMan on changes.
1217 // disable profiling bars, since they overlap and clutter the output on app windows
1343 // Always inflate with a dark theme, since this sits on the scrim.
1496 // view it is already canceled, so we'll need to cancel it on the apps behalf
1961 /** @return true if the entry needs redaction when on the lockscreen. */
2372 // We're in the SHADE mode on the SIM screen - yet we still need to show
2477 // Make it disappear faster, as the focus should be on th
3315 setLightsOn(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,
92 private static final String REASON_START_CRASH = "turn-on crash";
134 // Bluetooth persisted setting is on
137 // Bluetooth persisted setting is on
204 // Map of apps registered to keep BLE scanning on.
239 // DISALLOW_BLUETOOTH can only be set by DO or PO on the system user.
416 * Returns true if airplane mode is currently on
424 * Returns true if the Bluetooth saved state is "on"
442 * Save the Bluetooth on/off state
720 * Action taken when GattService is turned on
1985 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,
143 * This implementation focuses on delivering a responsive UI. Most methods are
525 // interpretation of whether the volume stream has been selected by the user by clicking on a
576 // lock always taken synchronized on mConnectedDevices
712 // state on streams affected by ringer mode.
927 Log.e(TAG, "Interrupted while waiting on volume handler.");
1258 // Play sounds on STREAM_RING only.
1358 // convert one UI step (+/-1) into a number of internal units on the stream alias
1538 // setting volume on ui sounds stream type also controls silent mode
1583 // setting volume on u
2108 setMicrophoneMute(boolean on, String callingPackage, int userId) argument
2132 setMicrophoneMuteNoCallerCheck(boolean on, int userId) argument
2770 setSpeakerphoneOn(boolean on) argument
2795 setBluetoothScoOn(boolean on) argument
2802 setBluetoothScoOnInt(boolean on) argument
2821 setBluetoothA2dpOn(boolean on) argument
5889 setBluetoothA2dpOnInt(boolean on) argument
5964 setSafeMediaVolumeEnabled(boolean on, String caller) argument
6076 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,
48 // The network types we will start clatd on.
60 // The network we're running on, and its type.
72 // Once mIface is non-null and isStarted() is true, methods called by ConnectivityService on
74 // interface observers, called on the notification threads.
97 // Only support clat on mobile and wifi for now, because these are the only IPv6-only
120 * Starts the clat daemon. Called by ConnectivityService on the handler thread.
136 Slog.e(TAG, "startClat: Can't register interface observer for clat on " + mNetwork);
142 Slog.e(TAG, "startClat: Can't start clat on null interface");
146 // From now on, isStarte
229 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,
56 // turn them on. True by default, and can be disabled (i.e. device can go to sleep
71 // initial setting on UI.
155 // We'll not clear mIsActiveSource on the hotplug event to pass CETC 11.2.2-2 ~ 3.
192 void setActiveSource(boolean on) { argument
194 mIsActiveSource = on;
195 if (on) {
219 HdmiLogger.debug("No wakelock is used to keep the display on.");
335 // which is not available on Settings.
H A DHdmiCecLocalDeviceTv.java11 * distributed under the License is distributed on an "AS IS" BASIS,
129 // Set of physical addresses of CEC switches on the CEC bus. Managed independently from
353 * Returns the previous port id kept to handle input switching on <Inactive Source>.
572 // Ignore if [Device Discovery Action] is going on.
719 // turning on the display by the invocation of PowerManager.wakeUp().
841 void setSystemAudioMode(boolean on) { argument
842 if (!isSystemAudioControlFeatureEnabled() && on) {
843 HdmiLogger.debug("Cannot turn on system audio mode "
847 HdmiLogger.debug("System Audio Mode change[old:%b new:%b]", mSystemAudioActivated, on);
848 updateAudioManagerForSystemAudio(on);
857 updateAudioManagerForSystemAudio(boolean on) argument
[all...]
H A DHdmiControlService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
89 * HDMI-CEC and MHL control command, and providing the information on both standard.
756 * for tasks that are running on main service thread.
828 throw new IllegalStateException("Should run on service thread.");
858 * Send <Feature Abort> command on the given CEC message if possible.
878 // We'll not response on the messages with the invalid source or destination
1053 void handleMhlBusOvercurrent(int portId, boolean on) { argument
1057 device.onBusOvercurrentDetected(on);
1450 // Returns all the CEC devices on the bus including system audio, switch,
2343 * @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/notification/
H A DNotificationManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
530 // cancel whatever's going on
845 // Keep track of screen on/off state, but do not turn off the notification light
1009 void setScreenOn(boolean on) { argument
1010 mScreenOn = on;
1175 // After that, including subsequent boots, init with notifications turned on.
1176 // This works on the first boot because the setup wizard will toggle this
3205 "Failed to post notification on channel \"" + channelId + "\"\n" +
3252 // The system can post notifications on behalf of any package it wants
3480 // This conditional is a dirty hack to limit the logging done on
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DLegacyGlobalActions.java11 * distributed under the License is distributed on an "AS IS" BASIS,
81 * may show depending on whether the keyguard is showing, and whether the device
231 void onToggle(boolean on) {
241 changeAirplaneModeSystemSetting(on);
754 // note: the scheme below made more sense when we were planning on having
869 * A toggle action knows whether it is on or off, and displays an icon
901 * @param enabledIconResId The icon for when this action is on.
904 * @param enabledStatusMessageResId The on status message, e.g 'sound disabled'
949 boolean on = ((mState == State.On) || (mState == State.TurningOn));
952 (on
991 onToggle(boolean on) argument
1007 onToggle(boolean on) argument
1183 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,
116 * functions on the device.
206 private static final String TRACE_SCREEN_ON = "Screen turning on";
208 /** If turning screen on takes more than this long, we show a warning on logcat. */
278 // go negative before turning the screen on.
304 // is actually on or actually off or whatever was requested.
314 // The suspend blocker used to keep the CPU alive when the display is on, the
316 // must be on).
325 // True if boot completed occurred. We keep the screen on unti
2979 setAttentionLightInternal(boolean on, int color) argument
4545 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,
129 // The radius is reduced by mMaskThickness to provide an anti aliasing effect on the display edges.
136 public void setVisibility(boolean on) { argument
140 mVisible = on;
142 if (on) {

Completed in 5956 milliseconds

12