Loading media/libmediatranscoding/aidl/android/media/TranscodingRequestParcel.aidl +14 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,20 @@ parcelable TranscodingRequestParcel { */ @utf8InCpp String destinationFilePath; /** * 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. * -1 means not available. */ int clientUid = -1; /** * The PID 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. * -1 means not available. */ int clientPid = -1; /** * Type of the transcoding. */ Loading media/libmediatranscoding/include/media/TranscodingRequest.h +2 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,8 @@ private: void setTo(const TranscodingRequestParcel& parcel) { sourceFilePath = parcel.sourceFilePath; destinationFilePath = parcel.destinationFilePath; clientUid = parcel.clientUid; clientPid = parcel.clientPid; transcodingType = parcel.transcodingType; requestedVideoTrackFormat = parcel.requestedVideoTrackFormat; priority = parcel.priority; Loading Loading
media/libmediatranscoding/aidl/android/media/TranscodingRequestParcel.aidl +14 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,20 @@ parcelable TranscodingRequestParcel { */ @utf8InCpp String destinationFilePath; /** * 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. * -1 means not available. */ int clientUid = -1; /** * The PID 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. * -1 means not available. */ int clientPid = -1; /** * Type of the transcoding. */ Loading
media/libmediatranscoding/include/media/TranscodingRequest.h +2 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,8 @@ private: void setTo(const TranscodingRequestParcel& parcel) { sourceFilePath = parcel.sourceFilePath; destinationFilePath = parcel.destinationFilePath; clientUid = parcel.clientUid; clientPid = parcel.clientPid; transcodingType = parcel.transcodingType; requestedVideoTrackFormat = parcel.requestedVideoTrackFormat; priority = parcel.priority; Loading