Lines Matching refs:pin
468 * not respond to pin request in time
524 * The user will be prompted to enter a pin or
525 * an app will enter a pin for user.
568 * The user will be prompted to enter a 16 digit pin or
569 * an app will enter a 16 digit pin for user.
1291 * Set the pin during pairing when the pairing method is {@link #PAIRING_VARIANT_PIN}
1294 * @return true pin has been set
1297 public boolean setPin(byte[] pin) {
1300 Log.e(TAG, "BT not enabled. Cannot set Remote Device pin");
1304 return service.setPin(this, true, pin.length, pin);
1713 * Check that a pin is valid and convert to byte array.
1715 * Bluetooth pin's are 1 to 16 bytes of UTF-8 characters.
1716 * @param pin pin as java String
1717 * @return the pin code as a UTF-8 byte array, or null if it is an invalid
1718 * Bluetooth pin.
1721 public static byte[] convertPinToBytes(String pin) {
1722 if (pin == null) {
1727 pinBytes = pin.getBytes("UTF-8");