/frameworks/base/core/java/com/android/server/ |
H A D | ResettableTimeout.java | 11 * 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/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 90 public void setVisibility(boolean on) { argument 95 if (on) {
|
/frameworks/base/core/java/android/os/ |
H A D | TokenWatcher.java | 11 * 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/tools/layoutlib/bridge/src/com/google/android/maps/ |
H A D | MapView.java | 11 * 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/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 60 public void dispatchScreenState(boolean on) { argument
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 12 ** distributed under the License is distributed on an "AS IS" BASIS, 57 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument 59 return check_AudioSystem_Command(AudioSystem::muteMicrophone(on));
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | DisplayPowerState.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 40 * the display is done on a separate thread to avoid blocking the looper. 83 // At boot time, we know that the screen is on and the electron beam 86 // Although we set the brightness to full on here, the display power controller 125 * Sets whether the screen is on or off. 127 public void setScreenOn(boolean on) { argument 128 if (mScreenOn != on) { 130 Slog.d(TAG, "setScreenOn: on=" + on); 133 mScreenOn = on; 342 setState(boolean on, int backlight) argument [all...] |
H A D | DisplayPowerController.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 58 * Everything this class does internally is serialized on its handler although 76 // If true, uses the electron beam on animation. 78 // actually turns on and starts showing new content after the call to set the 213 // Amount of time to delay auto-brightness after screen on while waiting for 254 // Must only be accessed on the handler thread. 278 // When the screen turns on again, we report user activity to the power manager. 281 // True if the screen on is being blocked. 284 // The elapsed real time when the screen on was blocked. 461 * negative proximity before turning the screen back on, assumin 765 setScreenOn(boolean on) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindow.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 61 public void dispatchScreenState(boolean on) throws RemoteException { argument
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 115 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 D | tritex.cpp | 2 // ITERATIONS. Should draw a checkerboard on the screen after 207 const unsigned int on = 0xff0000ff; local 211 on, off, on, off, on, off, on, off, 212 off, on, off, on, off, on, off, on, [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbStorageActivity.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 57 * on-demand (that is, when the USB cable is connected). It uses the alert 95 final boolean on = newState.equals(Environment.MEDIA_SHARED); 96 switchDisplay(on); 249 private void switchUsbMassStorage(final boolean on) { argument 250 // things to do on the UI thread 266 if (on) { 297 // List of applications on sdcard.
|
/frameworks/base/core/java/android/text/method/ |
H A D | MetaKeyKeyListener.java | 11 * 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. 191 int on, int lock) { 202 return on; 387 // Version of API that operates on a state bit mask 190 getActive(CharSequence text, Object meta, int on, int lock) argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 92 * <p>For example, Bluetooth has been turned on or off. 128 * Indicates the local Bluetooth adapter is turning on. However local 134 * Indicates the local Bluetooth adapter is on, and ready for use. 145 * This activity will also request the user to turn on Bluetooth if it 180 * Activity Action: Show a system activity that allows the user to turn on 183 * on, or the user has decided not to turn Bluetooth on. 188 * turned on or {@link android.app.Activity#RESULT_CANCELED} if the user 191 * for global notification whenever Bluetooth is turned on o 1292 changeApplicationBluetoothState(boolean on, BluetoothStateChangeCallback callback) argument 1311 onBluetoothStateChange(boolean on) argument 1326 onBluetoothStateChange(boolean on) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | BluetoothManagerService.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 188 * Returns true if airplane mode is currently on 196 * Returns true if the Bluetooth saved state is "on" 204 * Save the Bluetooth on/off state 413 Log.e(TAG, "Unable to call onBluetoothStateChange() on callback #" + i , e); 431 Log.e(TAG, "Unable to call onBluetoothServiceUp() on callback #" + i, e); 449 Log.e(TAG, "Unable to call onBluetoothServiceDown() on callback #" + i, e); 1008 * if on is true, wait for state become ON 1010 * if both on and off are false, wait for state not ON 1012 private boolean waitForOnOff(boolean on, boolea argument [all...] |
/frameworks/base/services/java/com/android/server/display/ |
H A D | WifiDisplayController.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 60 * on behalf of {@link WifiDisplayAdapter}. 67 * The controller must be instantiated on the handler thread. 132 // The remote display that is listening on the connection. 446 Slog.i(TAG, "Stopped listening for RTSP connection on " + mRemoteDisplayInterface 586 Slog.i(TAG, "Listening for RTSP connection on " + iface 629 private void setRemoteSubmixOn(boolean on) { argument 630 if (mRemoteSubmixOn != on) { 631 mRemoteSubmixOn = on; 632 mAudioManager.setRemoteSubmixOn(on, REMOTE_SUBMIX_ADDRES [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 11 * 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/media/java/android/media/ |
H A D | AudioSystem.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 47 /* @hide The audio stream for phone calls when connected on bluetooth */ 65 * Sets the microphone mute on or off. 67 * @param on set <var>true</var> to mute the microphone; 71 public static native int muteMicrophone(boolean on); argument 74 * Checks whether the microphone mute is on or off. 109 * return true if any track playing on this stream is active. 173 // Calling a method on AudioFlinger here makes sure that we bind to IAudioFlinger 175 // media_server process death if no other method is called on AudioSystem that reaches
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettingsModel.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 459 public void onBluetoothStateChange(boolean on) { argument 460 mBluetoothState.enabled = on;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 77 * may show depending on whether the keyguard is showing, and whether the device 196 void onToggle(boolean on) { 206 changeAirplaneModeSystemSetting(on); 493 // note: the scheme below made more sense when we were planning on having 590 * A toggle action knows whether it is on or off, and displays an icon 622 * @param enabledIconResId The icon for when this action is on. 625 * @param enabledStatusMessageResId The on status message, e.g 'sound disabled' 665 boolean on = ((mState == State.On) || (mState == State.TurningOn)); 668 (on 711 onToggle(boolean on) argument 727 onToggle(boolean on) argument 901 changeAirplaneModeSystemSetting(boolean on) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallManager.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 377 // but only on audio mode transitions 383 if (VDBG) Log.d(LOG_TAG, "requestAudioFocus on STREAM_RING"); 405 if (VDBG) Log.d(LOG_TAG, "requestAudioFocus on STREAM_VOICE_CALL"); 496 * Active call, if any, go on hold. 566 * Places active call on hold, and makes held call active. 954 * Play a DTMF tone on the active call. 982 * Start to paly a DTMF tone on the active call. 1038 * @param on the DTMF ON length in milliseconds, or 0 for default 1043 public boolean sendBurstDtmf(String dtmfString, int on, in argument [all...] |
H A D | PhoneProxy.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 105 logd("Unexpected exception on EVENT_RIL_CONNECTED"); 863 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete){ argument 864 mActivePhone.sendBurstDtmf(dtmfString, on, off, onComplete);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMAPhone.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 531 * Only notify complete if it's on the pending list. Otherwise, it's 677 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument 688 mCM.sendBurstDtmf(dtmfString, on, off, onComplete); 1162 * @param response Callback message is empty on completion 1172 * @param response Callback message is empty on completion 1182 * @param response Callback message is empty on completion
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 168 public void sendBurstDtmf(String dtmfString, int on, int off, argument 198 public void setRadioPower(boolean on, Message result) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 438 * ar.exception carries exception on failure 465 * ar.exception carries exception on failure 476 * ar.exception carries exception on failure 478 * ar.result is null on success and failure 480 * CLIR_DEFAULT == on "use subscription default value" 481 * CLIR_SUPPRESSION == on "CLIR suppression" (allow CLI presentation) 482 * CLIR_INVOCATION == on "CLIR invocation" (restrict CLI presentation) 493 * ar.exception carries exception on failure 495 * ar.result is null on succes 932 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument 1026 setRadioPower(boolean on, Message result) argument [all...] |