Loading media/libmedia/IAudioRecord.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,9 @@ public: status_t status = remote()->transact(GET_CBLK, data, &reply); if (status == NO_ERROR) { cblk = interface_cast<IMemory>(reply.readStrongBinder()); if (cblk != 0 && cblk->pointer() == NULL) { cblk.clear(); } } return cblk; } Loading media/libmedia/IAudioTrack.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,9 @@ public: status_t status = remote()->transact(GET_CBLK, data, &reply); if (status == NO_ERROR) { cblk = interface_cast<IMemory>(reply.readStrongBinder()); if (cblk != 0 && cblk->pointer() == NULL) { cblk.clear(); } } return cblk; } Loading Loading @@ -122,6 +125,9 @@ public: status = reply.readInt32(); if (status == NO_ERROR) { *buffer = interface_cast<IMemory>(reply.readStrongBinder()); if (*buffer != 0 && (*buffer)->pointer() == NULL) { (*buffer).clear(); } } } return status; Loading media/libmedia/IEffect.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,9 @@ public: status_t status = remote()->transact(GET_CBLK, data, &reply); if (status == NO_ERROR) { cblk = interface_cast<IMemory>(reply.readStrongBinder()); if (cblk != 0 && cblk->pointer() == NULL) { cblk.clear(); } } return cblk; } Loading Loading
media/libmedia/IAudioRecord.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,9 @@ public: status_t status = remote()->transact(GET_CBLK, data, &reply); if (status == NO_ERROR) { cblk = interface_cast<IMemory>(reply.readStrongBinder()); if (cblk != 0 && cblk->pointer() == NULL) { cblk.clear(); } } return cblk; } Loading
media/libmedia/IAudioTrack.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,9 @@ public: status_t status = remote()->transact(GET_CBLK, data, &reply); if (status == NO_ERROR) { cblk = interface_cast<IMemory>(reply.readStrongBinder()); if (cblk != 0 && cblk->pointer() == NULL) { cblk.clear(); } } return cblk; } Loading Loading @@ -122,6 +125,9 @@ public: status = reply.readInt32(); if (status == NO_ERROR) { *buffer = interface_cast<IMemory>(reply.readStrongBinder()); if (*buffer != 0 && (*buffer)->pointer() == NULL) { (*buffer).clear(); } } } return status; Loading
media/libmedia/IEffect.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,9 @@ public: status_t status = remote()->transact(GET_CBLK, data, &reply); if (status == NO_ERROR) { cblk = interface_cast<IMemory>(reply.readStrongBinder()); if (cblk != 0 && cblk->pointer() == NULL) { cblk.clear(); } } return cblk; } Loading