/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | HeadsetClientStateMachine.java | 42 import android.bluetooth.BluetoothHeadsetClient; 358 intent.putExtra(BluetoothHeadsetClient.EXTRA_CALL, c); in sendCallChangedIntent() 531 if (flag != BluetoothHeadsetClient.CALL_ACCEPT_NONE) { in acceptCall() 548 if (flag == BluetoothHeadsetClient.CALL_ACCEPT_HOLD in acceptCall() 583 if (flag == BluetoothHeadsetClient.CALL_ACCEPT_HOLD) { in acceptCall() 1662 BluetoothHeadsetClient.STATE_AUDIO_CONNECTING); in enter() 1777 BluetoothHeadsetClient.STATE_AUDIO_CONNECTED); in exit() 1930 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState() 1966 case BluetoothHeadsetClient.STATE_AUDIO_CONNECTED: in getConnectionStateFromAudioState() 1968 case BluetoothHeadsetClient.STATE_AUDIO_CONNECTING: in getConnectionStateFromAudioState() [all …]
|
H A D | VendorCommandResponseProcessor.java | 27 import android.bluetooth.BluetoothHeadsetClient; 161 Intent intent = new Intent(BluetoothHeadsetClient in broadcastVendorSpecificEventIntent() 163 intent.putExtra(BluetoothHeadsetClient.EXTRA_VENDOR_ID, vendorId); in broadcastVendorSpecificEventIntent() 164 intent.putExtra(BluetoothHeadsetClient.EXTRA_VENDOR_EVENT_CODE, vendorEventCode); in broadcastVendorSpecificEventIntent() 165 intent.putExtra(BluetoothHeadsetClient.EXTRA_VENDOR_EVENT_FULL_ARGS, vendorResponse); in broadcastVendorSpecificEventIntent()
|
H A D | HeadsetClientService.java | 21 import android.bluetooth.BluetoothHeadsetClient; 344 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState() 1039 if (audioState == BluetoothHeadsetClient.STATE_AUDIO_CONNECTED) { in isScoRouted()
|
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/bluetooth/ |
H A D | ConnectedDeviceSignalController.java | 23 import android.bluetooth.BluetoothHeadsetClient; 88 private BluetoothHeadsetClient mBluetoothHeadsetClient; 93 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy; 131 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in startListening() 132 filter.addAction(BluetoothHeadsetClient.ACTION_AG_EVENT); in startListening() 173 if (BluetoothHeadsetClient.ACTION_AG_EVENT.equals(action)) { in onReceive() 179 } else if (BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED.equals(action)) { in onReceive() 198 int networkStatus = intent.getIntExtra(BluetoothHeadsetClient.EXTRA_NETWORK_STATUS, in processActionAgEvent() 211 BluetoothHeadsetClient.EXTRA_NETWORK_SIGNAL_STRENGTH, INVALID_SIGNAL); in processActionAgEvent() 220 int roamingStatus = intent.getIntExtra(BluetoothHeadsetClient.EXTRA_NETWORK_ROAMING, in processActionAgEvent() [all …]
|
H A D | CarBatteryController.java | 21 import android.bluetooth.BluetoothHeadsetClient; 62 private BluetoothHeadsetClient mBluetoothHeadsetClient; 67 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy; 127 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in startListening() 128 filter.addAction(BluetoothHeadsetClient.ACTION_AG_EVENT); in startListening() 145 if (BluetoothHeadsetClient.ACTION_AG_EVENT.equals(action)) { in onReceive() 150 int batteryLevel = intent.getIntExtra(BluetoothHeadsetClient.EXTRA_BATTERY_LEVEL, in onReceive() 158 } else if (BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED.equals(action)) { in onReceive() 238 int batteryLevel = featuresBundle.getInt(BluetoothHeadsetClient.EXTRA_BATTERY_LEVEL, in updateBatteryIcon()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
H A D | HfpClientConnectionService.java | 20 import android.bluetooth.BluetoothHeadsetClient; 56 private BluetoothHeadsetClient mHeadsetProfile; 69 if (BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED.equals(action)) { 99 } else if (BluetoothHeadsetClient.ACTION_CALL_CHANGED.equals(action)) { 101 intent.getParcelableExtra(BluetoothHeadsetClient.EXTRA_CALL); 116 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED); 118 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED); 186 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in onStartCommand() 187 filter.addAction(BluetoothHeadsetClient.ACTION_AUDIO_STATE_CHANGED); in onStartCommand() 188 filter.addAction(BluetoothHeadsetClient.ACTION_CALL_CHANGED); in onStartCommand() [all …]
|
H A D | HfpClientConference.java | 19 import android.bluetooth.BluetoothHeadsetClient; 29 private BluetoothHeadsetClient mHeadsetProfile; 32 BluetoothHeadsetClient client) { in HfpClientConference() 71 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClient.CALL_ACCEPT_HOLD); in onUnhold() 90 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClient.CALL_ACCEPT_NONE); in onConnectionAdded()
|
H A D | HfpClientConnection.java | 19 import android.bluetooth.BluetoothHeadsetClient; 42 private BluetoothHeadsetClient mHeadsetProfile; 56 BluetoothHeadsetClient client, BluetoothHeadsetClientCall call) { in HfpClientConnection() 73 BluetoothHeadsetClient client, Uri number) { in HfpClientConnection() 261 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClient.CALL_ACCEPT_HOLD); in onUnhold() 271 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClient.CALL_ACCEPT_NONE); in onAnswer()
|
H A D | HfpClientDeviceBlock.java | 19 import android.bluetooth.BluetoothHeadsetClient; 54 private BluetoothHeadsetClient mHeadsetProfile; 58 BluetoothHeadsetClient headsetProfile) { in HfpClientDeviceBlock()
|
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/voicerecognition/ |
H A D | ConnectedDeviceVoiceRecognitionNotifierTest.java | 31 import android.bluetooth.BluetoothHeadsetClient; 77 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_AG_EVENT); in testReceiveIntent_started_showToast() 78 intent.putExtra(BluetoothHeadsetClient.EXTRA_VOICE_RECOGNITION, VOICE_RECOGNITION_STARTED); in testReceiveIntent_started_showToast() 95 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_AG_EVENT); in testReceiveIntent_invalidExtra_noToast() 96 intent.putExtra(BluetoothHeadsetClient.EXTRA_VOICE_RECOGNITION, INVALID_VALUE); in testReceiveIntent_invalidExtra_noToast() 110 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_AG_EVENT); in testReceiveIntent_noExtra_noToast() 124 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_AUDIO_STATE_CHANGED); in testReceiveIntent_invalidIntent_noToast()
|
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/voicerecognition/ |
H A D | ConnectedDeviceVoiceRecognitionNotifier.java | 19 import android.bluetooth.BluetoothHeadsetClient; 59 || !BluetoothHeadsetClient.ACTION_AG_EVENT.equals(intent.getAction()) 60 || !intent.hasExtra(BluetoothHeadsetClient.EXTRA_VOICE_RECOGNITION)) { 65 BluetoothHeadsetClient.EXTRA_VOICE_RECOGNITION, INVALID_VALUE); 91 filter.addAction(BluetoothHeadsetClient.ACTION_AG_EVENT); in onBootCompleted()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
H A D | HeadsetClientStateMachineTest.java | 12 import android.bluetooth.BluetoothHeadsetClient; 144 BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED), in testIncomingPriorityReject() 297 intentArgument.getValue().getIntExtra(BluetoothHeadsetClient.EXTRA_IN_BAND_RING, in testInBandRingtone() 337 BluetoothHeadsetClient.EXTRA_CALL)).isInBandRing()); in testInBandRingtone() 346 intentArgument.getValue().getIntExtra(BluetoothHeadsetClient.EXTRA_IN_BAND_RING, in testInBandRingtone() 494 Assert.assertEquals(BluetoothHeadsetClient.ACTION_VENDOR_SPECIFIC_HEADSETCLIENT_EVENT, in runSupportedVendorEvent() 497 intentArgument.getValue().getIntExtra(BluetoothHeadsetClient.EXTRA_VENDOR_ID, -1)); in runSupportedVendorEvent() 500 BluetoothHeadsetClient.EXTRA_VENDOR_EVENT_CODE)); in runSupportedVendorEvent() 503 BluetoothHeadsetClient.EXTRA_VENDOR_EVENT_FULL_ARGS)); in runSupportedVendorEvent() 622 Assert.assertEquals(BluetoothHeadsetClient.ACTION_AG_EVENT, in verifyVoiceRecognitionBroadcast() [all …]
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | HfpClientProfile.java | 25 import android.bluetooth.BluetoothHeadsetClient; 43 private BluetoothHeadsetClient mService; 65 mService = (BluetoothHeadsetClient) proxy; in onServiceConnected()
|
H A D | LocalBluetoothProfileManager.java | 24 import android.bluetooth.BluetoothHeadsetClient; 158 BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED, in updateLocalProfiles() 159 BluetoothHeadsetClient.ACTION_AUDIO_STATE_CHANGED, in updateLocalProfiles() 160 BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED); in updateLocalProfiles()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
H A D | HfpClientProfileTest.java | 25 import android.bluetooth.BluetoothHeadsetClient; 49 private BluetoothHeadsetClient mService;
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | CarBluetoothUserService.java | 21 import android.bluetooth.BluetoothHeadsetClient; 62 private BluetoothHeadsetClient mBluetoothHeadsetClient; 174 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy;
|
H A D | CarInputService.java | 29 import android.bluetooth.BluetoothHeadsetClient; 210 private BluetoothHeadsetClient mBluetoothHeadsetClient; 219 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy; 661 BluetoothHeadsetClient.EXTRA_AG_FEATURE_VOICE_RECOGNITION)) { in launchBluetoothVoiceRecognition()
|
H A D | BluetoothProfileDeviceManager.java | 28 import android.bluetooth.BluetoothHeadsetClient; 99 new BluetoothProfileInfo(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED, in sProfileActions.put()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
H A D | BluetoothHeadsetFragment.java | 22 import android.bluetooth.BluetoothHeadsetClient; 64 BluetoothHeadsetClient mHfpClientProfile; 416 mHfpClientProfile = (BluetoothHeadsetClient) proxy; in onServiceConnected()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PbapClientService.java | 23 import android.bluetooth.BluetoothHeadsetClient; 91 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in start() 207 } else if (action.equals(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED)) { in onReceive()
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHeadsetClient.java | 48 public final class BluetoothHeadsetClient implements BluetoothProfile { class 443 /* package */ BluetoothHeadsetClient(Context context, ServiceListener listener, in BluetoothHeadsetClient() method in BluetoothHeadsetClient 1113 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState()
|
H A D | BluetoothAdapter.java | 3044 BluetoothHeadsetClient headsetClient = in getProfileProxy() 3045 new BluetoothHeadsetClient(context, listener, this); in getProfileProxy() 3134 BluetoothHeadsetClient headsetClient = (BluetoothHeadsetClient) proxy; in closeProfileProxy()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | AdapterProperties.java | 29 import android.bluetooth.BluetoothHeadsetClient; 146 case BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED: 225 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in init()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
H A D | BluetoothProfileDeviceManagerTest.java | 25 import android.bluetooth.BluetoothHeadsetClient; 107 private final String mConnectionAction = BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED;
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 10296 Landroid/bluetooth/BluetoothHeadsetClient;->ACTION_RESULT_OK:I 10300 Landroid/bluetooth/BluetoothHeadsetClient;->close()V 10313 Landroid/bluetooth/BluetoothHeadsetClient;->CME_MEMORY_FULL:I 10319 Landroid/bluetooth/BluetoothHeadsetClient;->CME_NOT_FOUND:I 10332 Landroid/bluetooth/BluetoothHeadsetClient;->CME_SIM_BUSY:I 10333 Landroid/bluetooth/BluetoothHeadsetClient;->CME_SIM_FAILURE:I 10339 Landroid/bluetooth/BluetoothHeadsetClient;->CME_SIM_WRONG:I 10343 Landroid/bluetooth/BluetoothHeadsetClient;->DBG:Z 10346 Landroid/bluetooth/BluetoothHeadsetClient;->doBind()Z 10380 Landroid/bluetooth/BluetoothHeadsetClient;->isEnabled()Z [all …]
|