Home
last modified time | relevance | path

Searched refs:mBtDeviceServiceBinder (Results 1 – 5 of 5) sorted by relevance

/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DRemoteDfuActivity.java56 if (mBtDeviceServiceBinder != null) {
57 mBtDeviceServiceBinder.removeListener(RemoteDfuActivity.this);
60 mBtDeviceServiceBinder = null;
65 mBtDeviceServiceBinder = (BluetoothDeviceService.LocalBinder) service;
67 mBtDeviceServiceBinder.addListener(RemoteDfuActivity.this);
75 private BluetoothDeviceService.LocalBinder mBtDeviceServiceBinder; field in RemoteDfuActivity
165 if (mBtDeviceServiceBinder == null) { in attemptDfu()
176 if (!mBtDeviceServiceBinder.hasUpgrade(mDevice)) { in attemptDfu()
181 if (mBtDeviceServiceBinder.isBatteryLow(mDevice)) { in attemptDfu()
185 mBtDeviceServiceBinder.startDfu(mDevice); in attemptDfu()
[all …]
DConnectedDevicesSettingsActivity.java52 private BluetoothDeviceService.LocalBinder mBtDeviceServiceBinder; field in ConnectedDevicesSettingsActivity
71 mBtDeviceServiceBinder = (BluetoothDeviceService.LocalBinder) service;
73 mBtDeviceServiceBinder.addListener(ConnectedDevicesSettingsActivity.this);
80 if (mBtDeviceServiceBinder != null) {
81 mBtDeviceServiceBinder.removeListener(ConnectedDevicesSettingsActivity.this);
118 if (mBtDeviceServiceBinder != null) { in getBluetoothDevices()
119 return mBtDeviceServiceBinder.getDevices(); in getBluetoothDevices()
127 return mBtDeviceServiceBinder; in getBluetoothDeviceProvider()
176 mBtDeviceServiceBinder.removeListener(this); in onDestroy()
DResponseActivity.java47 private BluetoothDeviceService.LocalBinder mBtDeviceServiceBinder; field in ResponseActivity
53 if (mBtDeviceServiceBinder != null) {
54 mBtDeviceServiceBinder.removeListener(ResponseActivity.this);
57 mBtDeviceServiceBinder = null;
62 mBtDeviceServiceBinder = (BluetoothDeviceService.LocalBinder) service;
64 mBtDeviceServiceBinder.addListener(ResponseActivity.this);
83 mBtDeviceServiceBinder.removeListener(this); in onDestroy()
153 return mBtDeviceServiceBinder; in getBluetoothDeviceProvider()
DRemoteDfuConfirmationActivity.java48 private BluetoothDeviceService.LocalBinder mBtDeviceServiceBinder; field in RemoteDfuConfirmationActivity
55 mBtDeviceServiceBinder = null;
60 mBtDeviceServiceBinder = (BluetoothDeviceService.LocalBinder) service;
107 if (mBtDeviceServiceBinder != null) { in onChoice()
108 mBtDeviceServiceBinder.dismissDfuNotification(address); in onChoice()
DConnectedDevicesSliceProvider.java112 private BluetoothDeviceService.LocalBinder mBtDeviceServiceBinder; field in ConnectedDevicesSliceProvider
125 if (mBtDeviceServiceBinder != null) {
126 mBtDeviceServiceBinder.removeListener(ConnectedDevicesSliceProvider.this);
128 mBtDeviceServiceBinder = null;
133 mBtDeviceServiceBinder = (BluetoothDeviceService.LocalBinder) service;
134 mBtDeviceServiceBinder.addListener(ConnectedDevicesSliceProvider.this);
166 if (mBtDeviceServiceBinder != null) { in getBluetoothDevices()
167 return mBtDeviceServiceBinder.getDevices(); in getBluetoothDevices()
174 return mBtDeviceServiceBinder; in getBluetoothDeviceProvider()