HomeSort by relevance Sort by last modified time
    Searched refs:passkey (Results 1 - 25 of 34) sorted by null

1 2

  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
JniCallbacks.java 49 int passkey) {
51 passkey);
BondStateMachine.java 226 int passkey = msg.arg1; local
228 sendDisplayPinIntent(devProp.getAddress(), passkey, variant); local
236 // passkey and displaying it to the user. If the keyboard doesn't follow
252 // In PIN_REQUEST, there is no passkey to display.So do not send the
379 int passkey) {
386 cod + " pairingVariant " + pairingVariant + " passkey: " + passkey);
423 msg.arg1 = passkey;
AdapterService.java     [all...]
  /system/bt/btif/include/
btif_api.h 290 ** Description BT SSP passkey reply
296 uint8_t accept, uint32_t passkey);
302 ** Description BT SSP Reply - Just Works, Numeric Comparison & Passkey Entry
309 uint32_t passkey);
  /system/bt/stack/smp/
smp_api.c 295 ** passkey request to the application.
297 ** Parameters: bd_addr - Address of the device for which passkey was requested
299 ** passkey - numeric value in the range of
303 void SMP_PasskeyReply (BD_ADDR bd_addr, UINT8 res, UINT32 passkey)
309 passkey, res);
330 if (passkey > BTM_MAX_PASSKEY_VAL || res != SMP_SUCCESS)
332 SMP_TRACE_WARNING ("SMP_PasskeyReply() - Wrong key len: %d or passkey entry fail", passkey);
339 smp_sm_event(&smp_cb, SMP_SC_KEY_READY_EVT, &passkey);
343 smp_convert_string_to_tk(p_cb->tk, passkey);
    [all...]
smp_keys.c 180 ** Description This function is called to generate passkey.
201 ** Description This function is called to process a passkey.
210 UINT32 passkey; /* 19655 test number; */ local
214 STREAM_TO_UINT32(passkey, pp);
215 passkey &= ~SMP_PASSKEY_MASK;
218 while (passkey > BTM_MAX_PASSKEY_VAL)
219 passkey >>= 1;
223 UINT32_TO_STREAM(tt, passkey);
230 (*p_cb->p_callback)(SMP_PASSKEY_NOTIF_EVT, p_cb->pairing_bda, (tSMP_EVT_DATA *)&passkey);
235 smp_sm_event(&smp_cb, SMP_KEY_READY_EVT, &passkey);
    [all...]
smp_int.h 35 #define SMP_MODEL_PASSKEY 1 /* Legacy mode, Passkey Entry model, this side inputs the key */
37 #define SMP_MODEL_KEY_NOTIF 3 /* Legacy mode, Passkey Entry model, this side displays the key */
40 #define SMP_MODEL_SEC_CONN_PASSKEY_ENT 6 /* Secure Connections mode, Passkey Entry model, */
42 #define SMP_MODEL_SEC_CONN_PASSKEY_DISP 7 /* Secure Connections mode, Passkey Entry model, */
240 UINT32 passkey; member in union:__anon72880
296 BT_OCTET16 local_random; /* local randomizer - passkey or OOB randomizer */
297 BT_OCTET16 peer_random; /* peer randomizer - passkey or OOB randomizer */
317 UINT8 round; /* authentication stage 1 round for passkey association model */
481 extern void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey);
smp_act.c 164 cb_data.passkey = p_data->passkey;
    [all...]
