Searched refs:Device (Results 1 – 8 of 8) sorted by relevance
49 mBluetoothClassHeadphones = createBtClass(BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES); in setUp()50 mBluetoothClassPhone = createBtClass(BluetoothClass.Device.Major.PHONE); in setUp()64 BluetoothClass.Device.Major.AUDIO_VIDEO); in testGetMajorDeviceClass()65 assertEquals(mBluetoothClassPhone.getMajorDeviceClass(), BluetoothClass.Device.Major.PHONE); in testGetMajorDeviceClass()72 BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES); in testGetDeviceClass()75 BluetoothClass.Device.PHONE_UNCATEGORIZED); in testGetDeviceClass()81 BluetoothClass.Device.AUDIO_VIDEO_HEADPHONES); in testGetClassOfDevice()82 assertEquals(mBluetoothClassPhone.getMajorDeviceClass(), BluetoothClass.Device.Major.PHONE); in testGetClassOfDevice()101 BluetoothClass.Device device = new BluetoothClass.Device(); in testInnerClasses()102 BluetoothClass.Device.Major major = new BluetoothClass.Device.Major(); in testInnerClasses()
60 private ArrayAdapter<Device> mNewDevicesAdapter;62 private ArrayAdapter<Device> mPairedDevicesAdapter;75 mPairedDevicesAdapter = new ArrayAdapter<Device>(this, R.layout.bt_device_name); in onCreate()83 mNewDevicesAdapter = new ArrayAdapter<Device>(this, R.layout.bt_device_name); in onCreate()140 mPairedDevicesAdapter.add(Device.fromBluetoothDevice(device)); in populatePairedDevices()157 Device device = (Device) parent.getItemAtPosition(position); in onItemClick()197 mNewDevicesAdapter.add(Device.fromBluetoothDevice(device)); in onReceive()203 static class Device { class in DevicePickerActivity209 Device(String name, String address) { in Device() method in DevicePickerActivity.Device219 static Device fromBluetoothDevice(BluetoothDevice device) { in fromBluetoothDevice()[all …]
36 public final class Device { class37 public static final Device sInstance = new Device();48 private Device() { in Device() method in Device62 synchronized (Device.class) { in keyGuardLock()
29 import com.android.bedstead.nene.device.Device97 fun device(): Device = Device.sInstance
21 # Device Config ownership
370 // Device permissions
89 For a list of devices and their DPI buckets, see Device Metrics:
337 public static class BluetoothClass.Device {338 ctor public BluetoothClass.Device();395 public static class BluetoothClass.Device.Major {396 ctor public BluetoothClass.Device.Major();