Home
last modified time | relevance | path

Searched refs:mPasskeyCharacteristic (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairGattServerTest.java192 BluetoothGattCharacteristic mPasskeyCharacteristic; field in FastPairGattServerTest
294 mPasskeyCharacteristic = in startAndVerifyServer()
304 assertThat(mPasskeyCharacteristic).isNotNull(); in startAndVerifyServer()
399 assertThat(mPasskeyCharacteristic).isNotNull(); in sendPasskeyRequest()
400 return sendCharacteristicWriteRequest(device, mPasskeyCharacteristic, value); in sendPasskeyRequest()
626 byte[] encryptedResponse = mPasskeyCharacteristic.getValue(); in testProcessPasskeyRequest_pairingConfirmed()
699 eq(mMockBluetoothDevice), eq(mPasskeyCharacteristic), eq(false)); in testReceivePairingCodeBeforeSeekerPasskey_noPairingResponseSent()
714 byte[] encryptedResponse = mPasskeyCharacteristic.getValue(); in testReceivePairingCodeAfterSeekerPasskey_sendsPairingResponse()
727 eq(mPasskeyCharacteristic), eq(false)); in testReceivePairingCodeAfterSeekerPasskey_sendsPairingResponse()
740 byte[] encryptedResponse = mPasskeyCharacteristic.getValue(); in testReceivePairingCodeWhileDisconnected_nothingSent()
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairGattServer.java193 private BluetoothGattCharacteristic mPasskeyCharacteristic; field in FastPairGattServer
267 } else if (characteristic == mPasskeyCharacteristic) {
446 mPasskeyCharacteristic = in setup()
451 mPasskeyCharacteristic.setValue(mModelId); in setup()
452 mPasskeyCharacteristic.addDescriptor(new BluetoothGattDescriptor( in setup()
457 mFastPairService.addCharacteristic(mPasskeyCharacteristic); in setup()
950 mPasskeyCharacteristic.setValue(response); in sendPairingResponse()
952 .notifyCharacteristicChanged(mRemoteGattDevice, mPasskeyCharacteristic, false); in sendPairingResponse()