/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | StreamSettingsCategoryControllerTest.java | 113 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp() 114 when(mAssistant.isProfileReady()).thenReturn(true); in setUp() 115 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp() 178 when(mBroadcast.isProfileReady()).thenReturn(false); in onStart_flagOnProfileNotReady_registerProfileManagerCallback() 225 when(mBroadcast.isProfileReady()).thenReturn(false); in displayPreference_BluetoothOnProfileNotReady_preferenceInvisible() 243 when(mBroadcast.isProfileReady()).thenReturn(false); in onServiceConnected_updateVisibility() 248 when(mBroadcast.isProfileReady()).thenReturn(true); in onServiceConnected_updateVisibility()
|
D | AudioSharingCompatibilityPreferenceControllerTest.java | 125 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp() 126 when(mAssistant.isProfileReady()).thenReturn(true); in setUp() 127 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp() 151 when(mBroadcast.isProfileReady()).thenReturn(false); in onStart_flagOnProfileNotReady_registerProfileCallback() 191 when(mBroadcast.isProfileReady()).thenReturn(false); in onServiceConnected_updateSwitch() 197 when(mBroadcast.isProfileReady()).thenReturn(true); in onServiceConnected_updateSwitch()
|
D | AudioSharingSwitchBarControllerTest.java | 171 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp() 172 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp() 180 when(mAssistant.isProfileReady()).thenReturn(true); in setUp() 286 when(mBroadcast.isProfileReady()).thenReturn(false); in onStart_flagOnProfileNotReady_registerProfileCallback()
|
D | AudioSharingDevicePreferenceControllerTest.java | 159 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp() 160 when(mAssistant.isProfileReady()).thenReturn(true); in setUp() 161 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp() 425 when(mBroadcast.isProfileReady()).thenReturn(false); in handleDeviceClickFromIntent_profileNotReady_doNothing()
|
D | AudioSharingDeviceVolumeGroupControllerTest.java | 160 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp() 161 when(mAssistant.isProfileReady()).thenReturn(true); in setUp() 162 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp()
|
D | AudioSharingCallAudioPreferenceControllerTest.java | 172 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp() 173 when(mAssistant.isProfileReady()).thenReturn(true); in setUp() 174 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | StreamSettingsCategoryController.java | 70 if (!isProfileReady() && mProfileManager != null) { in onStart() 98 if (isAvailable() && isProfileReady()) { in onServiceConnected() 127 boolean visible = isBluetoothOn() && isProfileReady(); in updateVisibility() 141 private boolean isProfileReady() { in isProfileReady() method in StreamSettingsCategoryController
|
D | AudioSharingBasePreferenceController.java | 92 boolean isProfileReady = in updateVisibility() 95 boolean isVisible = isBtOn && isProfileReady && isBroadcasting; in updateVisibility() 101 + isProfileReady in updateVisibility()
|
D | AudioSharingUtils.java | 388 if (broadcast == null || !broadcast.isProfileReady()) { in isAudioSharingProfileReady() 393 if (assistant == null || !assistant.isProfileReady()) { in isAudioSharingProfileReady() 397 return vc != null && vc.isProfileReady(); in isAudioSharingProfileReady()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | HearingAidHelperTest.java | 122 when(mHearingAidProfile.isProfileReady()).thenReturn(true); in isAllHearingAidRelatedProfilesReady_allReady_returnTrue() 123 when(mHapClientProfile.isProfileReady()).thenReturn(true); in isAllHearingAidRelatedProfilesReady_allReady_returnTrue() 130 when(mHearingAidProfile.isProfileReady()).thenReturn(false); in isAllHearingAidRelatedProfilesReady_notFullReady_returnFalse() 131 when(mHapClientProfile.isProfileReady()).thenReturn(true); in isAllHearingAidRelatedProfilesReady_notFullReady_returnFalse()
|
D | AccessibilityHearingAidPreferenceControllerTest.java | 303 when(mHearingAidProfile.isProfileReady()).thenReturn(true); in setupEnvironment() 304 when(mHapClientProfile.isProfileReady()).thenReturn(true); in setupEnvironment()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsCategoryController.java | 106 boolean isProfileReady = in updateVisibility() 121 + isProfileReady); in updateVisibility() 128 isProfileReady in updateVisibility()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsProfilesControllerTest.java | 176 public boolean isProfileReady() { in isProfileReady() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile 325 when(psp.isProfileReady()).thenReturn(true); in pbapProfileStartsEnabled() 352 when(psp.isProfileReady()).thenReturn(true); in pbapProfileStartsDisabled() 375 when(mapProfile.isProfileReady()).thenReturn(true); in mapProfile() 404 when(profile.isProfileReady()).thenReturn(true); in addMockA2dpProfile() 528 when(leAudioProfile.isProfileReady()).thenReturn(true); in prefKeyInBlockingList_hideToggle() 549 when(leAudioProfile.isProfileReady()).thenReturn(true); in prefKeyNotInBlockingList_showToggle() 570 when(leAudioProfile.isProfileReady()).thenReturn(true); in classicAudioDeviceWithLeAudio_showLeAudioToggle() 594 when(leAudioProfile.isProfileReady()).thenReturn(true); in leAudioOnlyDevice_hideLeAudioToggle()
|
D | BluetoothPairingControllerTest.java | 264 when(mPbapLocalBluetoothProfile.isProfileReady()).thenReturn(mockValue); in mockIsProfileReady()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsCategoryControllerTest.java | 116 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp() 117 when(mAssistant.isProfileReady()).thenReturn(true); in setUp() 118 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp() 193 when(mVolumeControl.isProfileReady()).thenReturn(false); in updateVisibility_isNotProfileReady_invisible()
|
D | AudioStreamConfirmDialogTest.java | 105 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp() 106 when(mAssistant.isProfileReady()).thenReturn(true); in setUp() 107 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | HearingAidHelper.java | 103 if (hearingAidProfile != null && !hearingAidProfile.isProfileReady()) { in isAllHearingAidRelatedProfilesReady() 107 if (hapClientProfile != null && !hapClientProfile.isProfileReady()) { in isAllHearingAidRelatedProfilesReady()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingController.java | 215 public boolean isProfileReady() { in isProfileReady() method in BluetoothPairingController 216 return mPbapClientProfile != null && mPbapClientProfile.isProfileReady(); in isProfileReady() 235 boolean isContactSharingVisible = !isProfileReady(); in isContactSharingVisible()
|
D | BluetoothDetailsHearingAidsPresetsController.java | 84 if (mHapClientProfile != null && !mHapClientProfile.isProfileReady()) { in onStart() 323 if (mHapClientProfile != null && mHapClientProfile.isProfileReady()) { in onServiceConnected()
|
D | BluetoothDetailsProfilesController.java | 484 if (a2dp.isProfileReady() && a2dp.supportsHighQualityAudio(device)) { in maybeAddHighQualityAudioPref() 595 if (profile == null || !profile.isProfileReady()) { in refreshUi()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPairingController.java | 152 public boolean isProfileReady() { in isProfileReady() method in BluetoothPairingController 153 return mPbapClientProfile != null && mPbapClientProfile.isProfileReady(); in isProfileReady()
|
D | BluetoothPairingDialogFragment.java | 233 contactSharing.setVisibility(mPairingController.isProfileReady() in createPinEntryView() 332 mPairingController.isProfileReady() ? View.GONE : View.VISIBLE); in createView()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | BluetoothTestUtils.java | 139 public boolean isProfileReady() { in isProfileReady() method in BluetoothTestUtils.TestLocalBluetoothProfile
|