Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DSparseMappingTableTest.java56 Assert.assertEquals(0, dataParcel.dataAvail()); in testParcelingEmpty()
62 Assert.assertEquals(0, tableParcel.dataAvail()); in testParcelingEmpty()
90 Assert.assertEquals(0, dataParcel.dataAvail()); in testParceling()
96 Assert.assertEquals(0, tableParcel.dataAvail()); in testParceling()
137 Assert.assertEquals(0, dataParcel.dataAvail()); in testParcelingWithReset()
143 Assert.assertEquals(0, tableParcel.dataAvail()); in testParcelingWithReset()
/frameworks/base/media/java/android/media/
DMetadata.java393 if (parcel.dataAvail() < kMetaHeaderSize) { in parse()
394 Log.e(TAG, "Not enough data " + parcel.dataAvail()); in parse()
402 if (parcel.dataAvail() + kInt32Size < size || size < kMetaHeaderSize) { in parse()
403 Log.e(TAG, "Bad size " + size + " avail " + parcel.dataAvail() + " position " + pin); in parse()
DTimedMetaData.java84 if (parcel.dataAvail() == 0) { in parseParcel()
DSubtitleData.java140 if (parcel.dataAvail() == 0) { in parseParcel()
DTimedText.java407 if (parcel.dataAvail() == 0) { in parseParcel()
438 while (parcel.dataAvail() > 0) { in parseParcel()
553 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/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/media/libmedia/
DIMediaPlayerClient.cpp66 if (data.dataAvail() > 0) { in onTransact()
67 obj.appendFrom(const_cast<Parcel *>(&data), data.dataPosition(), data.dataAvail()); in onTransact()
DIStreamSource.cpp105 } else if (data.dataAvail() == 0) { in onTransact()
DIResourceManagerService.cpp52 for (size_t i = 0; i < size && data.dataAvail() > 0; i++) { in readFromParcel()
DIMediaSource.cpp290 if (data.dataAvail()) { in onTransact()
/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextUnitTest.cpp158 ASSERT_EQ(parcel.dataAvail(), 0) << "Parcel has some data left to read"; in TEST_P()
284 if (parcel.dataAvail() == 0) { in TEST_P()
300 if (parcel.dataAvail() == 0) { in TEST_P()
333 if (parcel.dataAvail() == 0) { in TEST_P()
358 ASSERT_EQ(parcel.dataAvail(), 0) << "Parcel has some data left to read"; in TEST_P()
/frameworks/native/libs/binder/
DStatus.cpp107 const size_t header_avail = parcel.dataAvail(); in readFromParcel()
149 static_cast<size_t>(remote_stack_trace_header_size) > parcel.dataAvail()) { in readFromParcel()
163 const size_t header_avail = parcel.dataAvail(); in readFromParcel()
DBinder.cpp355 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { in onTransact()
367 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) {
DSingleScanSettings.java108 if (in.dataAvail() != 0) {
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java136 assertThat(parcel.dataAvail(), is(0)); in testParcelingWithAllValues()
152 assertThat(parcel.dataAvail(), is(0)); in testParcelingWithNullValues()
/frameworks/base/core/java/android/security/keystore/recovery/
DWrappedApplicationKey.java171 if (in.dataAvail() > 0) { in WrappedApplicationKey()
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp117 const size_t len = request.dataAvail(); in ping()
/frameworks/base/location/java/android/location/
DGpsNavigationMessage.java262 if (parcel.dataAvail() >= Integer.SIZE) {
/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()
364 if (len >= 0 && len <= (int32_t)parcel->dataAvail() && len == destLen) { in android_os_Parcel_readByteArray()
/frameworks/base/core/java/android/os/
DParcel.java482 public final int dataAvail() { in dataAvail() method in Parcel
1146 if (N >= 0 && N <= (dataAvail() >> 2)) { in createBooleanArray()
1183 if (N >= 0 && N <= (dataAvail() >> 2)) { in createCharArray()
1220 if (N >= 0 && N <= (dataAvail() >> 2)) { in createIntArray()
1258 if (N >= 0 && N <= (dataAvail() >> 3)) { in createLongArray()
1296 if (N >= 0 && N <= (dataAvail() >> 2)) { in createFloatArray()
1334 if (N >= 0 && N <= (dataAvail() >> 3)) { in createDoubleArray()
/frameworks/av/camera/
DICameraClient.cpp143 if (data.dataAvail() > 0) { in onTransact()
/frameworks/native/libs/sensor/
DISensorServer.cpp237 for (int i = 0; i < argc && data.dataAvail() > 0; i++) { in onTransact()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerMetadataParserTest.java101 assertEquals(i, mParcel.dataAvail()); in testMissingSizeAndMarker()

12