Home
last modified time | relevance | path

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

12

/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepClient.java95 SnepMessenger messenger; in put() local
100 messenger = mMessenger; in put()
105 messenger.sendMessage(SnepMessage.getPutRequest(msg)); in put()
106 messenger.getMessage(); in put()
114 SnepMessenger messenger; in get() local
119 messenger = mMessenger; in get()
124 messenger.sendMessage(SnepMessage.getGetRequest(mAcceptableLength, msg)); in get()
125 return messenger.getMessage(); in get()
141 SnepMessenger messenger; in connect() local
158 messenger = new SnepMessenger(true, socket, fragmentLength); in connect()
[all …]
DSnepServer.java140 static boolean handleRequest(SnepMessenger messenger, Callback callback) throws IOException { in handleRequest() argument
143 request = messenger.getMessage(); in handleRequest()
147 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
156 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
161 messenger.sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_REJECT)); in handleRequest()
163 messenger.sendMessage(callback.doGet(request.getAcceptableLength(), in handleRequest()
167 messenger.sendMessage(callback.doPut(request.getNdefMessage())); in handleRequest()
170 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DDtaSnepClient.java234 SnepMessenger messenger; in put() local
239 messenger = mMessenger; in put()
244 messenger.sendMessage(SnepMessage.getPutRequest(msg)); in put()
245 messenger.getMessage(); in put()
253 SnepMessenger messenger; in get() local
258 messenger = mMessenger; in get()
263 messenger.sendMessage(SnepMessage.getGetRequest(mAcceptableLength, msg)); in get()
264 return messenger.getMessage(); in get()
280 SnepMessenger messenger; in connect() local
297 messenger = new SnepMessenger(true, socket, fragmentLength); in connect()
[all …]
DExtDtaSnepServer.java113 static boolean handleRequest(SnepMessenger messenger, Callback callback) throws IOException { in handleRequest() argument
116 request = messenger.getMessage(); in handleRequest()
120 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
127 messenger.sendMessage(SnepMessage.getMessage( in handleRequest()
131 messenger.sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_REJECT)); in handleRequest()
134messenger.sendMessage(callback.doGet(request.getAcceptableLength(), request.getNdefMessage())); in handleRequest()
139 messenger.sendMessage(callback.doPut(request.getNdefMessage())); in handleRequest()
144 messenger.sendMessage(SnepMessage.getMessage(SnepMessage.RESPONSE_BAD_REQUEST)); in handleRequest()
/packages/apps/Car/Messenger/
DAndroid.mk50 car-messenger-glide-target \
52 car-messenger-disklrucache-target
61 LOCAL_MODULE := car-messenger-disklrucache-target
83 LOCAL_MODULE := car-messenger-glide-target
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DAoapServiceManager.java278 Messenger messenger; in sendMessageForResult()
281 messenger = mOutgoingMessenger; in sendMessageForResult()
283 send(messenger, msgRequest, data); in sendMessageForResult()
289 private void send(Messenger messenger, int req, Bundle data) { in send() argument
294 messenger.send(msg); in send()
/packages/apps/Car/Messenger/src/com/android/car/messenger/
DMessengerService.java1 package com.android.car.messenger;
21 import com.android.car.messenger.MessengerDelegate.SenderKey;
22 import com.android.car.messenger.bluetooth.BluetoothMonitor;
23 import com.android.car.messenger.log.L;
DSmsDatabaseHandler.java1 package com.android.car.messenger;
4 import static com.android.car.messenger.MessengerDelegate.getContactId;
21 import com.android.car.messenger.log.L;
DMessengerDelegate.java1 package com.android.car.messenger;
34 import com.android.car.messenger.bluetooth.BluetoothHelper;
35 import com.android.car.messenger.bluetooth.BluetoothMonitor;
36 import com.android.car.messenger.log.L;
DSmsReceiver.java17 package com.android.car.messenger;
DMmsReceiver.java17 package com.android.car.messenger;
DMessengerActivity.java16 package com.android.car.messenger;
DMapMessage.java17 package com.android.car.messenger;
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java258 public void startProjectionAccessPoint(final Messenger messenger, IBinder binder) in startProjectionAccessPoint() argument
262 registerWirelessClient(WirelessClient.of(messenger, binder)); in startProjectionAccessPoint()
991 public final Messenger messenger; field in CarProjectionService.WirelessClient
995 private WirelessClient(Messenger messenger, IBinder token) { in WirelessClient() argument
996 this.messenger = messenger; in WirelessClient()
1000 private static WirelessClient of(Messenger messenger, IBinder token) { in of() argument
1001 return new WirelessClient(messenger, token); in of()
1007 messenger.send(message); in send()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarProjectionService.java112 public void startProjectionAccessPoint(Messenger messenger, IBinder binder) in startProjectionAccessPoint() argument
114 mApMessenger = messenger; in startProjectionAccessPoint()
125 messenger.send(message); in startProjectionAccessPoint()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryAddWordActivity.java83 final Messenger messenger = (Messenger)listener; in reportBackToCaller()
89 messenger.send(m); in reportBackToCaller()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordActivity.java83 final Messenger messenger = (Messenger)listener; in reportBackToCaller()
89 messenger.send(m); in reportBackToCaller()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCompressJob.java60 UrisSupplier srcs, Messenger messenger, Features features) { in CompressJob() argument
61 super(service, listener, id, OPERATION_MOVE, destination, srcs, messenger, features); in CompressJob()
DMoveJob.java65 UrisSupplier srcs, @Nullable Uri srcParent, Messenger messenger, Features features) { in MoveJob() argument
66 super(service, listener, id, OPERATION_MOVE, destination, srcs, messenger, features); in MoveJob()
DCopyJob.java110 UrisSupplier srcs, Messenger messenger, Features features) { in CopyJob() argument
111 this(service, listener, id, OPERATION_COPY, destination, srcs, messenger, features); in CopyJob()
115 DocumentStack destination, UrisSupplier srcs, Messenger messenger, Features features) { in CopyJob() argument
118 mMessenger = messenger; in CopyJob()
/packages/services/Car/car-lib/src/android/car/
DAoapService.java231 private void sendResponse(Messenger messenger, int msg, int result) { in sendResponse() argument
233 messenger.send(createResponseMessage(msg, result)); in sendResponse()
DICarProjection.aidl62 void startProjectionAccessPoint(in Messenger messenger, in IBinder binder) = 4; in startProjectionAccessPoint() argument
/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/
DBluetoothMonitor.java1 package com.android.car.messenger.bluetooth;
17 import com.android.car.messenger.log.L;
DBluetoothHelper.java1 package com.android.car.messenger.bluetooth;
/packages/apps/Car/Messenger/tests/robotests/src/com/android/car/messenger/bluetooth/
DBluetoothMonitorTest.java1 package com.android.car.messenger.bluetooth;

12