Lines Matching refs:reply

53         Parcel data, reply;
56 remote()->transact(CREATE_METADATA_RETRIEVER, data, &reply);
57 return interface_cast<IMediaMetadataRetriever>(reply.readStrongBinder());
62 Parcel data, reply;
68 remote()->transact(CREATE, data, &reply);
69 return interface_cast<IMediaPlayer>(reply.readStrongBinder());
74 Parcel data, reply;
77 remote()->transact(CREATE_MEDIA_RECORDER, data, &reply);
78 return interface_cast<IMediaRecorder>(reply.readStrongBinder());
83 Parcel data, reply;
86 remote()->transact(DECODE_URL, data, &reply);
87 *pSampleRate = uint32_t(reply.readInt32());
88 *pNumChannels = reply.readInt32();
89 *pFormat = reply.readInt32();
90 return interface_cast<IMemory>(reply.readStrongBinder());
95 Parcel data, reply;
100 remote()->transact(DECODE_FD, data, &reply);
101 *pSampleRate = uint32_t(reply.readInt32());
102 *pNumChannels = reply.readInt32();
103 *pFormat = reply.readInt32();
104 return interface_cast<IMemory>(reply.readStrongBinder());
108 Parcel data, reply;
110 remote()->transact(GET_OMX, data, &reply);
111 return interface_cast<IOMX>(reply.readStrongBinder());
115 Parcel data, reply;
118 remote()->transact(ADD_BATTERY_DATA, data, &reply);
121 virtual status_t pullBatteryData(Parcel* reply) {
124 return remote()->transact(PULL_BATTERY_DATA, data, reply);
133 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags)
137 CHECK_INTERFACE(IMediaPlayerService, data, reply);
143 reply->writeStrongBinder(player->asBinder());
147 CHECK_INTERFACE(IMediaPlayerService, data, reply);
153 reply->writeInt32(sampleRate);
154 reply->writeInt32(numChannels);
155 reply->writeInt32(format);
156 reply->writeStrongBinder(player->asBinder());
160 CHECK_INTERFACE(IMediaPlayerService, data, reply);
168 reply->writeInt32(sampleRate);
169 reply->writeInt32(numChannels);
170 reply->writeInt32(format);
171 reply->writeStrongBinder(player->asBinder());
175 CHECK_INTERFACE(IMediaPlayerService, data, reply);
178 reply->writeStrongBinder(recorder->asBinder());
182 CHECK_INTERFACE(IMediaPlayerService, data, reply);
185 reply->writeStrongBinder(retriever->asBinder());
189 CHECK_INTERFACE(IMediaPlayerService, data, reply);
191 reply->writeStrongBinder(omx->asBinder());
195 CHECK_INTERFACE(IMediaPlayerService, data, reply);
201 CHECK_INTERFACE(IMediaPlayerService, data, reply);
202 pullBatteryData(reply);
206 return BBinder::onTransact(code, data, reply, flags);