1. 16 Sep, 2019 1 commit
  2. 15 Aug, 2017 1 commit
  3. 08 Aug, 2017 1 commit
  4. 11 Jul, 2016 1 commit
  5. 18 Aug, 2015 1 commit
  6. 17 Jun, 2015 1 commit
    • Narayan Kamath's avatar
      ZipFileRO: Use precise widths for zip file types. · 4600dd05
      Narayan Kamath authored
      getEntryInfo crashes on 64-bit devices because "long" types
      were being passed int pointers (that pointed to a stack frame)
      that were reinterpret_cast'ed to long* (sigh.). To fix this issue
      once and for all, use types with explicitly defined widths.
      
      This change also removes some dead invariant checking from
      Asset.cpp instead of cleaning it up.
      
      Note that we've introduced a wart in NativeLibraryHelper, where
      we need to deal with zlib's uLong type, which is "at least 32 bits
      wide".
      
      bug: 21622286
      
      Change-Id: Iae675a9601db7aae03a8b80b40321d2cc1d97f50
      4600dd05
  7. 05 May, 2015 1 commit
  8. 23 Feb, 2015 1 commit
  9. 07 Nov, 2014 1 commit
  10. 21 Oct, 2014 1 commit
  11. 03 Oct, 2014 1 commit
    • Mike Lockwood's avatar
      Add support for playing audio during bootanimation · ebf9a0d8
      Mike Lockwood authored
      The bootanimation daemon will play 16 bit WAV files contained in bootanimation.zip
      For this to work, the bootanimation.zip must contain an audio_conf.txt file,
      which contains parameters to be used for the tinyalsa pcm_open call
      as well as mixer parameters to set before attempting to play the sound.
      
      If the bootanimation finds an audio_conf.txt file, then it will look for a file named
      "audio.wav" in each of the part subdirectories. If audio.wav is found, it will play that
      WAV file starting at the beginning of that part.
      
      The code for this is based on the tinyplay utility in tinyalsa.
      
      The audio_conf.txt and must begin with the following header:
      
      card=<ALSA card number>
      device=<ALSA device number>
      period_size=<period size>
      period_count=<period count>
      
      This header is followed by zero or more mixer settings, each with the format:
      mixer "<name>" = <value list>
      Since mixer names can contain spaces, the name must be enclosed in double quotes.
      The values in the value list can be integers, booleans (represented by 0 or 1)
      or strings for enum values.
      
      Finally I should mention that this change is not the right approach.
      Instead of going straight to ALSA we should be using the mediaserver instead.
      But mediaserver isn't ready in time due to interactions with the system server, and there
      isn't time to fix this for the current release. We need to fix that for the next one.
      
      Bug: 17674304
      
      Change-Id: Ic391ade61c941d0a24f4d64fe005ac9375a23fa9
      ebf9a0d8
  12. 25 Sep, 2014 1 commit
    • Jesse Hall's avatar
      bootanimation: allow animation to specify background color · 083b84cf
      Jesse Hall authored
      Some OEMs want to have a bootanimation (or parts of it) displayed on a
      color other than black. They currently just use full-screen frames for
      that, which wastes lots of memory and bandwidth. This change allows
      each part of the animation to specify a background color that will be
      applied outside of the frame images; if unspecified the background
      will be black as it is now.
      
      Bug: 16635599
      Change-Id: Ibf008fc75c5aad891c86ba9e4ec0879b7a61b8bd
      083b84cf
  13. 07 Jul, 2014 1 commit
  14. 30 Apr, 2014 1 commit
    • Mykola Kondratenko's avatar
      Freeing frame map · 0c1eeb3c
      Mykola Kondratenko authored
      FileMap memory is never released until application exit
      
      Release it now as the texture is already loaded and the memory
      used for the packed resource can be released.
      
      Change-Id: Id08a1e466337b3a0179684eb6a444e18147ee343
      0c1eeb3c
  15. 28 Apr, 2014 1 commit
    • Jeff Sharkey's avatar
      Allow custom wallpaper and boot animation. · 28f08770
      Jeff Sharkey authored
      Add new "ro.config.wallpaper" and "ro.config.wallpaper_component"
      properties which may be defined outside of the bundled framework
      resources.  Falls back to bundled resources when properties are
      undefined.
      
      Also look for boot animation under OEM partition.
      
      Bug: 13340779
      Change-Id: Ibdc9935dbdaae3319bf63b40573de0503d82ae67
      28f08770
  16. 05 Mar, 2014 1 commit
  17. 27 Feb, 2014 1 commit
  18. 16 Dec, 2013 1 commit
  19. 11 Dec, 2013 2 commits
    • Nick Kralevich's avatar
      Don't try to set service.bootanim.exit · e58d09a5
      Nick Kralevich authored
      init has never allowed the bootanimation code to
      set service.bootanim.exit, and has always generated the
      dmesg error message
      
        <3>[   17.644615] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit
      
      Since setting this property has no effect and never worked, delete
      the code which tries to do it.
      
      Change-Id: Idacc5467d85479a8cf974702af8895011be585ea
      e58d09a5
    • Narayan Kamath's avatar
      Reimplement ZipFileRO in terms of libziparchive. · 5a74e2df
      Narayan Kamath authored
      This lets us share zip archive processing code with both
      the runtime (Art, dalvik) and critical java code
      (StrictJarFile).
      
      This change also moves several utility methods to ZipUtils
      and dedups code across several zip inflation methods.
      
      One of the side effects of this change is that several
      processing loops are now O(n) instead of O(n^2).
      
      bug: 10193060
      
      (cherry picked from commit afd31e08)
      
      Change-Id: I86a2c528575d4a3ca86b94be068dcdc3c17c2ed6
      5a74e2df
  20. 09 Dec, 2013 1 commit
    • Narayan Kamath's avatar
      Reimplement ZipFileRO in terms of libziparchive. · afd31e08
      Narayan Kamath authored
      This lets us share zip archive processing code with both
      the runtime (Art, dalvik) and critical java code
      (StrictJarFile).
      
      This change also moves several utility methods to ZipUtils
      and dedups code across several zip inflation methods.
      
      One of the side effects of this change is that several
      processing loops are now O(n) instead of O(n^2).
      
      bug: 10193060
      
      Change-Id: I3c7188496837a47246c4f342e45485a70fef3169
      afd31e08
  21. 03 Dec, 2013 1 commit
  22. 29 Oct, 2013 1 commit
  23. 01 Aug, 2013 1 commit
  24. 27 Aug, 2012 1 commit
  25. 26 Jul, 2012 1 commit
  26. 20 Jun, 2012 1 commit
    • Kevin Hester's avatar
      Exit boot animation cleanly. · d3782b26
      Kevin Hester authored
      The desc.txt file can now mark parts as 'must finish cleanly' by using
      'c' as the part line prefix rather than 'p'.  If so indicated, if the
      bootanimation is asked to quit it will do so only after waiting to
      finish that part.
      
      I considered either making init.c service killing smarter or promoting
      bootanim to be a bindable service with a requestExit method.  However,
      these changes are probably too big/risky given our ship date.  So
      I used a property as a mailbox between SurfaceFlinger and bootanim.
      
      Bug: 6679877
      Change-Id: I1f8dd9e7da1ea80a483b31fa14c4a5645922d774
      d3782b26
  27. 11 Jun, 2012 1 commit
  28. 23 May, 2012 1 commit
    • Mike J. Chen's avatar
      bootanimation: Remove a property_set that is causing a warning in dmesg. DO NOT MERGE · 993f8a8c
      Mike J. Chen authored
      
      Remove a property_set() call that causes the kernel error log:
      
      <3>[   36.437164] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit
      
      This set fails because the property is read only for non-root processes.
      It was added by Kevin as part of the clean exit of the boot animation
      change, but it's only needed when testing the boot animation from cmdline.
      When called from init, init will clear the property itself before it
      reruns the boot animation.
      
      Change-Id: I07563009f57d576da8063708cbe66ff08f6757c8
      Signed-off-by: default avatarMike J. Chen <mjchen@google.com>
      993f8a8c
  29. 17 May, 2012 1 commit
  30. 16 May, 2012 1 commit
    • Mike J. Chen's avatar
      DO NOT MERGE · d514fe7e
      Mike J. Chen authored
      
      Change BootAnimation's initial display size query to check
      a system property instead of the SurfaceFlinger's display
      size (which comes from the frame buffer) in case the hwc
      choose a display size that is smaller than the full frame
      buffer.  The hwc would do this if the monitor's preferred/native
      resolution is less than 1080p.
      
      Change-Id: I33bf06fe06a21e778cf3f23eaf0374346a6e2aa0
      Signed-off-by: default avatarMike J. Chen <mjchen@google.com>
      d514fe7e
  31. 12 May, 2012 1 commit
    • Mathias Agopian's avatar
      fix BootAnimation timing · db7dd2af
      Mathias Agopian authored
      We were including the delay of the previous frame when
      calculating the delay needed between a frame and the next.
      This caused a bad jitter in the animation timing.
      
      We also now use clock_nanosleep().
      
      Change-Id: Iebb8cca4d57fe2f11d83b23a736e03db7a7d2006
      db7dd2af
  32. 27 Apr, 2012 1 commit
    • Kevin Hester's avatar
      Exit boot animation cleanly. DO NOT MERGE · e7d85994
      Kevin Hester authored
      The desc.txt file can now mark parts as 'must finish cleanly' by using
      'c' as the part line prefix rather than 'p'.  If so indicated, if the
      bootanimation is asked to quit it will do so only after waiting to
      finish that part.
      
      I considered either making init.c service killing smarter or promoting
      bootanim to be a bindable service with a requestExit method.  However,
      these changes are probably too big/risky given our ship date.  So
      I used a property as a mailbox between SurfaceFlinger and bootanim.
      
      Change-Id: I40b219c9117c97c3fc94855059ea13fe4ceb3d2b
      e7d85994
  33. 24 Apr, 2012 1 commit
  34. 27 Feb, 2012 1 commit
  35. 18 Feb, 2012 1 commit
  36. 19 Jan, 2012 2 commits
  37. 08 Jan, 2012 1 commit
  38. 03 Jan, 2012 1 commit