Searched refs:parcel (Results 1 – 5 of 5) sorted by relevance
/hardware/google/av/media/eco/ |
D | ECOData.cpp | 40 binder_status_t ECOData::readFromParcel(const AParcel* parcel) { in readFromParcel() argument 41 if (parcel == nullptr) { in readFromParcel() 47 RETURN_STATUS_IF_ERROR(AParcel_readInt32(parcel, &mDataType)); in readFromParcel() 48 RETURN_STATUS_IF_ERROR(AParcel_readInt64(parcel, &mDataTimeUs)); in readFromParcel() 52 RETURN_STATUS_IF_ERROR(AParcel_readUint32(parcel, &numOfItems)); in readFromParcel() 58 AParcel_readString(parcel, &name, ndk::AParcel_stdStringAllocator); in readFromParcel() 61 RETURN_STATUS_IF_ERROR(AParcel_readInt32(parcel, &type)); in readFromParcel() 65 RETURN_STATUS_IF_ERROR(AParcel_readInt32(parcel, &value32)); in readFromParcel() 71 RETURN_STATUS_IF_ERROR(AParcel_readInt64(parcel, &value64)); in readFromParcel() 77 RETURN_STATUS_IF_ERROR(AParcel_readInt32(parcel, &valueSize)); in readFromParcel() [all …]
|
/hardware/google/av/media/eco/tests/ |
D | EcoDataTest.cpp | 307 AParcel* parcel = AParcel_create(); in TEST() local 308 EXPECT_TRUE(sourceData->writeToParcel(parcel) == STATUS_OK); in TEST() 312 AParcel_setDataPosition(parcel, 0); in TEST() 316 EXPECT_TRUE(dstData->readFromParcel(parcel) == STATUS_OK); in TEST() 352 AParcel* parcel = AParcel_create(); in TEST() local 353 EXPECT_TRUE(sourceData->writeToParcel(parcel) == STATUS_OK); in TEST() 356 AParcel_setDataPosition(parcel, 4); in TEST() 358 AParcel_writeString(parcel, invalid_string, strlen(invalid_string)); in TEST() 360 AParcel_setDataPosition(parcel, 0); in TEST() 364 EXPECT_TRUE(dstData->readFromParcel(parcel) != STATUS_OK); in TEST()
|
/hardware/google/av/media/eco/include/eco/ |
D | ECOData.h | 135 binder_status_t readFromParcel(const AParcel* parcel); 136 binder_status_t writeToParcel(AParcel* parcel) const;
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | GeneratedTestHarness.cpp | 158 IPreparedModelParcel parcel; in allocateInternal() local 159 parcel.preparedModel = kPreparedModel; in allocateInternal() 160 const auto ret = kDevice->allocate({}, {parcel}, inputRoles, outputRoles, &buffer); in allocateInternal()
|
D | MemoryDomainTests.cpp | 663 IPreparedModelParcel parcel; in allocateBuffer() local 664 parcel.preparedModel = preparedModel; in allocateBuffer() 668 const auto ret = kDevice->allocate({.dimensions = dimensions}, {parcel}, inputRoles, in allocateBuffer()
|