Home
last modified time | relevance | path

Searched refs:BluetoothHeadsetClient (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java48 import android.bluetooth.BluetoothHeadsetClient;
49 import android.bluetooth.BluetoothHeadsetClient.NetworkServiceState;
383 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_CALL_CHANGED); in sendCallChangedIntent()
389 BluetoothHeadsetClient.EXTRA_CALL, HeadsetClientService.toLegacyCall(c)); in sendCallChangedIntent()
391 intent.putExtra(BluetoothHeadsetClient.EXTRA_CALL, c); in sendCallChangedIntent()
411 Intent intent = new Intent(BluetoothHeadsetClient.ACTION_NETWORK_SERVICE_STATE_CHANGED); in sendNetworkStateChangedIntent()
413 intent.putExtra(BluetoothHeadsetClient.EXTRA_NETWORK_SERVICE_STATE, networkServiceState); in sendNetworkStateChangedIntent()
621 if (flag != BluetoothHeadsetClient.CALL_ACCEPT_NONE) { in acceptCall()
629 if (flag != BluetoothHeadsetClient.CALL_ACCEPT_NONE) { in acceptCall()
638 if (flag == BluetoothHeadsetClient.CALL_ACCEPT_HOLD in acceptCall()
[all …]
DVendorCommandResponseProcessor.java27 import android.bluetooth.BluetoothHeadsetClient;
175 new Intent(BluetoothHeadsetClient.ACTION_VENDOR_SPECIFIC_HEADSETCLIENT_EVENT); in broadcastVendorSpecificEventIntent()
176 intent.putExtra(BluetoothHeadsetClient.EXTRA_VENDOR_ID, vendorId); in broadcastVendorSpecificEventIntent()
177 intent.putExtra(BluetoothHeadsetClient.EXTRA_VENDOR_EVENT_CODE, vendorEventCode); in broadcastVendorSpecificEventIntent()
178 intent.putExtra(BluetoothHeadsetClient.EXTRA_VENDOR_EVENT_FULL_ARGS, vendorResponse); in broadcastVendorSpecificEventIntent()
DHeadsetClientServiceBinder.java26 import android.bluetooth.BluetoothHeadsetClient;
170 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/bluetooth/
DConnectedDeviceSignalController.java23 import android.bluetooth.BluetoothHeadsetClient;
24 import android.bluetooth.BluetoothHeadsetClient.NetworkServiceState;
86 private BluetoothHeadsetClient mBluetoothHeadsetClient;
91 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy;
129 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in startListening()
130 filter.addAction(BluetoothHeadsetClient.ACTION_NETWORK_SERVICE_STATE_CHANGED); in startListening()
171 if (BluetoothHeadsetClient.ACTION_NETWORK_SERVICE_STATE_CHANGED.equals(action)) { in onReceive()
177 } else if (BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED.equals(action)) { in onReceive()
197 BluetoothHeadsetClient.EXTRA_NETWORK_SERVICE_STATE, null); in processActionNetworkServiceStateEvent()
DCarBatteryController.java21 import android.bluetooth.BluetoothHeadsetClient;
102 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in startListening()
135 } else if (BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED.equals(action)) { in onReceive()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/bluetooth/
DBluetoothHeadsetClientHelper.java22 import android.bluetooth.BluetoothHeadsetClient;
48 @NonNull BluetoothHeadsetClient headsetClient) { in getConnectedBvraDevices()
55 BluetoothHeadsetClient.EXTRA_AG_FEATURE_VOICE_RECOGNITION)) { in getConnectedBvraDevices()
69 public static boolean startVoiceRecognition(@NonNull BluetoothHeadsetClient headsetClient, in startVoiceRecognition()
81 public static boolean stopVoiceRecognition(@NonNull BluetoothHeadsetClient headsetClient, in stopVoiceRecognition()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java47 import android.bluetooth.BluetoothHeadsetClient;
177 hasAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED), in testIncomingPriorityReject()
326 verifySendBroadcast(hasExtra(BluetoothHeadsetClient.EXTRA_IN_BAND_RING, 1)); in testInBandRingtone()
361 .getParcelableExtra(BluetoothHeadsetClient.EXTRA_CALL); in testInBandRingtone()
367 verifySendBroadcast(hasExtra(BluetoothHeadsetClient.EXTRA_IN_BAND_RING, 0)); in testInBandRingtone()
417 .getParcelableExtra(BluetoothHeadsetClient.EXTRA_CALL); in testWearablesUseBluetoothHeadsetClientCallInIntent()
564 hasAction(BluetoothHeadsetClient.ACTION_VENDOR_SPECIFIC_HEADSETCLIENT_EVENT), in runSupportedVendorEvent()
565 hasExtra(BluetoothHeadsetClient.EXTRA_VENDOR_ID, vendorId), in runSupportedVendorEvent()
566 hasExtra(BluetoothHeadsetClient.EXTRA_VENDOR_EVENT_CODE, vendorEventCode), in runSupportedVendorEvent()
567 hasExtra(BluetoothHeadsetClient.EXTRA_VENDOR_EVENT_FULL_ARGS, vendorEvent)); in runSupportedVendorEvent()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DCarBluetoothUserServiceTest.java37 import android.bluetooth.BluetoothHeadsetClient;
103 @Mock private BluetoothHeadsetClient mMockBluetoothHeadsetClient;
285 any(BluetoothHeadsetClient.class), any(BluetoothDevice.class)), never()); in testBvra_noProxy_doNothing()
310 any(BluetoothHeadsetClient.class), any(BluetoothDevice.class)), never()); in testBvra_noDevices_doNothing()
338 any(BluetoothHeadsetClient.class), mBvraDeviceCaptor.capture())); in testBvra_defaultDeviceSupports_bvraOnDefaultDevice()
367 any(BluetoothHeadsetClient.class), mBvraDeviceCaptor.capture())); in testBvra_defaultDeviceNoSupport_bvraOnFirstDevice()
420 any(BluetoothHeadsetClient.class))); in mockHeadsetClientGetConnectedBvraDevices()
436 any(BluetoothHeadsetClient.class), any(BluetoothDevice.class))); in mockHeadsetClientStartVoiceRecognition()
/packages/modules/Bluetooth/android/pandora/server/src/
DHfpHandsfree.kt21 import android.bluetooth.BluetoothHeadsetClient
55 getProfileProxy<BluetoothHeadsetClient>(context, BluetoothProfile.HEADSET_CLIENT)
78 BluetoothHeadsetClient.CALL_ACCEPT_NONE, in answerCallAsHandsfree()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothHeadsetFragment.java23 import android.bluetooth.BluetoothHeadsetClient;
69 BluetoothHeadsetClient mHfpClientProfile;
306 mHfpClientProfile = (BluetoothHeadsetClient) proxy; in onServiceConnected()
/packages/services/Car/service/src/com/android/car/bluetooth/
DCarBluetoothUserService.java23 import android.bluetooth.BluetoothHeadsetClient;
74 private BluetoothHeadsetClient mBluetoothHeadsetClient;
182 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy;
DBluetoothUtils.java23 import android.bluetooth.BluetoothHeadsetClient;
48 BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED;
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHeadsetClient.java64 public final class BluetoothHeadsetClient implements BluetoothProfile, AutoCloseable { class
65 private static final String TAG = BluetoothHeadsetClient.class.getSimpleName();
610 BluetoothHeadsetClient(Context context, BluetoothAdapter adapter) { in BluetoothHeadsetClient() method in BluetoothHeadsetClient
1302 return BluetoothHeadsetClient.STATE_AUDIO_DISCONNECTED; in getAudioState()
DBluetoothAdapter.java841 Map.entry(BluetoothProfile.HEADSET_CLIENT, BluetoothHeadsetClient::new),
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java56 import android.bluetooth.BluetoothHeadsetClient;
277 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in init()
329 case BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED:
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt91 …etooth.BluetoothDevice> getConnectedBvraDevices(@NonNull android.bluetooth.BluetoothHeadsetClient);
92 … static boolean startVoiceRecognition(@NonNull android.bluetooth.BluetoothHeadsetClient, android.b…
93 …c static boolean stopVoiceRecognition(@NonNull android.bluetooth.BluetoothHeadsetClient, android.b…
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt455 …public final class BluetoothHeadsetClient implements java.lang.AutoCloseable android.bluetooth.Blu…
462 …ifest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothHeadsetClient.NetworkSer…
469 …public static final class BluetoothHeadsetClient.NetworkServiceState implements android.os.Parcela…
477 …lic static final android.os.Parcelable.Creator<android.bluetooth.BluetoothHeadsetClient.NetworkSer…