/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/ |
D | TbsCall.java | 20 import android.bluetooth.BluetoothLeCall; 41 if (state.equals(BluetoothLeCall.STATE_INCOMING)) { in stateToString() 43 } else if (state.equals(BluetoothLeCall.STATE_DIALING)) { in stateToString() 45 } else if (state.equals(BluetoothLeCall.STATE_ALERTING)) { in stateToString() 47 } else if (state.equals(BluetoothLeCall.STATE_ACTIVE)) { in stateToString() 49 } else if (state.equals(BluetoothLeCall.STATE_LOCALLY_HELD)) { in stateToString() 51 } else if (state.equals(BluetoothLeCall.STATE_REMOTELY_HELD)) { in stateToString() 53 } else if (state.equals(BluetoothLeCall.STATE_LOCALLY_AND_REMOTELY_HELD)) { in stateToString() 69 if (flags.equals(BluetoothLeCall.FLAG_OUTGOING_CALL)) { in flagsToString() 74 if (flags.equals(BluetoothLeCall.FLAG_WITHHELD_BY_SERVER)) { in flagsToString() [all …]
|
D | TbsGeneric.java | 22 import android.bluetooth.BluetoothLeCall; 440 if (tbsCall.getState() != BluetoothLeCall.STATE_INCOMING) { in checkRequestComplete() 446 if (tbsCall.getState() == BluetoothLeCall.STATE_LOCALLY_HELD in checkRequestComplete() 447 || tbsCall.getState() == BluetoothLeCall.STATE_LOCALLY_AND_REMOTELY_HELD) { in checkRequestComplete() 453 if (tbsCall.getState() != BluetoothLeCall.STATE_LOCALLY_HELD in checkRequestComplete() 454 && tbsCall.getState() != BluetoothLeCall.STATE_LOCALLY_AND_REMOTELY_HELD) { in checkRequestComplete() 468 || (tbsCall.getState() != BluetoothLeCall.STATE_ACTIVE in checkRequestComplete() 469 && tbsCall.getState() != BluetoothLeCall.STATE_REMOTELY_HELD)) { in checkRequestComplete() 476 if (pendingTbsCall.getState() != BluetoothLeCall.STATE_ACTIVE in checkRequestComplete() 477 && pendingTbsCall.getState() != BluetoothLeCall.STATE_REMOTELY_HELD) { in checkRequestComplete() [all …]
|
D | BluetoothLeCallControlProxy.java | 20 import android.bluetooth.BluetoothLeCall; 88 public void onCallAdded(BluetoothLeCall call) { in onCallAdded() 100 public void currentCallsList(List<BluetoothLeCall> calls) { in currentCallsList()
|
D | TbsService.java | 23 import android.bluetooth.BluetoothLeCall; 291 public void callAdded(int ccid, BluetoothLeCall call, AttributionSource source) { in callAdded() 323 int ccid, List<BluetoothLeCall> calls, AttributionSource source) { in currentCallsList() 390 void callAdded(int ccid, BluetoothLeCall call) { in callAdded() 411 void currentCallsList(int ccid, List<BluetoothLeCall> calls) { in currentCallsList()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/ |
D | TbsGenericTest.java | 199 BluetoothLeCall tbsCall = in testCallAdded() 200 new BluetoothLeCall( in testCallAdded() 204 BluetoothLeCall.STATE_INCOMING, in testCallAdded() 218 assertThat(capturedTbsCall.getState()).isEqualTo(BluetoothLeCall.STATE_INCOMING); in testCallAdded() 231 BluetoothLeCall tbsCall = in testCallRemoved() 232 new BluetoothLeCall( in testCallRemoved() 236 BluetoothLeCall.STATE_INCOMING, in testCallRemoved() 265 BluetoothLeCall tbsCall = in testCallStateChanged() 266 new BluetoothLeCall( in testCallStateChanged() 270 BluetoothLeCall.STATE_INCOMING, in testCallStateChanged() [all …]
|
D | TbsGattTest.java | 384 new BluetoothLeCall( in testSetCurrentCallList() 422 new BluetoothLeCall( in testSetCurrentCallList() 427 BluetoothLeCall.FLAG_OUTGOING_CALL))); in testSetCurrentCallList() 529 new BluetoothLeCall( in testSetCallState() 554 new BluetoothLeCall( in testSetCallState()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeCall.java | 36 public final class BluetoothLeCall implements Parcelable { class 142 public BluetoothLeCall(@NonNull BluetoothLeCall that) { in BluetoothLeCall() method in BluetoothLeCall 154 public BluetoothLeCall( in BluetoothLeCall() method in BluetoothLeCall 174 BluetoothLeCall that = (BluetoothLeCall) o; in equals() 213 public static final @NonNull Creator<BluetoothLeCall> CREATOR = 215 public BluetoothLeCall createFromParcel(Parcel in) { 216 return new BluetoothLeCall(in); 219 public BluetoothLeCall[] newArray(int size) { 220 return new BluetoothLeCall[size]; 224 private BluetoothLeCall(Parcel in) { in BluetoothLeCall() method in BluetoothLeCall
|
D | BluetoothLeCallControl.java | 589 public void onCallAdded(@NonNull BluetoothLeCall call) { in onCallAdded() 654 public void onCallStateChanged(@NonNull UUID callId, @BluetoothLeCall.State int state) { in onCallStateChanged() 684 public void currentCallsList(@NonNull List<BluetoothLeCall> calls) { in currentCallsList()
|
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/ |
D | IBluetoothLeCallControl.aidl | 20 import android.bluetooth.BluetoothLeCall; 37 void callAdded(in int ccid, in BluetoothLeCall call, in AttributionSource attributionSource); in callAdded() 43 …void currentCallsList(in int ccid, in List<BluetoothLeCall> calls, in AttributionSource attributio… in currentCallsList()
|
D | BluetoothLeCall.aidl | 20 parcelable BluetoothLeCall;
|
D | IBluetoothLeCallControlCallback.aidl | 20 import android.bluetooth.BluetoothLeCall;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/ |
D | BluetoothInCallService.java | 23 import android.bluetooth.BluetoothLeCall; 610 BluetoothLeCall tbsCall = createTbsCall(call); in onCallAdded() 1575 return BluetoothLeCall.STATE_ACTIVE; in getTbsCallState() 1579 return BluetoothLeCall.STATE_DIALING; in getTbsCallState() 1583 return BluetoothLeCall.STATE_ALERTING; in getTbsCallState() 1586 return BluetoothLeCall.STATE_LOCALLY_HELD; in getTbsCallState() 1593 return BluetoothLeCall.STATE_INCOMING; in getTbsCallState() 1628 private BluetoothLeCall createTbsCall(BluetoothCall call) { in createTbsCall() 1650 if (state == BluetoothLeCall.STATE_ACTIVE && !mCallInfo.isNullCall(activeChild)) { in createTbsCall() 1660 state = BluetoothLeCall.STATE_ACTIVE; in createTbsCall() [all …]
|