/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothSinkAudioPolicy.java | 57 public final class BluetoothSinkAudioPolicy implements Parcelable { class 114 public BluetoothSinkAudioPolicy( in BluetoothSinkAudioPolicy() method in BluetoothSinkAudioPolicy 181 public static final @android.annotation.NonNull Parcelable.Creator<BluetoothSinkAudioPolicy> 183 new Parcelable.Creator<BluetoothSinkAudioPolicy>() { 185 public BluetoothSinkAudioPolicy createFromParcel(@NonNull Parcel in) { 186 return new BluetoothSinkAudioPolicy( 191 public BluetoothSinkAudioPolicy[] newArray(int size) { 192 return new BluetoothSinkAudioPolicy[size]; 211 if (o instanceof BluetoothSinkAudioPolicy) { in equals() 212 BluetoothSinkAudioPolicy other = (BluetoothSinkAudioPolicy) o; in equals() [all …]
|
D | BluetoothDevice.java | 3478 @NonNull BluetoothSinkAudioPolicy policies) { in requestAudioPolicyAsSink() 3519 public @Nullable BluetoothSinkAudioPolicy getRequestedAudioPolicyAsSink() { in getRequestedAudioPolicyAsSink()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/ |
D | AudioPolicyEntityTest.java | 21 import android.bluetooth.BluetoothSinkAudioPolicy; 33 .isEqualTo(BluetoothSinkAudioPolicy.POLICY_UNCONFIGURED); in constructor() 35 .isEqualTo(BluetoothSinkAudioPolicy.POLICY_UNCONFIGURED); in constructor() 37 .isEqualTo(BluetoothSinkAudioPolicy.POLICY_UNCONFIGURED); in constructor()
|
D | DatabaseManagerTest.java | 34 import android.bluetooth.BluetoothSinkAudioPolicy; 509 BluetoothSinkAudioPolicy value = in testSetGetAudioPolicyMetaData() 510 new BluetoothSinkAudioPolicy.Builder() in testSetGetAudioPolicyMetaData() 511 .setCallEstablishPolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testSetGetAudioPolicyMetaData() 513 BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) in testSetGetAudioPolicyMetaData() 514 .setInBandRingtonePolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testSetGetAudioPolicyMetaData() 1722 boolean stored, BluetoothSinkAudioPolicy policy, boolean expectedResult) { in testSetGetAudioPolicyMetadataCase() 1723 BluetoothSinkAudioPolicy testPolicy = new BluetoothSinkAudioPolicy.Builder().build(); in testSetGetAudioPolicyMetadataCase()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | AudioPolicyEntity.java | 19 import android.bluetooth.BluetoothSinkAudioPolicy; 36 callEstablishAudioPolicy = BluetoothSinkAudioPolicy.POLICY_UNCONFIGURED; in AudioPolicyEntity() 37 connectingTimeAudioPolicy = BluetoothSinkAudioPolicy.POLICY_UNCONFIGURED; in AudioPolicyEntity() 38 inBandRingtoneAudioPolicy = BluetoothSinkAudioPolicy.POLICY_UNCONFIGURED; in AudioPolicyEntity()
|
D | DatabaseManager.java | 26 import android.bluetooth.BluetoothSinkAudioPolicy; 287 BluetoothDevice device, BluetoothSinkAudioPolicy policies) { in setAudioPolicyMetadata() 311 public BluetoothSinkAudioPolicy getAudioPolicyMetadata(BluetoothDevice device) { in getAudioPolicyMetadata() 326 return new BluetoothSinkAudioPolicy.Builder() in getAudioPolicyMetadata()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 35 import android.bluetooth.BluetoothSinkAudioPolicy; 169 private BluetoothSinkAudioPolicy mHsClientAudioPolicy; 913 mHsClientAudioPolicy = new BluetoothSinkAudioPolicy.Builder().build(); in HeadsetClientStateMachine() 2179 if (featureId.equals(BluetoothSinkAudioPolicy.HFP_SET_SINK_AUDIO_POLICY_ID)) { in processAndroidAtFeature() 2182 + BluetoothSinkAudioPolicy.HFP_SET_SINK_AUDIO_POLICY_ID in processAndroidAtFeature() 2189 new BluetoothSinkAudioPolicy.Builder(mHsClientAudioPolicy) in processAndroidAtFeature() 2382 ? BluetoothSinkAudioPolicy.POLICY_ALLOWED in setAudioRouteAllowed() 2383 : BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED; in setAudioRouteAllowed() 2397 ? BluetoothSinkAudioPolicy.POLICY_ALLOWED in setAudioRouteAllowed() 2401 new BluetoothSinkAudioPolicy.Builder(mHsClientAudioPolicy) in setAudioRouteAllowed() [all …]
|
D | HeadsetClientService.java | 26 import android.bluetooth.BluetoothSinkAudioPolicy; 825 public void setAudioPolicy(BluetoothDevice device, BluetoothSinkAudioPolicy policies) { in setAudioPolicy()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientServiceTest.java | 31 import android.bluetooth.BluetoothSinkAudioPolicy; 153 mService.setAudioPolicy(device, new BluetoothSinkAudioPolicy.Builder().build()); in testSetCallAudioPolicy() 156 .setAudioPolicy(any(BluetoothSinkAudioPolicy.class)); in testSetCallAudioPolicy()
|
D | HeadsetClientStateMachineTest.java | 41 import android.bluetooth.BluetoothSinkAudioPolicy; 1382 BluetoothSinkAudioPolicy dummyAudioPolicy = new BluetoothSinkAudioPolicy.Builder().build(); 1398 BluetoothSinkAudioPolicy dummyAudioPolicy = 1399 new BluetoothSinkAudioPolicy.Builder() 1400 .setCallEstablishPolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) 1402 BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) 1403 .setInBandRingtonePolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED)
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/ |
D | HeadsetSystemInterface.java | 22 import android.bluetooth.BluetoothSinkAudioPolicy; 123 BluetoothSinkAudioPolicy callAudioPolicy = in answerCall() 127 != BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) { in answerCall()
|
D | HeadsetStateMachine.java | 32 import android.bluetooth.BluetoothSinkAudioPolicy; 151 private BluetoothSinkAudioPolicy mHsClientAudioPolicy; 206 BluetoothSinkAudioPolicy storedAudioPolicy = in HeadsetStateMachine() 210 mHsClientAudioPolicy = new BluetoothSinkAudioPolicy.Builder().build(); in HeadsetStateMachine() 2381 if (type.equals(BluetoothSinkAudioPolicy.HFP_SET_SINK_AUDIO_POLICY_ID)) { in checkAndProcessAndroidAt() 2410 + BluetoothSinkAudioPolicy.HFP_SET_SINK_AUDIO_POLICY_ID in processAndroidAtFeatureRequest() 2452 new BluetoothSinkAudioPolicy.Builder() in processAndroidAtSinkAudioPolicy() 2465 public void setHfpCallAudioPolicy(BluetoothSinkAudioPolicy policies) { in setHfpCallAudioPolicy() 2471 public BluetoothSinkAudioPolicy getHfpCallAudioPolicy() { in getHfpCallAudioPolicy()
|
D | HeadsetService.java | 34 import android.bluetooth.BluetoothSinkAudioPolicy; 1335 public BluetoothSinkAudioPolicy getHfpCallAudioPolicy(BluetoothDevice device) { in getHfpCallAudioPolicy() 2054 BluetoothSinkAudioPolicy currentPolicy = stateMachine.getHfpCallAudioPolicy(); in phoneStateChanged() 2057 == BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) { in phoneStateChanged() 2143 BluetoothSinkAudioPolicy callAudioPolicy = getHfpCallAudioPolicy(connectedDevice); in isInbandRingingEnabled() 2146 == BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) { in isInbandRingingEnabled()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | RemoteDevicesTest.java | 13 import android.bluetooth.BluetoothSinkAudioPolicy; 771 BluetoothSinkAudioPolicy policies = in testSetgetHfAudioPolicyForRemoteAg() 772 new BluetoothSinkAudioPolicy.Builder() in testSetgetHfAudioPolicyForRemoteAg() 773 .setCallEstablishPolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testSetgetHfAudioPolicyForRemoteAg() 775 BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testSetgetHfAudioPolicyForRemoteAg() 776 .setInBandRingtonePolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testSetgetHfAudioPolicyForRemoteAg()
|
D | AudioRoutingManagerTest.java | 37 import android.bluetooth.BluetoothSinkAudioPolicy; 152 .thenReturn(new BluetoothSinkAudioPolicy.Builder().build()); in setUp() 509 new BluetoothSinkAudioPolicy.Builder() in notAllowedConnectingPolicyHeadsetConnected_noSetActiveDevice() 510 .setCallEstablishPolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in notAllowedConnectingPolicyHeadsetConnected_noSetActiveDevice() 512 BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) in notAllowedConnectingPolicyHeadsetConnected_noSetActiveDevice() 513 .setInBandRingtonePolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in notAllowedConnectingPolicyHeadsetConnected_noSetActiveDevice()
|
D | ActiveDeviceManagerTest.java | 41 import android.bluetooth.BluetoothSinkAudioPolicy; 156 .thenReturn(new BluetoothSinkAudioPolicy.Builder().build()); in setUp() 579 new BluetoothSinkAudioPolicy.Builder() in notAllowedConnectingPolicyHeadsetConnected_noSetActiveDevice() 580 .setCallEstablishPolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in notAllowedConnectingPolicyHeadsetConnected_noSetActiveDevice() 582 BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) in notAllowedConnectingPolicyHeadsetConnected_noSetActiveDevice() 583 .setInBandRingtonePolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in notAllowedConnectingPolicyHeadsetConnected_noSetActiveDevice()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceTest.java | 38 import android.bluetooth.BluetoothSinkAudioPolicy; 135 doReturn(new BluetoothSinkAudioPolicy.Builder().build()) in setUp() 1295 new BluetoothSinkAudioPolicy.Builder() in testConnectDeviceNotAllowedInbandRingPolicy_InbandRingStatus() 1296 .setCallEstablishPolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testConnectDeviceNotAllowedInbandRingPolicy_InbandRingStatus() 1298 BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testConnectDeviceNotAllowedInbandRingPolicy_InbandRingStatus() 1299 .setInBandRingtonePolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testConnectDeviceNotAllowedInbandRingPolicy_InbandRingStatus() 1305 new BluetoothSinkAudioPolicy.Builder() in testConnectDeviceNotAllowedInbandRingPolicy_InbandRingStatus() 1306 .setCallEstablishPolicy(BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testConnectDeviceNotAllowedInbandRingPolicy_InbandRingStatus() 1308 BluetoothSinkAudioPolicy.POLICY_ALLOWED) in testConnectDeviceNotAllowedInbandRingPolicy_InbandRingStatus() 1310 BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) in testConnectDeviceNotAllowedInbandRingPolicy_InbandRingStatus()
|
D | HeadsetServiceAndStateMachineTest.java | 36 import android.bluetooth.BluetoothSinkAudioPolicy; 146 doReturn(new BluetoothSinkAudioPolicy.Builder().build()) in setUp()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | BluetoothSinkAudioPolicy.aidl | 19 parcelable BluetoothSinkAudioPolicy;
|
D | IBluetooth.aidl | 30 import android.bluetooth.BluetoothSinkAudioPolicy; 266 …int requestAudioPolicyAsSink(in BluetoothDevice device, in BluetoothSinkAudioPolicy policies, in A… in requestAudioPolicyAsSink() 268 …BluetoothSinkAudioPolicy getRequestedAudioPolicyAsSink(in BluetoothDevice device, in AttributionSo… in getRequestedAudioPolicyAsSink()
|
D | IBluetoothHeadsetClient.aidl | 20 import android.bluetooth.BluetoothSinkAudioPolicy;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AudioRoutingManager.java | 29 import android.bluetooth.BluetoothSinkAudioPolicy; 706 BluetoothSinkAudioPolicy audioPolicy = service.getHfpCallAudioPolicy(device); in shouldActivateWhenConnected() 709 == BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) { in shouldActivateWhenConnected()
|
D | ActiveDeviceManager.java | 28 import android.bluetooth.BluetoothSinkAudioPolicy; 923 BluetoothSinkAudioPolicy audioPolicy = headsetService.getHfpCallAudioPolicy(device); in setHfpActiveDevice() 926 == BluetoothSinkAudioPolicy.POLICY_NOT_ALLOWED) { in setHfpActiveDevice()
|
D | RemoteDevices.java | 33 import android.bluetooth.BluetoothSinkAudioPolicy; 294 private BluetoothSinkAudioPolicy mAudioPolicy; 660 public void setHfAudioPolicyForRemoteAg(BluetoothSinkAudioPolicy policies) { in setHfAudioPolicyForRemoteAg() 664 public BluetoothSinkAudioPolicy getHfAudioPolicyForRemoteAg() { in getHfAudioPolicyForRemoteAg()
|
/packages/modules/Bluetooth/framework/api/ |
D | system-current.txt | 203 …fest.permission.BLUETOOTH_PRIVILEGED}) public android.bluetooth.BluetoothSinkAudioPolicy getReques… 212 …VILEGED}) public int requestAudioPolicyAsSink(@NonNull android.bluetooth.BluetoothSinkAudioPolicy); 997 public final class BluetoothSinkAudioPolicy implements android.os.Parcelable { 1003 …lic static final android.os.Parcelable.Creator<android.bluetooth.BluetoothSinkAudioPolicy> CREATOR; 1009 public static final class BluetoothSinkAudioPolicy.Builder { 1010 ctor public BluetoothSinkAudioPolicy.Builder(); 1011 … ctor public BluetoothSinkAudioPolicy.Builder(@NonNull android.bluetooth.BluetoothSinkAudioPolicy); 1012 method @NonNull public android.bluetooth.BluetoothSinkAudioPolicy build(); 1013 …method @NonNull public android.bluetooth.BluetoothSinkAudioPolicy.Builder setActiveDevicePolicyAft… 1014 …method @NonNull public android.bluetooth.BluetoothSinkAudioPolicy.Builder setCallEstablishPolicy(i… [all …]
|