HomeSort by relevance Sort by last modified time
    Searched refs:cachedDevice (Results 1 - 11 of 11) sorted by null

  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothCallback.java 26 void onDeviceAdded(CachedBluetoothDevice cachedDevice);
27 void onDeviceDeleted(CachedBluetoothDevice cachedDevice);
28 void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState);
CachedBluetoothDeviceManager.java 47 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) {
48 cachedDevice.setVisible(false);
49 return cachedDevice.getBondState() == BluetoothDevice.BOND_NONE;
53 CachedBluetoothDevice cachedDevice = findDevice(device);
54 if (cachedDevice != null) {
55 cachedDevice.refreshName();
70 for (CachedBluetoothDevice cachedDevice : mCachedDevices) {
71 if (cachedDevice.getDevice().equals(device)) {
72 return cachedDevice;
100 CachedBluetoothDevice cachedDevice = findDevice(device)
    [all...]
BluetoothEventManager.java 199 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
200 if (cachedDevice == null) {
201 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device);
203 + cachedDevice);
205 dispatchDeviceAdded(cachedDevice);
207 cachedDevice.setRssi(rssi);
208 cachedDevice.setBtClass(btClass);
209 cachedDevice.setName(name);
210 cachedDevice.setVisible(true);
214 private void dispatchDeviceAdded(CachedBluetoothDevice cachedDevice) {
    [all...]
DeviceListPreferenceFragment.java 126 for (CachedBluetoothDevice cachedDevice : cachedDevices) {
127 onDeviceAdded(cachedDevice);
154 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) {
155 if (mDevicePreferenceMap.get(cachedDevice) != null) {
162 if (mFilter.matches(cachedDevice.getDevice())) {
163 createDevicePreference(cachedDevice);
167 void createDevicePreference(CachedBluetoothDevice cachedDevice) {
169 getActivity(), cachedDevice);
173 mDevicePreferenceMap.put(cachedDevice, preference);
184 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) {
    [all...]
BluetoothDevicePreference.java 57 public BluetoothDevicePreference(Context context, CachedBluetoothDevice cachedDevice) {
66 mCachedDevice = cachedDevice;
68 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {
216 final CachedBluetoothDevice cachedDevice = mCachedDevice;
222 for (LocalBluetoothProfile profile : cachedDevice.getProfiles()) {
223 int connectionStatus = cachedDevice.getProfileConnectionState(profile);
235 if (profile.isProfileReady() && profile.isPreferred(cachedDevice.getDevice())) {
258 switch (cachedDevice.getBondState()) {
BluetoothPermissionActivity.java 253 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice);
254 if (cachedDevice != null ) {
255 cachedDevice.setPhonebookPermissionChoice(permissionChoice);
257 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(),
260 cachedDevice.setPhonebookPermissionChoice(permissionChoice);
DevicePickerFragment.java 87 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,
90 BluetoothDevice device = cachedDevice.getDevice();
BluetoothPermissionRequest.java 139 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice);
141 if (cachedDevice == null) {
142 cachedDevice = cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(),
146 int phonebookPermission = cachedDevice.getPhonebookPermissionChoice();
LocalBluetoothProfileManager.java 219 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device);
220 if (cachedDevice == null) {
222 cachedDevice = mDeviceManager.addDevice(mLocalAdapter,
232 cachedDevice.onProfileStateChanged(mProfile, newState);
233 cachedDevice.refresh();
DockService.java 784 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(
786 cachedDevice.connectProfile(profile);
796 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(
798 List<LocalBluetoothProfile> profiles = cachedDevice.getConnectableProfiles();
801 cachedDevice.connect(false);
    [all...]
BluetoothSettings.java 359 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {
391 CachedBluetoothDevice cachedDevice = preference.getCachedDevice();
392 if (cachedDevice.getBondState() == BluetoothDevice.BOND_BONDED) {

Completed in 424 milliseconds