Searched refs:passkey (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetooth.aidl | 64 boolean setPasskey(in String address, int passkey);
|
H A D | BluetoothDevice.java | 343 /** The user will be prompted to enter a passkey 346 /** The user will be prompted to confirm the passkey displayed on the screen 352 /** The user will be prompted to enter the passkey displayed on remote device 679 public boolean setPasskey(int passkey) { argument 681 return sService.setPasskey(mAddress, passkey);
|
/frameworks/base/core/tests/coretests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 282 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin) { argument 285 mPasskey = passkey; 637 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { argument 638 pairOrAcceptPair(adapter, device, passkey, pin, true); 641 public void acceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, argument 643 pairOrAcceptPair(adapter, device, passkey, pin, false); 646 private void pairOrAcceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, argument 652 PairReceiver pairReceiver = getPairReceiver(mContext, device, passkey, pin); 1032 private PairReceiver getPairReceiver(Context context, BluetoothDevice device, int passkey, argument 1034 PairReceiver receiver = new PairReceiver(device, passkey, pi [all...] |
/frameworks/base/core/java/android/server/ |
H A D | BluetoothEventLoop.java | 416 private void onRequestPasskeyConfirmation(String objectPath, int passkey, int nativeData) { argument 422 intent.putExtra(BluetoothDevice.EXTRA_PASSKEY, passkey); 477 private void onDisplayPasskey(String objectPath, int passkey, int nativeData) { argument 483 intent.putExtra(BluetoothDevice.EXTRA_PASSKEY, passkey);
|
H A D | BluetoothService.java | 1654 public synchronized boolean setPasskey(String address, int passkey) { argument 1659 if (passkey < 0 || passkey > 999999 || !BluetoothAdapter.checkBluetoothAddress(address)) { 1670 return setPasskeyNative(address, passkey, data.intValue()); 2379 private native boolean setPasskeyNative(String address, int passkey, int nativeData); argument
|
/frameworks/base/core/jni/ |
H A D | android_server_BluetoothEventLoop.cpp | 1011 uint32_t passkey; local 1014 DBUS_TYPE_UINT32, &passkey, 1023 passkey, 1029 uint32_t passkey; local 1032 DBUS_TYPE_UINT32, &passkey, 1041 passkey,
|
H A D | android_server_BluetoothService.cpp | 542 int passkey, int nativeData) { 556 dbus_message_append_args(reply, DBUS_TYPE_UINT32, (uint32_t *)&passkey, 541 setPasskeyNative(JNIEnv *env, jobject object, jstring address, int passkey, int nativeData) argument
|
Completed in 1032 milliseconds