Searched refs:BluetoothUtils (Results 1 – 14 of 14) sorted by relevance
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/ |
D | ConnectedDevicesSliceProvider.java | 83 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 …]
|
D | BluetoothDevicePreferenceFragment.java | 39 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()
|
D | ConnectedDevicesPreferenceFragment.java | 42 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()
|
D | RemoteDfuConfirmationActivity.java | 31 import com.google.android.tv.btservices.BluetoothUtils; 92 bindService(new Intent(this, BluetoothUtils.getBluetoothDeviceServiceClass(this)), in onCreate()
|
D | ConnectedDevicesSettingsActivity.java | 33 import com.google.android.tv.btservices.BluetoothUtils; 165 bindService(new Intent(this, BluetoothUtils.getBluetoothDeviceServiceClass(this)), in onCreate()
|
D | SliceBroadcastReceiver.java | 42 import com.google.android.tv.btservices.BluetoothUtils; 88 BluetoothUtils.setActiveAudioOutput(enable ? device : null); in onReceive()
|
D | ResponseActivity.java | 38 import com.google.android.tv.btservices.BluetoothUtils; 72 bindService(new Intent(this, BluetoothUtils.getBluetoothDeviceServiceClass(this)), in onCreate()
|
D | RemoteDfuActivity.java | 35 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/ |
D | BluetoothDeviceService.java | 147 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()
|
D | BluetoothUtils.java | 37 public class BluetoothUtils { class
|
D | NotificationCenter.java | 187 final String name = BluetoothUtils.getName(device); in sendDfuNotificationImpl()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/ |
D | BluetoothScannerActivity.java | 31 import com.google.android.tv.btservices.BluetoothUtils; 125 return device != null && (BluetoothUtils.isRemoteClass(device) in isMatchingDevice() 126 || BluetoothUtils.isBluetoothHeadset(device)); in isMatchingDevice()
|
D | BluetoothPairingService.java | 33 import com.google.android.tv.btservices.BluetoothUtils; 163 if (BluetoothUtils.isBluetoothHeadset(device)) { in getPairingProfile() 165 } else if (BluetoothUtils.isRemoteClass(device)) { in getPairingProfile()
|
D | BluetoothScannerFragment.java | 49 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()
|