Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothManagerTest.java53 private BluetoothDevice device1; field in BluetoothManagerTest
86 Collections.singletonList(device1)); in testIsBluetoothAvailable()
100 Collections.singletonList(device1)); in testIsAudioConnectedWhenAudioNotOn()
101 when(mHeadsetProxy.isAudioConnected(eq(device1))).thenReturn(false); in testIsAudioConnectedWhenAudioNotOn()
108 Collections.singletonList(device1)); in testIsAudioConnectedWhenAudioOn()
109 when(mHeadsetProxy.isAudioConnected(eq(device1))).thenReturn(true); in testIsAudioConnectedWhenAudioOn()
116 Collections.singletonList(device1)); in testShouldBePendingAfterConnectAudio()
117 when(mHeadsetProxy.isAudioConnected(eq(device1))).thenReturn(false); in testShouldBePendingAfterConnectAudio()
149 Collections.singletonList(device1)); in testConnectServiceWhenUninitialized2()
150 when(mHeadsetProxy.isAudioConnected(eq(device1))).thenReturn(false); in testConnectServiceWhenUninitialized2()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java518 BluetoothDevice device1 = getDeviceForMessage(CONNECT_TIMEOUT); in processMessage() local
519 if (device1 != null && device1.equals(event.device)) { in processMessage()
520 Log.d(TAG, "remove connect timeout for device = " + device1); in processMessage()
1378 BluetoothDevice device1 = getDeviceForMessage(CONNECT_TIMEOUT); in processMessage() local
1379 if (device1 != null && device1.equals(event.device)) { in processMessage()
1380 Log.d(TAG, "remove connect timeout for device = " + device1); in processMessage()
1718 BluetoothDevice device1 = getDeviceForMessage(CONNECT_TIMEOUT); in processMessage() local
1719 if (device1 != null && device1.equals(event.device)) { in processMessage()
1720 Log.d(TAG, "remove connect timeout for device = " + device1); in processMessage()