/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamBytesTest.java | 79 results[0] = pi.readBytes(fieldId1); in testRead() 82 results[1] = pi.readBytes(fieldId2); in testRead() 85 results[2] = pi.readBytes(fieldId3); in testRead() 88 results[3] = pi.readBytes(fieldId4); in testRead() 139 result = pi.readBytes(fieldId); in testReadCompat() 213 results[0][indices[0]++] = pi.readBytes(fieldId1); in testRepeated() 216 results[1][indices[1]++] = pi.readBytes(fieldId2); in testRepeated() 219 results[2][indices[2]++] = pi.readBytes(fieldId3); in testRepeated() 222 results[3][indices[3]++] = pi.readBytes(fieldId4); in testRepeated() 277 result[index++] = pi.readBytes(fieldId); in testRepeatedCompat() [all …]
|
D | ProtoInputStreamObjectTest.java | 483 pi.readBytes(fieldId1); in testBadWireType() 487 pi.readBytes(fieldId2); in testBadWireType() 491 pi.readBytes(fieldId3); in testBadWireType() 495 pi.readBytes(fieldId6); in testBadWireType()
|
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/test/java/com/google/tuningfork/validation/ |
D | TestdataHelper.java | 49 byte[] byteContent = readBytes(fileName); in getFile() 63 public static byte[] readBytes(String fileName) { in readBytes() method in TestdataHelper 74 return ByteString.copyFrom(readBytes(fileName)); in readByteString()
|
/frameworks/av/drm/common/include/ |
D | ReadWriteUtils.h | 48 static String8 readBytes(const String8& filePath); 56 static int readBytes(const String8& filePath, char** buffer);
|
/frameworks/base/drm/java/android/drm/ |
D | DrmUtils.java | 39 /* package */ static byte[] readBytes(String path) throws IOException { in readBytes() method in DrmUtils 41 return readBytes(file); in readBytes() 45 /* package */ static byte[] readBytes(File file) throws IOException { in readBytes() method in DrmUtils
|
D | DrmInfo.java | 73 mData = DrmUtils.readBytes(path); in DrmInfo()
|
D | DrmRights.java | 99 mData = DrmUtils.readBytes(rightsFile); in instantiate()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MemoryFileTest.java | 59 file.readBytes(testString, 0, 0, testString.length); in testPurge() 81 file.readBytes(buffer, 2000, 0, testString.length); in testRun() 119 file.readBytes(copy, 0, 0, file.length()); in testOutputStreamAdvances() 209 assertEquals(128, file.readBytes(data, 0, 0, 128)); in testCloseRead()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 214 int readBytes = 0; in getText() local 216 while (n >= 0 && (readBytes += n) < maxBytes) { in getText() 217 n = is.read(buf, readBytes, maxBytes - readBytes); in getText() 219 return new String(buf, 0, readBytes); in getText()
|
D | MemoryFile.java | 187 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) in readBytes() method in MemoryFile 299 int result = readBytes(buffer, mOffset, offset, count); in read()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtypeArray.java | 221 final int readBytes = unzipper.read(result, totalReadBytes, restBytes); in decompress() local 222 if (readBytes < 0) { in decompress() 225 totalReadBytes += readBytes; in decompress()
|
/frameworks/av/drm/common/ |
D | ReadWriteUtils.cpp | 35 String8 ReadWriteUtils::readBytes(const String8& filePath) { in readBytes() function in ReadWriteUtils 57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { in readBytes() function in ReadWriteUtils
|
D | DrmRights.cpp | 30 rightsLength = ReadWriteUtils::readBytes(rightsFilePath, &mRightsFromFile); in DrmRights()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | WireFormat.java | 197 return input.readBytes(); in readString() 232 case BYTES : return input.readBytes (); in readPrimitiveField()
|
D | LazyFieldLite.java | 321 setByteString(input.readBytes(), extensionRegistry); in mergeFrom() 337 setByteString(this.delayedBytes.concat(input.readBytes()), this.extensionRegistry); in mergeFrom()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteServer.java | 521 int readBytes = Os.read(pollFDs[pollIndex].fd, buffer, 0, buffer.length); in runSelectLoop() local 523 if (readBytes == Zygote.USAP_MANAGEMENT_MESSAGE_BYTES) { in runSelectLoop() 530 + readBytes); in runSelectLoop()
|
D | ZygoteConnection.java | 660 int readBytes = android.system.Os.read(pipeFd, data, dataIndex, 1); in handleParentProc() local 661 if (readBytes < 0) { in handleParentProc() 664 dataIndex += readBytes; in handleParentProc()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/ |
D | Chunk.java | 26 result.mHash = inputStream.readBytes(ChunksMetadataProto.Chunk.HASH); in readFromProto()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 562 final byte[] readBytes = new byte[5]; in testOpenDocument() 564 assertEquals(5, Os.read(fd.getFileDescriptor(), readBytes, 0, 5)); in testOpenDocument() 565 assertTrue(Arrays.equals("world".getBytes(), readBytes)); in testOpenDocument() 568 assertEquals(5, Os.read(fd.getFileDescriptor(), readBytes, 0, 5)); in testOpenDocument() 569 assertTrue(Arrays.equals("Hello".getBytes(), readBytes)); in testOpenDocument() 600 final byte[] readBytes = new byte[1024 * 1024]; in testOpenDocument_shortBytes() 601 assertEquals(11, Os.read(fd.getFileDescriptor(), readBytes, 0, readBytes.length)); in testOpenDocument_shortBytes()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBCodedInputStream.h | 123 - (NSData *)readBytes;
|
/frameworks/base/obex/javax/obex/ |
D | PrivateOutputStream.java | 127 public synchronized byte[] readBytes(int size) { in readBytes() method in PrivateOutputStream
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/ |
D | CodedInputByteBufferNano.java | 230 public byte[] readBytes() throws IOException { in readBytes() method in CodedInputByteBufferNano 666 return readBytes(); in readPrimitiveField()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/ |
D | reader_test.js | 187 assertThrows(function() {reader.readBytes()}); 573 var bytes = reader.readBytes(); 849 var decoder2 = new jspb.BinaryDecoder(decoder1.readBytes(blob.length + 4)); 855 var bytes = decoder2.readBytes(blob.length);
|
D | reader.js | 503 return this.readBytes(); 874 jspb.BinaryReader.prototype.readBytes = function() { method in jspb.BinaryReader 878 return this.decoder_.readBytes(length);
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoUtils.java | 106 sb.append("\nField Bytes : " + proto.readBytes(fieldConstant)); in currentFieldToString()
|