Home
last modified time | relevance | path

Searched refs:vendorId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java383 private void runSupportedVendorAtCommand(String atCommand, int vendorId) { in runSupportedVendorAtCommand() argument
394 HeadsetClientStateMachine.SEND_VENDOR_AT_COMMAND, vendorId, 0, atCommand); in runSupportedVendorAtCommand()
409 int vendorId = BluetoothAssignedNumbers.APPLE; in testSupportedVendorAtCommandSet() local
411 runSupportedVendorAtCommand(atCommand, vendorId); in testSupportedVendorAtCommandSet()
420 int vendorId = BluetoothAssignedNumbers.APPLE; in testSupportedVendorAtCommandRead() local
422 runSupportedVendorAtCommand(atCommand, vendorId); in testSupportedVendorAtCommandRead()
426 public void runUnsupportedVendorAtCommand(String atCommand, int vendorId) { in runUnsupportedVendorAtCommand() argument
437 HeadsetClientStateMachine.SEND_VENDOR_AT_COMMAND, vendorId, 0, atCommand); in runUnsupportedVendorAtCommand()
451 int vendorId = BluetoothAssignedNumbers.APPLE; in testUnsupportedVendorAtCommandBadCode() local
452 runUnsupportedVendorAtCommand(atCommand, vendorId); in testUnsupportedVendorAtCommandBadCode()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DVendorCommandResponseProcessor.java77 public boolean sendCommand(int vendorId, String atCommand, BluetoothDevice device) { in sendCommand() argument
107 if (SUPPORTED_VENDOR_AT_COMMANDS.get(commandWord) != (Integer) (vendorId)) { in sendCommand()
108 Log.e(TAG, "Invalid command " + atCommand + ", " + vendorId + ". Cand=" in sendCommand()
145 Integer vendorId = SUPPORTED_VENDOR_EVENTS.get(eventCode); in processEvent() local
146 if (vendorId == null) { in processEvent()
150 broadcastVendorSpecificEventIntent(vendorId, eventCode, atString, device); in processEvent()
151 logD("process vendor event " + vendorId + ", " + eventCode + ", " in processEvent()
156 private void broadcastVendorSpecificEventIntent(int vendorId, String vendorEventCode, in broadcastVendorSpecificEventIntent() argument
161 intent.putExtra(BluetoothHeadsetClient.EXTRA_VENDOR_ID, vendorId); in broadcastVendorSpecificEventIntent()
DHeadsetClientService.java440 public boolean sendVendorAtCommand(BluetoothDevice device, int vendorId, String atCommand) { in sendVendorAtCommand() argument
445 return service.sendVendorAtCommand(device, vendorId, atCommand); in sendVendorAtCommand()
890 public boolean sendVendorAtCommand(BluetoothDevice device, int vendorId, String atCommand) { in sendVendorAtCommand() argument
904 vendorId, 0, atCommand); in sendVendorAtCommand()
DHeadsetClientStateMachine.java1150 int vendorId = message.arg1; in processMessage() local
1152 mVendorProcessor.sendCommand(vendorId, atCommand, mCurrentDevice); in processMessage()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeVendorPayload.java33 public final byte[] vendorId; field in IkeVendorPayload
43 vendorId = payloadBody; in IkeVendorPayload()
64 return GENERIC_HEADER_LENGTH + vendorId.length; in getPayloadLength()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceFilter.java88 int vendorId = -1; in read() local
146 vendorId = intValue; in read()
158 return new UsbDeviceFilter(vendorId, productId, in read()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java922 String vendorId = null; in decodeFullPacket() local
1182 vendorId = readAsciiString(packet, optionLen, true); in decodeFullPacket()
1292 newPacket.mVendorId = vendorId; in decodeFullPacket()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java1879 String vendorId = deviceInfo[0]; in processAtXapl() local
1884 BluetoothHeadset.VENDOR_SPECIFIC_HEADSET_EVENT_XAPL, vendorId, productId, version, in processAtXapl()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java2889 mRemoteVendorIds.add(((IkeVendorPayload) payload).vendorId); in validateIkeInitResp()