Lines Matching defs:to

11  * Unless required by applicable law or agreed to in writing, software
83 * Indicate that we transiently failed to process a MM.
87 * Indicate that we permanently failed to process a MM.
369 Log.v(TAG, "loadParts(" + msgId + "): no part to load.");
458 Log.e(TAG, "Failed to load part data", e);
466 Log.e(TAG, "Failed to close stream", e);
524 * @param uri The Uri of the PDU to be loaded.
525 * @return A generic PDU object, it may be cast to dedicated PDU.
526 * @throws MmsException Failed to load some fields of a PDU.
549 // Tell the cache to indicate to other callers that this item
678 PDU_CACHE_INSTANCE.notifyAll(); // tell anybody waiting on this entry to go ahead
716 // Change it to "image/jpeg"
758 throw new MmsException("Failed to persist part, return null.");
774 * to user preference.
776 * @param part The PDU part which contains data to be saved.
803 throw new MmsException("unable to update " + uri.toString());
820 // we're not going to re-persist and re-encrypt an already
854 Log.v(TAG, "Saving data to: " + uri);
872 Log.v(TAG, "Saving data to: " + uri);
888 Log.e(TAG, "Failed to open Input/Output stream.", e);
891 Log.e(TAG, "Failed to read/write data.", e);
982 * @param uri The PDU which need to be updated.
1148 * @param uri The PDU which need to be updated.
1172 // Tell the cache to indicate to other callers that this item
1190 // Don't use 'i > 0' to determine whether we should append
1228 * Persist a PDU object to specific location in the storage.
1230 * @param pdu The PDU object to be stored.
1231 * @param uri Where to store the given PDU object.
1234 * to create the associated thread. When false, only the sender will be used in finding or
1237 * @return A Uri which can be used to access the stored PDU.
1348 // For received messages when group MMS is enabled, we want to associate this
1351 // message or the FROM field (above) in addition to the other people the message
1352 // was addressed to or the TO field. Our own number is in that TO field and
1353 // we have to ignore it in loadRecipients.
1357 // Also load any numbers in the CC field to address group messaging
1376 // Save parts first to avoid inconsistent message is loaded
1394 // Down a few lines below we're checking to make sure we've only got SMIL or
1395 // text. We also have to check then we don't have more than two parts.
1495 * Move a PDU object from one location to another.
1497 * @param from Specify the PDU object to be moved.
1498 * @param to The destination location, should be one of the following:
1505 public Uri move(Uri from, Uri to) throws MmsException {
1513 Integer msgBox = MESSAGE_BOX_MAP.get(to);
1525 return ContentUris.withAppendedId(to, msgId);
1535 // Impossible to reach here!
1548 // Impossible to reach here!
1563 * Find all messages to be sent or downloaded before certain time.