Lines Matching defs:on

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, or the user has decided not to turn Bluetooth on.
266 * turned on or {@link android.app.Activity#RESULT_CANCELED} if the user
269 * for global notification whenever Bluetooth is turned on or off.
290 * for global notification whenever Bluetooth is turned on or off.
305 * {@link android.app.Activity#RESULT_OK} if BLE scan always available setting is turned on or
352 * Indicates that both inquiry scan and page scan are disabled on the local
358 * Indicates that inquiry scan is disabled, but page scan is enabled on the
365 * Indicates that both inquiry scan and page scan are enabled on the local
494 * by BLE Always on enabled application to know the ACL_CONNECTED event
507 * by BLE Always on enabled application to know the ACL_DISCONNECTED event
569 * on this hardware platform
643 * supported on this device.
646 * on this device before calling this method.
661 * Advertising is not supported on this device.
664 * supported on this device before calling this method.
701 * @return true if the local adapter is turned on
722 * @return true if the local Bluetooth LE adapter is turned on
733 * Turns off Bluetooth LE which was earlier turned on by calling enableBLE().
749 * #STATE_OFF} based on the existance of the further Always BLE ON enabled applications
754 * @return true to indicate success, or false on
787 * Bluetooth will remain on in LE only mode for the app.
800 * adapter from being turned on - such as Airplane mode.
806 * @return true to indicate Bluetooth LE will be available, or false on
914 * Turn on the local Bluetooth adapter&mdash;do not use without explicit
915 * user action to turn on Bluetooth.
916 * <p>This powers on the underlying Bluetooth hardware, and starts all
919 * direct user consent</strong>. If you want to turn on Bluetooth in order
922 * user permission to turn on Bluetooth. The {@link #enable()} method is
932 * immediate problem that will prevent the adapter from being turned on -
933 * such as Airplane mode, or the adapter is already turned on.
935 * @return true to indicate adapter startup has begun, or false on
969 * @return true to indicate adapter shutdown has begun, or false on
986 * @return true to indicate adapter shutdown has begun, or false on
1017 * @return the Bluetooth name, or null on error
1079 * will return false. After turning on Bluetooth,
1109 * will return {@link #SCAN_MODE_NONE}. After turning on Bluetooth,
1143 * will return false. After turning on Bluetooth,
1247 * will return false. After turning on Bluetooth,
1251 * @return true on success, false on error
1277 * will return false. After turning on Bluetooth,
1281 * @return true on success, false on error
1309 * will return false. After turning on Bluetooth,
1370 * @return true if chipset supports on-chip filtering
1388 * @return true if chipset supports on-chip scan batching
1575 * will return an empty set. After turning on Bluetooth,
1579 * @return unmodifiable set of {@link BluetoothDevice}, or null on error
1685 * communication on this socket will be encrypted.
1690 * @param channel RFCOMM channel to listen on
1692 * @throws IOException on error, for example Bluetooth not available, or
1703 * communication on this socket will be encrypted.
1710 * @param channel RFCOMM channel to listen on
1714 * @throws IOException on error, for example Bluetooth not available, or
1739 * communication on this socket will be encrypted.
1742 * <p>The system will assign an unused RFCOMM channel to listen on.
1754 * @throws IOException on error, for example Bluetooth not available, or
1773 * <p>The system will assign an unused RFCOMM channel to listen on.
1785 * @throws IOException on error, for example Bluetooth not available, or
1810 * <p>The system will assign an unused RFCOMM channel to listen on.
1823 * @throws IOException on error, for example Bluetooth not available, or
1923 * @param port the PSM to listen on
1953 * @param port the PSM to listen on
1969 * @param port the PSM to listen on
2018 * @return true on success, false on error
2229 * override this call. For example, if user wants Bluetooth on and the last
2239 * reason. If Bluetooth is already on and if this function is called to turn
2240 * it on, the api will return true and a callback will be called.
2244 * @param on True for on, false for off.
2248 public boolean changeApplicationBluetoothState(boolean on,
2257 public void onBluetoothStateChange(boolean on);
2272 public void onBluetoothStateChange(boolean on) {
2273 mCallback.onBluetoothStateChange(on);