Searched refs:callIndex (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/ |
D | TbsGeneric.java | 69 int callIndex; field in TbsGeneric.Request 71 public Request(BluetoothDevice device, UUID callId, int requestedOpcode, int callIndex) { in Request() argument 75 this.callIndex = callIndex; in Request() 82 int callIndex) { in Request() argument 89 this.callIndex = callIndex; in Request() 302 private synchronized Map.Entry<UUID, Bearer> getCallIdByIndex(int callIndex) { in getCallIdByIndex() argument 305 if (callIndex == callIdToIndex.getValue()) { in getCallIdByIndex() 394 for (Integer callIndex : bearer.callIdIndexMap.values()) { in removeBearer() 395 mCurrentCallsList.remove(callIndex); in removeBearer() 434 if (mCurrentCallsList.get(request.callIndex) == null) { in checkRequestComplete() [all …]
|
D | TbsGatt.java | 667 BluetoothDevice device, int requestedOpcode, int callIndex, int requestResult) { in setResult() argument 670 value[1] = (byte) (callIndex); in setResult() 888 public boolean setTerminationReason(int callIndex, int terminationReason) { in setTerminationReason() argument 892 + callIndex in setTerminationReason() 896 value[0] = (byte) (callIndex & 0xff); in setTerminationReason() 911 public boolean setIncomingCall(int callIndex, String uri) { in setIncomingCall() argument 912 Log.d(TAG, "setIncomingCall: callIndex=" + callIndex + " uri=" + uri); in setIncomingCall() 919 value[0] = (byte) (callIndex & 0xff); in setIncomingCall() 933 public boolean setCallFriendlyName(int callIndex, String callFriendlyName) { in setCallFriendlyName() argument 937 + callIndex in setCallFriendlyName() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/ |
D | TbsGenericTest.java | 356 Integer callIndex = capturedCurrentCalls.entrySet().iterator().next().getKey(); in testCallAccept() local 360 args[0] = (byte) (callIndex & 0xFF); in testCallAccept() 388 eq(callIndex), in testCallAccept() 414 Integer callIndex = capturedCurrentCalls.entrySet().iterator().next().getKey(); in testCallTerminate() local 418 args[0] = (byte) (callIndex & 0xFF); in testCallTerminate() 444 eq(callIndex), in testCallTerminate() 470 Integer callIndex = capturedCurrentCalls.entrySet().iterator().next().getKey(); in testCallHold() local 474 args[0] = (byte) (callIndex & 0xFF); in testCallHold() 500 eq(callIndex), in testCallHold() 526 Integer callIndex = capturedCurrentCalls.entrySet().iterator().next().getKey(); in testCallRetrieve() local [all …]
|
D | TbsGattTest.java | 571 int callIndex = 0x01; in testSetCallControlPointResult() local 576 mTbsGatt.setCallControlPointResult(mFirstDevice, requestedOpcode, callIndex, result); in testSetCallControlPointResult() 582 (byte) (callIndex & 0xff), in testSetCallControlPointResult() 589 callIndex = 0x02; in testSetCallControlPointResult() 593 mTbsGatt.setCallControlPointResult(mFirstDevice, requestedOpcode, callIndex, result); in testSetCallControlPointResult() 599 (byte) (callIndex & 0xff), in testSetCallControlPointResult()
|