Home
last modified time | relevance | path

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

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothHidHostTest.java76 private BluetoothHidHost mHidHost; field in BluetoothHidHostTest
105 mHidHost = null; in setUp()
116 if (mAdapter != null && mHidHost != null) { in tearDown()
117 mAdapter.closeProfileProxy(BluetoothProfile.HID_HOST, mHidHost); in tearDown()
118 mHidHost = null; in tearDown()
132 assertNotNull(mHidHost); in closeProfileProxy()
135 mAdapter.closeProfileProxy(BluetoothProfile.HID_HOST, mHidHost); in closeProfileProxy()
144 assertNotNull(mHidHost); in getConnectedDevices()
149 List<BluetoothDevice> connectedDevices = mHidHost.getConnectedDevices(); in getConnectedDevices()
157 assertNotNull(mHidHost); in getDevicesMatchingConnectionStates()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DHidDeviceActivity.java54 private BluetoothDevice mHidHost; field in HidDeviceActivity
230 if (mHidHost == null) { in testSendReport()
235 mHidHost = mBluetoothHidDevice.getConnectedDevices().get(0); in testSendReport()
236 Log.d(TAG, "connected to: " + mHidHost); in testSendReport()
240 mBluetoothHidDevice.sendReport(mHidHost, BluetoothHidDevice.REPORT_TYPE_INPUT, in testSendReport()
242 mBluetoothHidDevice.sendReport(mHidHost, BluetoothHidDevice.REPORT_TYPE_INPUT, in testSendReport()
255 if (mHidHost == null) { in testReplyReport()
260 mHidHost = mBluetoothHidDevice.getConnectedDevices().get(0); in testReplyReport()
261 Log.d(TAG, "connected to: " + mHidHost); in testReplyReport()
264 if (mBluetoothHidDevice.replyReport(mHidHost, (byte) 0, (byte) 0, in testReplyReport()
[all …]