Lines Matching defs:pin
439 * not respond to pin request in time
495 * The user will be prompted to enter a pin or
496 * an app will enter a pin for user.
539 * The user will be prompted to enter a 16 digit pin or
540 * an app will enter a 16 digit pin for user.
1141 * Set the pin during pairing when the pairing method is {@link #PAIRING_VARIANT_PIN}
1144 * @return true pin has been set
1147 public boolean setPin(byte[] pin) {
1149 Log.e(TAG, "BT not enabled. Cannot set Remote Device pin");
1153 return sService.setPin(this, true, pin.length, pin);
1530 * Check that a pin is valid and convert to byte array.
1532 * Bluetooth pin's are 1 to 16 bytes of UTF-8 characters.
1533 * @param pin pin as java String
1534 * @return the pin code as a UTF-8 byte array, or null if it is an invalid
1535 * Bluetooth pin.
1538 public static byte[] convertPinToBytes(String pin) {
1539 if (pin == null) {
1544 pinBytes = pin.getBytes("UTF-8");