Home
last modified time | relevance | path

Searched refs:PbapServerProfile (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDetailsProfilesController.java39 import com.android.settingslib.bluetooth.PbapServerProfile;
111 } else if (profile instanceof PbapServerProfile) { in refreshProfilePreference()
143 if (profile instanceof PbapServerProfile) { in enableProfile()
162 } else if (profile instanceof PbapServerProfile) { in disableProfile()
176 PbapServerProfile psp = mManager.getProfileManager().getPbapProfile(); in onPreferenceClick()
204 final PbapServerProfile psp = mManager.getProfileManager().getPbapProfile(); in getProfiles()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothDetailsProfilesControllerTest.java43 import com.android.settingslib.bluetooth.PbapServerProfile;
289 PbapServerProfile psp = mock(PbapServerProfile.class); in pbapProfileStartsEnabled()
291 when(psp.toString()).thenReturn(PbapServerProfile.NAME); in pbapProfileStartsEnabled()
312 PbapServerProfile psp = mock(PbapServerProfile.class); in pbapProfileStartsDisabled()
314 when(psp.toString()).thenReturn(PbapServerProfile.NAME); in pbapProfileStartsDisabled()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DPbapServerProfile.java37 public class PbapServerProfile implements LocalBluetoothProfile { class
81 PbapServerProfile(Context context) { in PbapServerProfile() method in PbapServerProfile
H A DLocalBluetoothProfileManager.java101 private PbapServerProfile mPbapProfile;
206 mPbapProfile = new PbapServerProfile(mContext); in updateLocalProfiles()
207 addProfile(mPbapProfile, PbapServerProfile.NAME, in updateLocalProfiles()
428 public PbapServerProfile getPbapProfile(){ in getPbapProfile()
H A DCachedBluetoothDevice.java273 PbapServerProfile PbapProfile = mProfileManager.getPbapProfile(); in disconnect()
891 if (BluetoothUuid.containsAnyUuid(uuids, PbapServerProfile.PBAB_CLIENT_UUIDS)) { in processPhonebookAccess()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceTest.java954 mShadowBluetoothAdapter.setUuids(PbapServerProfile.PBAB_CLIENT_UUIDS); in onUuidChanged_bluetoothClassIsNull_shouldNotCrash()
955 when(mDevice.getUuids()).thenReturn(PbapServerProfile.PBAB_CLIENT_UUIDS); in onUuidChanged_bluetoothClassIsNull_shouldNotCrash()