Lines Matching refs:on

11  * distributed under the License is distributed on an "AS IS" BASIS,
60 * adapter, when running on JELLY_BEAN_MR1 and below, call the
61 * static {@link #getDefaultAdapter} method; when running on JELLY_BEAN_MR2 and
105 * <p>For example, Bluetooth has been turned on or off.
141 * Indicates the local Bluetooth adapter is turning on. However local
147 * Indicates the local Bluetooth adapter is on, and ready for use.
158 * This activity will also request the user to turn on Bluetooth if it
193 * Activity Action: Show a system activity that allows the user to turn on
196 * on, or the user has decided not to turn Bluetooth on.
201 * turned on or {@link android.app.Activity#RESULT_CANCELED} if the user
204 * for global notification whenever Bluetooth is turned on or off.
242 * Indicates that both inquiry scan and page scan are disabled on the local
248 * Indicates that inquiry scan is disabled, but page scan is enabled on the
255 * Indicates that both inquiry scan and page scan are enabled on the local
391 * on this hardware platform
459 * supported on this device.
462 * on this device before calling this method.
501 * @return true if the local adapter is turned on
542 * Turn on the local Bluetooth adapter&mdash;do not use without explicit
543 * user action to turn on Bluetooth.
544 * <p>This powers on the underlying Bluetooth hardware, and starts all
547 * direct user consent</strong>. If you want to turn on Bluetooth in order
550 * user permission to turn on Bluetooth. The {@link #enable()} method is
560 * immediate problem that will prevent the adapter from being turned on -
561 * such as Airplane mode, or the adapter is already turned on.
565 * @return true to indicate adapter startup has begun, or false on
600 * @return true to indicate adapter shutdown has begun, or false on
616 * @return true to indicate adapter shutdown has begun, or false on
647 * @return the Bluetooth name, or null on error
662 * @return true to indicate configure HCI log successfully, or false on
700 * will return false. After turning on Bluetooth,
727 * will return {@link #SCAN_MODE_NONE}. After turning on Bluetooth,
757 * will return false. After turning on Bluetooth,
833 * will return false. After turning on Bluetooth,
838 * @return true on success, false on error
861 * will return false. After turning on Bluetooth,
865 * @return true on success, false on error
889 * will return false. After turning on Bluetooth,
939 * @return true if chipset supports on-chip filtering
954 * @return true if chipset supports on-chip scan batching
1007 * will return an empty set. After turning on Bluetooth,
1012 * @return unmodifiable set of {@link BluetoothDevice}, or null on error
1080 * communication on this socket will be encrypted.
1085 * @param channel RFCOMM channel to listen on
1087 * @throws IOException on error, for example Bluetooth not available, or
1107 * communication on this socket will be encrypted.
1110 * <p>The system will assign an unused RFCOMM channel to listen on.
1123 * @throws IOException on error, for example Bluetooth not available, or
1141 * <p>The system will assign an unused RFCOMM channel to listen on.
1154 * @throws IOException on error, for example Bluetooth not available, or
1178 * <p>The system will assign an unused RFCOMM channel to listen on.
1191 * @throws IOException on error, for example Bluetooth not available, or
1326 * @return true on success, false on error
1494 * override this call. For example, if user wants Bluetooth on and the last
1504 * reason. If Bluetooth is already on and if this function is called to turn
1505 * it on, the api will return true and a callback will be called.
1509 * @param on True for on, false for off.
1513 public boolean changeApplicationBluetoothState(boolean on,
1520 return mService.changeApplicationBluetoothState(on, new
1532 public void onBluetoothStateChange(boolean on);
1547 public void onBluetoothStateChange(boolean on) {
1548 mCallback.onBluetoothStateChange(on);