Home
last modified time | relevance | path

Searched refs:mBtManager (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingPreferenceController.java48 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingPreferenceController
92 mBtManager = Utils.getLocalBtManager(context); in AudioSharingPreferenceController()
93 mEventManager = mBtManager == null ? null : mBtManager.getEventManager(); in AudioSharingPreferenceController()
95 mBtManager == null in AudioSharingPreferenceController()
97 : mBtManager.getProfileManager().getLeAudioBroadcastProfile(); in AudioSharingPreferenceController()
142 return AudioSharingUtils.isBroadcasting(mBtManager) in getSummary()
DAudioSharingCallAudioPreferenceController.java81 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingCallAudioPreferenceController
152 mBtManager = Utils.getLocalBtManager(mContext); in AudioSharingCallAudioPreferenceController()
154 mBtManager == null ? null : mBtManager.getProfileManager(); in AudioSharingCallAudioPreferenceController()
155 mEventManager = mBtManager == null ? null : mBtManager.getEventManager(); in AudioSharingCallAudioPreferenceController()
160 mCacheManager = mBtManager == null ? null : mBtManager.getCachedDeviceManager(); in AudioSharingCallAudioPreferenceController()
383 mGroupedConnectedDevices = AudioSharingUtils.fetchConnectedDevicesByGroupId(mBtManager); in updateDeviceItemsInSharingSession()
386 mBtManager, mGroupedConnectedDevices, /* filterByInSharing= */ true); in updateDeviceItemsInSharingSession()
DAudioSharingDeviceVolumeControlUpdater.java46 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingDeviceVolumeControlUpdater
54 mBtManager = Utils.getLocalBluetoothManager(context); in AudioSharingDeviceVolumeControlUpdater()
56 mBtManager == null in AudioSharingDeviceVolumeControlUpdater()
58 : mBtManager.getProfileManager().getVolumeControlProfile(); in AudioSharingDeviceVolumeControlUpdater()
68 && AudioSharingUtils.isBroadcasting(mBtManager) in isFilterMatched()
69 && BluetoothUtils.hasConnectedBroadcastSource(cachedDevice, mBtManager)) { in isFilterMatched()
DAudioSharingSwitchBarController.java95 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingSwitchBarController
275 mBtManager = Utils.getLocalBtManager(context); in AudioSharingSwitchBarController()
276 mProfileManager = mBtManager == null ? null : mBtManager.getProfileManager(); in AudioSharingSwitchBarController()
323 boolean isBroadcasting = AudioSharingUtils.isBroadcasting(mBtManager); in onCheckedChanged()
438 mGroupedConnectedDevices = AudioSharingUtils.fetchConnectedDevicesByGroupId(mBtManager); in startAudioSharing()
441 mBtManager, mGroupedConnectedDevices, /* filterByInSharing= */ false); in startAudioSharing()
462 if (!AudioSharingUtils.isBroadcasting(mBtManager)) { in stopAudioSharing()
476 boolean isBroadcasting = AudioSharingUtils.isBroadcasting(mBtManager); in updateSwitch()
514 AudioSharingUtils.addSourceToTargetSinks(mTargetActiveSinks, mBtManager); in handleOnBroadcastReady()
539 mBtManager); in showDialog()
DAudioSharingNamePreferenceController.java116 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingNamePreferenceController
128 mBtManager = Utils.getLocalBluetoothManager(context); in AudioSharingNamePreferenceController()
129 mProfileManager = mBtManager == null ? null : mBtManager.getProfileManager(); in AudioSharingNamePreferenceController()
185 updateQrCodeIcon(isBroadcasting(mBtManager)); in displayPreference()
194 updateQrCodeIcon(isBroadcasting(mBtManager)); in onServiceConnected()
223 boolean isBroadcasting = isBroadcasting(mBtManager); in onPreferenceChange()
DAudioSharingPasswordPreferenceController.java50 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingPasswordPreferenceController
58 mBtManager = Utils.getLocalBluetoothManager(context); in AudioSharingPasswordPreferenceController()
60 mBtManager != null in AudioSharingPasswordPreferenceController()
61 ? mBtManager.getProfileManager().getLeAudioBroadcastProfile() in AudioSharingPasswordPreferenceController()
100 mPreference.setEditable(!isBroadcasting(mBtManager)); in onBindDialogView()
110 if (mBroadcast == null || isBroadcasting(mBtManager)) { in onPreferenceDataChanged()
DAudioSharingBasePreferenceController.java42 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingBasePreferenceController
50 mBtManager = Utils.getLocalBtManager(context); in AudioSharingBasePreferenceController()
51 mProfileManager = mBtManager == null ? null : mBtManager.getProfileManager(); in AudioSharingBasePreferenceController()
DStreamSettingsCategoryController.java43 @Nullable private final LocalBluetoothManager mBtManager; field in StreamSettingsCategoryController
61 mBtManager = Utils.getLocalBtManager(context); in StreamSettingsCategoryController()
62 mProfileManager = mBtManager == null ? null : mBtManager.getProfileManager(); in StreamSettingsCategoryController()
DAudioSharingDevicePreferenceController.java77 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingDevicePreferenceController
177 mBtManager = Utils.getLocalBtManager(mContext); in AudioSharingDevicePreferenceController()
178 mEventManager = mBtManager == null ? null : mBtManager.getEventManager(); in AudioSharingDevicePreferenceController()
179 mDeviceManager = mBtManager == null ? null : mBtManager.getCachedDeviceManager(); in AudioSharingDevicePreferenceController()
180 mProfileManager = mBtManager == null ? null : mBtManager.getProfileManager(); in AudioSharingDevicePreferenceController()
DAudioSharingCompatibilityPreferenceController.java54 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingCompatibilityPreferenceController
112 mBtManager = Utils.getLocalBtManager(context); in AudioSharingCompatibilityPreferenceController()
113 mProfileManager = mBtManager == null ? null : mBtManager.getProfileManager(); in AudioSharingCompatibilityPreferenceController()
245 boolean isBroadcasting = AudioSharingUtils.isBroadcasting(mBtManager); in updateEnabled()
DAudioSharingDeviceVolumeGroupController.java69 @Nullable private final LocalBluetoothManager mBtManager; field in AudioSharingDeviceVolumeGroupController
90 mBtManager == null
92 : mBtManager.getCachedDeviceManager().findDevice(device);
182 mBtManager = Utils.getLocalBtManager(mContext); in AudioSharingDeviceVolumeGroupController()
183 mProfileManager = mBtManager == null ? null : mBtManager.getProfileManager(); in AudioSharingDeviceVolumeGroupController()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DAvailableMediaDeviceGroupController.java73 @VisibleForTesting @Nullable LocalBluetoothManager mBtManager; field in AvailableMediaDeviceGroupController
181 mBtManager = Utils.getLocalBtManager(mContext); in AvailableMediaDeviceGroupController()
185 mBtManager == null in AvailableMediaDeviceGroupController()
187 : mBtManager.getProfileManager().getLeAudioBroadcastProfile(); in AvailableMediaDeviceGroupController()
189 mBtManager == null in AvailableMediaDeviceGroupController()
191 : mBtManager.getProfileManager().getLeAudioBroadcastAssistantProfile(); in AvailableMediaDeviceGroupController()
200 if (mBtManager == null) { in onStart()
207 mBtManager.getEventManager().registerCallback(this); in onStart()
216 if (mBtManager == null) { in onStop()
226 mBtManager.getEventManager().unregisterCallback(this); in onStop()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAvailableMediaDeviceGroupControllerTest.java359 mAvailableMediaDeviceGroupController.mBtManager = null; in onStart_localBluetoothManagerNull_shouldNotCrash()
367 mAvailableMediaDeviceGroupController.mBtManager = null; in onStop_localBluetoothManagerNull_shouldNotCrash()