Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
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()
223 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key2, request2); in doTestRegisterService()
227 sendResponse(NsdManager.REGISTER_SERVICE_FAILED, err, key1, request1); in doTestRegisterService()
234 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key3, request1); in doTestRegisterService()
242 sendResponse(NsdManager.UNREGISTER_SERVICE_SUCCEEDED, 0, key3again, null); in doTestRegisterService()
250 sendResponse(NsdManager.UNREGISTER_SERVICE_FAILED, err, key2again, null); in doTestRegisterService()
277 sendResponse(NsdManager.DISCOVER_SERVICES_FAILED, err, key1, null); in doTestDiscoverService()
[all …]
/packages/apps/Stk/src/com/android/stk/
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 …]
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);
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);
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()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java767 mPacketReader.sendResponse(packet);
775 mPacketReader.sendResponse(packet);
887 mPacketReader.sendResponse(buildDhcpAckPacket(packet, CLIENT_ADDR, leaseTimeSec,
890 mPacketReader.sendResponse(buildDhcpOfferPacket(packet, CLIENT_ADDR,
898 mPacketReader.sendResponse(byteBuffer);
1088 mPacketReader.sendResponse(buildDhcpOfferPacket(packet, CLIENT_ADDR,
1093 mPacketReader.sendResponse(buildDhcpAckPacket(packet, CLIENT_ADDR, TEST_LEASE_DURATION_S,
1502 mPacketReader.sendResponse(ra);
1585 mPacketReader.sendResponse(ra);
1644 mPacketReader.sendResponse(ra);
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
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
/packages/services/Car/car-lib/src/android/car/
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
/packages/services/Car/service/src/com/android/car/
DFastPairGattServer.java175 mBluetoothGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
197 .sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
207 .sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
219 .sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
237 mBluetoothGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
/packages/modules/NetworkStack/tests/integration/src/android/net/util/
DNetworkStackUtilsIntegrationTest.kt158 reader.sendResponse(echo) in testAttachRaFilter()
165 reader.sendResponse(echo) in testAttachRaFilter()
172 reader.sendResponse(ra) in testAttachRaFilter()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
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()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpSession.java218 sendResponse(chunk); in receiveRequest()
229 private void sendResponse(MsrpChunk chunk) throws IOException { in sendResponse() method in StreamReader
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkValidationTest.kt168 reader.sendResponse(makeOfferPacket(discover.clientMac, discover.transactionId)) in testCapportApiCallbacks()
174 reader.sendResponse(makeAckPacket(request.clientMac, request.transactionId)) in testCapportApiCallbacks()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DDadProxyTest.java249 inReader.sendResponse(in); in receivePacketAndMaybeExpectForwarded()
266 inReader.sendResponse(in); in receivePacketAndMaybeExpectForwarded()
DRouterAdvertisementDaemonTest.java341 mTetheredPacketReader.sendResponse(rs); in testSolicitRouterAdvertisement()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java906 public void sendResponse(int serverIf, String address, int requestId, int status, in sendResponse() method in GattService.BluetoothGattBinder
912 service.sendResponse( in sendResponse()
3565 void sendResponse(int serverIf, String address, int requestId, int status, int offset, in sendResponse() method in GattService