Home
last modified time | relevance | path

Searched refs:mDevicePreferenceCallback (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdaterTest.java65 private DevicePreferenceCallback mDevicePreferenceCallback; field in BluetoothDeviceUpdaterTest
105 new BluetoothDeviceUpdater(mContext, mDashboardFragment, mDevicePreferenceCallback, in setUp()
126 verify(mDevicePreferenceCallback, never()).onDeviceAdded(any(Preference.class)); in testAddPreference_deviceExist_doNothing()
135 verify(mDevicePreferenceCallback).onDeviceAdded(preference); in testAddPreference_deviceNotExist_addPreference()
144 verify(mDevicePreferenceCallback).onDeviceRemoved(mPreference); in testRemovePreference_deviceExist_removePreference()
154 verify(mDevicePreferenceCallback).onDeviceRemoved(mPreference); in testOnDeviceDeleted_deviceExists_removePreference()
162 verify(mDevicePreferenceCallback, never()).onDeviceRemoved(any(Preference.class)); in testRemovePreference_deviceNotExist_doNothing()
174 verify(mDevicePreferenceCallback).onDeviceRemoved(mPreference); in testRemovePreference_subDeviceExist_removePreference()
230 verify(mDevicePreferenceCallback).onDeviceRemoved(mPreference); in forceUpdate_bluetoothDisabled_removeAllDevicesFromPreference()
239 verify(mDevicePreferenceCallback).onDeviceAdded(any(Preference.class)); in forceUpdate_bluetoothEnabled_addPreference()
[all …]
DAvailableMediaBluetoothDeviceUpdaterTest.java60 private DevicePreferenceCallback mDevicePreferenceCallback; field in AvailableMediaBluetoothDeviceUpdaterTest
92 mDashboardFragment, mDevicePreferenceCallback)); in setUp()
DConnectedBluetoothDeviceUpdaterTest.java63 private DevicePreferenceCallback mDevicePreferenceCallback; field in ConnectedBluetoothDeviceUpdaterTest
93 mDashboardFragment, mDevicePreferenceCallback)); in setUp()
DSavedBluetoothDeviceUpdaterTest.java61 private DevicePreferenceCallback mDevicePreferenceCallback; field in SavedBluetoothDeviceUpdaterTest
88 mDevicePreferenceCallback)); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DConnectedUsbDeviceUpdaterTest.java55 private DevicePreferenceCallback mDevicePreferenceCallback; field in ConnectedUsbDeviceUpdaterTest
66 new ConnectedUsbDeviceUpdater(mContext, mFragment, mDevicePreferenceCallback, in setUp()
87 verify(mDevicePreferenceCallback).onDeviceAdded(mDeviceUpdater.mUsbPreference); in initUsbPreference_usbConnected_preferenceAdded()
96 verify(mDevicePreferenceCallback).onDeviceRemoved(mDeviceUpdater.mUsbPreference); in initUsbPreference_usbDisconnected_preferenceRemoved()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothDeviceUpdater.java55 protected final DevicePreferenceCallback mDevicePreferenceCallback; field in BluetoothDeviceUpdater
76 mDevicePreferenceCallback = devicePreferenceCallback; in BluetoothDeviceUpdater()
226 mDevicePreferenceCallback.onDeviceAdded(btPreference); in addPreference()
237 mDevicePreferenceCallback.onDeviceRemoved(mPreferenceMap.get(device)); in removePreference()
245 mDevicePreferenceCallback.onDeviceRemoved(mPreferenceMap.get(subDevice)); in removePreference()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceUpdater.java58 protected final DevicePreferenceCallback mDevicePreferenceCallback; field in BluetoothDeviceUpdater
79 mDevicePreferenceCallback = devicePreferenceCallback; in BluetoothDeviceUpdater()
256 mDevicePreferenceCallback.onDeviceAdded(btPreference); in addPreference()
267 mDevicePreferenceCallback.onDeviceRemoved(mPreferenceMap.get(device)); in removePreference()
275 mDevicePreferenceCallback.onDeviceRemoved(mPreferenceMap.get(subDevice)); in removePreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DConnectedUsbDeviceUpdater.java39 private DevicePreferenceCallback mDevicePreferenceCallback; field in ConnectedUsbDeviceUpdater
51 mDevicePreferenceCallback.onDeviceAdded(mUsbPreference);
53 mDevicePreferenceCallback.onDeviceRemoved(mUsbPreference);
66 mDevicePreferenceCallback = devicePreferenceCallback; in ConnectedUsbDeviceUpdater()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DConnectedUsbDeviceUpdater.java46 private DevicePreferenceCallback mDevicePreferenceCallback; field in ConnectedUsbDeviceUpdater
58 mDevicePreferenceCallback.onDeviceAdded(mUsbPreference);
60 mDevicePreferenceCallback.onDeviceRemoved(mUsbPreference);
73 mDevicePreferenceCallback = devicePreferenceCallback; in ConnectedUsbDeviceUpdater()