OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mLeftBluetoothHapDevice
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
HandsFreeProfileOutputPreferenceControllerTest.java
107
private BluetoothDevice
mLeftBluetoothHapDevice
;
141
mLeftBluetoothHapDevice
= spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_3));
142
when(
mLeftBluetoothHapDevice
.getName()).thenReturn(TEST_HAP_DEVICE_NAME_1);
143
when(
mLeftBluetoothHapDevice
.isConnected()).thenReturn(true);
177
when(mHearingAidProfile.getHiSyncId(
mLeftBluetoothHapDevice
)).thenReturn(HISYNCID1);
179
mController.setActiveBluetoothDevice(
mLeftBluetoothHapDevice
);
181
verify(mHearingAidProfile).setActiveDevice(
mLeftBluetoothHapDevice
);
332
mProfileConnectedDevices.add(
mLeftBluetoothHapDevice
);
334
mHearingAidActiveDevices.add(
mLeftBluetoothHapDevice
);
337
when(mHearingAidProfile.getHiSyncId(
mLeftBluetoothHapDevice
)).thenReturn(HISYNCID1)
[
all
...]
MediaOutputPreferenceControllerTest.java
109
private BluetoothDevice
mLeftBluetoothHapDevice
;
143
mLeftBluetoothHapDevice
= spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_3));
144
when(
mLeftBluetoothHapDevice
.getName()).thenReturn(TEST_HAP_DEVICE_NAME_1);
145
when(
mLeftBluetoothHapDevice
.isConnected()).thenReturn(true);
179
when(mHearingAidProfile.getHiSyncId(
mLeftBluetoothHapDevice
)).thenReturn(HISYNCID1);
181
mController.setActiveBluetoothDevice(
mLeftBluetoothHapDevice
);
183
verify(mHearingAidProfile).setActiveDevice(
mLeftBluetoothHapDevice
);
385
mProfileConnectedDevices.add(
mLeftBluetoothHapDevice
);
387
mHearingAidActiveDevices.add(
mLeftBluetoothHapDevice
);
390
when(mHearingAidProfile.getHiSyncId(
mLeftBluetoothHapDevice
)).thenReturn(HISYNCID1)
[
all
...]
AudioOutputSwitchPreferenceControllerTest.java
121
private BluetoothDevice
mLeftBluetoothHapDevice
;
156
mLeftBluetoothHapDevice
= spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_2));
157
when(
mLeftBluetoothHapDevice
.isConnected()).thenReturn(true);
334
mHearingAidActiveDevices.add(
mLeftBluetoothHapDevice
);
335
when(mHeadsetProfile.getActiveDevice()).thenReturn(
mLeftBluetoothHapDevice
);
350
mHearingAidActiveDevices.add(
mLeftBluetoothHapDevice
);
352
when(mA2dpProfile.getActiveDevice()).thenReturn(
mLeftBluetoothHapDevice
);
368
mController.mConnectedDevices.add(
mLeftBluetoothHapDevice
);
370
mHearingAidActiveDevices.add(
mLeftBluetoothHapDevice
);
376
assertThat(mController.findActiveDevice(STREAM_MUSIC)).isEqualTo(
mLeftBluetoothHapDevice
);
[
all
...]
Completed in 95 milliseconds