Home
last modified time | relevance | path

Searched defs:presetIndex (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientNativeInterface.java61 void selectActivePreset(BluetoothDevice device, int presetIndex) { in selectActivePreset()
62 selectActivePresetNative(getByteAddress(device), presetIndex); in selectActivePreset() local
65 void groupSelectActivePreset(int groupId, int presetIndex) { in groupSelectActivePreset()
85 void getPresetInfo(BluetoothDevice device, int presetIndex) { in getPresetInfo()
86 getPresetInfoNative(getByteAddress(device), presetIndex); in getPresetInfo() local
89 void setPresetName(BluetoothDevice device, int presetIndex, String name) { in setPresetName()
90 setPresetNameNative(getByteAddress(device), presetIndex, name); in setPresetName() local
93 void groupSetPresetName(int groupId, int presetIndex, String name) { in groupSetPresetName()
106 private native void selectActivePresetNative(byte[] byteAddress, int presetIndex); in selectActivePresetNative()
108 private native void groupSelectActivePresetNative(int groupId, int presetIndex); in groupSelectActivePresetNative()
[all …]
DHapClientNativeCallback.java83 void onActivePresetSelected(byte[] address, int presetIndex) { in onActivePresetSelected()
92 void onActivePresetGroupSelected(int groupId, int presetIndex) { in onActivePresetGroupSelected()
141 void onPresetNameSetError(byte[] address, int presetIndex, int resultCode) { in onPresetNameSetError()
151 void onGroupPresetNameSetError(int groupId, int presetIndex, int resultCode) { in onGroupPresetNameSetError()
161 void onPresetInfoError(byte[] address, int presetIndex, int resultCode) { in onPresetInfoError()
171 void onGroupPresetInfoError(int groupId, int presetIndex, int resultCode) { in onGroupPresetInfoError()
DHapClientServiceBinder.java174 public void selectPreset(BluetoothDevice device, int presetIndex, AttributionSource source) { in selectPreset()
185 public void selectPresetForGroup(int groupId, int presetIndex, AttributionSource source) { in selectPresetForGroup()
235 BluetoothDevice device, int presetIndex, AttributionSource source) { in getPresetInfo()
270 BluetoothDevice device, int presetIndex, String name, AttributionSource source) { in setPresetName()
283 int groupId, int presetIndex, String name, AttributionSource source) { in setPresetNameForGroup()
DHapClientService.java550 void selectPreset(BluetoothDevice device, int presetIndex) { in selectPreset()
561 void selectPresetForGroup(int groupId, int presetIndex) { in selectPresetForGroup()
592 BluetoothHapPresetInfo getPresetInfo(BluetoothDevice device, int presetIndex) { in getPresetInfo()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientNativeCallbackTest.java89 int presetIndex = 0; in onActivePresetSelected() local
101 int presetIndex = 0; in onActivePresetGroupSelected() local
177 int presetIndex = 2; in onPresetNameSetError() local
191 int presetIndex = 2; in onGroupPresetNameSetError() local
205 int presetIndex = 2; in onPresetInfoError() local
219 int presetIndex = 2; in onGroupPresetInfoError() local
DHapClientServiceTest.java471 int presetIndex = 0x01; in testStackEventOnPresetSelected() local
473 mNativeCallback.onActivePresetSelected(getByteAddress(mDevice), presetIndex); in testStackEventOnPresetSelected() local
568 int presetIndex = 0x04; in testStackEventOnGroupPresetNameSetError() local
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingAidsPresetsController.java114 final int presetIndex = Integer.parseInt(value); in onPreferenceChange() local
194 public void onPresetSelected(@NonNull BluetoothDevice device, int presetIndex, int reason) { in onPresetSelected()
341 private void selectPresetSynchronously(int groupId, int presetIndex) { in selectPresetSynchronously()
353 private void selectPresetIndependently(int presetIndex) { in selectPresetIndependently()
362 mHapClientProfile.selectPreset(mCachedDevice.getDevice(), presetIndex); in selectPresetIndependently() local
368 mHapClientProfile.selectPreset(subDevice.getDevice(), presetIndex); in selectPresetIndependently() local
375 mHapClientProfile.selectPreset(memberDevice.getDevice(), presetIndex); in selectPresetIndependently() local
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHapClient.aidl48 …oneway void selectPreset(in BluetoothDevice device, int presetIndex, in AttributionSource attribut… in selectPreset()
50 …oneway void selectPresetForGroup(int groupId, int presetIndex, in AttributionSource attributionSou… in selectPresetForGroup()
60 …BluetoothHapPresetInfo getPresetInfo(in BluetoothDevice device, int presetIndex, in AttributionSou… in getPresetInfo()
66 …oneway void setPresetName(in BluetoothDevice device, int presetIndex, in String name, in Attributi… in setPresetName()
68 …oneway void setPresetNameForGroup(int groupId, int presetIndex, in String name, in AttributionSour… in setPresetNameForGroup()
DIBluetoothHapClientCallback.aidl30 void onPresetSelected(in BluetoothDevice device, in int presetIndex, in int reasonCode); in onPresetSelected()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHapClient.java99 int presetIndex, in onPresetSelected()
244 public void onPresetSelected(BluetoothDevice device, int presetIndex, int reason) { in onPresetSelected()
770 public void selectPreset(@NonNull BluetoothDevice device, int presetIndex) { in selectPreset()
799 public void selectPresetForGroup(int groupId, int presetIndex) { in selectPresetForGroup()
906 public BluetoothHapPresetInfo getPresetInfo(@NonNull BluetoothDevice device, int presetIndex) { in getPresetInfo()
1056 @NonNull BluetoothDevice device, int presetIndex, @NonNull String name) { in setPresetName()
1085 public void setPresetNameForGroup(int groupId, int presetIndex, @NonNull String name) { in setPresetNameForGroup()
DBluetoothHapPresetInfo.java47 int presetIndex, @NonNull String presetName, boolean isWritable, boolean isAvailable) { in BluetoothHapPresetInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptioningAppearancePreferenceControllerTest.java187 private String getSummaryCombo(int fontScaleIndex, int presetIndex) { in getSummaryCombo()
/packages/apps/ThemePicker/src/com/android/wallpaper/customization/ui/viewmodel/
DClockPickerViewModel.kt211 val presetIndex = value.roundToInt() in <lambda>() constant