Home
last modified time | relevance | path

Searched refs:getMajorDeviceClass (Results 1 – 15 of 15) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothDetailsControllerTestBase.java124 int getMajorDeviceClass() { in getMajorDeviceClass() method in BluetoothDetailsControllerTestBase.DeviceConfig
151 when(mBluetoothDeviceClass.getMajorDeviceClass()).thenReturn(config.getMajorDeviceClass()); in setupDevice()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothClass.java270 public int getMajorDeviceClass() { in getMajorDeviceClass() method in BluetoothClass
429 return getMajorDeviceClass() == Device.Major.PERIPHERAL; in doesClassMatch()
435 return getMajorDeviceClass() == Device.Major.NETWORKING; in doesClassMatch()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DBluetoothUtilsTest.java64 when(mCachedBluetoothDevice.getBtClass().getMajorDeviceClass()).thenReturn( in getBtClassDrawableWithDescription_typePhone_returnPhoneDrawable()
74 when(mCachedBluetoothDevice.getBtClass().getMajorDeviceClass()).thenReturn( in getBtClassDrawableWithDescription_typeComputer_returnComputerDrawable()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
H A DBluetoothDeviceCriteria.java57 if (!isMatchingMajorDeviceClass(device.getBluetoothClass().getMajorDeviceClass())) { in isMatchingDevice()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DInputDeviceCriteria.java51 return isMatchingMajorDeviceClass(bluetoothClass.getMajorDeviceClass()) && in isInputDevice()
H A DAccessoryUtils.java123 int major = device.getBluetoothClass().getMajorDeviceClass(); in isRemoteClass()
H A DBluetoothDevicePairer.java669 int majorDeviceClass = mTarget.getBluetoothClass().getMajorDeviceClass(); in getBluetoothConnector()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothUnbondedDevicesPreferenceController.java99 device.getBluetoothClass().getMajorDeviceClass()); in matches()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
H A DBluetoothUnbondedDevicesPreferenceControllerTest.java107 when(mBluetoothClass.getMajorDeviceClass()).thenReturn(Major.PHONE); in setUp()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothUtils.java77 switch (btClass.getMajorDeviceClass()) { in getBtClassDrawableWithDescription()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/
H A DPairedBluetoothDevices.java225 switch (btClass.getMajorDeviceClass()) { in getIconRes()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
H A DPairedBluetoothDevicesTest.java290 when(btClass.getMajorDeviceClass()).thenReturn(BluetoothClass.Device.Major.PHONE); in addBluetoothDevice()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt8942 method public int getMajorDeviceClass();
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt6103 method public int getMajorDeviceClass();