Searched refs:okToAcceptConnection (Results 1 – 5 of 5) sorted by relevance
411 if (headsetService != null && headsetService.okToAcceptConnection(device, true)) { in okToConnect()
1066 Assert.assertEquals(expected, mHeadsetService.okToAcceptConnection(device, false)); in testOkToAcceptConnectionCase()
138 when(mHeadsetService.okToAcceptConnection(any(BluetoothDevice.class), anyBoolean())) in setUp()
555 if (mHeadsetService.okToAcceptConnection(mDevice, false)) { in processConnectionEvent()
2171 public boolean okToAcceptConnection(BluetoothDevice device, boolean isOutgoingRequest) { in okToAcceptConnection() method in HeadsetService