/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/ |
D | MessageRouterImpl.java | 68 public <T> void cancelMessages(Class<T> messageType) { in cancelMessages() argument 70 if (mDataMessageCancelers.containsKey(messageType)) { in cancelMessages() 71 for (Runnable canceler : mDataMessageCancelers.get(messageType)) { in cancelMessages() 76 mDataMessageCancelers.remove(messageType); in cancelMessages() 90 public <T> void subscribeTo(Class<T> messageType, DataMessageListener<T> listener) { in subscribeTo() argument 92 mDataMessageListenerMap.putIfAbsent(messageType, new ArrayList<>()); in subscribeTo() 93 mDataMessageListenerMap.get(messageType).add((DataMessageListener<Object>) listener); in subscribeTo() 107 public <T> void unsubscribeFrom(Class<T> messageType, DataMessageListener<T> listener) { in unsubscribeFrom() argument 109 if (mDataMessageListenerMap.containsKey(messageType)) { in unsubscribeFrom() 110 mDataMessageListenerMap.get(messageType).remove(listener); in unsubscribeFrom() [all …]
|
D | MessageRouter.java | 121 <T> void cancelMessages(Class<T> messageType); in cancelMessages() argument 141 <T> void subscribeTo(Class<T> messageType, DataMessageListener<T> listener); in subscribeTo() argument 161 <T> void unsubscribeFrom(Class<T> messageType, DataMessageListener<T> listener); in unsubscribeFrom() argument
|
/frameworks/base/core/java/android/hardware/location/ |
D | NanoAppMessage.java | 47 private NanoAppMessage(long nanoAppId, int messageType, byte[] messageBody, in NanoAppMessage() argument 50 mMessageType = messageType; in NanoAppMessage() 71 public static NanoAppMessage createMessageToNanoApp(long targetNanoAppId, int messageType, in createMessageToNanoApp() argument 73 return new NanoAppMessage(targetNanoAppId, messageType, messageBody, in createMessageToNanoApp() 90 public static NanoAppMessage createMessageFromNanoApp(long sourceNanoAppId, int messageType, in createMessageFromNanoApp() argument 92 return new NanoAppMessage(sourceNanoAppId, messageType, messageBody, broadcasted, in createMessageFromNanoApp() 113 int messageType, @NonNull byte[] messageBody, boolean broadcasted, boolean isReliable, in createMessageFromNanoApp() argument 115 return new NanoAppMessage(sourceNanoAppId, messageType, messageBody, broadcasted, in createMessageFromNanoApp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/ |
D | AdbDebuggingManagerTestActivity.java | 69 int messageType; in onCreate() local 71 messageType = AdbDebuggingManager.AdbDebuggingHandler.MESSAGE_ADB_ALLOW; in onCreate() 73 messageType = AdbDebuggingManager.AdbDebuggingHandler.MESSAGE_ADB_DENY; in onCreate() 75 Message message = sHandler.obtainMessage(messageType); in onCreate()
|
/frameworks/wilhelm/src/itf/ |
D | IMIDIMessage.cpp | 71 SLuint32 messageType) in IMIDIMessage_AddMIDIMessageCallbackFilter() argument 75 switch (messageType) { in IMIDIMessage_AddMIDIMessageCallbackFilter() 84 SLuint8 messageTypeMask = 1 << messageType; in IMIDIMessage_AddMIDIMessageCallbackFilter()
|
/frameworks/base/services/companion/java/com/android/server/companion/transport/ |
D | CompanionTransportManager.java | 115 public void removeListener(int messageType, IOnMessageReceivedListener listener) { in removeListener() argument 116 mMessageListeners.remove(messageType); in removeListener() 300 public void processMessage(int messageType, int sequence, byte[] data) throws IOException { in processMessage() argument 301 handleMessage(messageType, sequence, data); in processMessage() 305 protected void sendMessage(int messageType, int sequence, @NonNull byte[] data) in sendMessage() argument 307 Slog.e(TAG, "Black-holing emulated message type 0x" + Integer.toHexString(messageType) in sendMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/ |
D | RtpTransport.java | 462 int messageType; in extractMessage() local 471 messageType = type; in extractMessage() 472 switch (messageType) { in extractMessage() 510 messageType = typeValue; in extractMessage() 511 switch (messageType) { in extractMessage() 546 messageType, messageValue); in extractMessage() 547 return new Communicator.Message(messageType, messageValue); in extractMessage()
|
D | Communicator.java | 261 public static String messageToString(int messageType) { in messageToString() argument 262 switch (messageType) { in messageToString() 275 public static String valueToString(int messageType, int value) { in valueToString() argument 276 switch (messageType) { in valueToString()
|
D | DtmfTransport.java | 478 String messageType; in handleReceivedDigit() local 481 messageType = mMessageTypeDigits.toString(); in handleReceivedDigit() 485 digit, messageType, messageValue); in handleReceivedDigit() 486 handleIncomingMessage(messageType, messageValue); in handleReceivedDigit()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | TimerRecordingAction.java | 129 int messageType = params[0] & 0xFF; in handleFeatureAbort() local 130 switch (messageType) { in handleFeatureAbort() 139 Slog.i(TAG, "[Feature Abort] for " + messageType + " reason:" + reason); in handleFeatureAbort()
|
/frameworks/base/core/java/android/companion/ |
D | ICompanionDeviceManager.aidl | 92 void sendMessage(int messageType, in byte[] data, in int[] associationIds); in sendMessage() argument 95 void addOnMessageReceivedListener(int messageType, IOnMessageReceivedListener listener); in addOnMessageReceivedListener() argument 98 void removeOnMessageReceivedListener(int messageType, IOnMessageReceivedListener listener); in removeOnMessageReceivedListener() argument
|
D | CompanionDeviceManager.java | 1058 public void sendMessage(int messageType, @NonNull byte[] data, @NonNull int[] associationIds) { in sendMessage() argument 1065 mService.sendMessage(messageType, data, associationIds); in sendMessage() 1082 @NonNull @CallbackExecutor Executor executor, int messageType, in addOnMessageReceivedListener() argument 1092 mService.addOnMessageReceivedListener(messageType, proxy); in addOnMessageReceivedListener() 1104 public void removeOnMessageReceivedListener(int messageType, in removeOnMessageReceivedListener() argument 1114 mService.removeOnMessageReceivedListener(messageType, proxy); in removeOnMessageReceivedListener()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsTest.java | 159 bearerData.messageType = BearerData.MESSAGE_TYPE_DELIVER; in testUserData7bitAsciiFeedback() 169 assertEquals(BearerData.MESSAGE_TYPE_DELIVER, revBearerData.messageType); in testUserData7bitAsciiFeedback() 189 bearerData.messageType = BearerData.MESSAGE_TYPE_DELIVER; in testUserData7bitGsmFeedback() 199 assertEquals(BearerData.MESSAGE_TYPE_DELIVER, revBearerData.messageType); in testUserData7bitGsmFeedback() 243 bearerData.messageType = BearerData.MESSAGE_TYPE_DELIVER; in testUserDataUtf16Feedback() 253 assertEquals(BearerData.MESSAGE_TYPE_DELIVER, revBearerData.messageType); in testUserDataUtf16Feedback() 262 assertEquals(BearerData.MESSAGE_TYPE_DELIVER, revBearerData.messageType); in testUserDataUtf16Feedback() 279 bearerData.messageType = BearerData.MESSAGE_TYPE_DELIVER; in testUserData7BitAsciiFeedback() 319 assertEquals(bearerData.messageType, BearerData.MESSAGE_TYPE_SUBMIT); in testMonolithicOne() 366 assertEquals(bearerData.messageType, BearerData.MESSAGE_TYPE_SUBMIT); in testMonolithicTwo() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | SmsMessage.java | 394 return (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK); in isStatusReportMessage() 470 env.messageType = dis.readInt(); in parsePdu() 536 env.messageType = dis.readByte(); in parsePduFromEfRecord() 703 mBearerData.messageType = inStream.read(4); in preprocessCdmaFdeaWap() 803 if (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK) { 820 } else if (mBearerData.messageType != BearerData.MESSAGE_TYPE_DELIVER 821 && mBearerData.messageType != BearerData.MESSAGE_TYPE_SUBMIT) { 822 throw new RuntimeException("Unsupported message type: " + mBearerData.messageType); 970 bearerData.messageType = BearerData.MESSAGE_TYPE_SUBMIT; 997 envelope.messageType = SmsEnvelope.MESSAGE_TYPE_POINT_TO_POINT; [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/ |
D | SecureChannel.java | 320 private void sendMessage(MessageType messageType, final byte[] payload) in sendMessage() argument 325 .putShort(messageType.mValue) in sendMessage() 327 final byte[] data = MessageType.shouldEncrypt(messageType) in sendMessage() 616 for (MessageType messageType : values()) { in from() 617 if (value == messageType.mValue) { in from() 618 return messageType; in from()
|
/frameworks/base/telephony/common/com/google/android/mms/pdu/ |
D | PduParser.java | 126 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse() local 134 if ((PduHeaders.MESSAGE_TYPE_SEND_REQ == messageType) || in parse() 135 (PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF == messageType)) { in parse() 144 switch (messageType) { in parse() 262 int messageType = extractByteValue(pduDataStream); in parseHeaders() local 264 Log.v(LOG_TAG, "parseHeaders: messageType: " + messageType); in parseHeaders() 266 switch (messageType) { in parseHeaders() 286 headers.setOctet(messageType, headerField); in parseHeaders() 288 log("Set invalid Octet value: " + messageType + in parseHeaders() 1823 int messageType = headers.getOctet(PduHeaders.MESSAGE_TYPE); in checkMandatoryHeader() local [all …]
|
/frameworks/av/services/tuner/aidl/android/media/tv/tuner/ |
D | ITunerFrontendCallback.aidl | 37 void onScanMessage(in FrontendScanMessageType messageType, in onScanMessage() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | SmsEnvelope.java | 74 public int messageType; field in SmsEnvelope
|
/frameworks/base/media/jni/tuner/ |
D | FrontendClient.cpp | 193 Status TunerFrontendCallback::onScanMessage(FrontendScanMessageType messageType, in onScanMessage() argument 196 mFrontendClientCallback->onScanMessage(messageType, message); in onScanMessage()
|
D | FrontendClient.h | 55 Status onScanMessage(FrontendScanMessageType messageType, const FrontendScanMessage& message);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | SmsCbHeader.java | 189 int messageType = pdu[0]; in SmsCbHeader() local 191 if (messageType != MESSAGE_TYPE_CBS_MESSAGE) { in SmsCbHeader() 192 throw new IllegalArgumentException("Unsupported message type " + messageType); in SmsCbHeader()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 397 public void sendMessage(int messageType, byte[] data, int[] associationIds) { in sendMessage() argument 400 mTransportManager.sendMessage(messageType, data, associationIds); in sendMessage() 405 public void addOnMessageReceivedListener(int messageType, in addOnMessageReceivedListener() argument 409 mTransportManager.addListener(messageType, listener); in addOnMessageReceivedListener() 414 public void removeOnMessageReceivedListener(int messageType, in removeOnMessageReceivedListener() argument 418 mTransportManager.removeListener(messageType, listener); in removeOnMessageReceivedListener()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubServiceUtil.java | 275 aidlMessage.messageType = message.getMessageType(); in createAidlContextHubMessage() 310 message.nanoappId, message.messageType, message.messageBody, in createNanoAppMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SMSDispatcher.java | 2589 private void updateMessageState(Context context, int messageType, int errorCode) { in updateMessageState() argument 2594 values.put(Sms.TYPE, messageType); in updateMessageState() 2600 Rlog.e(TAG, "Failed to move message to " + messageType); in updateMessageState() 2635 private Uri persistSentMessageIfRequired(Context context, int messageType, int errorCode) { in persistSentMessageIfRequired() argument 2640 + (messageType == Sms.MESSAGE_TYPE_FAILED ? "FAILED" : "SENT")); in persistSentMessageIfRequired() 2662 if (uri != null && messageType == Sms.MESSAGE_TYPE_FAILED) { in persistSentMessageIfRequired() 2688 private void persistOrUpdateMessage(Context context, int messageType, int errorCode) { in persistOrUpdateMessage() argument 2690 updateMessageState(context, messageType, errorCode); in persistOrUpdateMessage() 2692 mMessageUri = persistSentMessageIfRequired(context, messageType, errorCode); in persistOrUpdateMessage() 2787 int messageType = Sms.MESSAGE_TYPE_SENT; in onSent() local [all …]
|
/frameworks/base/core/java/android/provider/ |
D | Telephony.java | 585 public static boolean isOutgoingFolder(int messageType) { in isOutgoingFolder() argument 586 return (messageType == MESSAGE_TYPE_FAILED) in isOutgoingFolder() 587 || (messageType == MESSAGE_TYPE_OUTBOX) in isOutgoingFolder() 588 || (messageType == MESSAGE_TYPE_SENT) in isOutgoingFolder() 589 || (messageType == MESSAGE_TYPE_QUEUED); in isOutgoingFolder()
|