Home
last modified time | relevance | path

Searched refs:BluetoothLeCall (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsCall.java20 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 …]
DTbsGeneric.java22 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 …]
DBluetoothLeCallControlProxy.java20 import android.bluetooth.BluetoothLeCall;
88 public void onCallAdded(BluetoothLeCall call) { in onCallAdded()
100 public void currentCallsList(List<BluetoothLeCall> calls) { in currentCallsList()
DTbsService.java23 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/
DTbsGenericTest.java199 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 …]
DTbsGattTest.java384 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/
DBluetoothLeCall.java36 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
DBluetoothLeCallControl.java589 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/
DIBluetoothLeCallControl.aidl20 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()
DBluetoothLeCall.aidl20 parcelable BluetoothLeCall;
DIBluetoothLeCallControlCallback.aidl20 import android.bluetooth.BluetoothLeCall;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java23 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 …]