Home
last modified time | relevance | path

Searched refs:getProfileId (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsSpatialAudioController.java305 if (SA_PROFILES.contains(profile.getProfileId()) in getAvailableDeviceByProfileState()
307 switch (profile.getProfileId()) { in getAvailableDeviceByProfileState()
344 + profile.getProfileId()); in getAvailableDeviceByProfileState()
DBluetoothDetailsHeaderController.java52 .anyMatch(profile -> profile.getProfileId() == BluetoothProfile.LE_AUDIO); in isAvailable()
DBluetoothPairingController.java114 if (profile.getProfileId() == BluetoothProfile.LE_AUDIO) { in BluetoothPairingController()
DLeAudioBluetoothDetailsHeaderController.java112 .anyMatch(profile -> profile.getProfileId() == BluetoothProfile.LE_AUDIO); in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsSpatialAudioControllerTest.java102 when(mA2dpProfile.getProfileId()).thenReturn(BluetoothProfile.A2DP); in setUp()
103 when(mLeAudioProfile.getProfileId()).thenReturn(BluetoothProfile.LE_AUDIO); in setUp()
104 when(mHearingAidProfile.getProfileId()).thenReturn(BluetoothProfile.HEARING_AID); in setUp()
DBluetoothPairingControllerTest.java272 when(mLocalBluetoothProfile.getProfileId()).thenReturn(profileId); in mockIsLeAudio()
DBluetoothDetailsProfilesControllerTest.java181 public int getProfileId() { in getProfileId() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DPairedBluetoothDevicesTest.java442 when(phoneProfile.getProfileId()).thenReturn(BluetoothProfile.HEADSET_CLIENT); in addBluetoothDevice()
443 when(mediaProfile.getProfileId()).thenReturn(BluetoothProfile.A2DP_SINK); in addBluetoothDevice()
453 if (profile.getProfileId() == profileId) { in getProfile()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceController.java200 if (profile.getProfileId() == BluetoothProfile.HEADSET_CLIENT) { in setButtonsCheckedAndListeners()
202 } else if (profile.getProfileId() == BluetoothProfile.A2DP_SINK) { in setButtonsCheckedAndListeners()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DMetricsLoggerTest.java139 Assert.assertEquals(ProfileId.AVRCP, profileUsageStatsAvrcp.getProfileId()); in testLogProfileConnectionEvent()
176 profileUsageStats.forEach(item -> profileUsageStatsMap.put(item.getProfileId(), item)); in getProfileUsageStatsMap()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DBluetoothTestUtils.java144 public int getProfileId() { in getProfileId() method in BluetoothTestUtils.TestLocalBluetoothProfile
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDevicePreferenceControllerTest.java165 when(mHeadsetProfile.getProfileId()).thenReturn(BluetoothProfile.HEADSET); in setUp()
166 when(mA2dpProfile.getProfileId()).thenReturn(BluetoothProfile.A2DP); in setUp()
167 when(mLeAudioProfile.getProfileId()).thenReturn(BluetoothProfile.LE_AUDIO); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAccessoryUtils.java226 if (profile.getProfileId() == BluetoothProfile.A2DP) { in hasAudioProfile()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevices.java316 if (profile.getProfileId() == profileId) { in getProfile()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDevicePreferenceController.java441 profile.getProfileId() != bluetoothProfile in isFirstConnectedProfile()