Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothManager.java54 private final BluetoothEventManager mEventManager; field in LocalBluetoothManager
114 mEventManager = new BluetoothEventManager(mLocalAdapter, mCachedDeviceManager, mContext, in LocalBluetoothManager()
117 mLocalAdapter, mCachedDeviceManager, mEventManager); in LocalBluetoothManager()
120 mEventManager.readPairedDevices(); in LocalBluetoothManager()
158 return mEventManager; in getEventManager()
DLocalBluetoothProfileManager.java87 private final BluetoothEventManager mEventManager; field in LocalBluetoothProfileManager
117 mEventManager = eventManager; in LocalBluetoothProfileManager()
222 mEventManager.registerProfileIntentReceiver(); in updateLocalProfiles()
229 mEventManager.addProfileHandler(stateChangedAction, handler); in addHeadsetProfile()
230 mEventManager.addProfileHandler(audioStateChangedAction, handler); in addHeadsetProfile()
239 mEventManager.addProfileHandler(stateChangedAction, new StateChangedHandler(profile)); in addProfile()
245 mEventManager.addProfileHandler(stateChangedAction, in addPanProfile()
257 mEventManager.readPairedDevices(); in setBluetoothStateOn()
304 mEventManager.dispatchProfileConnectionStateChanged(cachedDevice, newState, in onReceiveInternal()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java63 private BluetoothEventManager mEventManager; field in LocalBluetoothProfileManagerTest
80 mEventManager = spy(new BluetoothEventManager(mLocalBluetoothAdapter, mDeviceManager, in setUp()
86 mDeviceManager, mEventManager); in setUp()
105 mDeviceManager, mEventManager)); in constructor_doNotUpdateProfiles()
165 verify(mEventManager).dispatchProfileConnectionStateChanged( in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
186 verify(mEventManager).dispatchProfileConnectionStateChanged(mCachedBluetoothDevice, in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
229 verify(mEventManager).dispatchProfileConnectionStateChanged( in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaManagerTest.java68 private BluetoothEventManager mEventManager; field in BluetoothMediaManagerTest
84 when(mLocalBluetoothManager.getEventManager()).thenReturn(mEventManager); in setUp()