/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | ConnectedBluetoothDeviceUpdater.java | 62 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, argument 66 cachedDevice.getName() + ", state: " + state + ", bluetoothProfile: " 70 if (isFilterMatched(cachedDevice)) { 71 addPreference(cachedDevice); 73 removePreference(cachedDevice); 76 removePreference(cachedDevice); 81 public boolean isFilterMatched(CachedBluetoothDevice cachedDevice) { argument 96 if (isDeviceConnected(cachedDevice)) { 109 isFilterMatched = !cachedDevice.isA2dpDevice(); 112 isFilterMatched = !cachedDevice 124 addPreference(CachedBluetoothDevice cachedDevice) argument [all...] |
H A D | AvailableMediaBluetoothDeviceUpdater.java | 62 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, argument 66 cachedDevice.getName() + ", state: " + state + ", bluetoothProfile: " 70 if (isFilterMatched(cachedDevice)) { 71 addPreference(cachedDevice); 73 removePreference(cachedDevice); 76 removePreference(cachedDevice); 81 public boolean isFilterMatched(CachedBluetoothDevice cachedDevice) { argument 96 if (isDeviceConnected(cachedDevice)) { 108 isFilterMatched = cachedDevice.isA2dpDevice(); 111 isFilterMatched = cachedDevice [all...] |
H A D | SavedBluetoothDeviceUpdater.java | 50 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, argument 53 removePreference(cachedDevice); 55 addPreference(cachedDevice); 60 public boolean isFilterMatched(CachedBluetoothDevice cachedDevice) { argument 61 final BluetoothDevice device = cachedDevice.getDevice();
|
H A D | BluetoothDeviceUpdater.java | 123 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument 124 update(cachedDevice); 128 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { argument 132 removePreference(cachedDevice); 136 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument 137 update(cachedDevice); 141 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) {} argument 152 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, argument 193 * Add the {@link Preference} that represents the {@code cachedDevice} 195 protected void addPreference(CachedBluetoothDevice cachedDevice) { argument 214 removePreference(CachedBluetoothDevice cachedDevice) argument 248 isDeviceConnected(CachedBluetoothDevice cachedDevice) argument [all...] |
H A D | DeviceListPreferenceFragment.java | 140 for (CachedBluetoothDevice cachedDevice : cachedDevices) { 141 onDeviceAdded(cachedDevice); 168 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument 169 if (mDevicePreferenceMap.get(cachedDevice) != null) { 176 if (mFilter.matches(cachedDevice.getDevice())) { 177 createDevicePreference(cachedDevice); 181 void createDevicePreference(CachedBluetoothDevice cachedDevice) { argument 188 String key = cachedDevice.getDevice().getAddress(); 192 preference = new BluetoothDevicePreference(getPrefContext(), cachedDevice, 203 mDevicePreferenceMap.put(cachedDevice, preferenc 220 onDeviceDeleted(CachedBluetoothDevice cachedDevice) argument 273 onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) argument [all...] |
H A D | BluetoothSummaryUpdater.java | 59 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { argument 68 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument 72 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { argument 76 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
|
H A D | BluetoothPairingDetail.java | 172 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument 178 if (mSelectedDevice != null && cachedDevice != null) { 179 BluetoothDevice device = cachedDevice.getDevice();
|
H A D | BluetoothPermissionRequest.java | 232 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); 233 if (cachedDevice == null) { 234 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(), 241 int phonebookPermission = cachedDevice.getPhonebookPermissionChoice(); 255 int messagePermission = cachedDevice.getMessagePermissionChoice(); 269 int simPermission = cachedDevice.getSimPermissionChoice();
|
H A D | DevicePickerFragment.java | 139 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, argument 141 BluetoothDevice device = cachedDevice.getDevice();
|
H A D | BluetoothPermissionActivity.java | 207 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); 208 if (cachedDevice == null) { 209 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(), 213 always = cachedDevice.checkAndIncreaseMessageRejectionCount();
|
H A D | BluetoothDevicePreference.java | 63 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice, argument 76 mCachedDevice = cachedDevice;
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothDeviceListAdapter.java | 259 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument 260 if (addDevice(cachedDevice)) { 269 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { argument 271 if (mBondedDevices.remove(cachedDevice)) { 272 mBondedDevicesSorted.remove(cachedDevice); 274 mAvailableDevices.remove(cachedDevice); 314 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument 315 onDeviceDeleted(cachedDevice); 316 onDeviceAdded(cachedDevice); 324 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, in argument 358 addDevice(CachedBluetoothDevice cachedDevice) argument [all...] |
H A D | BluetoothSettingsFragment.java | 204 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument 209 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument 214 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { argument 219 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { argument
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
H A D | AvailableMediaDeviceGroupController.java | 132 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument 137 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { argument 142 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument 147 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { argument
|
/packages/apps/Settings/src/com/android/settings/sound/ |
H A D | AudioSwitchPreferenceController.java | 196 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { argument 210 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, argument 231 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument 236 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { argument 240 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
H A D | DeviceListPreferenceFragmentTest.java | 184 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {} argument
|