Searched defs:on (Results 26 - 49 of 49) sorted by relevance

12

/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 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...]
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...]
/frameworks/base/services/core/java/com/android/server/hdmi/
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...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGsmCdmaPhone.java11 * distributed under the License is distributed on an "AS IS" BASIS,
205 // phone type needs to be set before other initialization as other objects rely on it
735 // to get ICCID form SIMRecords because it is on MF.
745 // to get ICCID form SIMRecords because it is on MF.
786 loge("enableEnhancedVoicePrivacy: not expected on GSM");
795 loge("getEnhancedVoicePrivacy: not expected on GSM");
1145 * number while on WFC only, {@code false} otherwise.
1328 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
1342 mCi.sendBurstDtmf(dtmfString, on, off, onComplete);
1572 loge("getMsisdn: not expected on CDM
[all...]
H A DCommandsInterface.java11 * distributed under the License is distributed on an "AS IS" BASIS,
39 RADIO_ON; /* Radio is on */
134 * Fires on any RadioState transition
138 * on previous invocations of this notification. Instead, use the other
150 * Fires on any transition into RadioState.isOn()
159 * Fires on any transition out of RadioState.isAvailable()
168 * Fires on any transition into !RadioState.isAvailable()
177 * Fires on any transition into RADIO_OFF or !RadioState.isAvailable()
186 * Fires on any change in ICC status
223 * fires on an
1080 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument
1164 setRadioPower(boolean on, Message response) argument
[all...]
H A DRIL.java11 * distributed under the License is distributed on an "AS IS" BASIS,
219 // use a random so that on recovery we probably don't mix old requests
303 // Variables used to identify releasing of WL on wakelock timeouts
487 // Clear request list on close
492 // it here. Current hack is to call getService() on death notification after a delay.
636 // wakelock stuff is initialized above as callbacks are received on separate binder threads)
1158 public void setRadioPower(boolean on, Message result) { argument
1166 + " on = " + on);
1170 radioProxy.setRadioPower(rr.mSerial, on);
2414 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument
[all...]
H A DPhone.java11 * distributed under the License is distributed on an "AS IS" BASIS,
140 // Key used to read/write "disable data connection on boot" pref (used for testing)
473 * This will be false on "data only" devices which can't make voice
1155 // send the setting on error
1199 * on failure.
1405 * Notifies when out-band on-hold tone is needed.<p>
1410 * AsyncResult.result = boolean, true to start play on-hold tone
1417 * Unregisters for on-hold tone notification.
1704 * available on this interface. Use PhoneStateNotifier or similar instead.
1780 * available on thi
2369 sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) argument
[all...]
/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/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java11 * distributed under the License is distributed on an "AS IS" BASIS,
135 // 1 sec. default polling interval when screen is on.
278 if (DBG) log("screen on");
941 * data connection for unmetered use only. When data is turned back on, we need to tear that
1042 // Turn telephony radio on or off.
1043 private void setRadio(boolean on) { argument
1046 phone.setRadio(on);
1078 // Turning back on the radio can take time on the order of a minute, so show user a
1079 // spinner so they know something is going on
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java11 * distributed under the License is distributed on an "AS IS" BASIS,
462 * ar.exception carries exception on failure
492 * ar.exception carries exception on failure
504 * ar.exception carries exception on failure
506 * ar.result is null on success and failure
508 * CLIR_DEFAULT == on "use subscription default value"
509 * CLIR_SUPPRESSION == on "CLIR suppression" (allow CLI presentation)
510 * CLIR_INVOCATION == on "CLIR invocation" (restrict CLI presentation)
523 * ar.exception carries exception on failure
525 * ar.result is null on succes
1030 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument
1188 setRadioPower(boolean on, Message result) argument
[all...]
H A DSimulatedCommandsVerifier.java11 * distributed under the License is distributed on an "AS IS" BASIS,
808 public void sendBurstDtmf(String dtmfString, int on, int off, Message result) { argument
859 public void setRadioPower(boolean on, Message response) { argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DPhoneMock.java11 * distributed under the License is distributed on an "AS IS" BASIS,
665 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
/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/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/native/services/inputflinger/
H A DInputReader.h11 * distributed under the License is distributed on an "AS IS" BASIS,
116 // to noise from a finger resting on the touch pad (perhaps just pressing it down).
136 // Time after the first touch points go down to settle on an initial centroid.
171 // True to show the location of touches on the touch screen as spots.
285 * This method may be called on any thread (usually by the input manager). */
294 * This method should be called on the input reader thread.
300 * This method may be called on any thread (usually by the input manager).
390 * on the input reader thread but the InputReader can receive queries from other system
391 * components running on arbitrary threads. To keep things manageable, the InputReader
1097 bool on; // w member in struct:android::KeyboardInputMapper::LedState
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
684 virtual void setLedState(int32_t deviceId, int32_t led, bool on) { argument
689 device->leds.replaceValueAt(led, on);
1905 mFakeEventHub->addLed(DEVICE_ID, LED_CAPSL, true /*initially on*/);
1921 // Toggle caps lock on.
1931 // Toggle num lock on.
1951 // Toggle scroll lock on.
3649 // These calculations are based on the input device calibration documentation.
5009 // These calculations are based on the input device calibration documentation.
5060 // These calculations are based on th
[all...]
/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/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/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/wm/
H A DWindowManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
386 * on the current user.
459 * Used when processing mPendingRemove to avoid working on the original array.
471 * the first frame on the new surface finishes drawing.
615 * Handler for things to run that have direct impact on an animation, i.e. animation tick,
629 /** This just indicates the window the input method is on top of, not
633 /** If true hold off on modifying the animation layer of mInputMethodTarget */
716 // Who is holding the screen on.
735 * is a long initialized to Long.MIN_VALUE so that it doesn't match this value on startup. */
813 if (DEBUG_DRAG) Slog.d(TAG_WM, "Got UP on mov
3649 showStrictModeViolation(boolean on) argument
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
231 "do-not-ask-credentials-on-boot";
336 * Keyguard features that when set on a profile affect the profile content or challenge only.
337 * These cannot be set on the managed profile's parent DPM instance
342 /** Keyguard features that are allowed to be set on a managed profile */
380 // Stores and loads state on device and profile owners.
2106 // The following restrictions can be set on secondary users by the device owner, so we
2258 enforceManagedProfile(userHandle, "call APIs on the parent profile");
2301 "call APIs on the parent profile");
3383 + packageName + " on use
8993 setMasterVolumeMuted(ComponentName who, boolean on) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 5135 milliseconds

12