Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java58 private BluetoothEventManager mEventManager; field in LocalBluetoothProfileManagerTest
74 mEventManager = spy(new BluetoothEventManager(mAdapter, in setUp()
86 new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, mEventManager); in constructor_initiateHidAndHidDeviceProfile()
98 new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, mEventManager); in updateLocalProfiles_addA2dpToLocalProfiles()
116 new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, mEventManager); in updateProfiles_addHidProfileForRemoteDevice()
138 mEventManager); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
141 mEventManager.setReceiverHandler(null); in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
149 verify(mEventManager).dispatchProfileConnectionStateChanged( in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback()
161 mEventManager); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
164 mEventManager.setReceiverHandler(null); in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothManager.java47 private final BluetoothEventManager mEventManager; field in LocalBluetoothManager
72 mEventManager = new BluetoothEventManager(mLocalAdapter, in LocalBluetoothManager()
75 mLocalAdapter, mCachedDeviceManager, mEventManager); in LocalBluetoothManager()
76 mEventManager.readPairedDevices(); in LocalBluetoothManager()
112 return mEventManager; in getEventManager()
DLocalBluetoothProfileManager.java84 private final BluetoothEventManager mEventManager; field in LocalBluetoothProfileManager
116 mEventManager = eventManager; in LocalBluetoothProfileManager()
122 mEventManager.setProfileManager(this); in LocalBluetoothProfileManager()
292 mEventManager.registerProfileIntentReceiver(); in updateLocalProfiles()
301 mEventManager.addProfileHandler(stateChangedAction, handler); in addHeadsetProfile()
302 mEventManager.addProfileHandler(audioStateChangedAction, handler); in addHeadsetProfile()
311 mEventManager.addProfileHandler(stateChangedAction, new StateChangedHandler(profile)); in addProfile()
317 mEventManager.addProfileHandler(stateChangedAction, in addPanProfile()
332 mEventManager.readPairedDevices(); in setBluetoothStateOn()
378 mEventManager.dispatchProfileConnectionStateChanged(cachedDevice, newState, in onReceiveInternal()