Home
last modified time | relevance | path

Searched refs:dataAvail (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/media/java/android/media/
DMetadata.java378 if (parcel.dataAvail() < kMetaHeaderSize) { in parse()
379 Log.e(TAG, "Not enough data " + parcel.dataAvail()); in parse()
387 if (parcel.dataAvail() + kInt32Size < size || size < kMetaHeaderSize) { in parse()
388 Log.e(TAG, "Bad size " + size + " avail " + parcel.dataAvail() + " position " + pin); in parse()
DSubtitleData.java75 if (parcel.dataAvail() == 0) { in parseParcel()
DTimedText.java395 if (parcel.dataAvail() == 0) { in parseParcel()
426 while (parcel.dataAvail() > 0) { in parseParcel()
541 while (!endOfStyle && (parcel.dataAvail() > 0)) { in readStyle()
/frameworks/av/media/libmedia/
DIDrmClient.cpp69 if (data.dataAvail() > 0) { in onTransact()
70 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact()
DIMediaPlayerClient.cpp66 if (data.dataAvail() > 0) { in onTransact()
67 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact()
DIHDCP.cpp183 if (data.dataAvail() > 0) { in onTransact()
187 data.dataAvail()); in onTransact()
DIMediaPlayer.cpp512 if (data.dataAvail() > 0) { in onTransact()
514 const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact()
/frameworks/av/drm/common/
DIDrmManagerService.cpp70 if (0 == data.dataAvail()) { in readDecryptHandleFromParcelData()
169 if (0 != reply.dataAvail()) { in getConstraints()
199 if (0 != reply.dataAvail()) { in getMetadata()
264 if (0 != reply.dataAvail()) { in processDrmInfo()
271 if (0 != reply.dataAvail()) { in processDrmInfo()
315 if (0 != reply.dataAvail()) { in acquireDrmInfo()
515 if (0 != reply.dataAvail()) { in convertData()
521 if (0 != reply.dataAvail()) { in convertData()
547 if (0 != reply.dataAvail()) { in closeConvertSession()
553 if (0 != reply.dataAvail()) { in closeConvertSession()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewBasicTest.java172 assertEquals("When unmarshalling, all of the parcel should be read", 0, parcel.dataAvail()); in testSavedStateWithStatelessLayoutManager()
201 assertEquals("When unmarshalling, all of the parcel should be read", 0, parcel.dataAvail()); in testSavedState()
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp113 const size_t len = request.dataAvail(); in ping()
/frameworks/base/core/java/android/os/
DParcel.java360 public final int dataAvail() { in dataAvail() method in Parcel
794 if (N >= 0 && N <= (dataAvail() >> 2)) { in createBooleanArray()
830 if (N >= 0 && N <= (dataAvail() >> 2)) { in createCharArray()
866 if (N >= 0 && N <= (dataAvail() >> 2)) { in createIntArray()
903 if (N >= 0 && N <= (dataAvail() >> 3)) { in createLongArray()
940 if (N >= 0 && N <= (dataAvail() >> 2)) { in createFloatArray()
977 if (N >= 0 && N <= (dataAvail() >> 3)) { in createDoubleArray()
/frameworks/av/camera/
DICameraClient.cpp105 if (data.dataAvail() > 0) { in onTransact()
/frameworks/native/libs/binder/
DBinder.cpp208 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { in onTransact()
DIPCThreadState.cpp427 size_t IN = mIn.dataAvail(); in getAndExecuteCommand()
718 if (mIn.dataAvail() == 0) continue; in waitForResponse()
DParcel.cpp335 size_t Parcel::dataAvail() const in dataAvail() function in android::Parcel
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java101 assertEquals(i, mParcel.dataAvail()); in testMissingSizeAndMarker()
/frameworks/base/core/jni/
Dandroid_os_Parcel.cpp100 return parcel ? parcel->dataAvail() : 0; in android_os_Parcel_dataAvail()
322 if (len >= 0 && len <= (int32_t)parcel->dataAvail()) { in android_os_Parcel_createByteArray()
/frameworks/native/include/binder/
DParcel.h50 size_t dataAvail() const;
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp148 if (p.dataAvail() < size) in unmarshallFilter()
150 ALOGE("Filter too short expected %d but got %d", size, p.dataAvail()); in unmarshallFilter()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java706 assertEquals(0, parcel.dataAvail()); in testDropBoxEntrySerialization()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java2411 if (error == 0 || p.dataAvail() > 0) { in processSolicited()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java7835 while (in.dataAvail() > 0 && (time=in.readLong()) >= 0) { in readOldHistory()
/frameworks/base/api/
Dsystem-current.txt23532 method public final int dataAvail();
Dcurrent.txt21952 method public final int dataAvail();