Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java96 sendResponse(NsdManager.RESOLVE_SERVICE_FAILED, err, key1, null); in testResolveService()
101 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); in testResolveService()
121 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); in testParallelResolveService()
122 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key1, reply); in testParallelResolveService()
147 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key2, request2); in testRegisterService()
151 sendResponse(NsdManager.REGISTER_SERVICE_FAILED, err, key1, request1); in testRegisterService()
158 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key3, request1); in testRegisterService()
166 sendResponse(NsdManager.UNREGISTER_SERVICE_SUCCEEDED, 0, key3again, null); in testRegisterService()
174 sendResponse(NsdManager.UNREGISTER_SERVICE_FAILED, err, key2again, null); in testRegisterService()
202 sendResponse(NsdManager.DISCOVER_SERVICES_FAILED, err, key1, null); in testDiscoverService()
[all …]
/frameworks/base/obex/javax/obex/
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()
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()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java186 void sendResponse(String msg) { in sendResponse() method in UsbDebuggingManager.UsbDebuggingThread
253 mThread.sendResponse("OK"); in handleMessage()
260 mThread.sendResponse("NO"); in handleMessage()
269 mThread.sendResponse("NO"); in handleMessage()
277 mThread.sendResponse("NO"); in handleMessage()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
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()
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);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1349 sendResponse(Message onComplete, Object result, Throwable e) { in sendResponse() method in ImsPhone
1382 sendResponse(cf.mOnComplete, null, ar.exception); in handleMessage()
1390 sendResponse((Message) ar.userObj, cfInfos, ar.exception); in handleMessage()
1403 sendResponse((Message) ar.userObj, ssInfos, ar.exception); in handleMessage()
1412 sendResponse((Message) ar.userObj, clirInfo, ar.exception); in handleMessage()
1422 sendResponse((Message) ar.userObj, null, ar.exception); in handleMessage()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattServer.java637 public boolean sendResponse(BluetoothDevice device, int requestId, in sendResponse() method in BluetoothGattServer
643 mService.sendResponse(mServerIf, device.getAddress(), requestId, in sendResponse()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java3464 sendResponse(response, result); in onResult()
3861 sendResponse(response, newResult); in isCredentialsUpdateSuggested()
6084 private void sendResponse(IAccountManagerResponse response, Bundle result) {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6373 method public boolean sendResponse(android.bluetooth.BluetoothDevice, int, int, int, byte[]);
/frameworks/base/config/
Dhiddenapi-public-dex.txt5627 Landroid/bluetooth/BluetoothGattServer;->sendResponse(Landroid/bluetooth/BluetoothDevice;III[B)Z
Dboot-image-profile.txt16702 HSPLandroid/bluetooth/IBluetoothGatt;->sendResponse(ILjava/lang/String;III[B)V
/frameworks/base/api/
Dcurrent.txt8271 method public boolean sendResponse(android.bluetooth.BluetoothDevice, int, int, int, byte[]);