Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af040241 authored by Avichal Rakesh's avatar Avichal Rakesh Committed by Android (Google) Code Review
Browse files

Merge "Usb Gadget: Add UVC to Usb Gadget interface"

parents 88fe0d5d e1153030
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -36,11 +36,12 @@ package android.hardware.usb.gadget;
parcelable GadgetFunction {
  const long NONE = 0;
  const long ADB = 1;
  const long ACCESSORY = 2;
  const long MTP = 4;
  const long MIDI = 8;
  const long PTP = 16;
  const long RNDIS = 32;
  const long AUDIO_SOURCE = 64;
  const long NCM = 1024;
  const long ACCESSORY = (1 << 1);
  const long MTP = (1 << 2);
  const long MIDI = (1 << 3);
  const long PTP = (1 << 4);
  const long RNDIS = (1 << 5);
  const long AUDIO_SOURCE = (1 << 6);
  const long UVC = (1 << 7);
  const long NCM = (1 << 10);
}
+4 −0
Original line number Diff line number Diff line
@@ -50,6 +50,10 @@ parcelable GadgetFunction {
     * AOAv2.0 - Audio Source function.
     */
    const long AUDIO_SOURCE = 1 << 6;
    /**
     * UVC - Universal Video Class function.
     */
    const long UVC = 1 << 7;
    /**
     * NCM - NCM function.
     */