/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 51 private final CachedBluetoothDeviceManager mDeviceManager; field in BluetoothEventManager 84 mDeviceManager = deviceManager; in BluetoothEventManager() 207 mDeviceManager.onBluetoothStateChanged(state); in onReceive() 224 mDeviceManager.onScanningStateChanged(mStarted); in onReceive() 236 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 238 cachedDevice = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, device); in onReceive() 252 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 286 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 304 mDeviceManager.onDeviceNameUpdated(device); in onReceive() 317 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() [all …]
|
D | LocalBluetoothProfileManager.java | 83 private final CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManager 115 mDeviceManager = deviceManager; in LocalBluetoothProfileManager() 132 mHidProfile = new HidProfile(context, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager() 140 mHidDeviceProfile = new HidDeviceProfile(context, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager() 146 mMapClientProfile = new MapClientProfile(mContext, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager() 150 mMapProfile = new MapProfile(mContext, mLocalAdapter, mDeviceManager, this); in LocalBluetoothProfileManager() 164 mHearingAidProfile = new HearingAidProfile(mContext, mLocalAdapter, mDeviceManager, in LocalBluetoothProfileManager() 184 mA2dpProfile = new A2dpProfile(mContext, mLocalAdapter, mDeviceManager, this); in updateLocalProfiles() 196 … mA2dpSinkProfile = new A2dpSinkProfile(mContext, mLocalAdapter, mDeviceManager, this); in updateLocalProfiles() 210 mDeviceManager, this); in updateLocalProfiles() [all …]
|
D | PbapClientProfile.java | 43 private final CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfile 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 89 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy(); in refreshProfiles() 112 mDeviceManager = deviceManager; in PbapClientProfile()
|
D | HearingAidProfile.java | 48 private final CachedBluetoothDeviceManager mDeviceManager; field in HearingAidProfile 67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 81 mDeviceManager.updateHearingAidsDevices(mProfileManager); in onServiceConnected() 106 mDeviceManager = deviceManager; in HearingAidProfile()
|
D | HidDeviceProfile.java | 44 private final CachedBluetoothDeviceManager mDeviceManager; field in HidDeviceProfile 55 mDeviceManager = deviceManager; in HidDeviceProfile() 73 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 77 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected()
|
D | HidProfile.java | 42 private final CachedBluetoothDeviceManager mDeviceManager; field in HidProfile 61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 65 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 92 mDeviceManager = deviceManager; in HidProfile()
|
D | MapClientProfile.java | 45 private final CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfile 70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 74 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 106 mDeviceManager = deviceManager; in MapClientProfile()
|
D | A2dpSinkProfile.java | 42 private final CachedBluetoothDeviceManager mDeviceManager; field in A2dpSinkProfile 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 70 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 97 mDeviceManager = deviceManager; in A2dpSinkProfile()
|
D | MapProfile.java | 45 private final CachedBluetoothDeviceManager mDeviceManager; field in MapProfile 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 105 mDeviceManager = deviceManager; in MapProfile()
|
D | SapProfile.java | 45 private final CachedBluetoothDeviceManager mDeviceManager; field in SapProfile 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 103 mDeviceManager = deviceManager; in SapProfile()
|
D | HfpClientProfile.java | 45 private final CachedBluetoothDeviceManager mDeviceManager; field in HfpClientProfile 70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 74 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 104 mDeviceManager = deviceManager; in HfpClientProfile()
|
D | HeadsetProfile.java | 45 private final CachedBluetoothDeviceManager mDeviceManager; field in HeadsetProfile 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 73 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 104 mDeviceManager = deviceManager; in HeadsetProfile()
|
D | A2dpProfile.java | 50 private final CachedBluetoothDeviceManager mDeviceManager; field in A2dpProfile 75 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 79 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); in onServiceConnected() 107 mDeviceManager = deviceManager; in A2dpProfile()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 107 private UsbDeviceManager mDeviceManager; field in UsbService 139 mDeviceManager = new UsbDeviceManager(context, mAlsaManager, mSettingsManager); in UsbService() 141 if (mHostManager != null || mDeviceManager != null) { in UsbService() 153 if (mDeviceManager != null) { in UsbService() 154 mDeviceManager.updateUserRestrictions(); in UsbService() 183 if (mDeviceManager != null) { in onSwitchUser() 184 mDeviceManager.setCurrentUser(newUserId, settings); in onSwitchUser() 201 if (mDeviceManager != null) { in systemReady() 202 mDeviceManager.systemReady(); in systemReady() 213 if (mDeviceManager != null) { in bootCompleted() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManagerTest.java | 56 private CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManagerTest 75 mDeviceManager, mContext)); in setUp() 77 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); 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() 137 mProfileManager = new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, in stateChangedHandler_receiveA2dpConnectionStateChanged_shouldDispatchCallback() 160 mProfileManager = new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, in stateChangedHandler_receiveHeadsetConnectionStateChanged_shouldDispatchCallback() 186 mProfileManager = new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchCallback() 209 mProfileManager = new LocalBluetoothProfileManager(mContext, mAdapter, mDeviceManager, in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback() [all …]
|
D | HeadsetProfileTest.java | 30 private CachedBluetoothDeviceManager mDeviceManager; field in HeadsetProfileTest 53 mProfile = new HeadsetProfile(context, mAdapter, mDeviceManager, mProfileManager); in setUp()
|
D | A2dpProfileTest.java | 48 @Mock CachedBluetoothDeviceManager mDeviceManager; field in A2dpProfileTest 69 mProfile = new A2dpProfile(mContext, mAdapter, mDeviceManager, mProfileManager); in setUp()
|