Searched refs:buf (Results 1 – 10 of 10) sorted by relevance
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | StreamUtil.java | 44 byte[] buf = new byte[BUFFER_SIZE]; in copyStreams() 46 while ((size = inStream.read(buf)) != -1) { in copyStreams() 47 outStream.write(buf, 0, size); in copyStreams()
|
/platform_testing/libraries/audio-test-harness/instrumentation/src/com/android/media/audiotestharness/instrumentation/ |
D | AudioTestHarnessCaptureTest.java | 165 ByteBuffer buf = ByteBuffer.allocate(toWrite.length * 2).order(ByteOrder.LITTLE_ENDIAN); in writeSamplesToAppStorage() local 167 buf.putShort(value); in writeSamplesToAppStorage() 170 Files.write(buf.array(), outputFile); in writeSamplesToAppStorage()
|
/platform_testing/tools/automotive/proxy/ |
D | proxy.cpp | 66 char buf[BUFFER_SIZE]; in transferBytes() local 67 int readBytes = read(src_fd, buf, BUFFER_SIZE); in transferBytes() 71 int writtenBytes = write(dst_fd, buf, readBytes); in transferBytes()
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 129 byte[] buf = new byte[BUFFER_SIZE]; in executeCommandBlocking() 132 while ((length = is.read(buf)) >= 0) { in executeCommandBlocking() 133 out.write(buf, 0, length); in executeCommandBlocking()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BatteryStatsListener.java | 188 byte[] buf = new byte[BUFFER_SIZE]; in dumpBatteryStats() 190 while((bytes = is.read(buf)) != -1) { in dumpBatteryStats() 191 out.write(buf, 0, bytes); in dumpBatteryStats()
|
D | BaseMetricListener.java | 339 byte[] buf = new byte[BUFFER_SIZE]; in executeCommandBlocking() 341 while ((length = is.read(buf)) >= 0) { in executeCommandBlocking() 342 out.write(buf, 0, length); in executeCommandBlocking()
|
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/ |
D | WifiStrengthScannerInstrumentation.java | 173 byte[] buf = new byte[1024]; in executeCommand() 176 while ((bytesRead = fis.read(buf)) != -1) { in executeCommand() 177 result.append(new String(buf, 0, bytesRead)); in executeCommand()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ |
D | CommonUtils.java | 295 byte[] buf = new byte[512]; in executeShellCommandWithDetailedOutput() 300 while ((bytesRead = inputStream.read(buf)) != -1) { in executeShellCommandWithDetailedOutput() 301 output.add(new String(buf, 0, bytesRead)); in executeShellCommandWithDetailedOutput()
|
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
D | NativePoc.java | 307 byte[] buf = new byte[BUF_SIZE]; 309 while ((chunkSize = in.read(buf)) != -1) { 310 out.write(buf, 0, chunkSize);
|
D | RootcanalUtils.java | 494 byte[] buf = new byte[size]; in readTestChannel() 495 in.read(buf, 0, size); in readTestChannel() 496 return new String(buf); in readTestChannel()
|