Lines Matching defs:data
24 * Interface for reading and writing data blocks to a persistent partition.
28 * is called, it will overwite the data that was previously written on the block.
51 * Writes {@code data} to the persistent partition. Previously written data
52 * will be overwritten. This data will persist across factory resets.
57 * @param data the data to write
59 public int write(byte[] data) {
61 return sService.write(data);
63 onError("writing data");
69 * Returns the data block stored on the persistent partition.
75 onError("reading data");
89 onError("getting data block size");
95 * Retrieves the maximum size allowed for a data block.
103 onError("getting maximum data block size");
110 * will erase all data written to the persistent data partition.