Lines Matching defs:size
290 * @param size The size of the data to generate
295 protected byte[] generateData(int size, DataType type) {
296 return generateData(size, type, null);
302 * @param size The size of the data to generate
308 protected byte[] generateData(int size, DataType type, Random rng) {
317 byte[] result = new byte[size];
318 Log.i(LOG_TAG, "Generating data of size: " + size);
324 for (int i = 0; i < size; ++i) {
331 * Helper to verify the size of a file.
333 * @param pfd The input file to compare the size of
334 * @param size The expected size of the file
336 protected void verifyFileSize(ParcelFileDescriptor pfd, long size) {
337 assertEquals(pfd.getStatSize(), size);
853 * Synchronously waits for a file to increase in size (such as to monitor that a download is
856 * @param file The file whose size to track.
857 * @throws Exception if timed out while waiting for the file to grow in size.
869 // Get original file size...