Loading media/libmediatranscoding/aidl/android/media/TranscodingRequestParcel.aidl +14 −0 Original line number Diff line number Diff line Loading @@ -33,11 +33,25 @@ parcelable TranscodingRequestParcel { */ @utf8InCpp String sourceFilePath; /* * The filedescrptor of the sourceFilePath. If the source Fd is provided, transcoding service * will use this fd instead of calling back to client side to open the sourceFilePath. * -1 means not available. */ int sourceFd = -1; /** * The absolute file path of the destination file. */ @utf8InCpp String destinationFilePath; /* * The filedescrptor of the destinationFilePath. If the destination Fd is provided, transcoding * service will use this fd instead of calling back to client side to open the sourceFilePath. * -1 means not available. */ int destinationFd = -1; /** * The UID of the client that this transcoding request is for. Only privileged caller could * set this Uid as only they could do the transcoding on behalf of the client. Loading media/libmediatranscoding/include/media/TranscodingRequest.h +2 −0 Original line number Diff line number Diff line Loading @@ -36,7 +36,9 @@ public: private: void setTo(const TranscodingRequestParcel& parcel) { sourceFilePath = parcel.sourceFilePath; sourceFd = parcel.sourceFd; destinationFilePath = parcel.destinationFilePath; destinationFd = parcel.destinationFd; clientUid = parcel.clientUid; clientPid = parcel.clientPid; clientPackageName = parcel.clientPackageName; Loading Loading
media/libmediatranscoding/aidl/android/media/TranscodingRequestParcel.aidl +14 −0 Original line number Diff line number Diff line Loading @@ -33,11 +33,25 @@ parcelable TranscodingRequestParcel { */ @utf8InCpp String sourceFilePath; /* * The filedescrptor of the sourceFilePath. If the source Fd is provided, transcoding service * will use this fd instead of calling back to client side to open the sourceFilePath. * -1 means not available. */ int sourceFd = -1; /** * The absolute file path of the destination file. */ @utf8InCpp String destinationFilePath; /* * The filedescrptor of the destinationFilePath. If the destination Fd is provided, transcoding * service will use this fd instead of calling back to client side to open the sourceFilePath. * -1 means not available. */ int destinationFd = -1; /** * The UID of the client that this transcoding request is for. Only privileged caller could * set this Uid as only they could do the transcoding on behalf of the client. Loading
media/libmediatranscoding/include/media/TranscodingRequest.h +2 −0 Original line number Diff line number Diff line Loading @@ -36,7 +36,9 @@ public: private: void setTo(const TranscodingRequestParcel& parcel) { sourceFilePath = parcel.sourceFilePath; sourceFd = parcel.sourceFd; destinationFilePath = parcel.destinationFilePath; destinationFd = parcel.destinationFd; clientUid = parcel.clientUid; clientPid = parcel.clientPid; clientPackageName = parcel.clientPackageName; Loading