Home
last modified time | relevance | path

Searched refs:dataAvail (Results 1 – 25 of 39) 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/libmediadrm/
DIDrmClient.cpp69 if (data.dataAvail() > 0) { in onTransact()
70 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact()
/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/
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.cpp110 if (reply.dataAvail() != 0) { in DrmInitialization()
/frameworks/native/libs/binder/
DStatus.cpp81 const size_t header_avail = parcel.dataAvail(); in readFromParcel()
121 const size_t header_avail = parcel.dataAvail(); in readFromParcel()
DBinder.cpp223 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { in onTransact()
235 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { in onTransact()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
DChannelSettings.java83 if (in.dataAvail() != 0) {
DHiddenNetwork.java80 if (in.dataAvail() != 0) {
DSingleScanSettings.java91 if (in.dataAvail() != 0) {
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp117 const size_t len = request.dataAvail(); in ping()
/frameworks/native/services/surfaceflinger/
DGpuService.cpp47 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/base/core/java/android/os/
DParcel.java452 public final int dataAvail() { in dataAvail() method in Parcel
1029 if (N >= 0 && N <= (dataAvail() >> 2)) { in createBooleanArray()
1065 if (N >= 0 && N <= (dataAvail() >> 2)) { in createCharArray()
1101 if (N >= 0 && N <= (dataAvail() >> 2)) { in createIntArray()
1138 if (N >= 0 && N <= (dataAvail() >> 3)) { in createLongArray()
1175 if (N >= 0 && N <= (dataAvail() >> 2)) { in createFloatArray()
1212 if (N >= 0 && N <= (dataAvail() >> 3)) { in createDoubleArray()
/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()
359 if (len >= 0 && len <= (int32_t)parcel->dataAvail() && len == destLen) { in android_os_Parcel_readByteArray()
/frameworks/av/camera/
DICameraClient.cpp143 if (data.dataAvail() > 0) { in onTransact()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java101 assertEquals(i, mParcel.dataAvail()); in testMissingSizeAndMarker()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewBasicTest.java286 assertEquals("When unmarshalling, all of the parcel should be read", 0, parcel.dataAvail()); in savedStateWithStatelessLayoutManager()
316 assertEquals("When unmarshalling, all of the parcel should be read", 0, parcel.dataAvail()); in savedState()

12