Home
last modified time | relevance | path

Searched refs:mAvailableDevicesCategory (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingDetailTest.java71 private BluetoothProgressCategory mAvailableDevicesCategory; field in BluetoothPairingDetailTest
86 mAvailableDevicesCategory = spy(new BluetoothProgressCategory(mContext)); in setUp()
100 doReturn(mAvailableDevicesCategory).when(mFragment) in initPreferencesFromPreferenceScreen_findPreferences()
107 assertThat(mFragment.mAvailableDevicesCategory).isEqualTo(mAvailableDevicesCategory); in initPreferencesFromPreferenceScreen_findPreferences()
113 mFragment.mAvailableDevicesCategory = mAvailableDevicesCategory; in startScanning_startScanAndRemoveDevices()
114 mFragment.mDeviceListGroup = mAvailableDevicesCategory; in startScanning_startScanAndRemoveDevices()
119 verify(mAvailableDevicesCategory).removeAll(); in startScanning_startScanAndRemoveDevices()
124 mFragment.mAvailableDevicesCategory = mAvailableDevicesCategory; in updateContent_stateOn_addDevices()
130 verify(mFragment).addDeviceCategory(mAvailableDevicesCategory, in updateContent_stateOn_addDevices()
165 mFragment.mAvailableDevicesCategory = mAvailableDevicesCategory; in onScanningStateChanged_restartScanAfterInitialScanning()
[all …]
DDevicePickerFragmentTest.java32 private BluetoothProgressCategory mAvailableDevicesCategory; field in DevicePickerFragmentTest
41 mFragment.mAvailableDevicesCategory = mAvailableDevicesCategory; in setUp()
50 verify(mAvailableDevicesCategory).setProgress(true); in testScanningStateChanged_started_setProgressStarted()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingDetail.java50 BluetoothProgressCategory mAvailableDevicesCategory; field in BluetoothPairingDetail
77 mAvailableDevicesCategory.setProgress(mBluetoothAdapter.isDiscovering()); in onStart()
110 mAvailableDevicesCategory = (BluetoothProgressCategory) findPreference(KEY_AVAIL_DEVICES); in initPreferencesFromPreferenceScreen()
124 if (mAvailableDevicesCategory != null) { in enableScanning()
143 mAvailableDevicesCategory.setProgress(started); in onScanningStateChanged()
153 addDeviceCategory(mAvailableDevicesCategory, in updateContent()
DDevicePickerFragment.java49 BluetoothProgressCategory mAvailableDevicesCategory; field in DevicePickerFragment
68 mAvailableDevicesCategory = (BluetoothProgressCategory) findPreference(KEY_BT_DEVICE_LIST); in initPreferencesFromPreferenceScreen()
97 mAvailableDevicesCategory.setProgress(mBluetoothAdapter.isDiscovering()); in onStart()
137 mAvailableDevicesCategory.setProgress(started); in onScanningStateChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingDetail.java50 BluetoothProgressCategory mAvailableDevicesCategory; field in BluetoothPairingDetail
77 mAvailableDevicesCategory.setProgress(mBluetoothAdapter.isDiscovering()); in onStart()
110 mAvailableDevicesCategory = (BluetoothProgressCategory) findPreference(KEY_AVAIL_DEVICES); in initPreferencesFromPreferenceScreen()
124 if (mAvailableDevicesCategory != null) { in enableScanning()
143 mAvailableDevicesCategory.setProgress(started); in onScanningStateChanged()
153 addDeviceCategory(mAvailableDevicesCategory, in updateContent()
DDevicePickerFragment.java49 BluetoothProgressCategory mAvailableDevicesCategory; field in DevicePickerFragment
68 mAvailableDevicesCategory = (BluetoothProgressCategory) findPreference(KEY_BT_DEVICE_LIST); in initPreferencesFromPreferenceScreen()
97 mAvailableDevicesCategory.setProgress(mBluetoothAdapter.isDiscovering()); in onStart()
137 mAvailableDevicesCategory.setProgress(started); in onScanningStateChanged()