Home
last modified time | relevance | path

Searched refs:dataRead (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libmediaplayerservice/datasource/
DPlayerServiceFileSource.cpp136 int64_t dataRead = 0; in readAtDRM_l() local
137 dataRead = size > static_cast<size_t>(mDrmBufSize) ? mDrmBufSize : size; in readAtDRM_l()
138 memcpy(data, (void*)mDrmBuf, dataRead); in readAtDRM_l()
139 return dataRead; in readAtDRM_l()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/communal/data/backup/
DCommunalBackupUtilsTest.kt92 var dataRead = underTest.readBytesFromDisk().toString(Charset.defaultCharset()) in <lambda>() variable
93 assertThat(dataRead).isEqualTo(dataToWrite) in <lambda>()
100 dataRead = underTest.readBytesFromDisk().toString(Charset.defaultCharset()) in <lambda>()
101 assertThat(dataRead).isEqualTo(newDataToWrite) in <lambda>()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp499 ssize_t dataRead = AMediaExtractor_readSampleData(extractor, buffer, bufferSize); in readSampleAndAdvance() local
500 EXPECT_EQ(dataRead, sampleSize); in readSampleAndAdvance()