Home
last modified time | relevance | path

Searched refs:bluetoothManager (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/media/
DDeviceRouteController.java57 BluetoothManager bluetoothManager = context.getSystemService(BluetoothManager.class); in createInstance() local
59 bluetoothManager != null ? bluetoothManager.getAdapter() : null; in createInstance()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/deviceidle/
DBluetoothConstraint.java113 static boolean isBluetoothConnected(BluetoothManager bluetoothManager) { in isBluetoothConnected() argument
114 BluetoothAdapter adapter = bluetoothManager.getAdapter(); in isBluetoothConnected()
116 return bluetoothManager.getConnectedDevices(BluetoothProfile.GATT).size() > 0; in isBluetoothConnected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java192 LocalBluetoothManager bluetoothManager = mBluetoothManagerProvider.get(); in init() local
193 if (bluetoothManager == null) { in init()
200 mCachedDeviceManager = bluetoothManager.getCachedDeviceManager(); in init()
201 mLocalBluetoothAdapter = bluetoothManager.getBluetoothAdapter(); in init()
202 mProfileManager = bluetoothManager.getProfileManager(); in init()
203 bluetoothManager.getEventManager().registerCallback(new BluetoothCallbackHandler()); in init()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHapClientProfile.java119 BluetoothManager bluetoothManager = context.getSystemService(BluetoothManager.class); in HapClientProfile() local
120 if (bluetoothManager != null) { in HapClientProfile()
121 mBluetoothAdapter = bluetoothManager.getAdapter(); in HapClientProfile()
DLocalBluetoothManager.java174 LocalBluetoothManager bluetoothManager); in onBluetoothManagerInitialized() argument
DCachedBluetoothDevice.java2011 void setLocalBluetoothManager(LocalBluetoothManager bluetoothManager) { in setLocalBluetoothManager() argument
2012 mBluetoothManager = bluetoothManager; in setLocalBluetoothManager()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DVolumeControlProfileTest.java73 final BluetoothManager bluetoothManager = mContext.getSystemService(BluetoothManager.class); in setUp() local
75 Shadow.extract(bluetoothManager.getAdapter()); in setUp()
DHapClientProfileTest.java83 final BluetoothManager bluetoothManager = mContext.getSystemService(BluetoothManager.class); in setUp() local
85 Shadow.extract(bluetoothManager.getAdapter()); in setUp()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityServiceConnection.java708 final BluetoothManager bluetoothManager = in connectBluetoothBrailleDisplay() local
710 final String bluetoothDeviceName = bluetoothManager == null ? null : in connectBluetoothBrailleDisplay()
711 bluetoothManager.getAdapter().getBondedDevices().stream() in connectBluetoothBrailleDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DFrameworkServicesModule.java731 static BluetoothAdapter provideBluetoothAdapter(BluetoothManager bluetoothManager) { in provideBluetoothAdapter() argument
732 return bluetoothManager.getAdapter(); in provideBluetoothAdapter()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java326 BluetoothStatsRetrieverImpl(BluetoothManager bluetoothManager) { in BluetoothStatsRetrieverImpl() argument
327 mBluetoothManager = bluetoothManager; in BluetoothStatsRetrieverImpl()