Lines Matching defs:on

11  * distributed under the License is distributed on an "AS IS" BASIS,
53 * adapter, when running on JELLY_BEAN_MR1 and below, call the
54 * static {@link #getDefaultAdapter} method; when running on JELLY_BEAN_MR2 and
98 * <p>For example, Bluetooth has been turned on or off.
134 * Indicates the local Bluetooth adapter is turning on. However local
140 * Indicates the local Bluetooth adapter is on, and ready for use.
151 * This activity will also request the user to turn on Bluetooth if it
186 * Activity Action: Show a system activity that allows the user to turn on
189 * on, or the user has decided not to turn Bluetooth on.
194 * turned on or {@link android.app.Activity#RESULT_CANCELED} if the user
197 * for global notification whenever Bluetooth is turned on or off.
235 * Indicates that both inquiry scan and page scan are disabled on the local
241 * Indicates that inquiry scan is disabled, but page scan is enabled on the
248 * Indicates that both inquiry scan and page scan are enabled on the local
375 * on this hardware platform
446 * @return true if the local adapter is turned on
487 * Turn on the local Bluetooth adapter&mdash;do not use without explicit
488 * user action to turn on Bluetooth.
489 * <p>This powers on the underlying Bluetooth hardware, and starts all
492 * direct user consent</strong>. If you want to turn on Bluetooth in order
495 * user permission to turn on Bluetooth. The {@link #enable()} method is
505 * immediate problem that will prevent the adapter from being turned on -
506 * such as Airplane mode, or the adapter is already turned on.
510 * @return true to indicate adapter startup has begun, or false on
545 * @return true to indicate adapter shutdown has begun, or false on
561 * @return true to indicate adapter shutdown has begun, or false on
592 * @return the Bluetooth name, or null on error
607 * @return true to indicate configure HCI log successfully, or false on
645 * will return false. After turning on Bluetooth,
672 * will return {@link #SCAN_MODE_NONE}. After turning on Bluetooth,
702 * will return false. After turning on Bluetooth,
778 * will return false. After turning on Bluetooth,
783 * @return true on success, false on error
806 * will return false. After turning on Bluetooth,
810 * @return true on success, false on error
834 * will return false. After turning on Bluetooth,
855 * will return an empty set. After turning on Bluetooth,
860 * @return unmodifiable set of {@link BluetoothDevice}, or null on error
928 * communication on this socket will be encrypted.
933 * @param channel RFCOMM channel to listen on
935 * @throws IOException on error, for example Bluetooth not available, or
955 * communication on this socket will be encrypted.
958 * <p>The system will assign an unused RFCOMM channel to listen on.
971 * @throws IOException on error, for example Bluetooth not available, or
989 * <p>The system will assign an unused RFCOMM channel to listen on.
1002 * @throws IOException on error, for example Bluetooth not available, or
1026 * <p>The system will assign an unused RFCOMM channel to listen on.
1039 * @throws IOException on error, for example Bluetooth not available, or
1174 * @return true on success, false on error
1314 * override this call. For example, if user wants Bluetooth on and the last
1324 * reason. If Bluetooth is already on and if this function is called to turn
1325 * it on, the api will return true and a callback will be called.
1329 * @param on True for on, false for off.
1333 public boolean changeApplicationBluetoothState(boolean on,
1340 return mService.changeApplicationBluetoothState(on, new
1352 public void onBluetoothStateChange(boolean on);
1367 public void onBluetoothStateChange(boolean on) {
1368 mCallback.onBluetoothStateChange(on);