Home
last modified time | relevance | path

Searched refs:getConnectionState (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DHearingAidProfileTest.java142 public void getConnectionState() { in getConnectionState() method in HearingAidProfileTest
143 assertThat(mService.getConnectionState(sFakeDevice)) in getConnectionState()
264 assertThat(mService.getConnectionState(device)).isIn(sValidConnectionStates); in getConnectedDevices()
282 .that(mService.getConnectionState(device)) in getDevicesMatchingConnectionStates()
DBluetoothPbapTest.java141 public void getConnectionState() { in getConnectionState() method in BluetoothPbapTest
150 mBluetoothPbap.getConnectionState(null)); in getConnectionState()
156 mBluetoothPbap.getConnectionState(testDevice)); in getConnectionState()
DBluetoothSapTest.java156 public void getConnectionState() { in getConnectionState() method in BluetoothSapTest
164 assertEquals(mBluetoothSap.getConnectionState(testDevice), in getConnectionState()
168 assertEquals(mBluetoothSap.getConnectionState(testDevice), in getConnectionState()
DBluetoothPbapClientTest.java157 public void getConnectionState() { in getConnectionState() method in BluetoothPbapClientTest
166 mBluetoothPbapClient.getConnectionState(null)); in getConnectionState()
172 mBluetoothPbapClient.getConnectionState(testDevice)); in getConnectionState()
DBluetoothPanTest.java151 public void getConnectionState() { in getConnectionState() method in BluetoothPanTest
160 mBluetoothPan.getConnectionState(null)); in getConnectionState()
166 mBluetoothPan.getConnectionState(testDevice)); in getConnectionState()
DBasicBluetoothGattTest.java129 public void getConnectionState() { in getConnectionState() method in BasicBluetoothGattTest
131 () -> mBluetoothGatt.getConnectionState(null)); in getConnectionState()
DBluetoothHidDeviceTest.java154 public void getConnectionState() { in getConnectionState() method in BluetoothHidDeviceTest
163 mBluetoothHidDevice.getConnectionState(null)); in getConnectionState()
169 mBluetoothHidDevice.getConnectionState(testDevice)); in getConnectionState()
DBluetoothMapTest.java160 public void getConnectionState() { in getConnectionState() method in BluetoothMapTest
169 mBluetoothMap.getConnectionState(null)); in getConnectionState()
175 mBluetoothMap.getConnectionState(testDevice)); in getConnectionState()
DBluetoothA2dpSinkTest.java145 public void getConnectionState() { in getConnectionState() method in BluetoothA2dpSinkTest
152 assertEquals(mBluetoothA2dpSink.getConnectionState(testDevice), in getConnectionState()
157 () -> mBluetoothA2dpSink.getConnectionState(testDevice)); in getConnectionState()
DBluetoothHeadsetClientTest.java153 public void getConnectionState() { in getConnectionState() method in BluetoothHeadsetClientTest
162 mBluetoothHeadsetClient.getConnectionState(null)); in getConnectionState()
168 mBluetoothHeadsetClient.getConnectionState(testDevice)); in getConnectionState()
DBluetoothMapClientTest.java172 public void getConnectionState() { in getConnectionState() method in BluetoothMapClientTest
181 mBluetoothMapClient.getConnectionState(null)); in getConnectionState()
187 mBluetoothMapClient.getConnectionState(testDevice)); in getConnectionState()
DBluetoothGattServerTest.java115 public void getConnectionState() { in getConnectionState() method in BluetoothGattServerTest
117 () -> mBluetoothGattServer.getConnectionState(null)); in getConnectionState()
DBluetoothHidHostTest.java167 public void getConnectionState() { in getConnectionState() method in BluetoothHidHostTest
178 mHidHost.getConnectionState(null); in getConnectionState()
183 assertEquals(BluetoothProfile.STATE_DISCONNECTED, mHidHost.getConnectionState(testDevice)); in getConnectionState()
DBluetoothHapClientTest.java134 public void getConnectionState() { in getConnectionState() method in BluetoothHapClientTest
135 assertThat(mService.getConnectionState(null)) in getConnectionState()
140 assertThat(mService.getConnectionState(sTestDevice)) in getConnectionState()
DBluetoothLeAudioTest.java214 public void getConnectionState() { in getConnectionState() method in BluetoothLeAudioTest
222 mBluetoothLeAudio.getConnectionState(null)); in getConnectionState()
228 mBluetoothLeAudio.getConnectionState(mTestDevice)); in getConnectionState()
DBluetoothVolumeControlTest.java425 public void getConnectionState() { in getConnectionState() method in BluetoothVolumeControlTest
434 mBluetoothVolumeControl.getConnectionState(null)); in getConnectionState()
440 mBluetoothVolumeControl.getConnectionState(testDevice)); in getConnectionState()
DBluetoothCsipSetCoordinatorTest.java217 public void getConnectionState() { in getConnectionState() method in BluetoothCsipSetCoordinatorTest
223 int state = mBluetoothCsipSetCoordinator.getConnectionState(mTestDevice); in getConnectionState()
DBluetoothLeBroadcastAssistantTest.java550 public void getConnectionState() { in getConnectionState() method in BluetoothLeBroadcastAssistantTest
558 mBluetoothLeBroadcastAssistant.getConnectionState(null)); in getConnectionState()
564 mBluetoothLeBroadcastAssistant.getConnectionState(testDevice)); in getConnectionState()
DBluetoothHeadsetTest.java147 public void getConnectionState() { in getConnectionState() method in BluetoothHeadsetTest
154 assertEquals(mBluetoothHeadset.getConnectionState(testDevice), in getConnectionState()
DBluetoothA2dpTest.java175 public void getConnectionState() { in getConnectionState() method in BluetoothA2dpTest
182 assertEquals(mBluetoothA2dp.getConnectionState(testDevice), in getConnectionState()
DBluetoothLeBroadcastTest.java290 public void getConnectionState() { in getConnectionState() method in BluetoothLeBroadcastTest
296 () -> mBluetoothLeBroadcast.getConnectionState(null)); in getConnectionState()
/cts/tests/tests/telecom/aidl/android/telecom/cts/selfmanagedcstestapp/
DICtsSelfManagedConnectionServiceControl.aidl40 int getConnectionState(); in getConnectionState() method
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/
DCtsSelfManagedConnectionServiceControl.java136 public int getConnectionState() {
/cts/tests/tests/telecom/src/android/telecom/cts/
DSelfManagedConnectionServiceTest.java1444 assertEquals(conn.getInterface().getConnectionState(), Connection.STATE_HOLDING); in testCallSwapBetweenTwoSelfManagedConnectionServices()
1461 assertEquals(conn.getInterface().getConnectionState(), Connection.STATE_ACTIVE); in testCallSwapBetweenTwoSelfManagedConnectionServices()
1474 assertEquals(conn.getInterface().getConnectionState(), Connection.STATE_HOLDING); in testCallSwapBetweenTwoSelfManagedConnectionServices()
1492 assertEquals(conn.getInterface().getConnectionState(), Connection.STATE_HOLDING); in testCallSwapBetweenTwoSelfManagedConnectionServices()
1502 assertEquals(conn.getInterface().getConnectionState(), Connection.STATE_ACTIVE); in testCallSwapBetweenTwoSelfManagedConnectionServices()
1550 assertEquals(Connection.STATE_ACTIVE, conn.getInterface().getConnectionState()); in testManagedCallWhileNoHoldCapabilitySelfMaganedCallActive()
1557 assertEquals(Connection.STATE_ACTIVE, conn.getInterface().getConnectionState()); in testManagedCallWhileNoHoldCapabilitySelfMaganedCallActive()
1568 assertEquals(Connection.STATE_DISCONNECTED, conn.getInterface().getConnectionState()); in testManagedCallWhileNoHoldCapabilitySelfMaganedCallActive()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBluetoothRestrictionTest.java56 int state = mBluetoothAdapter.getConnectionState(); in setUp()

12