Searched refs:BluetoothHapClient (Results 1 – 14 of 14) sorted by relevance
/packages/modules/Bluetooth/framework/api/ |
D | system-lint-baseline.txt | 56 UnflaggedApi: android.bluetooth.BluetoothHapClient#PRESET_INDEX_UNAVAILABLE: 57 …New API must be flagged with @FlaggedApi: field android.bluetooth.BluetoothHapClient.PRESET_INDEX_… 58 UnflaggedApi: android.bluetooth.BluetoothHapClient#getActivePresetIndex(android.bluetooth.Bluetooth… 59 …New API must be flagged with @FlaggedApi: method android.bluetooth.BluetoothHapClient.getActivePre… 60 UnflaggedApi: android.bluetooth.BluetoothHapClient#getHapGroup(android.bluetooth.BluetoothDevice): 61 …New API must be flagged with @FlaggedApi: method android.bluetooth.BluetoothHapClient.getHapGroup(… 62 UnflaggedApi: android.bluetooth.BluetoothHapClient#getPresetInfo(android.bluetooth.BluetoothDevice,… 63 …New API must be flagged with @FlaggedApi: method android.bluetooth.BluetoothHapClient.getPresetInf… 64 UnflaggedApi: android.bluetooth.BluetoothHapClient#switchToNextPreset(android.bluetooth.BluetoothDe… 65 …New API must be flagged with @FlaggedApi: method android.bluetooth.BluetoothHapClient.switchToNext… [all …]
|
D | system-current.txt | 318 …public final class BluetoothHapClient implements java.lang.AutoCloseable android.bluetooth.Bluetoo… 331 …ck(@NonNull java.util.concurrent.Executor, @NonNull android.bluetooth.BluetoothHapClient.Callback); 345 …RIVILEGED}) public void unregisterCallback(@NonNull android.bluetooth.BluetoothHapClient.Callback); 354 public static interface BluetoothHapClient.Callback {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceControllerTest.java | 29 import android.bluetooth.BluetoothHapClient; 171 Intent intent = new Intent(BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED); in getSummary_connectedLeAudioHearingAidLeftSide_connectedLeftSideSummary() 172 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHapClient.STATE_CONNECTED); in getSummary_connectedLeAudioHearingAidLeftSide_connectedLeftSideSummary() 188 Intent intent = new Intent(BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED); in getSummary_connectedLeAudioHearingAidRightSide_connectedRightSideSummary() 189 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHapClient.STATE_CONNECTED); in getSummary_connectedLeAudioHearingAidRightSide_connectedRightSideSummary() 205 Intent intent = new Intent(BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED); in getSummary_connectedLeAudioHearingAidLeftAndRightSide_connectedSummary() 206 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHapClient.STATE_CONNECTED); in getSummary_connectedLeAudioHearingAidLeftAndRightSide_connectedSummary() 221 Intent intent = new Intent(BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED); in getSummary_connectedLeAudioHearingAidBothSide_connectedBothSideSummary() 222 intent.putExtra(BluetoothHearingAid.EXTRA_STATE, BluetoothHapClient.STATE_CONNECTED); in getSummary_connectedLeAudioHearingAidBothSide_connectedBothSideSummary()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothHapClient.java | 57 public final class BluetoothHapClient implements BluetoothProfile, AutoCloseable { class 243 for (Map.Entry<BluetoothHapClient.Callback, Executor> callbackExecutorEntry : 245 BluetoothHapClient.Callback callback = callbackExecutorEntry.getKey(); 255 for (Map.Entry<BluetoothHapClient.Callback, Executor> callbackExecutorEntry : 257 BluetoothHapClient.Callback callback = callbackExecutorEntry.getKey(); 265 for (Map.Entry<BluetoothHapClient.Callback, Executor> callbackExecutorEntry : 267 BluetoothHapClient.Callback callback = callbackExecutorEntry.getKey(); 282 for (Map.Entry<BluetoothHapClient.Callback, Executor> callbackExecutorEntry : 284 BluetoothHapClient.Callback callback = callbackExecutorEntry.getKey(); 296 for (Map.Entry<BluetoothHapClient.Callback, Executor> callbackExecutorEntry : [all …]
|
D | BluetoothHapPresetInfo.java | 138 private int mPresetIndex = BluetoothHapClient.PRESET_INDEX_UNAVAILABLE;
|
D | BluetoothAdapter.java | 832 Map.entry(BluetoothProfile.HAP_CLIENT, BluetoothHapClient::new),
|
/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/ |
D | BluetoothProxy.java | 62 private BluetoothHapClient bluetoothHapClient = null; 64 private BluetoothHapClient.Callback hapCallback = null; 264 case BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED: 268 BluetoothHapClient.EXTRA_STATE, -1); 612 new BluetoothHapClient.Callback() { in initProfiles() 789 bluetoothHapClient = (BluetoothHapClient) bluetoothProfile; in initProfiles() 912 intentFilter.addAction(BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED); in initHapProxy() 1010 == BluetoothHapClient.STATE_CONNECTED; in queryLeAudioDevices() 1015 BluetoothHapClient.class.getDeclaredMethod( in queryLeAudioDevices() 1032 BluetoothHapClient.class.getDeclaredMethod( in queryLeAudioDevices() [all …]
|
D | LeAudioRecycleViewAdapter.java | 32 import android.bluetooth.BluetoothHapClient; 283 boolean is_connected = (hap_state == BluetoothHapClient.STATE_CONNECTED); in setHasStateObservers() 306 BluetoothHapClient.class.getDeclaredField( in setHasStateObservers() 312 BluetoothHapClient.class.getDeclaredField( in setHasStateObservers() 318 BluetoothHapClient.class.getDeclaredField( in setHasStateObservers() 324 BluetoothHapClient.class.getDeclaredField( in setHasStateObservers() 330 BluetoothHapClient.class.getDeclaredField( in setHasStateObservers() 336 BluetoothHapClient.class.getDeclaredField( in setHasStateObservers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsHearingAidsPresetsControllerTest.java | 20 import static android.bluetooth.BluetoothHapClient.PRESET_INDEX_UNAVAILABLE; 35 import android.bluetooth.BluetoothHapClient; 121 any(BluetoothHapClient.Callback.class)); in onResume_registerCallback() 128 verify(mHapClientProfile).unregisterCallback(any(BluetoothHapClient.Callback.class)); in onPause_unregisterCallback()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/ |
D | HapClientService.java | 27 import android.bluetooth.BluetoothHapClient; 546 device, BluetoothHapClient.PRESET_INDEX_UNAVAILABLE); in getActivePresetIndex() 557 if (index == BluetoothHapClient.PRESET_INDEX_UNAVAILABLE) return null; in getActivePresetInfo() 578 if (presetIndex == BluetoothHapClient.PRESET_INDEX_UNAVAILABLE) { in selectPreset() 680 if (presetIndex == BluetoothHapClient.PRESET_INDEX_UNAVAILABLE) return defaultValue; in getPresetInfo() 890 if (presetIndex == BluetoothHapClient.PRESET_INDEX_UNAVAILABLE) return false; in isPresetIndexValid() 1088 intent = new Intent(BluetoothHapClient.ACTION_HAP_DEVICE_AVAILABLE); in messageFromNative() 1090 intent.putExtra(BluetoothHapClient.EXTRA_HAP_FEATURES, features); in messageFromNative() 1326 return BluetoothHapClient.PRESET_INDEX_UNAVAILABLE; in getActivePresetIndex()
|
D | HapClientStateMachine.java | 36 import android.bluetooth.BluetoothHapClient; 174 Intent intent = new Intent(BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED); in broadcastConnectionState()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsHearingAidsPresetsController.java | 24 import android.bluetooth.BluetoothHapClient; 59 BluetoothHapClient.Callback, LocalBluetoothProfileManager.ServiceListener, 170 if (activePresetIndex != BluetoothHapClient.PRESET_INDEX_UNAVAILABLE) { in refresh()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilityHearingAidPreferenceController.java | 20 import android.bluetooth.BluetoothHapClient; 94 filter.addAction(BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED); in onStart()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientTest.java | 20 import static android.bluetooth.BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED; 21 import static android.bluetooth.BluetoothHapClient.ACTION_HAP_DEVICE_AVAILABLE; 47 import android.bluetooth.BluetoothHapClient; 461 BluetoothHapClient.PRESET_INDEX_UNAVAILABLE, in testCallsForNotConnectedDevice() 640 BluetoothHapClient.PRESET_INDEX_UNAVAILABLE, in testGetPresetInfoAndActivePresetInfo() 740 hasExtra(BluetoothHapClient.EXTRA_HAP_FEATURES, 0x03))), in testStackEventDeviceAvailable() 1093 hasExtra(BluetoothHapClient.EXTRA_HAP_FEATURES, 0x01))), in verifyConnectingDevice()
|