Home
last modified time | relevance | path

Searched refs:mBrailleDisplayConnection (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DBrailleDisplayConnectionTest.java69 private BrailleDisplayConnection mBrailleDisplayConnection; field in BrailleDisplayConnectionTest.ScannerTest
90 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 …]
/frameworks/base/core/java/android/accessibilityservice/
DBrailleDisplayControllerImpl.java55 private IBrailleDisplayConnection mBrailleDisplayConnection; field in BrailleDisplayControllerImpl
169 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()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityServiceConnection.java98 private BrailleDisplayConnection mBrailleDisplayConnection; field in AccessibilityServiceConnection
479 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()