Searched defs:cachedDevice (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothCallback.java26 void onDeviceAdded(CachedBluetoothDevice cachedDevice); argument
27 void onDeviceDeleted(CachedBluetoothDevice cachedDevice); argument
28 void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState); argument
H A DCachedBluetoothDeviceManager.java46 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) { argument
47 cachedDevice.setVisible(false);
48 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE;
52 CachedBluetoothDevice cachedDevice = findDevice(device);
53 if (cachedDevice != null) {
54 cachedDevice.refreshName();
69 for (CachedBluetoothDevice cachedDevice : mCachedDevices) {
70 if (cachedDevice.getDevice().equals(device)) {
71 return cachedDevice;
99 CachedBluetoothDevice cachedDevice
[all...]
H A DDevicePickerFragment.java81 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, argument
84 BluetoothDevice device = cachedDevice.getDevice();
H A DBluetoothDevicePreference.java57 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) { argument
66 mCachedDevice = cachedDevice;
68 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {
213 final CachedBluetoothDevice cachedDevice = mCachedDevice;
219 for (LocalBluetoothProfile profile : cachedDevice.getProfiles()) {
220 int connectionStatus = cachedDevice.getProfileConnectionState(profile);
232 if (profile.isProfileReady() && profile.isPreferred(cachedDevice.getDevice())) {
255 switch (cachedDevice.getBondState()) {
H A DBluetoothEventManager.java197 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
198 if (cachedDevice == null) {
199 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device);
201 + cachedDevice);
203 dispatchDeviceAdded(cachedDevice);
205 cachedDevice.setRssi(rssi);
206 cachedDevice.setBtClass(btClass);
207 cachedDevice.setName(name);
208 cachedDevice.setVisible(true);
212 private void dispatchDeviceAdded(CachedBluetoothDevice cachedDevice) { argument
[all...]
H A DBluetoothSettings.java339 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
369 CachedBluetoothDevice cachedDevice = preference.getCachedDevice();
370 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {
H A DDeviceListPreferenceFragment.java123 for (CachedBluetoothDevice cachedDevice : cachedDevices) {
124 onDeviceAdded(cachedDevice);
151 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { argument
152 if (mDevicePreferenceMap.get(cachedDevice) != null) {
159 if (mFilter.matches(cachedDevice.getDevice())) {
160 createDevicePreference(cachedDevice);
164 void createDevicePreference(CachedBluetoothDevice cachedDevice) { argument
166 getActivity(), cachedDevice);
170 mDevicePreferenceMap.put(cachedDevice, preference);
181 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { argument
[all...]

Completed in 65 milliseconds