Home
last modified time | relevance | path

Searched refs:mEventManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothManager.java54 private final BluetoothEventManager mEventManager; field in LocalBluetoothManager
114 mEventManager = in LocalBluetoothManager()
124 mContext, mLocalAdapter, mCachedDeviceManager, mEventManager); in LocalBluetoothManager()
127 mEventManager.readPairedDevices(); in LocalBluetoothManager()
165 return mEventManager; in getEventManager()
DLocalBluetoothProfileManager.java93 private final BluetoothEventManager mEventManager; field in LocalBluetoothProfileManager
129 mEventManager = eventManager; in LocalBluetoothProfileManager()
284 mEventManager.registerProfileIntentReceiver(); in updateLocalProfiles()
291 mEventManager.addProfileHandler(stateChangedAction, handler); in addHeadsetProfile()
292 mEventManager.addProfileHandler(audioStateChangedAction, handler); in addHeadsetProfile()
301 mEventManager.addProfileHandler(stateChangedAction, new StateChangedHandler(profile)); in addProfile()
307 mEventManager.addProfileHandler(stateChangedAction, in addPanProfile()
319 mEventManager.readPairedDevices(); in setBluetoothStateOn()
419 mEventManager.dispatchProfileConnectionStateChanged(cachedDevice, newState, in onReceiveInternal()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java67 private BluetoothEventManager mEventManager; field in LocalBluetoothProfileManagerTest
84 mEventManager = in setUp()
98 mContext, mLocalBluetoothAdapter, mDeviceManager, mEventManager); in setUp()
117 mDeviceManager, mEventManager)); in constructor_doNotUpdateProfiles()
177 verify(mEventManager).dispatchProfileConnectionStateChanged( in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
198 verify(mEventManager).dispatchProfileConnectionStateChanged(mCachedBluetoothDevice, in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
264 verify(mEventManager).dispatchProfileConnectionStateChanged( in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback()