/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 130 int numRead = is.read(buffer32); in onAttached() local 131 assertEquals(32, numRead); in onAttached() 139 numRead = is.read(buffer16); in onAttached() 140 assertEquals(16, numRead); in onAttached() 152 numRead = is.read(buffer32); in onAttached() 153 assertEquals(32, numRead); in onAttached() 164 numRead = is.read(buffer32); in onAttached() 165 assertEquals(16, numRead); in onAttached() 169 numRead = is.read(buffer32); in onAttached() 170 assertEquals(16, numRead); in onAttached() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
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 | 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 | MediaCodecTest.java | 2100 int numRead = 0; in read() local 2103 numRead = mExtractor.readSampleData(buf, 0 /* offset */); in read() 2106 + numRead +" timestamp " + timestampUs); in read() 2108 if(numRead < 0) { in read() 2111 numRead =0; in read() 2122 numRead += n; in read() 2129 for (numRead = 0; numRead < inBufLen; ) { in read() 2130 int n = mInputStream.read(mBuf, numRead, inBufLen - numRead); in read() 2135 numRead += n; in read() 2137 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/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | BootClassPathClassesProvider.java | 102 int numRead = is.read(buffer); in copyAgentToFile() local 103 if (numRead == -1) { in copyAgentToFile() 106 os.write(buffer, 0, numRead); in copyAgentToFile()
|
/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/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/permission/src/android/permission/cts/ |
D | LocationAccessCheckTest.java | 220 int numRead = is.read(buffer); in getJobSchedulerDump() local 222 if (numRead == -1) { in getJobSchedulerDump() 225 os.write(buffer, 0, numRead); in getJobSchedulerDump()
|
/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 | 151 final int numRead = in.read(buffer); in executeShellCommand() local 152 if (numRead <= 0) { in executeShellCommand() 155 sb.append(new String(buffer, 0, numRead)); in executeShellCommand()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 958 int numRead; in convertDmToFl() local 961 numRead = dmStream.read(dmData, totalRead, dmData.length - totalRead); in convertDmToFl() 966 if (numRead == -1) { in convertDmToFl() 969 totalRead += numRead; in convertDmToFl()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 945 int numRead; in convertDmToFl() local 948 numRead = dmStream.read(dmData, totalRead, dmData.length - totalRead); in convertDmToFl() 953 if (numRead == -1) { in convertDmToFl() 956 totalRead += numRead; in convertDmToFl()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 627 int numRead = fis.read(blob); in testStagefright_bug_36592202() local 1694 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local 1738 inputBuffers[bufidx].put(blob, 0, numRead); in doStagefrightTestRawBlob() 1739 codec.queueInputBuffer(bufidx, 0, numRead, 0, 0); in doStagefrightTestRawBlob() 1809 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local
|