Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothUtilsTest.java66 final Pair<Drawable, String> pair = BluetoothUtils.getBtClassDrawableWithDescription( in getBtClassDrawableWithDescription_typePhone_returnPhoneDrawable()
76 final Pair<Drawable, String> pair = BluetoothUtils.getBtClassDrawableWithDescription( in getBtClassDrawableWithDescription_typeComputer_returnComputerDrawable()
89 assertThat(BluetoothUtils.getBtRainbowDrawableWithDescription( in getBtRainbowDrawableWithDescription_normalHeadset_returnAdaptiveIcon()
100 assertThat(BluetoothUtils.getStringMetaData(mBluetoothDevice, in getStringMetaData_hasMetaData_getCorrectMetaData()
110 assertThat(BluetoothUtils.getIntMetaData(mBluetoothDevice, in getIntMetaData_hasMetaData_getCorrectMetaData()
120 assertThat(BluetoothUtils.getIntMetaData(mBluetoothDevice, in getIntMetaData_invalidMetaData_getErrorCode()
122 .isEqualTo(BluetoothUtils.META_INT_ERROR); in getIntMetaData_invalidMetaData_getErrorCode()
131 assertThat(BluetoothUtils.getBooleanMetaData(mBluetoothDevice, in getBooleanMetaData_hasMetaData_getCorrectMetaData()
141 assertThat(BluetoothUtils.getUriMetaData(mBluetoothDevice, in getUriMetaData_hasMetaData_getCorrectMetaData()
150 assertThat(BluetoothUtils.getUriMetaData(mBluetoothDevice, in getUriMetaData_nullMetaData_getNullUri()
[all …]
DBluetoothEventManagerTest.java79 private BluetoothUtils.ErrorListener mErrorListener;
101 BluetoothUtils.setErrorListener(mErrorListener); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DBluetoothMediaDevice.java27 import com.android.settingslib.bluetooth.BluetoothUtils;
61 BluetoothUtils.getBtDrawableWithDescription(mContext, mCachedDevice).first; in getIcon()
65 return BluetoothUtils.buildAdvancedDrawable(mContext, drawable); in getIcon()
70 return BluetoothUtils.getBtClassDrawableWithDescription(mContext, mCachedDevice).first; in getIconWithoutBackground()
102 && BluetoothUtils.getBooleanMetaData( in isFastPairDevice()
DInfoMediaDevice.java32 import com.android.settingslib.bluetooth.BluetoothUtils;
64 return BluetoothUtils.buildAdvancedDrawable(mContext, drawable); in getIcon()
DPhoneMediaDevice.java35 import com.android.settingslib.bluetooth.BluetoothUtils;
90 return BluetoothUtils.buildAdvancedDrawable(mContext, drawable); in getIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java176 if (BluetoothUtils.D) { in onProfileStateChanged()
182 if (BluetoothUtils.D) { in onProfileStateChanged()
281 if (BluetoothUtils.D) { in disconnect()
365 if (BluetoothUtils.D) { in connectInt()
408 if (BluetoothUtils.D) { in unpair()
411 } else if (BluetoothUtils.V) { in unpair()
502 if (BluetoothUtils.D) { in refreshName()
528 if (BluetoothUtils.isAdvancedDetailsHeader(mDevice)) { in refresh()
529 Uri uri = BluetoothUtils.getUriMetaData(getDevice(), in refresh()
533 (BitmapDrawable) BluetoothUtils.getBtDrawableWithDescription( in refresh()
[all …]
DBluetoothUtils.java33 public class BluetoothUtils { class
145 final Pair<Drawable, String> pair = BluetoothUtils.getBtDrawableWithDescription(context, in getBtRainbowDrawableWithDescription()
182 final Pair<Drawable, String> pair = BluetoothUtils.getBtClassDrawableWithDescription( in getBtDrawableWithDescription()
DHidDeviceProfile.java159 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DPanProfile.java158 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DLocalBluetoothAdapter.java238 if (BluetoothUtils.V) { in setBluetoothEnabled()
DMapClientProfile.java187 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DHidProfile.java167 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DSapProfile.java186 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DHfpClientProfile.java194 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DMapProfile.java188 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DA2dpSinkProfile.java194 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DHearingAidDeviceManager.java34 private static final boolean DEBUG = BluetoothUtils.D;
DHeadsetProfile.java220 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DHearingAidProfile.java244 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DCachedBluetoothDeviceManager.java35 private static final boolean DEBUG = BluetoothUtils.D;
DA2dpProfile.java346 return BluetoothUtils.getConnectionStateSummary(state); in getSummaryResourceForDevice()
DBluetoothEventManager.java396 BluetoothUtils.showError(context, name, errorMsg); in showUnbondMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java46 import com.android.settingslib.bluetooth.BluetoothUtils;
191 BluetoothUtils.setErrorListener(new BluetoothErrorListener()); in init()
608 private final class BluetoothErrorListener implements BluetoothUtils.ErrorListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseAdapter.java43 import com.android.settingslib.bluetooth.BluetoothUtils;
341 return BluetoothUtils.buildAdvancedDrawable(mContext, drawable); in getSpeakerDrawable()
DMediaOutputController.java43 import com.android.settingslib.bluetooth.BluetoothUtils;
228 return BluetoothUtils.createIconWithDrawable(drawable); in getDeviceIconCompat()

12