/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1081 public boolean processMessage(Message message) { in processMessage() argument 1082 if (mVerboseLoggingEnabled) logd(getName() + message.toString()); in processMessage() 1083 switch (message.what) { in processMessage() 1085 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage() 1089 mWifiChannel = (AsyncChannel) message.obj; in processMessage() 1091 loge("Full connection failure, error = " + message.arg1); in processMessage() 1097 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in processMessage() 1100 loge("Client connection lost with reason: " + message.arg1); in processMessage() 1107 ac.connect(mContext, getHandler(), message.replyTo); in processMessage() 1110 mDiscoveryBlocked = (message.arg1 == ENABLED ? true : false); in processMessage() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessageData.java | 216 final MessageData message = new MessageData(); in createDraftMessage() local 217 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createDraftMessage() 218 message.mProtocol = PROTOCOL_UNKNOWN; in createDraftMessage() 219 message.mConversationId = conversationId; in createDraftMessage() 220 message.mParticipantId = selfId; in createDraftMessage() 221 message.mReceivedTimestamp = System.currentTimeMillis(); in createDraftMessage() 223 message.mParts.add(MessagePartData.createTextMessagePart("")); in createDraftMessage() 226 message.mParticipantId = content.mParticipantId; in createDraftMessage() 229 message.mMmsSubject = content.mMmsSubject; in createDraftMessage() 232 message.mParts.add(part); in createDraftMessage() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | LogUtils.kt | 27 fun v(message: String, vararg args: Any?) { in v() 28 DEFAULT_LOGGER.v(message, *args) in v() 32 fun d(message: String, vararg args: Any?) { in d() 33 DEFAULT_LOGGER.d(message, *args) in d() 37 fun i(message: String, vararg args: Any?) { in i() 38 DEFAULT_LOGGER.i(message, *args) in i() 42 fun w(message: String, vararg args: Any?) { in w() 43 DEFAULT_LOGGER.w(message, *args) in w() 46 fun e(message: String, vararg args: Any?) { in e() 47 DEFAULT_LOGGER.e(message, *args) in e() [all …]
|
/packages/services/Mms/src/com/android/mms/service/ |
D | LogUtil.java | 27 public static void i(final String requestId, final String message) { in i() argument 28 Log.i(TAG, "[" + requestId + "] " + message); in i() 31 public static void i(final String message) { in i() argument 32 Log.i(TAG, message); in i() 35 public static void d(final String requestId, final String message) { in d() argument 36 Log.d(TAG, "[" + requestId + "] " + message); in d() 39 public static void d(final String message) { in d() argument 40 Log.d(TAG, message); in d() 43 public static void v(final String requestId, final String message) { in v() argument 44 Log.v(TAG, "[" + requestId + "] " + message); in v() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapTtlsMethodStateMachine.java | 26 import static com.android.internal.net.eap.message.EapData.EAP_IDENTITY; 27 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION; 28 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_FAILURE; 29 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_RESPONSE; 30 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS; 31 import static com.android.internal.net.eap.message.ttls.EapTtlsInboundFragmentationHelper.FRAGMENTA… 32 import static com.android.internal.net.eap.message.ttls.EapTtlsInboundFragmentationHelper.FRAGMENTA… 33 import static com.android.internal.net.eap.message.ttls.EapTtlsInboundFragmentationHelper.FRAGMENTA… 54 import com.android.internal.net.eap.message.EapData; 55 import com.android.internal.net.eap.message.EapMessage; [all …]
|
D | EapAkaMethodStateMachine.java | 22 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS; 23 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_AUTHENTICATION_REJ… 24 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_CHALLENGE; 25 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_CLIENT_ERROR; 26 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_IDENTITY; 27 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_NOTIFICATION; 28 import static com.android.internal.net.eap.message.simaka.EapAkaTypeData.EAP_AKA_SYNCHRONIZATION_FA… 29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 30 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_AUTN; 31 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_BIDDING; [all …]
|
D | EapSimMethodStateMachine.java | 22 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS; 23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ENCR_DATA; 25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ; 26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IV; 27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 28 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_PERMANENT_ID_RE… 29 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_RAND; 30 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_VERSION_LIST; 31 import static com.android.internal.net.eap.message.simaka.EapSimTypeData.EAP_SIM_CHALLENGE; [all …]
|
D | EapMsChapV2MethodStateMachine.java | 22 import static com.android.internal.net.eap.message.EapData.EAP_NOTIFICATION; 23 import static com.android.internal.net.eap.message.EapData.EAP_TYPE_STRING; 24 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_FAILURE; 25 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_RESPONSE; 26 import static com.android.internal.net.eap.message.EapMessage.EAP_CODE_SUCCESS; 27 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EAP_MSCHAP_V2_FAILU… 28 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EAP_MSCHAP_V2_SUCCE… 29 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EAP_OP_CODE_STRING; 30 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EapMsChapV2FailureR… 31 import static com.android.internal.net.eap.message.mschapv2.EapMsChapV2TypeData.EapMsChapV2FailureR… [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SendMessageAction.java | 100 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in queueAction() local 102 if (message != null && message.canSendMessage()) { in queueAction() 103 final boolean isSms = message.getIsSms(); in queueAction() 111 db, message.getSelfId()); in queueAction() 112 final Uri messageUri = message.getSmsMessageUri(); in queueAction() 113 final String conversationId = message.getConversationId(); in queueAction() 116 if (message.getYetToSend()) { in queueAction() 117 if (message.getReceivedTimeStamp() == message.getRetryStartTimestamp()) { in queueAction() 119 message.markMessageSending(timestamp); in queueAction() 122 message.markMessageManualResend(timestamp); in queueAction() [all …]
|
D | InsertNewMessageAction.java | 59 public static void insertNewMessage(final MessageData message) { in insertNewMessage() argument 60 final InsertNewMessageAction action = new InsertNewMessageAction(message); in insertNewMessage() 67 public static void insertNewMessage(final MessageData message, final int subId) { in insertNewMessage() argument 69 final InsertNewMessageAction action = new InsertNewMessageAction(message, subId); in insertNewMessage() 93 private InsertNewMessageAction(final MessageData message) { in InsertNewMessageAction() argument 94 this(message, ParticipantData.DEFAULT_SELF_SUB_ID); in InsertNewMessageAction() 95 actionParameters.putParcelable(KEY_MESSAGE, message); in InsertNewMessageAction() 98 private InsertNewMessageAction(final MessageData message, final int subId) { in InsertNewMessageAction() argument 100 actionParameters.putParcelable(KEY_MESSAGE, message); in InsertNewMessageAction() 121 MessageData message = actionParameters.getParcelable(KEY_MESSAGE); in executeAction() local [all …]
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | SuggestionCursorUtil.java | 38 public static void assertNoSuggestions(String message, SuggestionCursor suggestions) { in assertNoSuggestions() argument 40 assertEquals(message, 0, suggestions.getCount()); in assertNoSuggestions() 43 public static void assertSameSuggestion(String message, int position, in assertSameSuggestion() argument 45 assertSameSuggestion(message, expected, position, observed, position); in assertSameSuggestion() 48 public static void assertSameSuggestion(String message, in assertSameSuggestion() argument 51 message += " at positions " + positionExpected + "(expected) " in assertSameSuggestion() 55 assertSuggestionEquals(message, expected, observed); in assertSameSuggestion() 63 String message, SuggestionCursor expected, SuggestionCursor observed) { in assertSameSuggestions() argument 64 assertNotNull(message + ", expected == null", expected); in assertSameSuggestions() 65 assertNotNull(message + ", observed == null", observed); in assertSameSuggestions() [all …]
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastHandler.java | 305 protected boolean handleSmsMessage(Message message) { in handleSmsMessage() argument 306 if (message.obj instanceof SmsCbMessage) { in handleSmsMessage() 307 if (!isDuplicate((SmsCbMessage) message.obj)) { in handleSmsMessage() 308 handleBroadcastSms((SmsCbMessage) message.obj); in handleSmsMessage() 318 "handleSmsMessage got object of type: " + message.obj.getClass().getName(); in handleSmsMessage() 333 protected int getMaxLocationWaitingTime(SmsCbMessage message) { in getMaxLocationWaitingTime() argument 334 int maximumTime = message.getMaximumWaitingDuration(); in getMaxLocationWaitingTime() 336 Resources res = getResources(message.getSubscriptionId()); in getMaxLocationWaitingTime() 346 protected void handleBroadcastSms(SmsCbMessage message) { in handleBroadcastSms() argument 347 int slotIndex = message.getSlotIndex(); in handleBroadcastSms() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | Logger.java | 60 public void v(String message) { in v() argument 62 Log.v(TAG, mPrefix.concat(message)); in v() 73 public void v(String message, Throwable throwable) { in v() argument 75 Log.v(TAG, mPrefix.concat(message), throwable); in v() 85 public void d(String message) { in d() argument 87 Log.d(TAG, mPrefix.concat(message)); in d() 98 public void d(String message, Throwable throwable) { in d() argument 100 Log.d(TAG, mPrefix.concat(message), throwable); in d() 110 public void i(String message) { in i() argument 112 Log.i(TAG, mPrefix.concat(message)); in i() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/rtt/protocol/ |
D | RttChatMessage.java | 113 RttChatMessage message; in updateRemoteRttChatMessage() local 116 message = new RttChatMessage(); in updateRemoteRttChatMessage() 117 message.append(singleMessageContent); in updateRemoteRttChatMessage() 118 message.isRemote = true; in updateRemoteRttChatMessage() 120 message.finish(); in updateRemoteRttChatMessage() 122 if (message.content.length() != 0) { in updateRemoteRttChatMessage() 123 messageList.add(message); in updateRemoteRttChatMessage() 126 message = messageList.get(index); in updateRemoteRttChatMessage() 127 message.append(singleMessageContent); in updateRemoteRttChatMessage() 129 message.finish(); in updateRemoteRttChatMessage() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 382 private void handleStartSessionEvent(List<Integer> message) { in handleStartSessionEvent() argument 383 int coreId = message.get(VmsStartSessionMessageIntegerValuesIndex.SERVICE_ID); in handleStartSessionEvent() 384 int clientId = message.get(VmsStartSessionMessageIntegerValuesIndex.CLIENT_ID); in handleStartSessionEvent() 408 private void handleDataEvent(List<Integer> message, byte[] payload) { in handleDataEvent() argument 409 VmsLayer vmsLayer = parseVmsLayerFromMessage(message); in handleDataEvent() 410 int publisherId = parsePublisherIdFromMessage(message); in handleDataEvent() 427 private void handleSubscribeEvent(List<Integer> message) { in handleSubscribeEvent() argument 428 VmsLayer vmsLayer = parseVmsLayerFromMessage(message); in handleSubscribeEvent() 443 private void handleSubscribeToPublisherEvent(List<Integer> message) { in handleSubscribeToPublisherEvent() argument 444 VmsLayer vmsLayer = parseVmsLayerFromMessage(message); in handleSubscribeToPublisherEvent() [all …]
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log.proto | 26 message DimensionsValue { 40 message DimensionsValueTuple { 44 message StateValue { 53 message EventMetricData { 61 message CountBucketInfo { 75 message CountMetricData { 89 message DurationBucketInfo { 103 message DurationMetricData { 117 message ValueBucketInfo { 130 message Value { [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSkfPayloadTest.java | 17 package com.android.internal.net.ipsec.test.ike.message; 33 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.EncryptionTransform; 34 import com.android.internal.net.ipsec.test.ike.message.IkeSaPayload.IntegrityTransform; 109 private IkeSkfPayload decodeAndDecryptFragMsg(byte[] message) throws Exception { in decodeAndDecryptFragMsg() argument 114 message, in decodeAndDecryptFragMsg() 125 byte[] message = TestUtils.hexStringToByteArray(IKE_FRAG_MSG_HEX_STRING); in testDecode() 127 IkeSkfPayload payload = decodeAndDecryptFragMsg(message); in testDecode() 137 byte[] message = TestUtils.hexStringToByteArray(IKE_FRAG_MSG_HEX_STRING); in testDecodeThrowsForZeroFragNum() 140 message[FRAGMENT_NUM_OFFSET] = 0; in testDecodeThrowsForZeroFragNum() 141 message[FRAGMENT_NUM_OFFSET + 1] = 0; in testDecodeThrowsForZeroFragNum() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimAkaMethodStateMachineTest.java | 23 import static com.android.internal.net.eap.test.message.EapMessage.EAP_CODE_REQUEST; 24 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.COMPUTED_MAC; 25 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.EAP_SIM_CHALLENGE… 26 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.EAP_SIM_CHALLENGE… 27 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.EAP_SIM_CLIENT_ER… 28 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.EAP_SIM_CLIENT_ER… 29 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.EAP_SIM_IDENTITY; 30 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.EAP_SIM_NOTIFICAT… 31 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.EAP_SIM_NOTIFICAT… 32 import static com.android.internal.net.eap.test.message.EapTestMessageDefinitions.EAP_SIM_NOTIFICAT… [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttributeFactory.java | 17 package com.android.internal.net.eap.message.simaka; 19 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_ANY_ID_REQ; 20 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_CLIENT_ERROR_CO… 21 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER; 22 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_COUNTER_TOO_SMA… 23 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_FULLAUTH_ID_REQ; 24 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_IDENTITY; 25 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_MAC; 26 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NONCE_S; 27 import static com.android.internal.net.eap.message.simaka.EapSimAkaAttribute.EAP_AT_NOTIFICATION; [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 205 public boolean shouldDisplayFullScreenMessage(@NonNull SmsCbMessage message) { in shouldDisplayFullScreenMessage() argument 207 new CellBroadcastChannelManager(mContext, message.getSubscriptionId()); in shouldDisplayFullScreenMessage() 209 if (channelManager.checkCellBroadcastChannelRange(message.getServiceCategory(), in shouldDisplayFullScreenMessage() 226 public boolean shouldDisplayMessage(SmsCbMessage message) { in shouldDisplayMessage() argument 228 Context.TELEPHONY_SERVICE)).createForSubscriptionId(message.getSubscriptionId()); in shouldDisplayMessage() 230 mContext, message.getSubscriptionId()).getBoolean(R.bool.ignore_messages_in_ecbm)) { in shouldDisplayMessage() 233 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() + " in ECBM"); in shouldDisplayMessage() 237 if (!isChannelEnabled(message)) { in shouldDisplayMessage() 238 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() in shouldDisplayMessage() 244 String msgBody = message.getMessageBody(); in shouldDisplayMessage() [all …]
|
D | CellBroadcastAlertDialog.java | 283 void startScreenOnTimer(@NonNull SmsCbMessage message) { in startScreenOnTimer() argument 287 getApplicationContext(), message.getSubscriptionId()); in startScreenOnTimer() 289 .getCellBroadcastChannelRangeFromMessage(message); in startScreenOnTimer() 393 SmsCbMessage message = getLatestMessage(); in onCreate() local 395 if (message == null) { in onCreate() 402 this, message.getSubscriptionId()); in onCreate() 403 if (channelManager.isEmergencyMessage(message)) { in onCreate() 405 + message.getSubscriptionId()); in onCreate() 406 mScreenOffHandler.startScreenOnTimer(message); in onCreate() 411 updateAlertText(message); in onCreate() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/ |
D | VoicemailErrorAlert.java | 72 VoicemailErrorMessage message = null; in updateStatus() local 75 message = messageCreator.create(context, status, statusReader); in updateStatus() 76 if (message != null) { in updateStatus() 83 if (message != null) { in updateStatus() 87 message.isModal(), in updateStatus() 88 message.getTitle()); in updateStatus() 89 if (message.isModal()) { in updateStatus() 90 if (message instanceof VoicemailTosMessage) { in updateStatus() 91 modalView = getTosView(modalAlertManager, (VoicemailTosMessage) message); in updateStatus() 97 loadMessage(message); in updateStatus() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | ProvisionLogger.java | 36 public static void logd(String message) { in logd() argument 38 Log.d(getTag(), message); in logd() local 45 public static void logd(String message, Throwable t) { in logd() argument 47 Log.d(getTag(), message, t); in logd() local 63 public static void logv(String message) { in logv() argument 65 Log.v(getTag(), message); in logv() local 72 public static void logv(String message, Throwable t) { in logv() argument 74 Log.v(getTag(), message, t); in logv() local 90 public static void logi(String message) { in logi() argument 92 Log.i(getTag(), message); in logi() local [all …]
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/ |
D | MessageUtils.java | 59 message -> { in getUnreadMessages() 60 if (message.getMessageStatus() == MessageStatus.MESSAGE_STATUS_UNREAD) { in getUnreadMessages() 61 unreadMessages.add(message); in getUnreadMessages() 82 message -> { in getReadMessagesAndReplyTimestamp() 88 int messageStatus = message.getMessageStatus(); in getReadMessagesAndReplyTimestamp() 89 if (message.getMessageType() == MessageType.MESSAGE_TYPE_SENT) { in getReadMessagesAndReplyTimestamp() 90 if (lastReply.get() < message.getTimestamp()) { in getReadMessagesAndReplyTimestamp() 91 lastReply.set(message.getTimestamp()); in getReadMessagesAndReplyTimestamp() 98 readMessages.add(message); in getReadMessagesAndReplyTimestamp() 123 Message message; in forEachDesc() local [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientContent.java | 152 private static void logD(String message) { in logD() argument 154 Log.d(TAG, message); in logD() 158 private static void logV(String message) { in logV() argument 160 Log.v(TAG, message); in logV() 170 void parseLocalNumber(Bmessage message) { in parseLocalNumber() argument 174 if (INBOX_PATH.equals(message.getFolder())) { in parseLocalNumber() 175 ArrayList<VCardEntry> recipients = message.getRecipients(); in parseLocalNumber() 178 getFirstRecipientNumber(message)); in parseLocalNumber() 181 mPhoneNumber = PhoneNumberUtils.extractNetworkPortion(getOriginatorNumber(message)); in parseLocalNumber() 193 void storeMessage(Bmessage message, String handle, Long timestamp) { in storeMessage() argument [all …]
|