smp_utils.c 772 void smp_convert_string_to_tk(BT_OCTET16 tk, UINT32 passkey)
777 UINT32_TO_STREAM(p, passkey);
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingDialog.java 52 * BluetoothPairingDialog asks the user to enter a PIN / Passkey / simple confirmation
129 int passkey = local
131 if (passkey == BluetoothDevice.ERROR) {
132 Log.e(TAG, "Invalid Confirmation Passkey received, not showing any dialog");
135 mPairingKey = String.format(Locale.US, "%06d", passkey);
149 Log.e(TAG, "Invalid Confirmation Passkey or PIN received, not showing any dialog");
244 // Maximum of 6 digits for passkey
401 int passkey = Integer.parseInt(value); local
402 mDevice.setPasskey(passkey);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
BluetoothPairingDialog.java 54 * BluetoothPairingDialog asks the user to enter a PIN / Passkey / simple
125 int passkey = local
127 if (passkey == BluetoothDevice.ERROR) {
128 Log.e(TAG, "Invalid Confirmation Passkey received, not showing any dialog");
132 mPairingKey = String.format(Locale.US, "%06d", passkey);
147 "Invalid Confirmation Passkey or PIN received, not showing any dialog");
298 int passkey = Integer.parseInt(value); local
299 mDevice.setPasskey(passkey);
385 // Maximum of 6 digits for passkey
  /frameworks/base/core/java/android/bluetooth/
IBluetooth.aidl 78 passkey);
BluetoothDevice.java 285 * intents as the value of passkey.
498 * The user will be prompted to enter a passkey
504 * The user will be prompted to confirm the passkey displayed on the screen or
505 * an app will confirm the passkey for the user.
516 * The user will be prompted to enter the passkey displayed on remote device
    [all...]
  /system/bt/stack/include/
smp_api.h 56 #define SMP_PASSKEY_NOTIF_EVT 3 /* passkey notification event */
57 #define SMP_PASSKEY_REQ_EVT 4 /* passkey request event */
206 #define SMP_SC_KEY_STARTED 0 /* passkey entry started */
207 #define SMP_SC_KEY_ENTERED 1 /* passkey digit entered */
208 #define SMP_SC_KEY_ERASED 2 /* passkey digit erased */
209 #define SMP_SC_KEY_CLEARED 3 /* passkey cleared */
210 #define SMP_SC_KEY_COMPLT 4 /* passkey entry completed */
272 UINT32 passkey; member in union:__anon72803
392 ** Passkey request to the application.
396 ** passkey - numeric value in the range o
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothTestUtils.java 154 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) {
158 mPasskey = passkey;
743 * @param passkey The pairing passkey if pairing requires a passkey. Any value if not.
746 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) {
747 pairOrAcceptPair(adapter, device, passkey, pin, true);
756 * @param passkey The pairing passkey if pairing requires a passkey. Any value if not
    [all...]
  /hardware/bsp/intel/peripheral/libupm/src/nrf8001/
aci_cmds.h 362 uint8_t passkey[6]; member in union:__anon29978::__anon29979
aci_evts.h 100 * Display Passkey Event
346 uint8_t passkey[6]; member in struct:__anon30007
acilib.cxx 278 - Key type is passkey
    [all...]
  /system/bt/btif/src/
bluetooth.c 322 uint8_t accept, uint32_t passkey)
328 return btif_dm_ssp_reply(bd_addr, variant, accept, passkey);
btif_dm.c 2523 UINT32 passkey = 0; local
    [all...]
  /hardware/libhardware/include/hardware/
bluetooth.h 347 /* TODO: Passkey request callback shall not be needed for devices with display
535 /** BT SSP Reply - Just Works, Numeric Comparison and Passkey
536 * passkey shall be zero for BT_SSP_VARIANT_PASSKEY_COMPARISON &
538 * For BT_SSP_VARIANT_PASSKEY_ENTRY, if accept==FALSE, then passkey
541 uint8_t accept, uint32_t passkey);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
bluetoothapis.h 105 ULONG Passkey;
134 ULONG passkey; member in struct:_BLUETOOTH_PASSKEY_INFO
  /system/bt/bta/dm/
bta_dm_api.c 691 ** Description Send BLE SMP passkey reply.
694 ** accept - passkey entry sucessful or declined.
695 ** passkey - passkey value, must be a 6 digit number,
701 void BTA_DmBlePasskeyReply(BD_ADDR bd_addr, BOOLEAN accept, UINT32 passkey)
712 p_msg->passkey = passkey;
    [all...]
bta_dm_act.c     [all...]
  /system/bt/bta/include/
bta_api.h 578 #define BTA_DM_SP_KEY_NOTIF_EVT 11 /* Simple Pairing Passkey Notification */
584 #define BTA_DM_BLE_PASSKEY_NOTIF_EVT 17 /* SMP passkey notification event */
585 #define BTA_DM_BLE_PASSKEY_REQ_EVT 18 /* SMP passkey request event */
853 UINT32 passkey; \/* the numeric value for comparison. If just_works, do not show this number to UI *\/ member in struct:__anon71901
    [all...]

Completed in 443 milliseconds

1 2