/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothDeviceProfilesPreferenceControllerTest.java | 40 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 D | BluetoothDeviceProfilePreferenceTest.java | 35 import com.android.settingslib.bluetooth.LocalBluetoothProfile; 51 private LocalBluetoothProfile mProfile;
|
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothDetailsProfilesController.java | 35 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 D | BluetoothPairingController.java | 32 import com.android.settingslib.bluetooth.LocalBluetoothProfile; 65 private LocalBluetoothProfile mPbapClientProfile;
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothDeviceProfilePreference.java | 25 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 D | BluetoothDeviceProfilesPreferenceController.java | 26 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 D | BluetoothBondedDevicesPreferenceController.java | 38 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 D | BluetoothPairingController.java | 31 import com.android.settingslib.bluetooth.LocalBluetoothProfile; 62 private LocalBluetoothProfile mPbapClientProfile;
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | CachedBluetoothDevice.java | 166 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 D | LocalBluetoothProfileManager.java | 108 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 D | LocalBluetoothProfile.java | 26 public interface LocalBluetoothProfile { interface
|
H A D | OppProfile.java | 28 final class OppProfile implements LocalBluetoothProfile {
|
H A D | PbapServerProfile.java | 37 public class PbapServerProfile implements LocalBluetoothProfile {
|
H A D | BluetoothUtils.java | 105 List<LocalBluetoothProfile> profiles = cachedDevice.getProfiles(); in getBtClassDrawableWithDescription() 106 for (LocalBluetoothProfile profile : profiles) { in getBtClassDrawableWithDescription()
|
H A D | HidDeviceProfile.java | 36 public class HidDeviceProfile implements LocalBluetoothProfile {
|
H A D | PanProfile.java | 38 public class PanProfile implements LocalBluetoothProfile {
|
H A D | HidProfile.java | 37 public class HidProfile implements LocalBluetoothProfile {
|
H A D | MapClientProfile.java | 40 public final class MapClientProfile implements LocalBluetoothProfile {
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
H A D | PairedBluetoothDevices.java | 50 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 D | PairedBluetoothDevicesTest.java | 57 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 D | BluetoothControllerImplTest.java | 41 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 D | BluetoothDetailsProfilesControllerTest.java | 40 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 D | BluetoothBondedDevicesPreferenceControllerTest.java | 56 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 D | LocalBluetoothProfileManagerTest.java | 137 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 D | LocalMediaManager.java | 40 import com.android.settingslib.bluetooth.LocalBluetoothProfile; 554 for (LocalBluetoothProfile profile : device.getConnectableProfiles()) { in isA2dpOrHearingAidDevice()
|