Home
last modified time | relevance | path

Searched refs:sendResponse (Results 1 – 25 of 43) sorted by relevance

12

/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
H A DNsdManagerTest.java174 sendResponse(NsdManager.RESOLVE_SERVICE_FAILED, err, key1, null); in doTestResolveService()
179 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); in doTestResolveService()
198 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); in doTestParallelResolveService()
199 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key1, reply); in doTestParallelResolveService()
289 sendResponse(NsdManager.SERVICE_FOUND, 0, key2, reply1); in doTestDiscoverService()
292 sendResponse(NsdManager.SERVICE_FOUND, 0, key2, reply2); in doTestDiscoverService()
295 sendResponse(NsdManager.SERVICE_LOST, 0, key2, reply2); in doTestDiscoverService()
306 sendResponse(NsdManager.SERVICE_LOST, 0, key2, reply1); in doTestDiscoverService()
314 sendResponse(NsdManager.SERVICE_FOUND, 0, key2, reply3); in doTestDiscoverService()
336 sendResponse(NsdManager.SERVICE_FOUND, 0, key3, reply1); in doTestDiscoverService()
[all …]
/aosp12/system/bt/service/doc/
H A DIBluetoothGattServerCallback.txt45 * this request by calling IBluetoothGattServer.sendResponse with the given
48 * If |offset| is invalid then sendResponse should be called with
63 * this request by calling IBluetoothGattServer.sendResponse with the given
66 * If |offset| is invalid then sendResponse should be called with
79 * this request by calling IBluetoothGattServer.sendResponse with the given
83 * Response" procedure and sendResponse should not be called. If
87 * If |offset| is invalid, then sendResponse should be called with
99 * this request by calling IBluetoothGattServer.sendResponse with the given
103 * Response" procedure and sendResponse should not be called. If
107 * If |offset| is invalid, then sendResponse should be called with
[all …]
H A DIBluetoothGattServer.txt59 boolean sendResponse(in int server_if, in String device_address,
/aosp12/packages/apps/Stk/src/com/android/stk/
H A DStkDialogActivity.java89 sendResponse(StkAppService.RES_ID_CONFIRM, true); in onCreate()
98 sendResponse(StkAppService.RES_ID_CONFIRM, false); in onCreate()
106 sendResponse(StkAppService.RES_ID_BACKWARD); in onCreate()
235 sendResponse(StkAppService.RES_ID_CONFIRM, false); in onDestroy()
288 private void sendResponse(int resId, boolean confirmed) { in sendResponse() method in StkDialogActivity
318 private void sendResponse(int resId) { in sendResponse() method in StkDialogActivity
319 sendResponse(resId, true); in sendResponse()
376 sendResponse(StkAppService.RES_ID_TIMEOUT);
H A DStkInputActivity.java113 sendResponse(StkAppService.RES_ID_END_SESSION); in onClick()
147 sendResponse(StkAppService.RES_ID_INPUT, input, false); in onClick()
244 sendResponse(StkAppService.RES_ID_END_SESSION); in onDestroy()
268 sendResponse(StkAppService.RES_ID_BACKWARD, null, false); in onKeyDown()
274 void sendResponse(int resId) { in sendResponse() method in StkInputActivity
275 sendResponse(resId, null, false); in sendResponse()
278 void sendResponse(int resId, String input, boolean help) { in sendResponse() method in StkInputActivity
304 appService.sendResponse(args, mSlotId); in sendResponse()
346 sendResponse(StkAppService.RES_ID_END_SESSION); in optionsItemSelectedInternal()
350 sendResponse(StkAppService.RES_ID_INPUT, "", true); in optionsItemSelectedInternal()
[all …]
H A DStkMenuActivity.java138 sendResponse(StkAppService.RES_ID_MENU_SELECTION, item.id, false); in onListItemClick()
155 sendResponse(StkAppService.RES_ID_BACKWARD); in onKeyDown()
237 sendResponse(StkAppService.RES_ID_END_SESSION); in onDestroy()
273 sendResponse(StkAppService.RES_ID_END_SESSION); in onOptionsItemSelected()
311 sendResponse(StkAppService.RES_ID_MENU_SELECTION, stkItem.id, true); in onContextItemSelected()
444 private void sendResponse(int resId) { in sendResponse() method in StkMenuActivity
445 sendResponse(resId, 0, false); in sendResponse()
448 private void sendResponse(int resId, int itemId, boolean help) { in sendResponse() method in StkMenuActivity
464 appService.sendResponse(args, mSlotId); in sendResponse()
486 sendResponse(StkAppService.RES_ID_TIMEOUT);
H A DStkAppService.java901 public void sendResponse(Bundle args, int slotId) { in sendResponse() method in StkAppService
906 private void sendResponse(int resId, int slotId, boolean confirm) { in sendResponse() method in StkAppService
910 sendResponse(args, slotId); in sendResponse()
1173 sendResponse(RES_ID_DONE, slotId, true); in handleCmd()
1181 sendResponse(RES_ID_ERROR, slotId, true); in handleCmd()
1190 sendResponse(RES_ID_CONFIRM, slotId, true); in handleCmd()
1645 sendResponse(RES_ID_CONFIRM, slotId, true); in launchTextDialog()
2316 sendResponse(resId, slotId, true); in handleStopTone()
2359 sendResponse(args, slotId); in launchOpenChannelDialog()
2368 sendResponse(args, slotId); in launchOpenChannelDialog()
/aosp12/frameworks/base/obex/javax/obex/
H A DServerOperation.java186 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null); in ServerOperation()
254 mParent.sendResponse(ResponseCodes.OBEX_HTTP_UNAUTHORIZED, null); in handleObexPacket()
428 mParent.sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in sendReply()
434 mParent.sendResponse(type, sendHeader); in sendReply()
526 mParent.sendResponse(type, out.toByteArray()); in sendReply()
553 mParent.sendResponse(ResponseCodes.OBEX_HTTP_BAD_REQUEST, null); in sendReply()
570 mParent.sendResponse(ResponseCodes.OBEX_HTTP_REQ_TOO_LARGE, null); in sendReply()
631 mParent.sendResponse(ResponseCodes.OBEX_HTTP_OK, null); in handleRemoteAbort()
H A DServerSession.java142 sendResponse(ResponseCodes.OBEX_HTTP_NOT_IMPLEMENTED, null); in run()
180 sendResponse(code, null); in handleAbortRequest()
224 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in handlePutRequest()
252 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in handleGetRequest()
262 public void sendResponse(int code, byte[] header) throws IOException { in sendResponse() method in ServerSession
368 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in handleSetPathRequest()
477 sendResponse(ResponseCodes.OBEX_HTTP_INTERNAL_ERROR, null); in handleDisconnectRequest()
/aosp12/packages/services/Car/car-lib/src/android/car/
H A DAoapService.java209 sendResponse(msg.replyTo, MSG_NEW_DEVICE_ATTACHED_RESPONSE, res); in handleMessage()
220 sendResponse(msg.replyTo, MSG_CAN_SWITCH_TO_AOAP_RESPONSE, res); in handleMessage()
230 private void sendResponse(Messenger messenger, int msg, int result) { in sendResponse() method in AoapService.IncomingHandler
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcpBipObexServer.java229 return sendResponse(op, replyHeaders, thumbnail); in handleGetImageThumbnail()
267 return sendResponse(op, replyHeaders, propertiesBytes); in handleGetImageProperties()
314 return sendResponse(op, replyHeaders, imageBytes); in handleGetImage()
320 private int sendResponse(Operation op, HeaderSet replyHeaders, byte[] bytes) { in sendResponse() method in AvrcpBipObexServer
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/util/
H A DNetworkStackUtilsIntegrationTest.kt158 reader.sendResponse(echo)
165 reader.sendResponse(echo)
172 reader.sendResponse(ra)
/aosp12/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java362 transaction.sendResponse(response); in sendRinging()
392 inviteTransaction.sendResponse(response); in sendInviteOk()
414 inviteTransaction.sendResponse(response); in sendInviteBusyHere()
447 public void sendResponse(RequestEvent event, int responseCode) in sendResponse() method in SipHelper
457 getServerTransaction(event).sendResponse(response); in sendResponse()
488 inviteTransaction.sendResponse(response); in sendInviteRequestTerminated()
H A DSipSessionGroup.java493 mSipHelper.sendResponse(event, response); in processNewInviteRequest()
515 mSipHelper.sendResponse((RequestEvent) evt, Response.OK); in process()
822 mSipHelper.sendResponse((RequestEvent) evt, Response.OK); in processExceptions()
826 mSipHelper.sendResponse((RequestEvent) evt, in processExceptions()
840 mSipHelper.sendResponse((RequestEvent) evt, Response.OK); in processExceptions()
1121 mSipHelper.sendResponse(event, Response.OK);
1271 mSipHelper.sendResponse(event, Response.BAD_REQUEST);
1275 mSipHelper.sendResponse(event, Response.ACCEPTED);
1312 mSipHelper.sendResponse((RequestEvent) evt, Response.OK);
/aosp12/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
H A DIpClientIntegrationTestCommon.java1502 mPacketReader.sendResponse(ra);
1585 mPacketReader.sendResponse(ra);
1644 mPacketReader.sendResponse(ra);
1656 mPacketReader.sendResponse(ra);
1713 mPacketReader.sendResponse(ra);
1721 mPacketReader.sendResponse(ra);
1729 mPacketReader.sendResponse(ra);
1737 mPacketReader.sendResponse(ra);
1746 mPacketReader.sendResponse(ra);
1754 mPacketReader.sendResponse(ra);
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/
H A DFastPairGattServer.java178 mBluetoothGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
200 .sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
210 .sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
222 .sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
238 mBluetoothGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
/aosp12/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
H A DGattServer.java147 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, value); in onCharacteristicWriteRequest()
167 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, 0, null); in onExecuteWrite()
/aosp12/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
H A DArpResponder.kt46 reader.sendResponse(ByteBuffer.wrap(
H A DTapPacketReader.java129 public void sendResponse(final ByteBuffer packet) throws IOException { in sendResponse() method in TapPacketReader
/aosp12/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
H A DMsrpSession.java218 sendResponse(chunk); in receiveRequest()
229 private void sendResponse(MsrpChunk chunk) throws IOException { in sendResponse() method in StreamReader
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DNetworkValidationTest.kt168 reader.sendResponse(makeOfferPacket(discover.clientMac, discover.transactionId))
174 reader.sendResponse(makeAckPacket(request.clientMac, request.transactionId))
/aosp12/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
H A DDadProxyTest.java249 inReader.sendResponse(in); in receivePacketAndMaybeExpectForwarded()
266 inReader.sendResponse(in); in receivePacketAndMaybeExpectForwarded()
/aosp12/frameworks/base/services/core/java/com/android/server/adb/
H A DAdbDebuggingManager.java526 void sendResponse(String msg) { in sendResponse() method in AdbDebuggingManager.AdbDebuggingThread
871 mThread.sendResponse("OK"); in handleMessage()
888 mThread.sendResponse("NO"); in handleMessage()
899 mThread.sendResponse("NO"); in handleMessage()
907 mThread.sendResponse("NO"); in handleMessage()
1042 mThread.sendResponse(MSG_DISABLE_ADBDWIFI); in handleMessage()
1097 mThread.sendResponse(cmdStr); in handleMessage()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServer.java682 public boolean sendResponse(BluetoothDevice device, int requestId, in sendResponse() method in BluetoothGattServer
688 mService.sendResponse(mServerIf, device.getAddress(), requestId, in sendResponse()
/aosp12/system/bt/binder/android/bluetooth/
H A DIBluetoothGatt.aidl165 void sendResponse(in int serverIf, in String address, in int requestId, in sendResponse() method

12