Home
last modified time | relevance | path

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

/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/gatt/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/opp/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/sap/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbap/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbapclient/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pan/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
H A 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()
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/mapclient/
H A 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()
H A 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()
/aosp12/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java167 @Rule public ServiceTestRule mServiceRule = new ServiceTestRule(); field in BugreportReceiverTest
190 mService = ((BugreportProgressService.LocalBinder) mServiceRule.bindService( in setUp()
818 mServiceRule.unbindService(); in assertServiceNotRunning()
851 mServiceRule.unbindService(); in killService()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
H A 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()
H A 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()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/telephony/
H A DBluetoothInCallServiceTest.java94 @Rule public final ServiceTestRule mServiceRule field in BluetoothInCallServiceTest
124 mServiceRule.bindService(serviceIntent); in setUp()
145 mServiceRule.unbindService(); in tearDown()