Home
last modified time | relevance | path

Searched refs:DeviceSide (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DHearingAidInfo.java33 DeviceSide.SIDE_INVALID,
34 DeviceSide.SIDE_LEFT,
35 DeviceSide.SIDE_RIGHT,
40 public @interface DeviceSide { annotation in HearingAidInfo
73 @DeviceSide
113 @DeviceSide
125 @DeviceSide
136 return DeviceSide.SIDE_INVALID; in convertLeAudioLocationToInternalSide()
236 HearingAidProfile.DeviceSide.SIDE_INVALID, DeviceSide.SIDE_INVALID); in ASHA_DEVICE_SIDE_TO_INTERNAL_SIDE_MAPPING.put()
238 HearingAidProfile.DeviceSide.SIDE_LEFT, DeviceSide.SIDE_LEFT); in ASHA_DEVICE_SIDE_TO_INTERNAL_SIDE_MAPPING.put()
[all …]
H A DHearingAidProfile.java46 DeviceSide.SIDE_INVALID,
47 DeviceSide.SIDE_LEFT,
48 DeviceSide.SIDE_RIGHT
52 public @interface DeviceSide { annotation in HearingAidProfile
280 @DeviceSide
282 final int defaultValue = DeviceSide.SIDE_INVALID; in getDeviceSide()
H A DCachedBluetoothDevice.java373 ? mHearingAidInfo.getSide() : HearingAidInfo.DeviceSide.SIDE_INVALID; in getDeviceSide()
1227 if (deviceSide == HearingAidInfo.DeviceSide.SIDE_LEFT_AND_RIGHT) { in getConnectionSummary()
1229 } else if (deviceSide == HearingAidInfo.DeviceSide.SIDE_LEFT) { in getConnectionSummary()
1231 } else if (deviceSide == HearingAidInfo.DeviceSide.SIDE_RIGHT) { in getConnectionSummary()
H A DHearingAidDeviceManager.java108 return HearingAidProfile.DeviceSide.SIDE_INVALID; in getDeviceSide()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DHearingAidDeviceManagerTest.java149 HearingAidProfile.DeviceSide.SIDE_RIGHT); in initHearingAidDeviceIfNeeded_validHiSyncId_setHearingAidInfo()
158 HearingAidInfo.DeviceSide.SIDE_RIGHT); in initHearingAidDeviceIfNeeded_validHiSyncId_setHearingAidInfo()
341 HearingAidProfile.DeviceSide.SIDE_RIGHT); in updateHearingAidsDevices_validHiSyncId_setHearingAidInfos()
350 HearingAidInfo.DeviceSide.SIDE_RIGHT); in updateHearingAidsDevices_validHiSyncId_setHearingAidInfos()
474 assertThat(mCachedDevice1.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_RIGHT); in onProfileConnectionStateChanged_disconnected_mainDevice_subDeviceConnected_switch()
475 assertThat(mCachedDevice2.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in onProfileConnectionStateChanged_disconnected_mainDevice_subDeviceConnected_switch()
551 .setAshaDeviceSide(HearingAidInfo.DeviceSide.SIDE_LEFT) in getLeftAshaHearingAidInfo()
558 .setAshaDeviceSide(HearingAidInfo.DeviceSide.SIDE_RIGHT) in getRightAshaHearingAidInfo()
H A DCachedBluetoothDeviceTest.java1118 assertThat(mCachedDevice.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_RIGHT); in switchSubDeviceContent()
1123 assertThat(mSubCachedDevice.getDeviceSide()).isEqualTo(HearingAidInfo.DeviceSide.SIDE_LEFT); in switchSubDeviceContent()
1248 .setAshaDeviceSide(HearingAidProfile.DeviceSide.SIDE_LEFT) in getLeftAshaHearingAidInfo()
1254 .setAshaDeviceSide(HearingAidProfile.DeviceSide.SIDE_RIGHT) in getRightAshaHearingAidInfo()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/DeviceSide/src/com/android/server/pm/cts/test/deviceside/
H A DDeviceSide.kt11 class DeviceSide { regex