OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cachedDevice
(Results
1 - 12
of
12
) sorted by null
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
BluetoothCallback.java
27
void onDeviceAdded(CachedBluetoothDevice
cachedDevice
);
28
void onDeviceDeleted(CachedBluetoothDevice
cachedDevice
);
29
void onDeviceBondStateChanged(CachedBluetoothDevice
cachedDevice
, int bondState);
30
void onConnectionStateChanged(CachedBluetoothDevice
cachedDevice
, int state);
CachedBluetoothDeviceManager.java
49
public static boolean onDeviceDisappeared(CachedBluetoothDevice
cachedDevice
) {
50
cachedDevice
.setVisible(false);
51
return
cachedDevice
.getBondState() == BluetoothDevice.BOND_NONE;
55
CachedBluetoothDevice
cachedDevice
= findDevice(device);
56
if (
cachedDevice
!= null) {
57
cachedDevice
.refreshName();
72
for (CachedBluetoothDevice
cachedDevice
: mCachedDevices) {
73
if (
cachedDevice
.getDevice().equals(device)) {
74
return
cachedDevice
;
105
CachedBluetoothDevice
cachedDevice
= findDevice(device)
[
all
...]
BluetoothEventManager.java
194
CachedBluetoothDevice
cachedDevice
= mDeviceManager.findDevice(device);
195
if (
cachedDevice
== null) {
196
cachedDevice
= mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device);
198
+
cachedDevice
);
200
cachedDevice
.setRssi(rssi);
201
cachedDevice
.setBtClass(btClass);
202
cachedDevice
.setNewName(name);
203
cachedDevice
.setVisible(true);
210
CachedBluetoothDevice
cachedDevice
= mDeviceManager.findDevice(device);
213
dispatchConnectionStateChanged(
cachedDevice
, state)
[
all
...]
LocalBluetoothProfileManager.java
221
CachedBluetoothDevice
cachedDevice
= mDeviceManager.findDevice(device);
222
if (
cachedDevice
== null) {
224
cachedDevice
= mDeviceManager.addDevice(mLocalAdapter,
234
cachedDevice
.onProfileStateChanged(mProfile, newState);
235
cachedDevice
.refresh();
/packages/apps/Settings/src/com/android/settings/bluetooth/
DeviceListPreferenceFragment.java
133
for (CachedBluetoothDevice
cachedDevice
: cachedDevices) {
134
onDeviceAdded(
cachedDevice
);
161
public void onDeviceAdded(CachedBluetoothDevice
cachedDevice
) {
162
if (mDevicePreferenceMap.get(
cachedDevice
) != null) {
169
if (mFilter.matches(
cachedDevice
.getDevice())) {
170
createDevicePreference(
cachedDevice
);
174
void createDevicePreference(CachedBluetoothDevice
cachedDevice
) {
182
getActivity(),
cachedDevice
);
186
mDevicePreferenceMap.put(
cachedDevice
, preference);
197
public void onDeviceDeleted(CachedBluetoothDevice
cachedDevice
) {
[
all
...]
DockService.java
792
CachedBluetoothDevice
cachedDevice
= getCachedBluetoothDevice(
794
cachedDevice
.connectProfile(profile);
804
CachedBluetoothDevice
cachedDevice
= getCachedBluetoothDevice
[
all
...]
BluetoothPermissionRequest.java
225
CachedBluetoothDevice
cachedDevice
= cachedDeviceManager.findDevice(mDevice);
226
if (
cachedDevice
== null) {
227
cachedDevice
= cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(),
234
int phonebookPermission =
cachedDevice
.getPhonebookPermissionChoice();
248
int messagePermission =
cachedDevice
.getMessagePermissionChoice();
262
int simPermission =
cachedDevice
.getSimPermissionChoice();
DevicePickerFragment.java
126
public void onDeviceBondStateChanged(CachedBluetoothDevice
cachedDevice
,
129
BluetoothDevice device =
cachedDevice
.getDevice();
BluetoothPermissionActivity.java
214
CachedBluetoothDevice
cachedDevice
= cachedDeviceManager.findDevice(mDevice);
215
if (
cachedDevice
== null) {
216
cachedDevice
= cachedDeviceManager.addDevice(bluetoothManager.getBluetoothAdapter(),
220
always =
cachedDevice
.checkAndIncreaseMessageRejectionCount();
BluetoothDevicePreference.java
61
public BluetoothDevicePreference(Context context, CachedBluetoothDevice
cachedDevice
) {
70
mCachedDevice =
cachedDevice
;
74
if (
cachedDevice
.getBondState() == BluetoothDevice.BOND_BONDED) {
BluetoothSettings.java
436
public void onDeviceBondStateChanged(CachedBluetoothDevice
cachedDevice
, int bondState) {
468
CachedBluetoothDevice
cachedDevice
= preference.getCachedDevice();
469
if (
cachedDevice
.getBondState() == BluetoothDevice.BOND_BONDED) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
BluetoothControllerImpl.java
193
public void onDeviceAdded(CachedBluetoothDevice
cachedDevice
) {
194
cachedDevice
.registerCallback(this);
200
public void onDeviceDeleted(CachedBluetoothDevice
cachedDevice
) {
206
public void onDeviceBondStateChanged(CachedBluetoothDevice
cachedDevice
, int bondState) {
218
public void onConnectionStateChanged(CachedBluetoothDevice
cachedDevice
, int state) {
219
mLastDevice =
cachedDevice
;
Completed in 317 milliseconds