Home
last modified time | relevance | path

Searched refs:messenger (Results 1 – 25 of 63) 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.java33 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.Action;
34 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.AvatarIconSync;
35 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.CarToPhoneMessage;
36 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ClearAppDataRequest;
37 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ConversationNotification;
38 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MapEntry;
39 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyleMessage;
40 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.PhoneToCarMessage;
41 import com.android.car.messenger.common.BaseNotificationDelegate;
42 import com.android.car.messenger.common.ConversationKey;
[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/Messenger/src/com/android/car/messenger/
DMessengerService.java1 package com.android.car.messenger;
4 import static com.android.car.messenger.common.BaseNotificationDelegate.ACTION_DISMISS_NOTIFICATION;
5 import static com.android.car.messenger.common.BaseNotificationDelegate.ACTION_MARK_AS_READ;
6 import static com.android.car.messenger.common.BaseNotificationDelegate.ACTION_REPLY;
7 import static com.android.car.messenger.common.BaseNotificationDelegate.EXTRA_CONVERSATION_KEY;
8 import static com.android.car.messenger.common.BaseNotificationDelegate.EXTRA_REMOTE_INPUT_KEY;
26 import com.android.car.messenger.bluetooth.BluetoothMonitor;
27 import com.android.car.messenger.common.BaseNotificationDelegate;
28 import com.android.car.messenger.common.ConversationKey;
29 import com.android.car.messenger.log.L;
DMessageNotificationDelegate.java17 package com.android.car.messenger;
41 import com.android.car.messenger.bluetooth.BluetoothHelper;
42 import com.android.car.messenger.bluetooth.BluetoothMonitor;
43 import com.android.car.messenger.common.BaseNotificationDelegate;
44 import com.android.car.messenger.common.ConversationKey;
45 import com.android.car.messenger.common.ConversationNotificationInfo;
46 import com.android.car.messenger.common.Message;
47 import com.android.car.messenger.common.ProjectionStateListener;
48 import com.android.car.messenger.common.SenderKey;
49 import com.android.car.messenger.common.Utils;
DSmsDatabaseHandler.java1 package com.android.car.messenger;
21 import com.android.car.messenger.common.Message;
22 import com.android.car.messenger.log.L;
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/notificationmsg/
DNotificationMsgDelegateTest.java25 import static com.android.car.messenger.NotificationMsgProto.NotificationMsg.Action.ActionName.DISM…
26 import static com.android.car.messenger.NotificationMsgProto.NotificationMsg.Action.ActionName.MARK…
27 import static com.android.car.messenger.NotificationMsgProto.NotificationMsg.Action.ActionName.REPL…
54 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
55 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.Action;
56 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.AvatarIconSync;
57 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.CarToPhoneMessage;
58 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ClearAppDataRequest;
59 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ConversationNotification;
60 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyle;
[all …]
DNotificationMsgFeatureTest.java36 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
37 import com.android.car.messenger.common.CompositeKey;
38 import com.android.car.messenger.common.ConversationKey;
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DMessage.java17 package com.android.car.messenger.common;
20 import static com.android.car.messenger.common.Utils.BMC_EXTRA_MESSAGE_HANDLE;
21 import static com.android.car.messenger.common.Utils.BMC_EXTRA_MESSAGE_READ_STATUS;
22 import static com.android.car.messenger.common.Utils.BMC_EXTRA_MESSAGE_TIMESTAMP;
30 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
31 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyleMessage;
DUtils.java17 package com.android.car.messenger.common;
33 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
34 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.AvatarIconSync;
35 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ConversationNotification;
36 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyle;
37 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyleMessage;
38 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.Person;
DConversationNotificationInfo.java17 package com.android.car.messenger.common;
29 import com.android.car.messenger.NotificationMsgProto.NotificationMsg;
30 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.ConversationNotification;
31 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.MessagingStyle;
32 import com.android.car.messenger.NotificationMsgProto.NotificationMsg.PhoneToCarMessage;
DSenderKey.java17 package com.android.car.messenger.common;
22 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.java272 public void startProjectionAccessPoint(final Messenger messenger, IBinder binder) in startProjectionAccessPoint() argument
276 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/libs/car-messenger-common/
DAndroid.bp18 name: "car-messenger-common",
34 "car-messenger-protos",
/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/Car/Messenger/tests/robotests/src/com/android/car/messenger/bluetooth/
DBluetoothHelperTest.java17 package com.android.car.messenger.bluetooth;
29 import com.android.car.messenger.testutils.ShadowBluetoothAdapter;
/packages/apps/Car/CompanionDeviceSupport/
DAndroid.bp71 "car-messenger-common",
72 "car-messenger-protos",
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCompressJob.java56 UrisSupplier srcs, Messenger messenger, Features features) { in CompressJob() argument
57 super(service, listener, id, OPERATION_MOVE, destination, srcs, messenger, features); in CompressJob()
/packages/services/Car/car-lib/src/android/car/
DAoapService.java230 private void sendResponse(Messenger messenger, int msg, int result) { in sendResponse() argument
232 messenger.send(createResponseMessage(msg, result)); in sendResponse()

123