/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 | TestMedia2DataSource.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 | 1878 int numRead = 0; in read() local 1889 numRead += n; in read() 1896 for (numRead = 0; numRead < inBufLen; ) { in read() 1897 int n = mInputStream.read(mBuf, numRead, inBufLen - numRead); in read() 1902 numRead += n; in read() 1904 buf.put(mBuf, 0, numRead); in read() 1915 ", size " + numRead + ", flags: " + flags + in read() 1919 numRead, in read() 1922 Log.i(TAG, "queued input buffer " + index + ", size " + numRead); in read()
|
/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/jvmti/attaching/src/android.jvmti.attaching.cts/ |
D | AttachingTest.java | 148 int numRead = is.read(buffer); in copyAgentToFile() local 149 if (numRead == -1) { in copyAgentToFile() 152 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/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockImeSession.java | 146 final int numRead = in.read(buffer); in executeShellCommand() local 147 if (numRead <= 0) { in executeShellCommand() 150 sb.append(new String(buffer, 0, numRead)); in executeShellCommand()
|
D | MockIme.java | 207 final int numRead = is.read(buffer); in readSettings() local 208 if (numRead <= 0) { in readSettings() 211 parcel.unmarshall(buffer, 0, numRead); in readSettings()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PageRangeAdjustAndVerify.java | 207 int numRead = in.read(buffer); in adjustPageRangeAndVerifyPages() 209 if (numRead == -1) { in adjustPageRangeAndVerifyPages() 213 out.write(buffer, 0, numRead); in adjustPageRangeAndVerifyPages()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 944 int numRead; in convertDmToFl() local 947 numRead = dmStream.read(dmData, totalRead, dmData.length - totalRead); in convertDmToFl() 952 if (numRead == -1) { in convertDmToFl() 955 totalRead += numRead; in convertDmToFl()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 600 int numRead = fis.read(blob); in testStagefright_bug_36592202() local 1475 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local 1519 inputBuffers[bufidx].put(blob, 0, numRead); in doStagefrightTestRawBlob() 1520 codec.queueInputBuffer(bufidx, 0, numRead, 0, 0); in doStagefrightTestRawBlob() 1590 int numRead = fis.read(blob); in doStagefrightTestRawBlob() local
|