Home
last modified time | relevance | path

Searched refs:LocalBluetoothProfile (Results 1 – 25 of 36) sorted by relevance

12

/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
H A DBluetoothDeviceProfilesPreferenceControllerTest.java40 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
98 LocalBluetoothProfile profile1 = mock(LocalBluetoothProfile.class); in refreshUi_addsNewProfiles()
106 LocalBluetoothProfile profile2 = mock(LocalBluetoothProfile.class); in refreshUi_addsNewProfiles()
120 LocalBluetoothProfile profile1 = mock(LocalBluetoothProfile.class); in refreshUi_removesRemovedProfiles()
122 LocalBluetoothProfile profile2 = mock(LocalBluetoothProfile.class); in refreshUi_removesRemovedProfiles()
143 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in refreshUi_profiles_showsPreference()
163 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileChecked_setsProfilePreferred()
178 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileChecked_connectsToProfile()
193 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileUnchecked_setsProfileNotPreferred()
209 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileUnchecked_disconnectsFromProfile()
H A DBluetoothDeviceProfilePreferenceTest.java35 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
51 private LocalBluetoothProfile mProfile;
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDetailsProfilesController.java35 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
92 LocalBluetoothProfile profile) { in createProfilePreference()
105 LocalBluetoothProfile profile) { in refreshProfilePreference()
141 private void enableProfile(LocalBluetoothProfile profile) { in enableProfile()
157 private void disableProfile(LocalBluetoothProfile profile) { in disableProfile()
173 LocalBluetoothProfile profile = mProfileManager.getProfileByName(preference.getKey()); in onPreferenceClick()
197 private List<LocalBluetoothProfile> getProfiles() { in getProfiles()
198 List<LocalBluetoothProfile> result = mCachedDevice.getConnectableProfiles(); in getProfiles()
224 private void maybeAddHighQualityAudioPref(LocalBluetoothProfile profile) { in maybeAddHighQualityAudioPref()
272 for (LocalBluetoothProfile profile : getProfiles()) { in refresh()
[all …]
H A DBluetoothPairingController.java32 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
65 private LocalBluetoothProfile mPbapClientProfile;
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothDeviceProfilePreference.java25 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
33 private final LocalBluetoothProfile mProfile;
37 public BluetoothDeviceProfilePreference(Context context, LocalBluetoothProfile profile, in BluetoothDeviceProfilePreference()
49 public LocalBluetoothProfile getProfile() { in getProfile()
H A DBluetoothDeviceProfilesPreferenceController.java26 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
41 LocalBluetoothProfile profile = profilePref.getProfile();
58 for (LocalBluetoothProfile profile : getCachedDevice().getProfiles()) { in updateState()
67 for (LocalBluetoothProfile removedProfile : getCachedDevice().getRemovedProfiles()) { in updateState()
H A DBluetoothBondedDevicesPreferenceController.java38 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
173 LocalBluetoothProfile phoneProfile = null; in setButtonsCheckedAndListeners()
174 LocalBluetoothProfile mediaProfile = null; in setButtonsCheckedAndListeners()
175 for (LocalBluetoothProfile profile : cachedDevice.getProfiles()) { in setButtonsCheckedAndListeners()
182 LocalBluetoothProfile finalPhoneProfile = phoneProfile; in setButtonsCheckedAndListeners()
183 LocalBluetoothProfile finalMediaProfile = mediaProfile; in setButtonsCheckedAndListeners()
H A DBluetoothPairingController.java31 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
62 private LocalBluetoothProfile mPbapClientProfile;
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java166 private String describe(LocalBluetoothProfile profile) { in describe()
280 public void disconnect(LocalBluetoothProfile profile) { in disconnect()
354 public void connectProfile(LocalBluetoothProfile profile) { in connectProfile()
361 synchronized void connectInt(LocalBluetoothProfile profile) { in connectInt()
630 for (LocalBluetoothProfile profile : mProfiles) { in isConnected()
649 for (LocalBluetoothProfile profile : mProfiles) { in isBusy()
757 public List<LocalBluetoothProfile> getProfiles() { in getProfiles()
762 List<LocalBluetoothProfile> connectableProfiles = in getConnectableProfiles()
763 new ArrayList<LocalBluetoothProfile>(); in getConnectableProfiles()
765 for (LocalBluetoothProfile profile : mProfiles) { in getConnectableProfiles()
[all …]
H A DLocalBluetoothProfileManager.java108 private final Map<String, LocalBluetoothProfile>
109 mProfileNameMap = new HashMap<String, LocalBluetoothProfile>();
238 private void addProfile(LocalBluetoothProfile profile, in addProfile()
244 private void addPanProfile(LocalBluetoothProfile profile, in addPanProfile()
251 public LocalBluetoothProfile getProfileByName(String name) { in getProfileByName()
265 final LocalBluetoothProfile mProfile;
267 StateChangedHandler(LocalBluetoothProfile profile) { in StateChangedHandler()
340 PanStateChangedHandler(LocalBluetoothProfile profile) { in PanStateChangedHandler()
385 LocalBluetoothProfile profile = mHeadsetProfile; in isManagerReady()
468 Collection<LocalBluetoothProfile> profiles, in updateProfiles()
[all …]
H A DLocalBluetoothProfile.java26 public interface LocalBluetoothProfile { interface
H A DOppProfile.java28 final class OppProfile implements LocalBluetoothProfile {
H A DPbapServerProfile.java37 public class PbapServerProfile implements LocalBluetoothProfile {
H A DBluetoothUtils.java105 List<LocalBluetoothProfile> profiles = cachedDevice.getProfiles(); in getBtClassDrawableWithDescription()
106 for (LocalBluetoothProfile profile : profiles) { in getBtClassDrawableWithDescription()
H A DHidDeviceProfile.java36 public class HidDeviceProfile implements LocalBluetoothProfile {
H A DPanProfile.java38 public class PanProfile implements LocalBluetoothProfile {
H A DHidProfile.java37 public class HidProfile implements LocalBluetoothProfile {
H A DMapClientProfile.java40 public final class MapClientProfile implements LocalBluetoothProfile {
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/
H A DPairedBluetoothDevices.java50 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
177 LocalBluetoothProfile phoneProfile = getProfile(device, in onNotifyChange()
179 LocalBluetoothProfile mediaProfile = getProfile(device, BluetoothProfile.A2DP_SINK); in onNotifyChange()
193 LocalBluetoothProfile profile = getProfile(device, BluetoothProfile.HEADSET_CLIENT); in onNotifyChange()
198 LocalBluetoothProfile profile = getProfile(device, BluetoothProfile.A2DP_SINK); in onNotifyChange()
239 List<LocalBluetoothProfile> profiles = device.getProfiles(); in getIconRes()
240 for (LocalBluetoothProfile profile : profiles) { in getIconRes()
299 private LocalBluetoothProfile getProfile(CachedBluetoothDevice device, int profileId) { in getProfile()
300 for (LocalBluetoothProfile profile : device.getProfiles()) { in getProfile()
310 LocalBluetoothProfile profile = getProfile(device, profileId); in getBluetoothProfileToggleState()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
H A DPairedBluetoothDevicesTest.java57 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
259 LocalBluetoothProfile profile = getProfile(device, BluetoothProfile.HEADSET_CLIENT); in onNotifyChange_togglePhone()
273 LocalBluetoothProfile profile = getProfile(device, BluetoothProfile.A2DP_SINK); in onNotifyChange_toggleMedia()
291 LocalBluetoothProfile phoneProfile = mock(LocalBluetoothProfile.class); in addBluetoothDevice()
292 LocalBluetoothProfile mediaProfile = mock(LocalBluetoothProfile.class); in addBluetoothDevice()
302 private LocalBluetoothProfile getProfile(CachedBluetoothDevice device, int profileId) { in getProfile()
303 for (LocalBluetoothProfile profile : device.getProfiles()) { in getProfile()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImplTest.java41 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
222 List<LocalBluetoothProfile> profiles = new ArrayList<>(); in testOnActiveDeviceChanged_updatesAudioActive()
223 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in testOnActiveDeviceChanged_updatesAudioActive()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothDetailsProfilesControllerTest.java40 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
63 private List<LocalBluetoothProfile> mConnectableProfiles;
92 static class FakeBluetoothProfile implements LocalBluetoothProfile {
183 private LocalBluetoothProfile addFakeProfile(int profileNameResId, in addFakeProfile()
185 LocalBluetoothProfile profile = new FakeBluetoothProfile(mContext, profileNameResId); in addFakeProfile()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
H A DBluetoothBondedDevicesPreferenceControllerTest.java56 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
76 private LocalBluetoothProfile mPhoneProfile;
77 private LocalBluetoothProfile mMediaProfile;
323 private class TestLocalBluetoothProfile implements LocalBluetoothProfile {
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothProfileManagerTest.java137 List<LocalBluetoothProfile> profiles = new ArrayList<>(); in updateProfiles_addHidProfileForRemoteDevice()
138 List<LocalBluetoothProfile> removedProfiles = new ArrayList<>(); in updateProfiles_addHidProfileForRemoteDevice()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DLocalMediaManager.java40 import com.android.settingslib.bluetooth.LocalBluetoothProfile;
554 for (LocalBluetoothProfile profile : device.getConnectableProfiles()) { in isA2dpOrHearingAidDevice()

12