Searched refs:bluetoothManager (Results 1 – 8 of 8) sorted by relevance
113 static boolean isBluetoothConnected(BluetoothManager bluetoothManager) { in isBluetoothConnected() argument114 BluetoothAdapter adapter = bluetoothManager.getAdapter(); in isBluetoothConnected()116 return bluetoothManager.getConnectedDevices(BluetoothProfile.GATT).size() > 0; in isBluetoothConnected()
48 BluetoothManager bluetoothManager = (BluetoothManager) in createInstance() local50 BluetoothAdapter btAdapter = bluetoothManager.getAdapter(); in createInstance()
110 BluetoothManager bluetoothManager = context.getSystemService(BluetoothManager.class); in HapClientProfile() local111 if (bluetoothManager != null) { in HapClientProfile()112 mBluetoothAdapter = bluetoothManager.getAdapter(); in HapClientProfile()
167 LocalBluetoothManager bluetoothManager); in onBluetoothManagerInitialized() argument
186 LocalBluetoothManager bluetoothManager = mBluetoothManagerProvider.get(); in init() local187 if (bluetoothManager == null) { in init()194 mCachedDeviceManager = bluetoothManager.getCachedDeviceManager(); in init()195 mLocalBluetoothAdapter = bluetoothManager.getBluetoothAdapter(); in init()196 mProfileManager = bluetoothManager.getProfileManager(); in init()197 bluetoothManager.getEventManager().registerCallback(new BluetoothCallbackHandler()); in init()
74 final BluetoothManager bluetoothManager = mContext.getSystemService(BluetoothManager.class); in setUp() local76 Shadow.extract(bluetoothManager.getAdapter()); in setUp()
81 BluetoothManager bluetoothManager = (BluetoothManager) in setUp() local84 BluetoothAdapter bluetoothAdapter = bluetoothManager.getAdapter(); in setUp()
675 static BluetoothAdapter provideBluetoothAdapter(BluetoothManager bluetoothManager) { in provideBluetoothAdapter() argument676 return bluetoothManager.getAdapter(); in provideBluetoothAdapter()