Lines Matching defs:data

32  * Enqueues chunks of data (from various sources -- application crashes, kernel
33 * log records, etc.). The queue is size bounded and will drop old data if the
34 * enqueued data exceeds the maximum size. You can think of this as a
122 * The data array must not be modified after creating this entry.
124 public Entry(String tag, long millis, byte[] data, int flags) {
126 if (((flags & IS_EMPTY) != 0) != (data == null)) {
132 mData = data;
138 * Create a new Entry with streaming data contents.
141 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) {
143 if (((flags & IS_EMPTY) != 0) != (data == null)) {
150 mFileDescriptor = data;
158 public Entry(String tag, long millis, File data, int flags) throws IOException {
165 mFileDescriptor = ParcelFileDescriptor.open(data, ParcelFileDescriptor.MODE_READ_ONLY);
264 * Stores human-readable text. The data may be discarded eventually (or even
269 * @param data value to store
271 public void addText(String tag, String data) {
272 try { mService.add(new Entry(tag, 0, data)); } catch (RemoteException e) {}
276 * Stores binary data, which may be ignored or discarded as with {@link #addText}.
279 * @param data value to store
280 * @param flags describing the data
282 public void addData(String tag, byte[] data, int flags) {
283 if (data == null) throw new NullPointerException("data == null");
284 try { mService.add(new Entry(tag, 0, data, flags)); } catch (RemoteException e) {}
293 * @param flags describing the data
311 * so you can save the work of actually constructing and sending the data.
334 // when data is added to the dropbox, for demand-driven readers --
335 // for now readers need to poll the dropbox to find new data.