Home
last modified time | relevance | path

Searched refs:mServiceRule (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceTest.java36 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in GattServiceTest
48 TestUtils.startService(mServiceRule, GattService.class); in setUp()
59 TestUtils.stopService(mServiceRule, GattService.class); in tearDown()
75 TestUtils.stopService(mServiceRule, GattService.class); in testServiceUpAndDown()
83 TestUtils.startService(mServiceRule, GattService.class); in testServiceUpAndDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppServiceTest.java50 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in BluetoothOppServiceTest
62 TestUtils.startService(mServiceRule, BluetoothOppService.class); in setUp()
75 TestUtils.stopService(mServiceRule, BluetoothOppService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/sap/
DSapServiceTest.java50 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in SapServiceTest
62 TestUtils.startService(mServiceRule, SapService.class); in setUp()
75 TestUtils.stopService(mServiceRule, SapService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerServiceTest.java50 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in AvrcpControllerServiceTest
63 TestUtils.startService(mServiceRule, AvrcpControllerService.class); in setUp()
76 TestUtils.stopService(mServiceRule, AvrcpControllerService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapServiceTest.java51 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in BluetoothPbapServiceTest
65 TestUtils.startService(mServiceRule, BluetoothPbapService.class); in setUp()
78 TestUtils.stopService(mServiceRule, BluetoothPbapService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapServiceTest.java51 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in BluetoothMapServiceTest
65 TestUtils.startService(mServiceRule, BluetoothMapService.class); in setUp()
78 TestUtils.stopService(mServiceRule, BluetoothMapService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientServiceTest.java51 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in PbapClientServiceTest
66 TestUtils.startService(mServiceRule, PbapClientService.class); in setUp()
79 TestUtils.stopService(mServiceRule, PbapClientService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pan/
DPanServiceTest.java54 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in PanServiceTest
69 TestUtils.startService(mServiceRule, PanService.class); in setUp()
83 TestUtils.stopService(mServiceRule, PanService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientServiceTest.java61 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in HeadsetClientServiceTest
77 TestUtils.startService(mServiceRule, HeadsetClientService.class); in setUp()
91 TestUtils.stopService(mServiceRule, HeadsetClientService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceTest.java52 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in A2dpSinkServiceTest
67 TestUtils.startService(mServiceRule, A2dpSinkService.class); in setUp()
80 TestUtils.stopService(mServiceRule, A2dpSinkService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceTest.java53 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in HidHostServiceTest
67 TestUtils.startService(mServiceRule, HidHostService.class); in setUp()
84 TestUtils.stopService(mServiceRule, HidHostService.class); in tearDown()
DHidDeviceTest.java90 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in HidDeviceTest
121 TestUtils.startService(mServiceRule, HidDeviceService.class); in setUp()
151 TestUtils.stopService(mServiceRule, HidDeviceService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientTest.java65 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in MapClientTest
77 TestUtils.startService(mServiceRule, MapClientService.class); in setUp()
88 TestUtils.stopService(mServiceRule, MapClientService.class); in tearDown()
DMapClientStateMachineTest.java80 public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in MapClientStateMachineTest
116 TestUtils.startService(mServiceRule, MapClientService.class); in setUp()
150 TestUtils.stopService(mServiceRule, MapClientService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java81 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in LeAudioServiceTest
130 TestUtils.startService(mServiceRule, LeAudioService.class); in startService()
136 TestUtils.stopService(mServiceRule, LeAudioService.class); in stopService()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java80 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in A2dpServiceTest
138 TestUtils.startService(mServiceRule, A2dpService.class); in startService()
144 TestUtils.stopService(mServiceRule, A2dpService.class); in stopService()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java78 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in HearingAidServiceTest
140 TestUtils.startService(mServiceRule, HearingAidService.class); in startService()
146 TestUtils.stopService(mServiceRule, HearingAidService.class); in stopService()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java80 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in HeadsetServiceTest
145 TestUtils.startService(mServiceRule, HeadsetService.class); in setUp()
160 TestUtils.stopService(mServiceRule, HeadsetService.class); in tearDown()
DHeadsetServiceAndStateMachineTest.java92 @Rule public final ServiceTestRule mServiceRule = new ServiceTestRule(); field in HeadsetServiceAndStateMachineTest
220 TestUtils.startService(mServiceRule, HeadsetService.class); in setUp()
244 TestUtils.stopService(mServiceRule, HeadsetService.class); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java91 @Rule public final ServiceTestRule mServiceRule field in BluetoothInCallServiceTest
121 mServiceRule.bindService(serviceIntent); in setUp()
142 mServiceRule.unbindService(); in tearDown()