Lines Matching refs:bufferSize
177 const int bufferSize = reply.readInt32(); in getConstraints() local
179 if (0 < bufferSize) { in getConstraints()
180 data = new char[bufferSize]; in getConstraints()
181 reply.read(data, bufferSize); in getConstraints()
207 const int bufferSize = reply.readInt32(); in getMetadata() local
209 if (0 < bufferSize) { in getMetadata()
210 data = new char[bufferSize]; in getMetadata()
211 reply.read(data, bufferSize); in getMetadata()
273 const int bufferSize = reply.readInt32(); in processDrmInfo() local
275 if (0 < bufferSize) { in processDrmInfo()
276 data = new char[bufferSize]; in processDrmInfo()
277 reply.read(data, bufferSize); in processDrmInfo()
279 drmBuffer = new DrmBuffer(data, bufferSize); in processDrmInfo()
321 const int bufferSize = reply.readInt32(); in acquireDrmInfo() local
324 if (0 < bufferSize) { in acquireDrmInfo()
325 data = new char[bufferSize]; in acquireDrmInfo()
326 reply.read(data, bufferSize); in acquireDrmInfo()
328 drmInfo = new DrmInfo(infoType, DrmBuffer(data, bufferSize), reply.readString8()); in acquireDrmInfo()
525 const int bufferSize = reply.readInt32(); in convertData() local
527 if (0 < bufferSize) { in convertData()
528 data = new char[bufferSize]; in convertData()
529 reply.read(data, bufferSize); in convertData()
531 convertedData = new DrmBuffer(data, bufferSize); in convertData()
557 const int bufferSize = reply.readInt32(); in closeConvertSession() local
559 if (0 < bufferSize) { in closeConvertSession()
560 data = new char[bufferSize]; in closeConvertSession()
561 reply.read(data, bufferSize); in closeConvertSession()
563 convertedData = new DrmBuffer(data, bufferSize); in closeConvertSession()
871 int bufferSize = 0; in onTransact() local
873 bufferSize = strlen(value); in onTransact()
874 reply->writeInt32(bufferSize + 1); in onTransact()
875 reply->write(value, bufferSize + 1); in onTransact()
903 int bufferSize = 0; in onTransact() local
905 bufferSize = strlen(value); in onTransact()
906 reply->writeInt32(bufferSize + 1); in onTransact()
907 reply->write(value, bufferSize + 1); in onTransact()
941 const uint32_t bufferSize = data.readInt32(); in onTransact() local
943 if (bufferSize > data.dataAvail()) { in onTransact()
948 if (0 < bufferSize) { in onTransact()
949 buffer = (char *)data.readInplace(bufferSize); in onTransact()
951 const DrmBuffer drmBuffer(buffer, bufferSize); in onTransact()
971 const int bufferSize = drmBuffer->length; in onTransact() local
972 reply->writeInt32(bufferSize); in onTransact()
973 if (0 < bufferSize) { in onTransact()
974 reply->write(drmBuffer->data, bufferSize); in onTransact()
1021 const int bufferSize = drmBuffer.length; in onTransact() local
1022 reply->writeInt32(bufferSize); in onTransact()
1023 if (0 < bufferSize) { in onTransact()
1024 reply->write(drmBuffer.data, bufferSize); in onTransact()
1051 const uint32_t bufferSize = data.readInt32(); in onTransact() local
1052 if (bufferSize > data.dataAvail()) { in onTransact()
1057 const DrmBuffer drmBuffer((char *)data.readInplace(bufferSize), bufferSize); in onTransact()
1227 const uint32_t bufferSize = data.readInt32(); in onTransact() local
1228 if (bufferSize > data.dataAvail()) { in onTransact()
1231 DrmBuffer* inputData = new DrmBuffer((char *)data.readInplace(bufferSize), bufferSize); in onTransact()
1242 const int bufferSize = convertedData->length; in onTransact() local
1243 reply->writeInt32(bufferSize); in onTransact()
1244 if (0 < bufferSize) { in onTransact()
1245 reply->write(convertedData->data, bufferSize); in onTransact()
1273 const int bufferSize = convertedData->length; in onTransact() local
1274 reply->writeInt32(bufferSize); in onTransact()
1275 if (0 < bufferSize) { in onTransact()
1276 reply->write(convertedData->data, bufferSize); in onTransact()
1371 const int bufferSize = data.readInt32(); in onTransact() local
1372 DrmBuffer buf((bufferSize > 0) ? (char *)data.readInplace(bufferSize) : NULL, in onTransact()
1373 bufferSize); in onTransact()
1416 const uint32_t bufferSize = data.readInt32(); in onTransact() local
1417 if (bufferSize > data.dataAvail()) { in onTransact()
1423 headerInfo = new DrmBuffer((char *)data.readInplace(bufferSize), bufferSize); in onTransact()