Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stagefright: Fix size of metadata key #5

Open
wants to merge 99 commits into
base: mm6.0
Choose a base branch
from
Open

stagefright: Fix size of metadata key #5

wants to merge 99 commits into from

Commits on Oct 15, 2015

  1. av: Use project pathmap

    Change-Id: I0b26e698a9e1ef57115547ab4ff56fb16bd6d015
    Steve Kondik authored and PRJosh committed Oct 15, 2015
    Configuration menu
    Copy the full SHA
    b86584d View commit details
    Browse the repository at this point in the history
  2. camera: allow device to append camera parameters

    Overload using include/camera/CameraParametersExtra.h in device
    tree to add device specific camera parameters.
    
    Change-Id: Ie79380f4e49661348df4b2028ddf48daa67fca2d
    KonstaT authored and PRJosh committed Oct 15, 2015
    Configuration menu
    Copy the full SHA
    6f6d90e View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2015

  1. Revert "Revert "mediaplayer: make frame-accurate avsync configurable""

    This reverts commit e17afa8.
    
    Change-Id: I7afb6a055d3efb08fdbdff19f0bbad01934614e8
    Surajit Podder authored and PRJosh committed Oct 16, 2015
    Configuration menu
    Copy the full SHA
    7e03e11 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2015

  1. audio policy: move output handle to AudioOutputDescriptor base class

    Output handle of AudioOutputDescriptor is required by derived
    implementation of some AudioPolicyManager methods.
    These methods need to access attributes of an output which is not
    accessible through AudioOutputDescriptor base class unless output
    handle is made available here.
    
    Change-Id: I96ef9fd1c5a94874acb897245501ba2f9c9ab0c0
    Dhananjay Kumar committed Oct 20, 2015
    Configuration menu
    Copy the full SHA
    99a7726 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2015

  1. nuplayer: Fix de-referencing NULL mSource

    InstantiateDecoderAction is executed after performing reset.
    By the time performReset call is over, mSource is cleared and
    instantiateDecoderAction is executed on a NULL mSource - causing
    crash. At this point of time, mSource is already reset and it is
    not intended to be used in future, so, we can safely return.
    Check for NULL to avoid crash.
    
    CRs-Fixed: 902831
    Change-Id: If438da2b8c778c6db3640c0bc2e53d3ef68d286c
    Amit Shekhar authored and Gerrit - the friendly Code Review server committed Oct 21, 2015
    Configuration menu
    Copy the full SHA
    91ba994 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2015

  1. Merge "nuplayer: Fix de-referencing NULL mSource"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 23, 2015
    Configuration menu
    Copy the full SHA
    27194a9 View commit details
    Browse the repository at this point in the history
  2. AudioTrack: Fix the signature of AudioTrackGetTimestamp

    to invoke the customized method correctly.
    
    CRs-Fixed: 923592
    Change-Id: I8a7da0a679bebaa70076920936081be4470da6d1
    Praveen Chavan authored and Gerrit - the friendly Code Review server committed Oct 23, 2015
    Configuration menu
    Copy the full SHA
    95922a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2015

  1. libmedia : audio: handle set playback rate when direct pcm used

    - In direct PCM usecase if setplayback rate is called then
      invalidate the common block and send empty offload structure
      below to use default path.
    
    CRs-Fixed: 916660
    Change-Id: I6df7c10b7115c77a19564e2f9fabc511d76a2410
    vivek mehta authored and Gerrit - the friendly Code Review server committed Oct 24, 2015
    Configuration menu
    Copy the full SHA
    10c638d View commit details
    Browse the repository at this point in the history
  2. Nuplayer: Ensure AudioSink is closed before clearing Renderer

    Close AudioSink object explicitly before clearing NuPlayerRenderer
    to avoid race conditions between NuPlayerRenderer and AudioSink callback
    thread.
    
    CRs-Fixed: 927545
    Change-Id: Id6cef83bc8e4b6f581641b19b0bbd29eee3704bb
    Haynes Mathew George authored and Gerrit - the friendly Code Review server committed Oct 24, 2015
    Configuration menu
    Copy the full SHA
    becef43 View commit details
    Browse the repository at this point in the history
  3. stagefright: Wait longer before force releasing codec

    Increase the timeout to 30 secs from 10 in order to give the
    components more time to move to idle state, otherwise freeNode
    during codec release will also try to move it to idle and bad
    things will happen. This is a temporary fix until software
    codecs error handling is improved.
    
    Change-Id: I89203bfbce1b81f53ed6e2a33747ec40a786507d
    Shalaj Jain authored and Gerrit - the friendly Code Review server committed Oct 24, 2015
    Configuration menu
    Copy the full SHA
    bbd59d7 View commit details
    Browse the repository at this point in the history
  4. Revert "NuPlayer: Use ".m3u8" in substring search to determine HLS URL"

    This reverts commit 427d20a.
    
    Change-Id: I80295041a49295852701832d5af71adda862df8e
    Santhosh Behara authored and Gerrit - the friendly Code Review server committed Oct 24, 2015
    Configuration menu
    Copy the full SHA
    0fd06fb View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2015

  1. Merge "libmedia : audio: handle set playback rate when direct pcm used"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    0328991 View commit details
    Browse the repository at this point in the history
  2. Merge "Nuplayer: Ensure AudioSink is closed before clearing Renderer"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    db91f16 View commit details
    Browse the repository at this point in the history
  3. libcameraservice: Fix ALOG prints in FlashLight.

    Add missing __FUNCTION__ arguments into log statements.
    
    Change-Id: I0256bad626d490fb9360a73c104afaad7a012a97
    Dilip Gopalakrishna authored and Gerrit - the friendly Code Review server committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    eeffae0 View commit details
    Browse the repository at this point in the history
  4. NuPlayer: Decoder: Check for valid codec on resume

    The MediaCodec member associated with an NuPlayerDecoder
    is cleared if configure fails. A pending seek operation in
    NuPlayer can issue a ResumeDecoderAction. Add a NULL
    check before accessing the MediaCodec instance to handle
    this resume.
    
    Change-Id: Idc6c15168ec922ca1bd6d867cbe59847647c6f26
    CRs-Fixed: 913215
    Haynes Mathew George authored and Gerrit - the friendly Code Review server committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    788add7 View commit details
    Browse the repository at this point in the history
  5. Merge "Revert "NuPlayer: Use ".m3u8" in substring search to determine…

    … HLS URL""
    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    1735454 View commit details
    Browse the repository at this point in the history
  6. Merge "stagefright: Wait longer before force releasing codec"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 25, 2015
    Configuration menu
    Copy the full SHA
    04fdb62 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2015

  1. stagefright: Enable QTI FLAC based on feature flag

    -QTI Flac decoder is used only if QTI_FLAC_DECODER flag
    is defined.
    -Enable QTI_FLAC_DECODER flag if respective feature
    flag is enabled.
    
    Change-Id: I192e30af3e53a57f13aa2be5dc92bfbe5f20d096
    CRs-Fixed: 927012
    ashishrjain authored and Gerrit - the friendly Code Review server committed Oct 26, 2015
    Configuration menu
    Copy the full SHA
    31d09de View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2015

  1. stagefright: Remove additional deep-copy of encoder buffers

    MPEG4Writer makes a copy of encoded buffer to avoid holding on
    to the read buffer. This is not needed with MediaCodecSource,
    as the encoded-output buffer is already copied to a heap buffer.
    This saves a copy and some power.
    However, cloning the buffer is still needed for upstream sources
    that cannot afford to keep the buffers with writer up until they
    are released.
    So, pass a hint in buffer's metadata to indicate if it is OK
    to delay the release and not copy the buffer
    
    Change-Id: Ib59ac29ebc6ce4afd6fc272688a8260438ab1517
    Shivaprasad Hongal authored and Gerrit - the friendly Code Review server committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    9be69bd View commit details
    Browse the repository at this point in the history
  2. Merge "NuPlayer: Decoder: Check for valid codec on resume"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    4cd7c2d View commit details
    Browse the repository at this point in the history
  3. stagefright: Return error for wrong buffer index in MediaCodec

    Return error if the index passed by client is incorrect rather than
    returning OK with null buffer.
    
    Also add a null buffer check in MPEG4Writer as it shouldn't rely on
    the source returning the correct error code, just as a precaution.
    
    Change-Id: Iaefcd57a545ec3ce4ec0b8d4220bdf41377ff798
    Shalaj Jain authored and Gerrit - the friendly Code Review server committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    85ad714 View commit details
    Browse the repository at this point in the history
  4. Stagefright: use set buffers mode.

    Use set buffers mode if parser supports it.
    
    Change-Id: Ia3d12f15fa28f25e1ccb724158cc91ce26fc81ed
    Shivaprasad Hongal committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    dcd7603 View commit details
    Browse the repository at this point in the history
  5. NuPlayer: use a generic funtion to get flags

    Use a generic function to get flags while creating
    extractor, so that there is no restriction to a
    particular usecase.
    
    CRs-Fixed: 911338
    Change-Id: I8520d2ea9b25ab564b7eee6610744fcaa364fe87
    Sidipotu Ashok authored and Shivaprasad Hongal committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    d4c3afb View commit details
    Browse the repository at this point in the history
  6. GenericSource: Synchronize access to dataSource

    DataSource and HTTPSource can be accessed/modified by
    GenericSource's looper and Client's thread which can
    lead to race conditions when copying the sp<>.
    Add a Mutex lock to synchronize such accesses and avoid
    race conditions.
    
    CRs-Fixed: 906899
    Change-Id: I2fb4b4a7079e638e151f4fe67a780007a4011652
    Praveen Chavan authored and Gerrit - the friendly Code Review server committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    bbb9b1d View commit details
    Browse the repository at this point in the history
  7. GenericSource: Hold an additional reference to dataSource.

    mDataSource can be deleted by client thread while GenericSource
    looper is accessing dataSource in sniff functions, which can
    lead to race condition. Add local sp<> to hold an additional
    reference to dataSource.
    
    Change-Id: I9e51f75f3c2bd703e381230dd93cb4d3f6621dab
    CRs-Fixed: 923729
    Shivaprasad Hongal authored and Gerrit - the friendly Code Review server committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    1dafcd1 View commit details
    Browse the repository at this point in the history
  8. nuplayer: Drop frames with DATACORRUPT flag

    Drop frames in NuplayerDecoder if the corresponding
    OMX_BUFFERFLAG_DATACORRUPT is set from OMX.
    
    Add a util function to easily switch off this feature.
    
    Do not declare MediaSource explicitly.
    
    Change-Id: I97bd238d52d660e1ab61eac222cdff28334cc5cc
    Shalaj Jain authored and Shivaprasad Hongal committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    a729f43 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7ed61b3 View commit details
    Browse the repository at this point in the history
  10. Merge "Stagefright: use set buffers mode."

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 27, 2015
    Configuration menu
    Copy the full SHA
    ce9e446 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2015

  1. Merge "libcameraservice: Fix ALOG prints in FlashLight."

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    f70670d View commit details
    Browse the repository at this point in the history
  2. DO NOT MERGE: CameraService: Link to client binder death at end of co…

    …nnect
    
    If, within a binder Looper thread, a Binder object death notifier is
    registered, and then a nested Binder transaction is begun, that
    transaction may process a death notification callback for the
    just-registered object, if it was dead at the time of registration.
    
    This can lead to an unexpected nested call into the service, and cause
    deadlock.
    
    To avoid this, move the death notifier registration to the end of
    handling the connect transaction.
    
    Also remove one extra bit of disconnect logging.
    
    Bug: 23525545
    Change-Id: If01cbaf42704f55134118afefc9a8f7bdb014e09
    Eino-Ville Talvala authored and Gerrit - the friendly Code Review server committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    4f33629 View commit details
    Browse the repository at this point in the history
  3. Merge "stagefright: Enable QTI FLAC based on feature flag"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    309c617 View commit details
    Browse the repository at this point in the history
  4. Merge "stagefright: Remove additional deep-copy of encoder buffers"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    082cd30 View commit details
    Browse the repository at this point in the history
  5. Merge "stagefright: Return error for wrong buffer index in MediaCodec"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    25a07d3 View commit details
    Browse the repository at this point in the history
  6. Merge "GenericSource: Synchronize access to dataSource"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    bedd717 View commit details
    Browse the repository at this point in the history
  7. Merge "GenericSource: Hold an additional reference to dataSource."

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 29, 2015
    Configuration menu
    Copy the full SHA
    9b91e4c View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2015

  1. Camera: frameworks: Add NULL check for callback

    --Added NULL check for mRemoteCallback
    
    Change-Id: Ib88a128a52e81b8ec1052e3222b6d8b9e494afcc
    Susmitha Gummalla authored and Gerrit - the friendly Code Review server committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    f72f7d5 View commit details
    Browse the repository at this point in the history
  2. Merge "NuPlayer: use a generic funtion to get flags"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Oct 30, 2015
    Configuration menu
    Copy the full SHA
    57b1d05 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2015

  1. Merge "DO NOT MERGE: CameraService: Link to client binder death at en…

    …d of connect"
    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    f140e52 View commit details
    Browse the repository at this point in the history
  2. AudioPolicyService: Synchronize access to AudioPolicyManager

    Synchronize access to APM when getDevicesForStream is called
    on APM.
    
    CRs-Fixed: 913227
    Change-Id: I2ba6922341f035375270b02000ef5a7e078f6b5a
    Haynes Mathew George authored and Gerrit - the friendly Code Review server committed Nov 3, 2015
    Configuration menu
    Copy the full SHA
    1fb6c97 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2015

  1. Merge "nuplayer: Drop frames with DATACORRUPT flag"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    fc4da68 View commit details
    Browse the repository at this point in the history
  2. Merge "Camera: frameworks: Add NULL check for callback"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    599aec0 View commit details
    Browse the repository at this point in the history
  3. Merge "AudioPolicyService: Synchronize access to AudioPolicyManager"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    36a5d06 View commit details
    Browse the repository at this point in the history
  4. AudioPolicyService: fix race in AudioCommandThread

    Fixe race condition in AudioCommandThread::threadLoop() where a
    command can be inserted in first position in the queue after the sleep
    time has been calculated causing a longer delay than expected.
    
    Also fix a failure to hold a wake lock while commands are still in the queue.
    
    Bug: 22707905.
    Change-Id: I813626986677bf00106acb37ee20d3dd75d5cf33
    Eric Laurent authored and Divya Sharma committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    f17204e View commit details
    Browse the repository at this point in the history
  5. audio: use QTI flac decoder based on flag

     While setting up the component for flac, current design
     is if encoder then don't use QTI flac component otherwise
     use QTI flac component, so if QTI flac is not being used
     then this might be wrong. So enhance the design to use
     QTI flac component only when it is enabled, otherwise use
     default flac component
    
    Change-Id: I57454841611885ae7cdf75896f8297ef8132292e
    CRs-Fixed: 916650
    Sharad Sangle authored and Gerrit - the friendly Code Review server committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    14896d6 View commit details
    Browse the repository at this point in the history
  6. stagefright: Add null check before passing meta data buffer

    Add necessary null checks to GraphicBuffer before passing it onto
    Metadatabuffer.
    
    Change-Id: I5cf09da4bd316e5c1733023746aa54960a36d8c9
    Manoj Kumar AVM authored and Gerrit - the friendly Code Review server committed Nov 4, 2015
    Configuration menu
    Copy the full SHA
    b987753 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2015

  1. libstagefright: Add WFD specific flags to consumer usage flags

    Add the GRALLOC_USAGE_PRIVATE_WFD flag to the consumer usage
    flags to allow the display framework to distinguish WFD from
    other virtual display connections.
    
    Change-Id: I7cdbac3716fb5c18d1691701accb8e66f388de86
    Tatenda Chipeperekwa authored and Gerrit - the friendly Code Review server committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    262a62c View commit details
    Browse the repository at this point in the history
  2. Merge "stagefright: Add null check before passing meta data buffer"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    a9e634d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2015

  1. Merge "libstagefright: Add WFD specific flags to consumer usage flags"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 7, 2015
    Configuration menu
    Copy the full SHA
    a519bcf View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2015

  1. Fix for security vulnerability in media server

    bug: 23540426
    Change-Id: Ifb12ac3350410a49ba7d81d1bde12822c3008cd5
    jefftinker authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    0c32de1 View commit details
    Browse the repository at this point in the history
  2. Fix timedtext parsing

    Add bounds checking and fix other bugs.
    
    Bug: 23284974
    Bug: 23541506
    Bug: 23542351
    Bug: 23542352
    Change-Id: I53551efdf109ce1833e0c361efaf4cee7a851023
    marcone authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    b3e77a7 View commit details
    Browse the repository at this point in the history
  3. libstagefright: sanity check size before dereferencing pointer in Uti…

    …ls.cpp
    
    Also remove some CHECK's.
    
    Bug: 23680780
    Change-Id: I62d0941e203e40209fa6fbe3f923f3efdc5a6c23
    Wei Jia authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    eff79d1 View commit details
    Browse the repository at this point in the history
  4. Make IEffect command more robust (second try)

    Bug: 23540907
    Change-Id: If30cfa535ad51521053706fc40fc98d893db5bc7
    (cherry picked from commit 10e6660)
    xt0032rus authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    d0af906 View commit details
    Browse the repository at this point in the history
  5. Zero out return values in media binder calls

    More specifically when handling:
    * GET_STREAM_VOLUME in IAudioPolicyService, and
    * GET_CURRENT_POSITION and GET_DURATION in IMediaPlayer
    
    This prevents leaking uninitialized values across binder in error cases.
    
    Bug: 23756261
    Change-Id: I0ffd900ab12b685b0611259ade4a3efb1ec5defe
    rjsh authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    f54d3e0 View commit details
    Browse the repository at this point in the history
  6. Zero out return values in audio binder calls

    More specifically when handling GET_OUTPUT_FOR_ATTR in IAudioPolicyService.
    This prevents leaking a uninitialized `output` across binder if
    getOutputForAttr were to encounter errors.
    
    Bug: 23756261
    Change-Id: Ibff8a1249a4e8a3c89a33a540dda428b10d6ca82
    rjsh authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    03052ac View commit details
    Browse the repository at this point in the history
  7. Ogg: avoid size_t overflow in base64 decoding

    Bug: 23707088
    Change-Id: I8d32841fee3213c721cdcc57788807ea64d19d74
    Wonsik Kim authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    a9fffcd View commit details
    Browse the repository at this point in the history
  8. Protect data source access with mutex during disconnect

    Bug: 23658148
    Change-Id: Ic37cac7b5d166143e0b77e9919b0aaef486e4fdd
    rjsh authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    5fbcb38 View commit details
    Browse the repository at this point in the history
  9. IAudioFlinger: clear config before reading it from parcel.

    Bug: 23905951
    Bug: 23912202
    Change-Id: Id13a9d3cae2c09e7381b841e67ddfb188274d74c
    Wei Jia authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    faa9ec7 View commit details
    Browse the repository at this point in the history
  10. IAudioFlinger: always initialize variables to ensure no info leak whe…

    …n writing them to Parcel.
    
    Bug: 23953967
    Change-Id: Ibbe841da149038675e9e8daea76c77558bc8564b
    Wei Jia authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    2c039d6 View commit details
    Browse the repository at this point in the history
  11. Fix heap data leak vulnerability

    bug: 23600291
    Change-Id: I7979e9e25ada01c13775be8580d433a8b4ce4ffe
    jefftinker authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    f838f1b View commit details
    Browse the repository at this point in the history
  12. IAudioFlinger: fix the missing initialization of variable to ensure n…

    …o info leak when writing them to Parcel.
    
    Bug: 23953967
    Change-Id: I3a1d0144ba3832649e322c197ff0f03305ee7829
    Wei Jia authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    17dd944 View commit details
    Browse the repository at this point in the history
  13. DO NOT MERGE Avoid size_t overflow in base64 decoding once again

    Switch to foundation base64 function in OggExtractor and fix the
    issue there.
    
    Bug: 23707088
    Change-Id: If8ba3347c213fe7a36668c943ed264f2871ad468
    Wonsik Kim authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    547fa15 View commit details
    Browse the repository at this point in the history
  14. StagefrightMetadataRetriever: handle error returned from convertMetaD…

    …ataToMessage().
    
    Bug: 23680780
    Change-Id: I09dbbf95b2c874b9760938646e48a7ed543f1577
    Wei Jia authored and PRJosh committed Nov 8, 2015
    Configuration menu
    Copy the full SHA
    11c6c57 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2015

  1. libstagefright: omx: Prevent assertion due to state mismatches

    Instead handle them a bit better. Since the assertions dealt
    with in this patchset can only happen if the OMX IL client died
    while de-init'ing the component, it is impossible to deal with
    all possible cases gracefully. Hence take an aggressive approach
    by moving state of the component to OMX_StateInvalid. This looks
    okay as per the spec, but might not be the best approach.
    
    Change-Id: I3f23f5e3853523fe1a7fb3aaf38b46595fa91732
    Haynes Mathew George authored and Gerrit - the friendly Code Review server committed Nov 9, 2015
    Configuration menu
    Copy the full SHA
    5918d36 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2015

  1. Merge "AudioPolicyService: fix race in AudioCommandThread"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 10, 2015
    Configuration menu
    Copy the full SHA
    898d55b View commit details
    Browse the repository at this point in the history
  2. audiopolicy: Add synchronization to EffectDescriptorCollection

    Synchronize public APIs of EffectDescriptorCollection
    
    CRs-Fixed: 920103
    Change-Id: I04ccac526c6f99e61e43288776653d6b7ff325c4
    Haynes Mathew George authored and Gerrit - the friendly Code Review server committed Nov 10, 2015
    Configuration menu
    Copy the full SHA
    614ee35 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2015

  1. Merge "libstagefright: omx: Prevent assertion due to state mismatches"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    2132505 View commit details
    Browse the repository at this point in the history
  2. Merge "audiopolicy: Add synchronization to EffectDescriptorCollection"

    Linux Build Service Account authored and Gerrit - the friendly Code Review server committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    6028221 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2015

  1. Configuration menu
    Copy the full SHA
    552f13b View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2015

  1. camera: Don't segfault if we get a NULL parameter

     * Values end up NULL on some drivers, don't crash.
    
    Change-Id: Ic897dbd4629cf3af98c85f93be202c382dde806b
    hyperb1iss authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    4ba4e76 View commit details
    Browse the repository at this point in the history
  2. Camera: Add support for manual 3A.

    Add manual white balance mode.
       user can set the specific cct to lock the white balance.Just as other
       white balance mode, it will lock the white balance once it's set, the
       only difference it that the cct value is set from app.
    
    Add manual focus mode
       allow app to set the focus distance with DAC value or actuator
       step value. Once the value is set, the focus distance is locked
       unless app switch it back to automatically mode
    
    Change-Id: I0c08ad0cea27284645e9e710c26844ca24a5c477
    Peng Zhu authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    a5f199e View commit details
    Browse the repository at this point in the history
  3. Can't play AAC file with ID3 tag.

    When the file is scanned, the ID3 tag is found to have a
    footer at the end of audio data. And getAdtsFrameLength
    return zero after reading the footer. As a result, the
    duration and mInitCheck are not set. The current change
    considers the data till footer and sets the duration based
    on no. of frames read till the footer/corrupt frame.
    
    Change-Id: Ie8f898435f0d4ca31fdd355146c4db7b37c0b988
    Signed-off-by: Arulselvan M <[email protected]>
    Signed-off-by: Jin Wei <[email protected]>
    arulsel authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    778b658 View commit details
    Browse the repository at this point in the history
  4. stagefright: Fix playback for mkv files with lacing

    Most mkv files having 'lacing' in their audio section to save space.
    Android did not handle this properly, sending all frames in the block
    with the same time code, which causes stuttery playback.
    
    Change-Id: I4dc76e7c2a53126c7fbdd3628fe7d339d2e3364e
    pawitp authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    b747292 View commit details
    Browse the repository at this point in the history
  5. FLAC coded file does not play (single metadata block files)

    FLAC files which has the last metadata block flag set in
    STREAMINFO were not playing. Sniff of FLAC is modified to
    accomodate this set flag.
    
    Change-Id: I76f216cc2cde6e10958324afbc704fc3e5a0e2bf
    Author: Gurudatta Bhakte <[email protected]>
    Signed-off-by: Gurudatta Bhakte <[email protected]>
    Signed-off-by: Shuo Gao <[email protected]>
    Signed-off-by: Bruce Beare <[email protected]>
    Signed-off-by: Jack Ren <[email protected]>
    Author-tracking-BZ: 32421
    Gurudatta Bhakte authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    bb22195 View commit details
    Browse the repository at this point in the history
  6. AACExtractor: Added support for APE tag

    To support aac audio with APE tag we need parse
    this tag. Otherwise AACExtractor stops reading of
    audio file.
    
    DR: OMAPS00267689
    
    Change-Id: Ic697b90dbc9f2b93aeb227411359c36c113cb71e
    Signed-off-by: Daniel Levin <[email protected]>
    Sergii Doroshenko authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    1413e17 View commit details
    Browse the repository at this point in the history
  7. libstagefright: Handle unsupported codec metaData

    Modification done in StagefrightMetadataRetriver
    to handle NULL return for meta data if codec is
    unsupported by extractor.
    
    Change-Id: I905cec5ee91b098d99e1935437b562d2d9206381
    sureshcnvidia authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    4e47d28 View commit details
    Browse the repository at this point in the history
  8. stagefright: Pass AAC profile from MatroskaExtractor

     * Needed by framework to determine audio apth
    
    Change-Id: I8d928852fb4a24e3d575d70fbf366bae1a178b31
    Steve Kondik authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    a68e752 View commit details
    Browse the repository at this point in the history
  9. stagefright: Add support for loading a custom OMXPlugin

     * To facilitate moving the stagefright-plugins glue out of the
       framework, support is added to OMXMaster to load multiple
       external plugins besides internal/vendor versions.
     * This is currently limited to one plugin, defined by the
       "mm.sf.omx-plugin" system property. The code will allow any
       number of libraries to be loaded, though.
     * Should also be useful for nonstandard vendor implementations too.
    
    Change-Id: I27d7e16ad56baa17754d8ea47a8c608a0d73d6f1
    Steve Kondik authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    d195849 View commit details
    Browse the repository at this point in the history
  10. stagefright: Improve FLAC and WAV support for 24-bit

     * Forward-port changes from CM11
     * Remove truncation support as AudioFlinger handles
       rebuffering in case it can't go to the hardware.
    
    Change-Id: Iad30d04ee051050e444c3d665fa8bb7a1cfef348
    Steve Kondik authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    9fecdca View commit details
    Browse the repository at this point in the history
  11. stagefright: Support MP3 in MPEG4 containers

    Change-Id: I8e13a68cc10fafc43dd8f7d350644c7638d5d5e3
    Steve Kondik authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    be4e19f View commit details
    Browse the repository at this point in the history
  12. DataSource: Remove global variables in DataSource related to sniff

    Remove global variables related to sniff, and added Sniffer class
    to implement the sniff functionality with non-static members.
    
    Change-Id: I6fbd0ba5b686e09fda11d78cdd687a69c81a6bdf
    CRs-Fixed: 567753
    Surajit Podder authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    c752af9 View commit details
    Browse the repository at this point in the history
  13. stagefright: Support HEVC tracks in Matroska containers

     * Pass the HVCC atom to Stagefright.
    
    Change-Id: I7fdca25e20b9051925936a34e594808b18a3a3bd
    Steve Kondik authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    4d37044 View commit details
    Browse the repository at this point in the history
  14. libstagefright: Extended media support via FFMPEG

     * Original work by Michael Chen - https://github.com/omxcodec
     * Kitkat port by Chih-Wei Huang / Android X86 project
     * Additional fixes by Arcee and Cyanogen
     * High resolution support by Cyanogen
     * Lollipop port and refactoring by Cyanogen
     * Marshmallow port and refactoring by Cyanogen
    
    ------
    
    libstagefright: add null checking to addPlugin
    
    libstagefright: fix error handling of dlsym()
    
    According 'man dlsym', a NULL return from dlsym() doesn't indicate an error.
    The correct way to test for an error is to call dlerror() to clear any old
    error conditions, then call dlsym(), and then call dlerror() again to check
    whether its return value is not NULL.
    
    libstagefright: add more media mimetypes
    
    This is the first step to add the ffmpeg plugins.
    
    libstagefright: add ExtractorPlugin
    
    The patch allows to load an ExtractorPlugin to extend the functions of
    DataSource::sniff and MediaExtractor. A plugin has to implement a C
    function getExtractorPlugin to fill the MediaExtractor::Plugin struct.
    
    The filename of the plugin could be specified by the
    media.stagefright.extractor-plugin property.
    
    Change-Id: I995a37a4f1ab4bba6ca3c24c7001a27a1e3ccb90
    
    FLACExtractor: Add more sample rates support
    
    In FLACExtractor.cpp, it has function to check file's sample rate.
    If the input sample rate is not in its list, it will return "unsupported
    sample rate" issue. Modify code to make other sample rates (100,1k,42k,46k)
    pass the check
    
    Issue: AXIA-1441
    Change-Id: I48f91119275560ec6d00feb0dedc70d10aa55262
    Signed-off-by: Xiaobing Feng <[email protected]>
    Signed-off-by: Matt Gumbel <[email protected]>
    
    libstagefright: add ffmpeg components
    
    libstagefright: add more decoders
    
    Add support for wma, wmv, ra, ape, dts decoders.
    
    Change-Id: Iaf48a806aa0cef7d9bcb848383fc3d778c8bd248
    
    libstagefright: allow to use the extended extractor in priority
    
    If the meta contains the string "extended-extractor-use",
    use the extended extractor first.
    
    add support for rv20, rv30
    
    add ffmpeg heuristic decoder
    
    Change-Id: I5eed11b563ca7f15d44bacfb795d6f3da08ab883
    
    add HEVC(H.265) decoder and cleanup
    
    Squashed the following commits of branch cm_maguro-10.1 from
    https://github.com/omxcodec/android_frameworks_av.git
    by Michael Chen <[email protected]>
    
    defb904 remove MEDIA_MIMETYPE_AUDIO_MP2
    8036958 add fetchUriFromFd func to get file name
    91bc7d5 fix videoCompressionFormatString and audioCodingTypeString funcs
    f03069f reset FRAME_DROP_FREQ to 0
    718b99a add HEVC(H.265) decoder
    84f8bf6 cleanup
    f026c93 cleanup
    440614a add debug info
    
    Change-Id: Ie75db0778f633357e2280aef6d47a0fa3beb823e
    
    AwesomePlayer: use AwesomeLocalRenderer for OMX.ffmpeg.* components
    
    stagefright: Remove duplicate types from QC media defs
    
    Change-Id: I50ecafe79a2985d0868a1ac82464d6ca448aa2c5
    Signed-off-by: Josue Rivera <[email protected]>
    
    Conflicts:
    	media/libstagefright/ExtendedMediaDefs.cpp
    	media/libstagefright/OMXCodec.cpp
    
    libstagefright: Re-introduce a QCOM_HARDWARE ifdef after the FFMPEG commit
    
    Fixes a build error on non QCOM hardware.
    
    Change-Id: I4a4268b351d0d8bf748dd03ccea0fbab20ed4314
    
    DataSource: Split off ffmpeg sniffer to a second pass, and only if necessary
    
    ffmpeg's sniffer is intended as a grab-all-that-doesn't-work-elsewhere
    extractor. Unfortunately, this causes two issues:
    
    - As written, it requires ffmpeg to whitelist any extractors supported
    by stagefright, or else it will blindly override them. This has codebase
    sync issues, as shown by the VP9 and WAV accidental overrides
    - It imposes an in-depth analysis of _all_ media, even that which we
    want to be processed quickly by shipping stagefright plugins (hardware
    or not). This is mostly noticeable in network streams and thumbnail
    generation.
    
    This patch moves FFmpegExtractor to an independent sniffer queue, and
    it only invokes it when the regular MediaExtractor hits 1 of 3 conditions:
    
    1 - The confidence in the identified container type is low
    2 - No container is identified at all
    3 - A video container was found by other extractors, but only 1 stream
    (audio or video) was identified.
    
    Change-Id: Ib96ff4f6bc06223fe0e819a57560d3c872a79ddd
    
    stagefright: OMX.ffmpeg.* are software decoders, ensure they're treated as such
    
    Wherever the component name for OMX.google soft decoders is used to identify
    a software-based component, do the same for ffmpeg. Things like memory management
    and window buffers care about this.
    
    Change-Id: Ib83561936c7383e8726edb073cea9d78f7d1312f
    
    libstagefright: Don't invoke FFMPEG for MP3
    
    Change-Id: Ia30d25d1a994328827f14a286661cd2e1eaa1181
    
    stagefright: Fix audio codec fallthru
    
     * We shouldn't return an error from setAudioFormat unless it's
       really an error since fallthru is necessary.
     * We don't even need to do this, since the component name is
       checked before calling into mm-parser or FFMPEG.
     * Fixes Vorbis decoding after FFMPEG patch.
    
    Change-Id: I4871c62044c6693e5698119dee3a10c20c26e2c7
    
    stagefright: Fix codec lookup bugs on NuPlayer
    
     * Fix use of WMA/WMV software codecs
     * Fix mpeg2 software codec name
     * Don't override the component name in ACodec. This actually breaks
       stuff because the format isn't available in the kInit message.
    
    Change-Id: I93c292e039de5f24c2ccbd6ae2242b06d28fe518
    
    stagefright: Cleanup and improve format parsing
    
     * Move FFMPEG-specific exceptions to FFMPEGSoftCodec
     * Add handling for AAC MAIN profile
     * Use the new OMX_AUDIO_CodingAndroidAC3 to handle AC3
    
    Change-Id: Ibb806cd2b9dd23dc1e1b2c862fcde40605023a49
    
    stagefright: Keep track of the bit width in the RAW codec
    
     * We need this to push 24-bit PCM around Stagefright and OMX
    
    Change-Id: Ic94ec972162a01545d5dd0ad0bf3eb6c6731f42e
    
    stagefright: Adjust confidence threshold for extended sniffers
    
     * Some sniffers return 0.2 for cases where they only find an audio
       track in some containers.
     * Change the comparison to also examine files right on this threshold.
     * This allows us to score ONE FUCKING HUNDRED PERCENT on the Antutu
       Video Test \o/
    
    Change-Id: I78b6ab8a634771e0e290f669801f5b08d6a32a51
    
    stagefright: Fix FFMPEG catchall decoders
    
     * Get this metadata properly flowing
     * Allows us to play tracks such as Apple Lossless :)
    
    Change-Id: I2990b30eef5b672da339d24444424c61a43b85c2
    
    stagefright: Fix metadata/message conversion issues
    
     * Remove duplication of code between ExtendedCodec and FFMPEGSoftCodec,
       just call into ExtendedCodec and properly ifdef QCOM-only parts.
     * Fix CSD not being converted when AV_ENHANCEMENTS wasn't set- this
       was breaking the software video codecs on Hammerhead.
    
    Change-Id: I9cd4316ce19b15baabf12b78b992498ce48e2697
    
    Fix compile error after I9cd4316ce19b15baabf12b78b992498ce48e2697
    
    frameworks/av/media/libstagefright/ExtendedCodec.cpp:1187:1: error:
    expected '}' at end of input
    
    Change-Id: I7d75e69160f794b177f4235f4a6bb5a188dc0d08
    
    stagefright: Fix AC3 playback
    
     * Skip setupAC3Codec in ACodec for non-Google components.
    
    Change-Id: I5090485ba020f7ad1c0962fc977e38675b4c8314
    
    stagefright: Guard against crash with mismatched codecs
    
     * Return unsupported error if WMV file can't be scanned.
    
    Change-Id: Ia4a1ac7a299990f8b9c05a93736cb2fa9d0ee965
    
    stagefright: Correct ifdeffage of some QC codecs
    
    Change-Id: Ie8cc7287967b84e09941283559ca542efd928d91
    
    stagefright: Create native window for FFMPEG software codecs
    
    Change-Id: I178f334f1fa1ea9edc6898fb61e72902c2cb2651
    
    stagefright: Don't ever try to use extended sniffers on DRM
    
     * This can cause long retry intervals during key exchange. Don't do it!
    
    Change-Id: Id9a87dcbe43cd0cc9919fe07f0a963e087baccad
    
    stagefright: Be more tolerant of missing metadata for FFMPEG codecs
    
     * If these codecs are instantiated programatically and required
       metadata isn't sent, just set some defaults instead of crashing on
       an assert.
     * This fixes testAllNonTunneledVideoCodecsSupportFlexibleYUV in MR1 CTS
    
    Change-Id: I69bf6105a1be529298de574bd5d3b6813e7a4e8f
    
    stagefright: Fix issues with software decoders
    
     * Fix MKV thumbnails
     * Fix VC1 thumbnails
     * Fix FFMPEG thumbnails
     * Fix trial decoder
     * Fix edge cases with WMV3/VC1 playback
     * Fix a state issue which caused some codecs to get wrong configuration
    
    Change-Id: I09599166aa24bcff53f91e43de096c4fad8ca7ad
    
    stagefright: ffmpeg: Slightly raise the threshold for the ffmpeg scanner
    
    0.2 is the success value for the OMX.google soft audio sniffers, which
    was making ffmpeg own the unpacking of those streams needlessly.
    
    Fixes CYNGNOS-282
    
    Change-Id: I75f50ed838cb8af9acdf99aa284b80a070555284
    
    stagefright: Add support for loading a custom OMXPlugin
    
     * To facilitate moving the stagefright-plugins glue out of the
       framework, support is added to OMXMaster to load multiple
       external plugins besides internal/vendor versions.
     * This is currently limited to one plugin, defined by the
       "mm.sf.omx-plugin" system property. The code will allow any
       number of libraries to be loaded, though.
     * Should also be useful for nonstandard vendor implementations too.
    
    Change-Id: I27d7e16ad56baa17754d8ea47a8c608a0d73d6f1
    
    stagefright: Move a bunch of FFMPEG stuff out of here
    
     * Get rid of some of the glue code for stagefright-plugins
       and use the new extension header and plugin.
     * Still a bunch of TODOs on this, but it works.
    
    Change-Id: If07d3213952b624d48035e5f58ad883b2a4049b0
    
    stagefright: Remove deprecated FFMPEG config
    
    Change-Id: I1fcdb4eeba72e2420493b89ddd6fc718d170ced7
    
    stagefright: Support for 24-bit audio in StageFright
    
     * Plumb bit depth thru ACodec and OMX
     * Add support for 24-bit PCM offload in NuPlayer on QC devices
     * Use new AudioFlinger features for mixing multi formats without offload
     * Clean up a bunch of code
    
    Change-Id: I018d3a995b63450a38c6c43eaa37c86be30fd893
    
    nuplayer: Fix PCM offload turning on all the time
    
     * Remove the extra condition, since this will be set even if
       PCM offload was denied.
    
    Change-Id: I8f33ef68562d8e057e7a86c5ae6187d0049bf3aa
    
    stagefright: Cleanup of PCM offload checks
    
     * Put the checks in a single place.
    
    Change-Id: I2d0d5b542593896e78bf989296de1a1d1e3a4963
    
    stagefright: Add bit-depth plumbing for new formats
    
    Change-Id: I13cfd75e4b4819543b64babf20cc9af57ea2978f
    
    nuplayer: Fix bitrate propagation
    
     * We use "bitrate" rather than "bit-rate".
    
    Change-Id: I4699194e3e3f7ef55b4eb554f5de7a6b5f6b80ce
    
    libstagefright: Implement fallback mechanism to SW decoder
    
    Implement fallback mechanism to software decoder
    when hardware decoder configuration fails in ACodec
    
    Change-Id: Idf4c445942b03e28b264c91a20e69d52224727bd
    Steve Kondik authored and PRJosh committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    50b2118 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2015

  1. libstagefright: fix size_t printf format

    size_t should use the portable %zu
    
    Change-Id: I974d4be7d4921a8c3fc684d24721a231c5b91170
    Scott Mertz authored and gmillz committed Nov 14, 2015
    Configuration menu
    Copy the full SHA
    d6eb700 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2015

  1. Merge remote-tracking branch 'caf/LA.BF64.1.2.2_rb4.7' into HEAD

    Change-Id: Ibc63601dc3455837334d2713063b4af04d46eb73
    Signed-off-by: Josue Rivera <[email protected]>
    PRJosh committed Nov 17, 2015
    Configuration menu
    Copy the full SHA
    440fc1d View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2015

  1. stagefright: Unbreak video encoding

     * Fix logic for the FFMPEG video case- we should have only been
       checking for errors when actually calling into our extension.
    
    Change-Id: Ic9fa6ad3913f259c09f0dd37b1720d996ecc386c
    Steve Kondik authored and yank555-lu committed Nov 19, 2015
    Configuration menu
    Copy the full SHA
    2e78143 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2015

  1. audio policy: bind setMode() and setPhoneState() operations

    No routing operation should be allowed between setMode() and setPhoneState()
    when starting a call as the audio HAL relies on a precise sequence of mode change
    and routing change to select the initial audio device for the call.
    
    Bug: 24083591.
    
    Change-Id: I2d5ef62c11cf7aedc2ec7ca5e5fadd7ac875afbc
    Eric Laurent authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    8724c00 View commit details
    Browse the repository at this point in the history
  2. Add DUMP permission check to ResourceManagerService.

    Bug: 23999740
    Change-Id: I3165404add455528b22951ba47b682a075b50087
    (cherry picked from commit 014e91e)
    dcashman authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    8480535 View commit details
    Browse the repository at this point in the history
  3. DO NOT MERGE Fix vulnerability in mediaserver

    ICrypto.cpp: ASLR bypass using DECRYPT IPC
    
    bug: 24074485
    Change-Id: I61cd77f0894140547f666a80526ebfe1ec3d2db6
    jefftinker authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    661a4e2 View commit details
    Browse the repository at this point in the history
  4. stagefright: fix AMessage::FromParcel

    Add check for incoming mNumItems. Also add check readCString return
    value.
    
    Fix style & add log.
    
    Bug: 24123723
    
    Change-Id: If41a5312c27d868f481893eef56019b6807c39b7
    Flanker authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    34d6542 View commit details
    Browse the repository at this point in the history
  5. MPEG4Extractor: ensure buffer size is not less than 8 for LastComment…

    …Data.
    
    Bug: 24346430
    Change-Id: I897a724e968841d9160f819d06c0ce22f6d743c4
    Wei Jia authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    473b0d5 View commit details
    Browse the repository at this point in the history
  6. OMX: allow only secure codec to remotely call allocateBuffer.

    Bug: 24310423
    Change-Id: Iebcfc58b447f925ec2134898060af2ef227266a3
    Wei Jia authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    70680ce View commit details
    Browse the repository at this point in the history
  7. Don't crash when there's no conceal frame

    Bug: 24630158
    Change-Id: If042aebebb58c218eb7bbf01dcddbcbd05dca1d6
    marcone authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    ad55db4 View commit details
    Browse the repository at this point in the history
  8. ID3: check possible integer overflow for extendedHeaderSize and paddi…

    …ngSize.
    
    Bug: 24623447
    Change-Id: Ifbc74454d6e28ad7136efe35ab638a07e46398b1
    Wei Jia authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    ee79ab8 View commit details
    Browse the repository at this point in the history
  9. Check NAL size before use

    Bug: 24441553
    Bug: 24445122
    Change-Id: Ib7f025769adbafd5a2cb64fae5562a0a565945c2
    marcone authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    7529536 View commit details
    Browse the repository at this point in the history
  10. stagefright: check bounds for MediaCodecList.getCodecInfo

    Bug: 24445127
    Change-Id: I1c6cb9e2518b852d48d5d0d625b54409bd4e13ec
    medialajos authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    cb3b5b5 View commit details
    Browse the repository at this point in the history
  11. AudioFlinger: Clear record buffers when starting RecordThread

    Bug: 24211743
    Bug: 24267152
    Change-Id: I58c55e56b85067b71e4e300f947b4dfc159637ba
    xt0032rus authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    4024479 View commit details
    Browse the repository at this point in the history
  12. Revert "AudioPolicyService: fix race in AudioCommandThread"

    This reverts commit 74ce88f.
    
    Change-Id: I39114c8cdd3021951ba93716aaa0c1c03e68538d
    Zach Jang authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    aab7a8d View commit details
    Browse the repository at this point in the history
  13. Revert "audio policy: bind setMode() and setPhoneState() operations"

    This reverts commit 9ddf1c7.
    
    Change-Id: I860ecc288a1798605dff46f39107f4450ca5cd56
    Zach Jang authored and PRJosh committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    84b7e7c View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2015

  1. stagefright: Fix size of metadata key

     * Causes build failure with Clang
    
    Orig-Change-Id: I957c9ad2f1a46c784b38e284063b5310bf9cc7ed
    MonoIith authored and MonoIith committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    42fe6b7 View commit details
    Browse the repository at this point in the history