/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 178 int numRead = is.read(buffer32); in onAttached() local 179 assertEquals(32, numRead); in onAttached() 187 numRead = is.read(buffer16); in onAttached() 188 assertEquals(16, numRead); in onAttached() 200 numRead = is.read(buffer32); in onAttached() 201 assertEquals(32, numRead); in onAttached() 212 numRead = is.read(buffer32); in onAttached() 213 assertEquals(16, numRead); in onAttached() 217 numRead = is.read(buffer32); in onAttached() 218 assertEquals(16, numRead); in onAttached() [all …]
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | TestMediaDataSource.java | 49 int numRead = 0; in fromAssetFd() local 51 numRead = in.read(data, writeIndex, size - writeIndex); in fromAssetFd() 52 writeIndex += numRead; in fromAssetFd() 53 } while (numRead >= 0); in fromAssetFd() 118 public void returnFromReadAt(int numRead) { in returnFromReadAt() argument 119 mReturnFromReadAt = numRead; in returnFromReadAt()
|
D | StreamUtils.java | 128 int numRead = 0; in read() local 131 numRead = mExtractor.readSampleData(buf, 0 /* offset */); in read() 134 + numRead +" timestamp " + timestampUs); in read() 136 if(numRead < 0) { in read() 139 numRead =0; in read() 150 numRead += n; in read() 157 for (numRead = 0; numRead < inBufLen; ) { in read() 158 int n = mInputStream.read(mBuf, numRead, inBufLen - numRead); in read() 163 numRead += n; in read() 165 buf.put(mBuf, 0, numRead); in read() [all …]
|
/cts/tests/tests/media/misc/src/android/media/misc/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()
|
/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/telephony/current/src/android/telephony/cts/ |
D | CallComposerTest.java | 248 int numRead; in readBytes() local 250 numRead = inputStream.read(buffer); in readBytes() 251 if (numRead > 0) output.write(buffer, 0, numRead); in readBytes() 252 } 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/tests/provider/src/android/provider/cts/contacts/ |
D | CallLogTest.java | 510 int numRead; in readBytes() local 512 numRead = inputStream.read(buffer); in readBytes() 513 if (numRead > 0) output.write(buffer, 0, numRead); in readBytes() 514 } while (numRead > 0); in readBytes()
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioTap2ToneActivity.java | 464 int numRead = mInputBuffer.readMostRecent(buffer); in analyzeCapturedAudio() local 469 result.events = mTapLatencyAnalyzer.analyze(buffer, 0, numRead); in analyzeCapturedAudio()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockImeSession.java | 202 final int numRead = in.read(buffer); in executeShellCommand() local 203 if (numRead <= 0) { in executeShellCommand() 206 sb.append(new String(buffer, 0, numRead)); in executeShellCommand()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1144 int numRead; in convertDmToFl() local 1147 numRead = dmStream.read(dmData, totalRead, dmData.length - totalRead); in convertDmToFl() 1152 if (numRead == -1) { in convertDmToFl() 1155 totalRead += numRead; in convertDmToFl()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 765 int numRead = fis.read(blob); in testStagefright_bug_36592202() local 2828 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local 2887 inputBuffers[bufidx].put(blob, 0, numRead); in doStagefrightTestRawBlob() 2888 codec.queueInputBuffer(bufidx, 0, numRead, 0, 0); in doStagefrightTestRawBlob() 2969 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local 3124 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local
|