Searched refs:mBrailleDisplayConnection (Results 1 – 3 of 3) sorted by relevance
69 private BrailleDisplayConnection mBrailleDisplayConnection; field in BrailleDisplayConnectionTest.ScannerTest90 mBrailleDisplayConnection = in setup()190 Mockito.doNothing().when(mBrailleDisplayConnection).disconnect(); in write_bypassesServiceSideCheckWithLargeBuffer_disconnects()191 mBrailleDisplayConnection.write( in write_bypassesServiceSideCheckWithLargeBuffer_disconnects()194 verify(mBrailleDisplayConnection).disconnect(); in write_bypassesServiceSideCheckWithLargeBuffer_disconnects()202 () -> mBrailleDisplayConnection.write(new byte[1])); in write_notConnected_throwsIllegalStateException()207 Mockito.doNothing().when(mBrailleDisplayConnection).disconnect(); in write_unableToCreateWriteStream_disconnects()211 mBrailleDisplayConnection.write(new byte[1]); in write_unableToCreateWriteStream_disconnects()213 verify(mBrailleDisplayConnection).disconnect(); in write_unableToCreateWriteStream_disconnects()234 mBrailleDisplayConnection.setTestData(List.of(bd)); in connect_unableToGetUniq_usesNameFallback()[all …]
55 private IBrailleDisplayConnection mBrailleDisplayConnection; field in BrailleDisplayControllerImpl169 return mBrailleDisplayConnection != null; in isConnected()182 if (mBrailleDisplayConnection == null) { in write()186 mBrailleDisplayConnection.write(buffer); in write()198 if (mBrailleDisplayConnection != null) { in disconnect()199 mBrailleDisplayConnection.disconnect(); in disconnect()231 mBrailleDisplayConnection = connection; in onConnected()265 if (mBrailleDisplayConnection != null) { in onInput()293 mBrailleDisplayConnection = null; in clearConnectionLocked()
98 private BrailleDisplayConnection mBrailleDisplayConnection; field in AccessibilityServiceConnection479 if (mBrailleDisplayConnection != null) { in resetLocked()480 mBrailleDisplayConnection.disconnect(); in resetLocked()717 if (mBrailleDisplayConnection != null) { in connectBluetoothBrailleDisplay()777 if (mBrailleDisplayConnection != null) { in connectUsbBrailleDisplay()802 mBrailleDisplayConnection = connection; in onBrailleDisplayConnectedLocked()807 mBrailleDisplayConnection = null; in onBrailleDisplayDisconnectedLocked()