Home
last modified time | relevance | path

Searched refs:BluetoothUtils (Results 1 – 14 of 14) sorted by relevance

/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DConnectedDevicesSliceProvider.java83 import com.google.android.tv.btservices.BluetoothUtils;
189 new Intent(context, BluetoothUtils.getBluetoothDeviceServiceClass(context)), in onSlicePinned()
326 BluetoothUtils.getCachedBluetoothDevice(getContext(), device); in updateConnectedDevicesSlice()
327 if (BluetoothUtils.isConnected(device)) { in updateConnectedDevicesSlice()
330 if (BluetoothUtils.isOfficialRemote(getContext(), device)) { in updateConnectedDevicesSlice()
336 if (BluetoothUtils.isOfficialRemote(getContext(), device)) { in updateConnectedDevicesSlice()
342 } else if (BluetoothUtils.isBonded(device)) { in updateConnectedDevicesSlice()
344 if (BluetoothUtils.isOfficialRemote(getContext(), device)) { in updateConnectedDevicesSlice()
449 BluetoothUtils.getCachedBluetoothDevice(getContext(), device); in createBluetoothDeviceSlice()
453 deviceName = BluetoothUtils.getName(device); in createBluetoothDeviceSlice()
[all …]
DBluetoothDevicePreferenceFragment.java39 import com.google.android.tv.btservices.BluetoothUtils;
107 mPrefGroup.setTitle(BluetoothUtils.getName(mDevice)); in update()
120 BluetoothUtils.isRemoteClass(mDevice); in updateRemoteUpdate()
121 if (!BluetoothUtils.isRemote(preferenceContext, mDevice)) { in updateRemoteUpdate()
165 if (mDevice == null || BluetoothUtils.isRemote(preferenceContext, mDevice)) { in updateReconnect()
169 if (getPairingServiceBinder() != null && BluetoothUtils.isBonded(mDevice)) { in updateReconnect()
359 deviceName = BluetoothUtils.getName(mDevice); in onCreatePreferences()
DConnectedDevicesPreferenceFragment.java42 import com.google.android.tv.btservices.BluetoothUtils;
176 pref.setTitle(BluetoothUtils.getName(device)); in updateBtDevicePreference()
191 pref.setIcon(BluetoothUtils.getIcon(context, device)); in updateBtDevicePreference()
268 if (!BluetoothUtils.isConnected(device)) { in updateBtDevices()
278 if (!BluetoothUtils.isConnected(device)) { in updateBtDevices()
301 int updatedDevices = updateBtDevices(context, category, BluetoothUtils::isBonded, in updatePairedDevices()
318 int updatedDevices = updateBtDevices(context, category, BluetoothUtils::isConnected, in updateConnectedDevices()
DRemoteDfuConfirmationActivity.java31 import com.google.android.tv.btservices.BluetoothUtils;
92 bindService(new Intent(this, BluetoothUtils.getBluetoothDeviceServiceClass(this)), in onCreate()
DConnectedDevicesSettingsActivity.java33 import com.google.android.tv.btservices.BluetoothUtils;
165 bindService(new Intent(this, BluetoothUtils.getBluetoothDeviceServiceClass(this)), in onCreate()
DSliceBroadcastReceiver.java42 import com.google.android.tv.btservices.BluetoothUtils;
88 BluetoothUtils.setActiveAudioOutput(enable ? device : null); in onReceive()
DResponseActivity.java38 import com.google.android.tv.btservices.BluetoothUtils;
72 bindService(new Intent(this, BluetoothUtils.getBluetoothDeviceServiceClass(this)), in onCreate()
DRemoteDfuActivity.java35 import com.google.android.tv.btservices.BluetoothUtils;
215 bindService(new Intent(this, BluetoothUtils.getBluetoothDeviceServiceClass(this)), in onCreate()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/
DBluetoothDeviceService.java147 boolean res = BluetoothUtils.isRemote(this, device); in isRemote()
355 BluetoothUtils.getCachedBluetoothDevice(this, device); in connectDevice()
365 BluetoothUtils.getCachedBluetoothDevice(this, device); in disconnectDevice()
417 if (!BluetoothUtils.isConnected(device)) { in isRemoteLowBattery()
435 if (!BluetoothUtils.isConnected(device)) { in isRemoteCriticalBattery()
453 if (!BluetoothUtils.isConnected(device)) { in hasRemoteUpgrade()
469 final String name = BluetoothUtils.getOriginalName(device); in hasRemoteUpgrade()
484 if (!BluetoothUtils.isConnected(device)) { in getRemoteDfuState()
544 final String name = BluetoothUtils.getOriginalName(device); in startRemoteDfu()
667 if (!BluetoothUtils.isConnected(device)) { in getBatteryLevel()
DBluetoothUtils.java37 public class BluetoothUtils { class
DNotificationCenter.java187 final String name = BluetoothUtils.getName(device); in sendDfuNotificationImpl()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/
DBluetoothScannerActivity.java31 import com.google.android.tv.btservices.BluetoothUtils;
125 return device != null && (BluetoothUtils.isRemoteClass(device) in isMatchingDevice()
126 || BluetoothUtils.isBluetoothHeadset(device)); in isMatchingDevice()
DBluetoothPairingService.java33 import com.google.android.tv.btservices.BluetoothUtils;
163 if (BluetoothUtils.isBluetoothHeadset(device)) { in getPairingProfile()
165 } else if (BluetoothUtils.isRemoteClass(device)) { in getPairingProfile()
DBluetoothScannerFragment.java49 import com.google.android.tv.btservices.BluetoothUtils;
249 pref.setIcon(BluetoothUtils.getIcon(getContext(), device)); in addUpdateDevice()
265 pref.setIcon(BluetoothUtils.getIcon(getContext(), device)); in createBluetoothDevicePreference()