Lines Matching defs:stream

205     /** Limit for the maximum number of social stream items to store under a raw contact. */
1817 // Also query for all social stream item photos.
1860 // For missing photos that were in stream item photos, just delete the
1861 // stream item photo.
2043 // Enforce stream items access check if applicable.
2067 // Enforce stream items access check if applicable.
2083 // Enforce stream items access check if applicable.
2741 * account in the raw contact for which the stream item is being inserted. If the
2742 * new stream item results in more stream items under this raw contact than the limit,
2743 * the oldest one will be deleted (note that if the stream item inserted was the
2748 * @return the stream item _ID of the newly created row, or 0 if it was not created
2757 // Don't attempt to insert accounts params - they don't exist in the stream items table.
2761 // Insert the new stream item.
2769 // Check to see if we're over the limit for stream items under this raw contact.
2770 // It's possible that the inserted stream item is older than the the existing
2779 * the account in the raw contact that owns the stream item being modified.
2783 * @return the stream item photo _ID of the newly created row, or 0 if there was an issue
2795 // Don't attempt to insert accounts params - they don't exist in the stream item
2802 // Insert the stream item photo.
2840 Log.e(TAG, "Could not process stream item photo for insert");
2844 Log.e(TAG, "Could not process stream item photo for insert", ioe);
2850 * Looks up the raw contact ID that owns the specified stream item.
2851 * @param streamItemId The ID of the stream item.
2852 * @return The associated raw contact ID, or -1 if no such stream item exists.
2872 * If the given URI is reading stream items or stream photos, this will run a permission check
2885 * If the given URI is modifying stream items or stream photos, this will run a permission check
2897 * Queries the database for stream items under the given raw contact. If there are
2900 * @param rawContactId The raw contact ID to examine for stream items.
2901 * @param insertedStreamItemId The ID of the stream item that was just inserted,
2904 * @return The ID of the inserted stream item if it still exists after cleanup;
2923 // The stream item just inserted is being deleted.
3285 // For forward compatibility with the new stream item API, insert this status update
3286 // there as well. If we already have a stream item from this source, update that
3292 // Status updates are text only but stream items are HTML.
3302 // updates didn't do any sort of account enforcement, while social stream item
3312 // Check for an existing stream item from this source, and insert or update.
3653 // Find and delete stream items associated with the raw contact.
4056 // Don't attempt to update accounts params - they don't exist in the stream items table.
4068 // Stream item photos can't be moved to a new stream item.
4071 // Don't attempt to update accounts params - they don't exist in the stream item
4937 // Enforce stream items access check if applicable.
7679 // vCard-encoded stream. We build into a local buffer first,
7688 // vCard-encoded stream. We build into a local buffer first,
7719 // vCard-encoded stream. We build into a local buffer first,
7779 * to the file (closing the output stream), the image will be parsed out and processed.
7884 private AssetFileDescriptor buildAssetFileDescriptor(ByteArrayOutputStream stream) {
7886 stream.flush();
7888 final byte[] byteData = stream.toByteArray();
7894 Log.w(TAG, "Problem writing stream into an ParcelFileDescriptor: " + e.toString());
7912 private void outputRawContactsAsVCard(Uri uri, OutputStream stream,
7933 writer = new BufferedWriter(new OutputStreamWriter(stream));
7950 Log.w(TAG, "IOException during closing output stream: " + e);