/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothHapPresetInfo.java | 32 public final class BluetoothHapPresetInfo implements Parcelable { class 46 /*package*/ BluetoothHapPresetInfo( in BluetoothHapPresetInfo() method in BluetoothHapPresetInfo 59 private BluetoothHapPresetInfo(@NonNull Parcel in) { in BluetoothHapPresetInfo() method in BluetoothHapPresetInfo 103 public static final @NonNull Creator<BluetoothHapPresetInfo> CREATOR = 104 new Creator<BluetoothHapPresetInfo>() { 105 public BluetoothHapPresetInfo createFromParcel(@NonNull Parcel in) { 106 return new BluetoothHapPresetInfo(in); 109 public BluetoothHapPresetInfo[] newArray(int size) { 110 return new BluetoothHapPresetInfo[size]; 191 public @NonNull BluetoothHapPresetInfo build() { in build() [all …]
|
D | BluetoothHapClient.java | 177 @NonNull List<BluetoothHapPresetInfo> presetInfoList, in onPresetInfoChanged() 279 @NonNull List<BluetoothHapPresetInfo> presetInfoList, 904 public @Nullable BluetoothHapPresetInfo getActivePresetInfo(@NonNull BluetoothDevice device) { in getActivePresetInfo() 1135 public BluetoothHapPresetInfo getPresetInfo(@NonNull BluetoothDevice device, int presetIndex) { in getPresetInfo() 1164 public @NonNull List<BluetoothHapPresetInfo> getAllPresetInfo(@NonNull BluetoothDevice device) { in getAllPresetInfo()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/ |
D | HapClientService.java | 28 import android.bluetooth.BluetoothHapPresetInfo; 81 private final Map<BluetoothDevice, List<BluetoothHapPresetInfo>> mPresetsMap = new HashMap<>(); 555 public @Nullable BluetoothHapPresetInfo getActivePresetInfo(BluetoothDevice device) { in getActivePresetInfo() 559 List<BluetoothHapPresetInfo> current_presets = mPresetsMap.get(device); in getActivePresetInfo() 561 for (BluetoothHapPresetInfo preset : current_presets) { in getActivePresetInfo() 678 public @Nullable BluetoothHapPresetInfo getPresetInfo(BluetoothDevice device, int presetIndex) { in getPresetInfo() 679 BluetoothHapPresetInfo defaultValue = null; in getPresetInfo() 688 List<BluetoothHapPresetInfo> current_presets = mPresetsMap.get(device); in getPresetInfo() 690 for (BluetoothHapPresetInfo preset : current_presets) { in getPresetInfo() 706 public List<BluetoothHapPresetInfo> getAllPresetInfo(BluetoothDevice device) { in getAllPresetInfo() [all …]
|
D | HapClientNativeInterface.java | 22 import android.bluetooth.BluetoothHapPresetInfo; 287 void onPresetInfo(byte[] address, int infoReason, BluetoothHapPresetInfo[] presets) { in onPresetInfo() 299 void onGroupPresetInfo(int groupId, int infoReason, BluetoothHapPresetInfo[] presets) { in onGroupPresetInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsHearingAidsPresetsControllerTest.java | 36 import android.bluetooth.BluetoothHapPresetInfo; 222 BluetoothHapPresetInfo info = getTestPresetInfo(); in refresh_validPresetInfo_preferenceEnabled() 233 BluetoothHapPresetInfo info = getTestPresetInfo(); in refresh_invalidActivePresetIndex_summaryIsNull() 245 BluetoothHapPresetInfo info = getTestPresetInfo(); in refresh_validActivePresetIndex_summaryIsNotNull() 265 private BluetoothHapPresetInfo getTestPresetInfo() { in getTestPresetInfo() 266 BluetoothHapPresetInfo info = mock(BluetoothHapPresetInfo.class); in getTestPresetInfo()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothHapClient.aidl | 21 import android.bluetooth.BluetoothHapPresetInfo; 46 …BluetoothHapPresetInfo getActivePresetInfo(in BluetoothDevice device, in AttributionSource attribu… in getActivePresetInfo() 60 …BluetoothHapPresetInfo getPresetInfo(in BluetoothDevice device, int presetIndex, in AttributionSou… in getPresetInfo() 62 …List<BluetoothHapPresetInfo> getAllPresetInfo(in BluetoothDevice device, in AttributionSource attr… in getAllPresetInfo()
|
D | IBluetoothHapClientCallback.aidl | 20 import android.bluetooth.BluetoothHapPresetInfo; 34 in List<BluetoothHapPresetInfo> presetInfoList, in onPresetInfoChanged()
|
D | BluetoothHapPresetInfo.aidl | 20 parcelable BluetoothHapPresetInfo;
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientNativeInterfaceTest.java | 24 import android.bluetooth.BluetoothHapPresetInfo; 154 BluetoothHapPresetInfo[] presets = { in onPresetInfo() 155 new BluetoothHapPresetInfo.Builder(0x01, "onPresetInfo") in onPresetInfo() 174 BluetoothHapPresetInfo[] presets = { in onGroupPresetInfo() 175 new BluetoothHapPresetInfo.Builder(0x01, "onPresetInfo") in onGroupPresetInfo()
|
D | HapClientTest.java | 48 import android.bluetooth.BluetoothHapPresetInfo; 159 .onPresetInfo(any(byte[].class), anyInt(), any(BluetoothHapPresetInfo[].class)); in setUp() 631 List<BluetoothHapPresetInfo> presetList = in testGetPresetInfoAndActivePresetInfo() 634 BluetoothHapPresetInfo presetInfo = in testGetPresetInfoAndActivePresetInfo() 649 BluetoothHapPresetInfo info = in testGetPresetInfoAndActivePresetInfo() 804 BluetoothHapPresetInfo[] info = { in testStackEventOnPresetInfo() 805 new BluetoothHapPresetInfo.Builder(0x01, "OneChangedToUnavailable") in testStackEventOnPresetInfo() 814 ArgumentCaptor<List<BluetoothHapPresetInfo>> presetsCaptor = in testStackEventOnPresetInfo() 826 List<BluetoothHapPresetInfo> presets = presetsCaptor.getValue(); in testStackEventOnPresetInfo() 829 Optional<BluetoothHapPresetInfo> preset = in testStackEventOnPresetInfo() [all …]
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsHearingAidsPresetsController.java | 25 import android.bluetooth.BluetoothHapPresetInfo; 225 @NonNull List<BluetoothHapPresetInfo> presetInfoList, int reason) { in onPresetInfoChanged() 230 for (BluetoothHapPresetInfo info: presetInfoList) { in onPresetInfoChanged() 275 List<BluetoothHapPresetInfo> infoList = mHapClientProfile.getAllPresetInfo( in loadAllPresetInfo()
|
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/ |
D | LeAudioDeviceStateWrapper.java | 21 import android.bluetooth.BluetoothHapPresetInfo; 60 public MutableLiveData<List<BluetoothHapPresetInfo>> hapPresetsMutable =
|
D | BluetoothProxy.java | 688 List<BluetoothHapPresetInfo> presetInfoList, in initProfiles() 1350 BluetoothHapPresetInfo new_preset = null; in hapReadPresetInfo() 1360 (BluetoothHapPresetInfo) in hapReadPresetInfo() 1379 if (current_presets == null) current_presets = new ArrayList<BluetoothHapPresetInfo>(); in hapReadPresetInfo() 1382 ListIterator<BluetoothHapPresetInfo> iter = current_presets.listIterator(); in hapReadPresetInfo()
|
/packages/modules/Bluetooth/framework/api/ |
D | system-current.txt | 322 …ifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothHapPresetInfo getActiveP… 323 …n.BLUETOOTH_PRIVILEGED}) public java.util.List<android.bluetooth.BluetoothHapPresetInfo> getAllPre… 330 …ifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothHapPresetInfo getPresetI… 355 …bluetooth.BluetoothDevice, @NonNull java.util.List<android.bluetooth.BluetoothHapPresetInfo>, int); 363 public final class BluetoothHapPresetInfo implements android.os.Parcelable { 370 …ublic static final android.os.Parcelable.Creator<android.bluetooth.BluetoothHapPresetInfo> CREATOR;
|