Searched refs:write (Results 126 - 128 of 128) sorted by relevance

123456

/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java3963 // Return a URI to write the album art to and update the database as necessary.
4011 // No need to recompress here, just write out the original
4013 outstream.write(compressed);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java1979 * processes waiting to write to the provider are unblocked and can proceed
7249 * @param mode Read/write mode string.
7250 * @return An asset file descriptor the caller can use to write an image file for the
7401 writer.write(composer.createOneEntry());
7499 throw new UnsupportedOperationException("Not supported for write-only URI " + uri);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsProvider2Test.java3404 // With our (default) write profile permission, we should be able to insert a stream item.
3408 // Now take away write profile permission.
3955 fail("Should not be able to insert to stream without write social stream permission");
3964 fail("Should not be able to update stream without write social stream permission");
3971 fail("Should not be able to delete from stream without write social stream permission");
3991 fail("Should not be able to insert photos without write social stream permission");
4000 fail("Should not be able to update photos without write social stream permission");
4006 fail("Should not be able to delete photos without write social stream permission");
5057 os.write(photoBytes);

Completed in 133 milliseconds

123456