Home
last modified time | relevance | path

Searched refs:mCachedDeviceManager (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDevicesGroupPreferenceControllerTest.java72 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothDevicesGroupPreferenceControllerTest
88 mCachedDeviceManager); in setUp()
121 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_filterMatch_addsToGroup()
135 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_filterMatch_addsToPreferenceMap()
149 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_filterMismatch_removesFromGroup()
166 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_filterMismatch_removesFromPreferenceMap()
190 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in refreshUi_devices_showsGroup()
201 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in onBluetoothStateChanged_turningOff_clearsPreferences()
215 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in onDeviceAdded_refreshesUi()
229 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in onDeviceDeleted_refreshesUi()
[all …]
DBluetoothDisconnectConfirmDialogFragmentTest.java58 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothDisconnectConfirmDialogFragmentTest
71 mCachedDeviceManager); in setUp()
75 when(mCachedDeviceManager.findDevice(device)).thenReturn(mCachedDevice); in setUp()
DRemoteRenameDialogFragmentTest.java62 private CachedBluetoothDeviceManager mCachedDeviceManager; field in RemoteRenameDialogFragmentTest
75 mCachedDeviceManager); in setUp()
79 when(mCachedDeviceManager.findDevice(device)).thenReturn(mCachedDevice); in setUp()
DBluetoothDeviceNamePreferenceControllerTest.java65 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothDeviceNamePreferenceControllerTest
81 mCachedDeviceManager); in setUp()
140 when(mCachedDeviceManager.getSubDeviceSummary(mDevice)).thenReturn("other summary"); in refreshUi_hearingAidDevice_setsBatteryStatusesAsSummary()
DBluetoothScanningDevicesGroupPreferenceControllerTest.java74 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothScanningDevicesGroupPreferenceControllerTest
92 mCachedDeviceManager); in setUp()
97 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in setUp()
266 verify(mCachedDeviceManager).clearNonBondedDevices(); in onStop_clearsNonBondedDevices()
DBluetoothDeviceDetailsFragmentTest.java64 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothDeviceDetailsFragmentTest
80 mCachedDeviceManager); in setUp()
84 when(mCachedDeviceManager.findDevice(device)).thenReturn(mCachedDevice); in setUp()
DBluetoothBondedDevicesPreferenceControllerTest.java74 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothBondedDevicesPreferenceControllerTest
94 mCachedDeviceManager); in setUp()
103 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in setUp()
DBluetoothUnbondedDevicesPreferenceControllerTest.java80 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothUnbondedDevicesPreferenceControllerTest
102 mCachedDeviceManager); in setUp()
113 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in setUp()
DBluetoothDevicePickerPreferenceControllerTest.java77 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothDevicePickerPreferenceControllerTest
93 mCachedDeviceManager); in setUp()
101 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn( in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsHeaderControllerTest.java60 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothDetailsHeaderControllerTest
69 when(mBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp()
70 when(mCachedDeviceManager.getSubDeviceSummary(mCachedDevice)).thenReturn("abc"); in setUp()
DBluetoothDeviceUpdaterTest.java79 private CachedBluetoothDeviceManager mCachedDeviceManager; field in BluetoothDeviceUpdaterTest
97 when(mLocalManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setUp()
98 when(mCachedDeviceManager.getCachedDevicesCopy()).thenReturn(mCachedDevices); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceControllerTest.java83 private CachedBluetoothDeviceManager mCachedDeviceManager; field in AccessibilityHearingAidPreferenceControllerTest
198 when(mLocalBluetoothManager.getCachedDeviceManager()).thenReturn(mCachedDeviceManager); in setupBluetoothEnvironment()
209 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in setupHearingAidEnvironment()