/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 160 int numRead = is.read(buffer32); in onAttached() local 161 assertEquals(32, numRead); in onAttached() 169 numRead = is.read(buffer16); in onAttached() 170 assertEquals(16, numRead); in onAttached() 182 numRead = is.read(buffer32); in onAttached() 183 assertEquals(32, numRead); in onAttached() 194 numRead = is.read(buffer32); in onAttached() 195 assertEquals(16, numRead); in onAttached() 199 numRead = is.read(buffer32); in onAttached() 200 assertEquals(16, numRead); in onAttached() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | TestProxyFileDescriptorCallback.java | 52 int numRead = 0; in fromAssetFd() local 54 numRead = in.read(data, writeIndex, size - writeIndex); in fromAssetFd() 55 writeIndex += numRead; in fromAssetFd() 56 } while (numRead >= 0); in fromAssetFd() 119 public void returnFromReadAt(int numRead) { in returnFromReadAt() argument 120 mReturnFromReadAt = numRead; in returnFromReadAt()
|
D | TestMediaDataSource.java | 51 int numRead = 0; in fromAssetFd() local 53 numRead = in.read(data, writeIndex, size - writeIndex); in fromAssetFd() 54 writeIndex += numRead; in fromAssetFd() 55 } while (numRead >= 0); in fromAssetFd() 120 public void returnFromReadAt(int numRead) { in returnFromReadAt() argument 121 mReturnFromReadAt = numRead; in returnFromReadAt()
|
D | MediaCodecTest.java | 2300 int numRead = 0; in read() local 2303 numRead = mExtractor.readSampleData(buf, 0 /* offset */); in read() 2306 + numRead +" timestamp " + timestampUs); in read() 2308 if(numRead < 0) { in read() 2311 numRead =0; in read() 2322 numRead += n; in read() 2329 for (numRead = 0; numRead < inBufLen; ) { in read() 2330 int n = mInputStream.read(mBuf, numRead, inBufLen - numRead); in read() 2335 numRead += n; in read() 2337 buf.put(mBuf, 0, numRead); in read() [all …]
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | DeviceTestCompanion.java | 63 int numRead = is.read(sizeBuffer); in nextTest() local 64 assertEquals(1, numRead); in nextTest() 67 numRead = is.read(nextTestNameBytes); in nextTest() 68 assertEquals(sizeBuffer[0], numRead); in nextTest() 74 numRead = is.read(sizeBuffer); in nextTest() 76 assertEquals(1, numRead); in nextTest() 125 int numRead = is.read(dataBytes); in echoUntilStopSignal() local 126 assertEquals(9, numRead); in echoUntilStopSignal()
|
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/ |
D | CallLogDirectBootTest.java | 125 int numRead; in readBytes() local 127 numRead = inputStream.read(buffer); in readBytes() 128 if (numRead > 0) output.write(buffer, 0, numRead); in readBytes() 129 } while (numRead > 0); in readBytes()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | Utils.java | 181 int numRead = is.read(buffer); in getProtoDump() local 183 if (numRead == -1) { in getProtoDump() 186 os.write(buffer, 0, numRead); in getProtoDump()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | BootClassPathClassesProvider.java | 113 int numRead = is.read(buffer); in copyAgentToFile() local 114 if (numRead == -1) { in copyAgentToFile() 117 os.write(buffer, 0, numRead); in copyAgentToFile()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | CallLogTest.java | 216 int numRead; in readBytes() local 218 numRead = inputStream.read(buffer); in readBytes() 219 if (numRead > 0) output.write(buffer, 0, numRead); in readBytes() 220 } while (numRead > 0); in readBytes()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CallComposerTest.java | 228 int numRead; in readBytes() local 230 numRead = inputStream.read(buffer); in readBytes() 231 if (numRead > 0) output.write(buffer, 0, numRead); in readBytes() 232 } while (numRead > 0); in readBytes()
|
/cts/tests/tests/jvmti/attaching/src/android.jvmti.attaching.cts/ |
D | AttachingTest.java | 164 int numRead = is.read(buffer); in copyAgentToFile() local 165 if (numRead == -1) { in copyAgentToFile() 168 os.write(buffer, 0, numRead); in copyAgentToFile()
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | Utils.java | 83 int numRead = is.read(buffer, 0, buffer.length); in createRenderer() local 85 if (numRead == -1) { in createRenderer() 89 os.write(Arrays.copyOf(buffer, numRead)); in createRenderer()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PageRangeAdjustAndVerify.java | 208 int numRead = in.read(buffer); in adjustPageRangeAndVerifyPages() 210 if (numRead == -1) { in adjustPageRangeAndVerifyPages() 214 out.write(buffer, 0, numRead); in adjustPageRangeAndVerifyPages()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockImeSession.java | 158 final int numRead = in.read(buffer); in executeShellCommand() local 159 if (numRead <= 0) { in executeShellCommand() 162 sb.append(new String(buffer, 0, numRead)); in executeShellCommand()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioTap2ToneActivity.java | 373 int numRead = mInputBuffer.readMostRecent(buffer); in analyzeCapturedAudio() local 378 result.events = mTapLatencyAnalyser.analyze(buffer, 0, numRead); in analyzeCapturedAudio()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1118 int numRead; in convertDmToFl() local 1121 numRead = dmStream.read(dmData, totalRead, dmData.length - totalRead); in convertDmToFl() 1126 if (numRead == -1) { in convertDmToFl() 1129 totalRead += numRead; in convertDmToFl()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 777 int numRead = fis.read(blob); in testStagefright_bug_36592202() local 2743 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local 2792 inputBuffers[bufidx].put(blob, 0, numRead); in doStagefrightTestRawBlob() 2793 codec.queueInputBuffer(bufidx, 0, numRead, 0, 0); in doStagefrightTestRawBlob() 2874 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local 3019 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local
|