Lines Matching defs:Entry
48 /** Flag value: Entry's content was deleted to save space. */
89 public static class Entry implements Parcelable, Closeable {
97 /** Create a new empty Entry with no contents. */
98 public Entry(String tag, long millis) {
108 /** Create a new Entry with plain text contents. */
109 public Entry(String tag, long millis, String text) {
121 * Create a new Entry with byte array contents.
124 public Entry(String tag, long millis, byte[] data, int flags) {
138 * Create a new Entry with streaming data contents.
141 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) {
155 * Create a new Entry with the contents read from a file.
158 public Entry(String tag, long millis, File data, int flags) throws IOException {
222 public static final Parcelable.Creator<Entry> CREATOR = new Parcelable.Creator() {
223 public Entry[] newArray(int size) { return new Entry[size]; }
224 public Entry createFromParcel(Parcel in) {
229 return new Entry(tag, millis, in.createByteArray(), flags & ~HAS_BYTE_ARRAY);
231 return new Entry(tag, millis, in.readFileDescriptor(), flags);
272 try { mService.add(new Entry(tag, 0, data)); } catch (RemoteException e) {}
284 try { mService.add(new Entry(tag, 0, data, flags)); } catch (RemoteException e) {}
298 Entry entry = new Entry(tag, 0, file, flags);
323 * {@link Entry#close()} on the return value!
329 public Entry getNextEntry(String tag, long msec) {