Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingBasePreferenceController.java94 boolean isBroadcasting = isBroadcasting(); in updateVisibility()
95 boolean isVisible = isBtOn && isProfileReady && isBroadcasting; in updateVisibility()
103 + isBroadcasting); in updateVisibility()
120 protected boolean isBroadcasting() { in isBroadcasting() method in AudioSharingBasePreferenceController
DAudioSharingNamePreferenceController.java19 import static com.android.settings.connecteddevice.audiosharing.AudioSharingUtils.isBroadcasting;
185 updateQrCodeIcon(isBroadcasting(mBtManager)); in displayPreference()
194 updateQrCodeIcon(isBroadcasting(mBtManager)); in onServiceConnected()
223 boolean isBroadcasting = isBroadcasting(mBtManager); in onPreferenceChange()
228 if (isBroadcasting) { in onPreferenceChange()
235 isBroadcasting ? 1 : 0); in onPreferenceChange()
DAudioSharingSwitchBarController.java323 boolean isBroadcasting = AudioSharingUtils.isBroadcasting(mBtManager); in onCheckedChanged()
324 if (mAssistant == null || mBroadcast == null || isBroadcasting) { in onCheckedChanged()
327 if (!isBroadcasting) { in onCheckedChanged()
462 if (!AudioSharingUtils.isBroadcasting(mBtManager)) { in stopAudioSharing()
476 boolean isBroadcasting = AudioSharingUtils.isBroadcasting(mBtManager); in updateSwitch()
484 if (mSwitchBar.isChecked() != isBroadcasting) { in updateSwitch()
485 mSwitchBar.setChecked(isBroadcasting); in updateSwitch()
493 + isBroadcasting in updateSwitch()
DAudioSharingDialogHandler.java178 boolean isBroadcasting = isBroadcasting(); in handleDeviceConnected()
183 handleNonLeAudioDeviceConnected(cachedDevice, isBroadcasting, userTriggered); in handleDeviceConnected()
187 handleLeAudioDeviceConnected(cachedDevice, isBroadcasting, userTriggered); in handleDeviceConnected()
193 boolean isBroadcasting, in handleNonLeAudioDeviceConnected() argument
195 if (isBroadcasting) { in handleNonLeAudioDeviceConnected()
239 boolean isBroadcasting, in handleLeAudioDeviceConnected() argument
243 if (isBroadcasting) { in handleLeAudioDeviceConnected()
497 private boolean isBroadcasting() { in isBroadcasting() method in AudioSharingDialogHandler
DAudioSharingCompatibilityPreferenceController.java245 boolean isBroadcasting = AudioSharingUtils.isBroadcasting(mBtManager); in updateEnabled()
250 mPreference.setEnabled(!isBroadcasting); in updateEnabled()
252 isBroadcasting in updateEnabled()
DAudioSharingPasswordPreferenceController.java19 import static com.android.settings.connecteddevice.audiosharing.AudioSharingUtils.isBroadcasting;
100 mPreference.setEditable(!isBroadcasting(mBtManager)); in onBindDialogView()
110 if (mBroadcast == null || isBroadcasting(mBtManager)) { in onPreferenceDataChanged()
DAudioSharingPreferenceController.java142 return AudioSharingUtils.isBroadcasting(mBtManager) in getSummary()
DAudioSharingJoinDialogFragment.java61 return AudioSharingUtils.isBroadcasting(Utils.getLocalBtManager(getContext())) in getMetricsCategory()
DAudioSharingDeviceVolumeControlUpdater.java68 && AudioSharingUtils.isBroadcasting(mBtManager) in isFilterMatched()
DAudioSharingUtils.java316 public static boolean isBroadcasting(@Nullable LocalBluetoothManager manager) { in isBroadcasting() method in AudioSharingUtils
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsCategoryController.java109 boolean isBroadcasting = isBroadcasting(); in updateVisibility()
115 + isBroadcasting in updateVisibility()
131 && !isBroadcasting); in updateVisibility()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandlerTest.java728 private void setUpBroadcast(boolean isBroadcasting) { in setUpBroadcast() argument
729 when(mBroadcast.isEnabled(any())).thenReturn(isBroadcasting); in setUpBroadcast()
730 if (isBroadcasting) { in setUpBroadcast()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DAvailableMediaDeviceGroupController.java346 && AudioSharingUtils.isBroadcasting(mBtManager)) { in updateTitle()