/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 55 private final CachedBluetoothDeviceManager mDeviceManager; field in BluetoothEventManager 82 mDeviceManager = deviceManager; in BluetoothEventManager() 180 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices() 182 mDeviceManager.addDevice(device); in readPairedDevices() 216 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchAudioModeChanged() 227 for (CachedBluetoothDevice cachedDevice : mDeviceManager.getCachedDevicesCopy()) { in dispatchActiveDeviceChanged() 273 mDeviceManager.onBluetoothStateChanged(state); in onReceive() 288 mDeviceManager.onScanningStateChanged(mStarted); in onReceive() 299 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 301 cachedDevice = mDeviceManager.addDevice(device); in onReceive() [all …]
|
D | LocalBluetoothProfileManager.java | 87 private final CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManager 117 mDeviceManager = deviceManager; in LocalBluetoothProfileManager() 136 mA2dpProfile = new A2dpProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 142 mA2dpSinkProfile = new A2dpSinkProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 148 mHeadsetProfile = new HeadsetProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 156 mHfpClientProfile = new HfpClientProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 164 mMapClientProfile = new MapClientProfile(mContext, mDeviceManager,this); in updateLocalProfiles() 170 mMapProfile = new MapProfile(mContext, mDeviceManager, this); in updateLocalProfiles() 181 mHearingAidProfile = new HearingAidProfile(mContext, mDeviceManager, in updateLocalProfiles() 188 mHidProfile = new HidProfile(mContext, mDeviceManager, this); in updateLocalProfiles() [all …]
|
D | PbapClientProfile.java | 44 private final CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfile 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 70 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 84 Collection<CachedBluetoothDevice> cachedDevices = mDeviceManager.getCachedDevicesCopy(); in refreshProfiles() 105 mDeviceManager = deviceManager; in PbapClientProfile()
|
D | HearingAidProfile.java | 45 private final CachedBluetoothDeviceManager mDeviceManager; field in HearingAidProfile 64 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 70 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 78 mDeviceManager.updateHearingAidsDevices(); in onServiceConnected() 100 mDeviceManager = deviceManager; in HearingAidProfile()
|
D | HidDeviceProfile.java | 43 private final CachedBluetoothDeviceManager mDeviceManager; field in HidDeviceProfile 52 mDeviceManager = deviceManager; in HidDeviceProfile() 67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 71 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected()
|
D | MapClientProfile.java | 46 private final CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfile 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 72 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 101 mDeviceManager = deviceManager; in MapClientProfile()
|
D | HidProfile.java | 43 private final CachedBluetoothDeviceManager mDeviceManager; field in HidProfile 61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 65 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 90 mDeviceManager = deviceManager; in HidProfile()
|
D | SapProfile.java | 46 private final CachedBluetoothDeviceManager mDeviceManager; field in SapProfile 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 72 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 100 mDeviceManager = deviceManager; in SapProfile()
|
D | HfpClientProfile.java | 46 private final CachedBluetoothDeviceManager mDeviceManager; field in HfpClientProfile 70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 74 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 101 mDeviceManager = deviceManager; in HfpClientProfile()
|
D | MapProfile.java | 46 private final CachedBluetoothDeviceManager mDeviceManager; field in MapProfile 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 73 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 102 mDeviceManager = deviceManager; in MapProfile()
|
D | A2dpSinkProfile.java | 43 private final CachedBluetoothDeviceManager mDeviceManager; field in A2dpSinkProfile 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 70 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 94 mDeviceManager = deviceManager; in A2dpSinkProfile()
|
D | HeadsetProfile.java | 47 private final CachedBluetoothDeviceManager mDeviceManager; field in HeadsetProfile 71 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 75 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 102 mDeviceManager = deviceManager; in HeadsetProfile()
|
D | A2dpProfile.java | 48 private final CachedBluetoothDeviceManager mDeviceManager; field in A2dpProfile 72 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() 76 device = mDeviceManager.addDevice(nextDevice); in onServiceConnected() 102 mDeviceManager = deviceManager; in A2dpProfile()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbService.java | 134 private UsbDeviceManager mDeviceManager; field in UsbService 178 mDeviceManager = new UsbDeviceManager(context, mAlsaManager, mSettingsManager, in UsbService() 181 if (mHostManager != null || mDeviceManager != null) { in UsbService() 193 if (mDeviceManager != null) { in UsbService() 194 mDeviceManager.updateUserRestrictions(); in UsbService() 223 if (mDeviceManager != null) { in onSwitchUser() 224 mDeviceManager.setCurrentUser(newUserId, settings); in onSwitchUser() 241 if (mDeviceManager != null) { in systemReady() 242 mDeviceManager.systemReady(); in systemReady() 253 if (mDeviceManager != null) { in bootCompleted() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManagerTest.java | 61 private CachedBluetoothDeviceManager mDeviceManager; field in LocalBluetoothProfileManagerTest 80 mEventManager = spy(new BluetoothEventManager(mLocalBluetoothAdapter, mDeviceManager, in setUp() 83 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); in setUp() 86 mDeviceManager, mEventManager); in setUp() 105 mDeviceManager, mEventManager)); in constructor_doNotUpdateProfiles() 208 verify(mDeviceManager).onProfileConnectionStateChangedIfProcessed(mCachedBluetoothDevice, in stateChangedHandler_receiveHAPConnectionStateChanged_shouldDispatchDeviceManager()
|
D | PbapClientProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in PbapClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | SapProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in SapProfileTest 60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
|
D | HfpClientProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in HfpClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | MapClientProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in MapClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | A2dpSinkProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in A2dpSinkProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HidDeviceProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in HidDeviceProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HearingAidProfileTest.java | 45 private CachedBluetoothDeviceManager mDeviceManager; field in HearingAidProfileTest 67 mProfile = new HearingAidProfile(context, mDeviceManager, mProfileManager); in setUp()
|
D | HeadsetProfileTest.java | 31 private CachedBluetoothDeviceManager mDeviceManager; field in HeadsetProfileTest 52 mProfile = new HeadsetProfile(context, mDeviceManager, mProfileManager); in setUp()
|
D | A2dpProfileTest.java | 53 private CachedBluetoothDeviceManager mDeviceManager; field in A2dpProfileTest 69 mProfile = new A2dpProfile(mContext, mDeviceManager, mProfileManager); in setUp()
|