Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DSparseMappingTableTest.java62 Assert.assertEquals(0, dataParcel.dataAvail()); in testParcelingEmpty()
68 Assert.assertEquals(0, tableParcel.dataAvail()); in testParcelingEmpty()
96 Assert.assertEquals(0, dataParcel.dataAvail()); in testParceling()
102 Assert.assertEquals(0, tableParcel.dataAvail()); in testParceling()
143 Assert.assertEquals(0, dataParcel.dataAvail()); in testParcelingWithReset()
149 Assert.assertEquals(0, tableParcel.dataAvail()); in testParcelingWithReset()
/frameworks/base/media/java/android/media/
DMetadata.java386 if (parcel.dataAvail() < kMetaHeaderSize) { in parse()
387 Log.e(TAG, "Not enough data " + parcel.dataAvail()); in parse()
395 if (parcel.dataAvail() + kInt32Size < size || size < kMetaHeaderSize) { in parse()
396 Log.e(TAG, "Bad size " + size + " avail " + parcel.dataAvail() + " position " + pin); in parse()
DTimedMetaData.java68 if (parcel.dataAvail() == 0) { in parseParcel()
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/drm/common/
DIDrmManagerService.cpp71 if (0 == data.dataAvail()) { in readDecryptHandleFromParcelData()
170 if (0 != reply.dataAvail()) { in getConstraints()
200 if (0 != reply.dataAvail()) { in getMetadata()
265 if (0 != reply.dataAvail()) { in processDrmInfo()
272 if (0 != reply.dataAvail()) { in processDrmInfo()
318 if (0 != reply.dataAvail()) { in acquireDrmInfo()
518 if (0 != reply.dataAvail()) { in convertData()
524 if (0 != reply.dataAvail()) { in convertData()
550 if (0 != reply.dataAvail()) { in closeConvertSession()
556 if (0 != reply.dataAvail()) { in closeConvertSession()
[all …]
/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()
DIResourceManagerService.cpp51 for (size_t i = 0; i < size && data.dataAvail() > 0; i++) { in readFromParcel()
DIStreamSource.cpp116 } else if (data.dataAvail() == 0) { in onTransact()
DIDataSource.cpp101 if (reply.dataAvail() != 0) { in DrmInitialization()
DIMediaPlayer.cpp652 if (data.dataAvail() > 0) { in onTransact()
654 const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact()
DIMediaSource.cpp265 if (data.dataAvail()) { in onTransact()
/frameworks/native/libs/binder/
DBinder.cpp220 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { in onTransact()
232 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { in onTransact()
DIPCThreadState.cpp429 size_t IN = mIn.dataAvail(); in getAndExecuteCommand()
742 if (mIn.dataAvail() == 0) continue; in waitForResponse()
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp117 const size_t len = request.dataAvail(); in ping()
/frameworks/base/core/java/android/os/
DParcel.java376 public final int dataAvail() { in dataAvail() method in Parcel
888 if (N >= 0 && N <= (dataAvail() >> 2)) { in createBooleanArray()
924 if (N >= 0 && N <= (dataAvail() >> 2)) { in createCharArray()
960 if (N >= 0 && N <= (dataAvail() >> 2)) { in createIntArray()
997 if (N >= 0 && N <= (dataAvail() >> 3)) { in createLongArray()
1034 if (N >= 0 && N <= (dataAvail() >> 2)) { in createFloatArray()
1071 if (N >= 0 && N <= (dataAvail() >> 3)) { in createDoubleArray()
/frameworks/native/services/surfaceflinger/
DGpuService.cpp45 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { in onTransact()
/frameworks/base/location/java/android/location/
DGpsNavigationMessage.java262 if (parcel.dataAvail() >= Integer.SIZE) {
/frameworks/av/camera/
DICameraClient.cpp119 if (data.dataAvail() > 0) { in onTransact()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewBasicTest.java274 assertEquals("When unmarshalling, all of the parcel should be read", 0, parcel.dataAvail()); in savedStateWithStatelessLayoutManager()
304 assertEquals("When unmarshalling, all of the parcel should be read", 0, parcel.dataAvail()); in savedState()
/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.cpp102 return parcel ? parcel->dataAvail() : 0; in android_os_Parcel_dataAvail()
332 if (len >= 0 && len <= (int32_t)parcel->dataAvail()) { in android_os_Parcel_createByteArray()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java282 + ", avail=" + mCurParcel.dataAvail() + ", windows=" + mNumReadWindows in go()
288 + ", avail=" + mCurParcel.dataAvail() + ", windows=" + mNumReadWindows in readParcel()
313 + ", avail=" + mCurParcel.dataAvail() + ", windows=" + mNumReadWindows in readParcel()

12