Lines Matching refs:pin
411 * not respond to pin request in time
467 * The user will be prompted to enter a pin or
468 * an app will enter a pin for user.
967 * Set the pin during pairing when the pairing method is {@link #PAIRING_VARIANT_PIN}
970 * @return true pin has been set
973 public boolean setPin(byte[] pin) {
975 Log.e(TAG, "BT not enabled. Cannot set Remote Device pin");
979 return sService.setPin(this, true, pin.length, pin);
1177 * Check that a pin is valid and convert to byte array.
1179 * Bluetooth pin's are 1 to 16 bytes of UTF-8 characters.
1180 * @param pin pin as java String
1181 * @return the pin code as a UTF-8 byte array, or null if it is an invalid
1182 * Bluetooth pin.
1185 public static byte[] convertPinToBytes(String pin) {
1186 if (pin == null) {
1191 pinBytes = pin.getBytes("UTF-8");