Lines Matching refs:request
609 * Create a request parcel which can be routed to the native media
615 * @return A parcel suitable to hold a request for the native
627 * parcels for the request and reply. Both payloads' format is a
632 * @param request Parcel with the data for the extension. The
640 public void invoke(Parcel request, Parcel reply) {
641 int retcode = native_invoke(request, reply);
744 Parcel request = Parcel.obtain();
747 request.writeInterfaceToken(IMEDIA_PLAYER);
748 request.writeInt(INVOKE_ID_SET_VIDEO_SCALE_MODE);
749 request.writeInt(mode);
750 invoke(request, reply);
752 request.recycle();
862 * @param headers the headers to be sent together with the request for the data
925 * @param headers the headers associated with the http request for the stream you want to play
1243 Parcel request = newRequest();
1249 int capacity = request.dataSize() + 4 * (1 + allow.size() + 1 + block.size());
1251 if (request.dataCapacity() < capacity) {
1252 request.setDataCapacity(capacity);
1255 request.writeInt(allow.size());
1257 request.writeInt(t);
1259 request.writeInt(block.size());
1261 request.writeInt(t);
1263 return native_setMetadataFilter(request);
1531 * @param request Parcel destinated to the media player. The
1537 private native final int native_invoke(Parcel request, Parcel reply);
1558 * @param request Parcel with the 2 serialized lists of allowed
1564 private native final int native_setMetadataFilter(Parcel request);
1651 Parcel request = Parcel.obtain();
1654 request.writeInterfaceToken(IMEDIA_PLAYER);
1655 request.writeInt(INVOKE_ID_GET_TRACK_INFO);
1656 invoke(request, reply);
1660 request.recycle();
1805 Parcel request = Parcel.obtain();
1808 request.writeInterfaceToken(IMEDIA_PLAYER);
1809 request.writeInt(INVOKE_ID_ADD_EXTERNAL_SOURCE_FD);
1810 request.writeFileDescriptor(fd);
1811 request.writeLong(offset);
1812 request.writeLong(length);
1813 request.writeString(mimeType);
1814 invoke(request, reply);
1816 request.recycle();
1873 Parcel request = Parcel.obtain();
1876 request.writeInterfaceToken(IMEDIA_PLAYER);
1877 request.writeInt(select? INVOKE_ID_SELECT_TRACK: INVOKE_ID_DESELECT_TRACK);
1878 request.writeInt(index);
1879 invoke(request, reply);
1881 request.recycle();