Home
last modified time | relevance | path

Searched refs:isProfileReady (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DStreamSettingsCategoryControllerTest.java113 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()
DAudioSharingCompatibilityPreferenceControllerTest.java125 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()
DAudioSharingSwitchBarControllerTest.java171 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()
DAudioSharingDevicePreferenceControllerTest.java159 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()
DAudioSharingDeviceVolumeGroupControllerTest.java160 when(mBroadcast.isProfileReady()).thenReturn(true); in setUp()
161 when(mAssistant.isProfileReady()).thenReturn(true); in setUp()
162 when(mVolumeControl.isProfileReady()).thenReturn(true); in setUp()
DAudioSharingCallAudioPreferenceControllerTest.java172 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/
DStreamSettingsCategoryController.java70 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
DAudioSharingBasePreferenceController.java92 boolean isProfileReady = in updateVisibility()
95 boolean isVisible = isBtOn && isProfileReady && isBroadcasting; in updateVisibility()
101 + isProfileReady in updateVisibility()
DAudioSharingUtils.java388 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/
DHearingAidHelperTest.java122 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()
DAccessibilityHearingAidPreferenceControllerTest.java303 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/
DAudioStreamsCategoryController.java106 boolean isProfileReady = in updateVisibility()
121 + isProfileReady); in updateVisibility()
128 isProfileReady in updateVisibility()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java176 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()
DBluetoothPairingControllerTest.java264 when(mPbapLocalBluetoothProfile.isProfileReady()).thenReturn(mockValue); in mockIsProfileReady()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsCategoryControllerTest.java116 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()
DAudioStreamConfirmDialogTest.java105 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/
DHearingAidHelper.java103 if (hearingAidProfile != null && !hearingAidProfile.isProfileReady()) { in isAllHearingAidRelatedProfilesReady()
107 if (hapClientProfile != null && !hapClientProfile.isProfileReady()) { in isAllHearingAidRelatedProfilesReady()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java215 public boolean isProfileReady() { in isProfileReady() method in BluetoothPairingController
216 return mPbapClientProfile != null && mPbapClientProfile.isProfileReady(); in isProfileReady()
235 boolean isContactSharingVisible = !isProfileReady(); in isContactSharingVisible()
DBluetoothDetailsHearingAidsPresetsController.java84 if (mHapClientProfile != null && !mHapClientProfile.isProfileReady()) { in onStart()
323 if (mHapClientProfile != null && mHapClientProfile.isProfileReady()) { in onServiceConnected()
DBluetoothDetailsProfilesController.java484 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/
DBluetoothPairingController.java152 public boolean isProfileReady() { in isProfileReady() method in BluetoothPairingController
153 return mPbapClientProfile != null && mPbapClientProfile.isProfileReady(); in isProfileReady()
DBluetoothPairingDialogFragment.java233 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/
DBluetoothTestUtils.java139 public boolean isProfileReady() { in isProfileReady() method in BluetoothTestUtils.TestLocalBluetoothProfile