Home
last modified time | relevance | path

Searched refs:btServer (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DeviceDiagnostics/DeviceDiagnosticsLib/src/androidTest/java/com/android/devicediagnostics/
DMainActivityTest.kt95 val btServer = app.getBluetoothServer() in testEvaluationFlow() constant
96 whenever(btServer.bluetoothEnabled).thenReturn(true) in testEvaluationFlow()
165 val btServer = app.getBluetoothServer() in testTrustedFlow() constant
166 whenever(btServer.bluetoothEnabled).thenReturn(true) in testTrustedFlow()
183 verify(btServer, times(1)).start(any(), callbackCaptor.capture()) in testTrustedFlow()
207 verify(btServer, times(1)).startRead(readCaptor.capture()) in testTrustedFlow()
DTestApplication.kt48 val btServer = Mockito.mock(BluetoothServer::class.java) in setupMocks() constant
49 whenever(app.getBluetoothServer()).thenReturn(btServer) in setupMocks()
DQrCodeScanActivityTests.kt49 val btServer = app.getBluetoothServer() in <lambda>() constant
51 verify(btServer, times(1)).start(any(), callbackCaptor.capture()) in <lambda>()
/packages/apps/DeviceDiagnostics/DeviceDiagnosticsLib/src/main/java/com/android/devicediagnostics/
DEvaluationModeActivity.kt36 val btServer = ApplicationInterface.app.getBluetoothServer() in onResume() constant
37 val enabled = btServer.bluetoothEnabled in onResume()
DApplicationInterface.kt35 private val btServer = BluetoothServer() constant in com.android.devicediagnostics.ApplicationInterface
54 return btServer in getBluetoothServer()
/packages/apps/DeviceDiagnostics/DeviceDiagnosticsLib/src/main/java/com/android/devicediagnostics/trusted/
DWaitForResultsActivity.kt75 val btServer = ApplicationInterface.app.getBluetoothServer() in onPermissionsGranted() constant
76 btServer.startRead(this) in onPermissionsGranted()