/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/core/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 97 public void setVisibility(boolean on) { argument 102 if (on) {
|
H A D | EmulatorDisplayOverlay.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 108 public void setVisibility(boolean on) { argument 112 mVisible = on; 114 if (on) {
|
H A D | CircularDisplayMask.java | 11 * 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) {
|
/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/services/core/java/com/android/server/hdmi/ |
H A D | HdmiMhlLocalDeviceStub.java | 31 void onBusOvercurrentDetected(boolean on) { argument
|
H A D | HdmiCecLocalDevicePlayback.java | 11 * 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 D | HdmiCecLocalDeviceTv.java | 11 * 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...] |
/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/services/core/java/com/android/server/connectivity/ |
H A D | Nat464Xlat.java | 11 * 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/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | OSUManager.java | 150 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/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 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 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. 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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | TextViewBindingAdapter.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 347 final OnTextChanged on, final AfterTextChanged after, 350 if (before == null && after == null && on == null && textAttrChanged == null) { 363 if (on != null) { 364 on.onTextChanged(s, start, before, count); 346 setTextWatcher(TextView view, final BeforeTextChanged before, final OnTextChanged on, final AfterTextChanged after, final InverseBindingListener textAttrChanged) argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 11 * 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/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsDialog.java | 10 * 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/services/core/java/com/android/server/policy/ |
H A D | LegacyGlobalActions.java | 11 * 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/native/libs/binder/tests/ |
H A D | schd-dbg.cpp | 39 // the ratio that the service is synced on the same cpu beyond 59 char on; local 60 file >> on; local 62 return on == '1'; 455 // then available on /sys/kernel/debug/trace
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 12 * 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/services/core/java/com/android/server/ |
H A D | BluetoothManagerService.java | 11 * 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/native/services/inputflinger/ |
H A D | EventHub.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 107 // Touch devices get dibs on touch-related axes. 527 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { argument 530 setLedStateLocked(device, led, on); 533 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) { argument 541 ev.value = on ? 1 : 0; 599 // built-in so we need to rely on other information to uniquely identify 600 // the input device. Usually we try to avoid relying on the device name or 662 ALOGW("Could not start force feedback effect on device %s due to error %d.", 684 ALOGW("Could not stop force feedback effect on devic [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, 249 * Get current coarse-grained voice call state on a subId. 491 // but only on audio mode transitions 496 if (VDBG) Rlog.d(LOG_TAG, "requestAudioFocus on STREAM_RING"); 525 if (VDBG) Rlog.d(LOG_TAG, "requestAudioFocus on STREAM_VOICE_CALL"); 671 * Active call, if any, go on hold. 742 * Places active call on hold, and makes held call active. 1205 * Play a DTMF tone on the active call. 1233 * Start to paly a DTMF tone on the active call. 1289 * @param on th 1294 sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCommandInterface.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 214 public void sendBurstDtmf(String dtmfString, int on, int off, argument 270 public void setRadioPower(boolean on, Message result) { argument
|
/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, 215 public void sendBurstDtmf(String dtmfString, int on, int off, argument 271 public void setRadioPower(boolean on, Message result) { argument
|