Home
last modified time | relevance | path

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

123

/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/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/
DNotificationMsgDelegate.java30 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.Action;
31 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MapEntry;
32 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.CarToPhoneMessage;
33 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ConversationNotification;
34 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyleMessage;
35 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.PhoneToCarMessage;
36 import com.android.car.messenger.common.BaseNotificationDelegate;
37 import com.android.car.messenger.common.ConversationKey;
38 import com.android.car.messenger.common.ConversationNotificationInfo;
39 import com.android.car.messenger.common.Message;
[all …]
DNotificationMsgService.java21 import static com.android.car.messenger.common.BaseNotificationDelegate.ACTION_DISMISS_NOTIFICATION;
22 import static com.android.car.messenger.common.BaseNotificationDelegate.ACTION_MARK_AS_READ;
23 import static com.android.car.messenger.common.BaseNotificationDelegate.ACTION_REPLY;
24 import static com.android.car.messenger.common.BaseNotificationDelegate.EXTRA_CONVERSATION_KEY;
25 import static com.android.car.messenger.common.BaseNotificationDelegate.EXTRA_REMOTE_INPUT_KEY;
42 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
43 import com.android.car.messenger.common.ConversationKey;
/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/libs/car-messenger-common/src/com/android/car/messenger/common/
DUtils.java17 package com.android.car.messenger.common;
31 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
32 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ConversationNotification;
33 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyle;
34 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyleMessage;
35 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.Person;
DConversationNotificationInfo.java17 package com.android.car.messenger.common;
26 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
27 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ConversationNotification;
28 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyle;
29 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.PhoneToCarMessage;
DMessage.java17 package com.android.car.messenger.common;
25 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
26 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyleMessage;
DSenderKey.java17 package com.android.car.messenger.common;
19 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
/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/services/Car/service/src/com/android/car/
DCarProjectionService.java273 public void startProjectionAccessPoint(final Messenger messenger, IBinder binder) in startProjectionAccessPoint() argument
277 registerWirelessClient(WirelessClient.of(messenger, binder)); in startProjectionAccessPoint()
1000 public final Messenger messenger; field in CarProjectionService.WirelessClient
1004 private WirelessClient(Messenger messenger, IBinder token) { in WirelessClient() argument
1005 this.messenger = messenger; in WirelessClient()
1009 private static WirelessClient of(Messenger messenger, IBinder token) { in of() argument
1010 return new WirelessClient(messenger, token); in of()
1016 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/apps/Car/Messenger/src/com/android/car/messenger/
DMessengerService.java1 package com.android.car.messenger;
21 import com.android.car.messenger.bluetooth.BluetoothMonitor;
22 import com.android.car.messenger.log.L;
DMessengerDelegate.java1 package com.android.car.messenger;
28 import com.android.car.messenger.bluetooth.BluetoothHelper;
29 import com.android.car.messenger.bluetooth.BluetoothMonitor;
30 import com.android.car.messenger.common.ProjectionStateListener;
31 import com.android.car.messenger.log.L;
DMapMessage.java17 package com.android.car.messenger;
22 import com.android.car.messenger.log.L;
DSmsDatabaseHandler.java1 package com.android.car.messenger;
21 import com.android.car.messenger.log.L;
/packages/apps/Car/libs/car-messenger-common/
DAndroid.bp18 name: "car-messenger-common",
34 "car-messenger-protos",
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordActivity.java83 final Messenger messenger = (Messenger)listener; in reportBackToCaller()
89 messenger.send(m); in reportBackToCaller()
/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/Car/CompanionDeviceSupport/
DAndroid.bp72 "car-messenger-common",
73 "car-messenger-protos",
/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()
/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()

123