Home
last modified time | relevance | path

Searched refs:TbsGatt (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGeneric.java124 private TbsGatt mTbsGatt = null;
164 public synchronized boolean init(TbsGatt tbsGatt) { in init()
170 new ParcelUuid(TbsGatt.UUID_GTBS), in init()
433 if (request.requestedOpcode == TbsGatt.CALL_CONTROL_POINT_OPCODE_TERMINATE) { in checkRequestComplete()
435 result = TbsGatt.CALL_CONTROL_POINT_RESULT_SUCCESS; in checkRequestComplete()
437 result = TbsGatt.CALL_CONTROL_POINT_RESULT_OPERATION_NOT_POSSIBLE; in checkRequestComplete()
439 } else if (request.requestedOpcode == TbsGatt.CALL_CONTROL_POINT_OPCODE_ACCEPT) { in checkRequestComplete()
441 result = TbsGatt.CALL_CONTROL_POINT_RESULT_SUCCESS; in checkRequestComplete()
443 result = TbsGatt.CALL_CONTROL_POINT_RESULT_OPERATION_NOT_POSSIBLE; in checkRequestComplete()
445 } else if (request.requestedOpcode == TbsGatt.CALL_CONTROL_POINT_OPCODE_LOCAL_HOLD) { in checkRequestComplete()
[all …]
DTbsGatt.java53 public class TbsGatt { class
244 TbsGatt(TbsService tbsService) { in TbsGatt() method in TbsGatt
1072 TbsGatt.CALL_CONTROL_POINT_RESULT_OPERATION_NOT_POSSIBLE); in onRejectedAuthorizationGattOperation()
DTbsService.java76 mTbsGeneric.init(new TbsGatt(this)); in start()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGattTest.java73 private TbsGatt mTbsGatt;
79 @Mock private TbsGatt.Callback mMockTbsGattCallback;
103 mTbsGatt = new TbsGatt(mMockTbsService); in setUp()
156 characteristic.getDescriptor(TbsGatt.UUID_CLIENT_CHARACTERISTIC_CONFIGURATION); in configureNotifications()
182 if (characteristic.getUuid().equals(TbsGatt.UUID_BEARER_PROVIDER_NAME)) { in verifySetValue()
191 } else if (characteristic.getUuid().equals(TbsGatt.UUID_BEARER_TECHNOLOGY)) { in verifySetValue()
199 .equals(TbsGatt.UUID_BEARER_URI_SCHEMES_SUPPORTED_LIST)) { in verifySetValue()
209 } else if (characteristic.getUuid().equals(TbsGatt.UUID_STATUS_FLAGS)) { in verifySetValue()
213 case TbsGatt.STATUS_FLAG_INBAND_RINGTONE_ENABLED: in verifySetValue()
221 case TbsGatt.STATUS_FLAG_SILENT_MODE_ENABLED: in verifySetValue()
[all …]
DTbsGenericTest.java63 private @Mock TbsGatt mTbsGatt;
72 private @Captor ArgumentCaptor<TbsGatt.Callback> mTbsGattCallback;
364 mCurrentDevice, TbsGatt.CALL_CONTROL_POINT_OPCODE_ACCEPT, args); in testCallAccept()
387 eq(TbsGatt.CALL_CONTROL_POINT_OPCODE_ACCEPT), in testCallAccept()
422 mCurrentDevice, TbsGatt.CALL_CONTROL_POINT_OPCODE_TERMINATE, args); in testCallTerminate()
443 eq(TbsGatt.CALL_CONTROL_POINT_OPCODE_TERMINATE), in testCallTerminate()
478 mCurrentDevice, TbsGatt.CALL_CONTROL_POINT_OPCODE_LOCAL_HOLD, args); in testCallHold()
499 eq(TbsGatt.CALL_CONTROL_POINT_OPCODE_LOCAL_HOLD), in testCallHold()
534 mCurrentDevice, TbsGatt.CALL_CONTROL_POINT_OPCODE_LOCAL_RETRIEVE, args); in testCallRetrieve()
555 eq(TbsGatt.CALL_CONTROL_POINT_OPCODE_LOCAL_RETRIEVE), in testCallRetrieve()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java89 import com.android.bluetooth.tbs.TbsGatt;
4169 && userUuid.getUuid() != TbsGatt.UUID_GTBS) { in setCcidInformation()