7464ac9bd7fe89061e47617e4b6004b88c91d636 |
|
08-Jun-2017 |
Ed Coyne <edcoyne@google.com> |
Allow IO During boot process, BootActions. NOTE: this is only compiled into products with PRODUCT_IOT=true. Introduce BootActions that a developer can provide to manipulate IO before the android framework comes up on boot. We will look for a configuration file at /oem/app/etc/boot_action.conf and expect it to tell us the name of a shared library. We will then fetch this library from /oem/app/lib/${arch}/ and load it. We expect it to export boot_action_init(), boot_action_shutdown(), and optionally boot_action_start_part(int partNumber, int playNumber). We will then call boot_action_init() during boot after PeripheralManager is up and call boot_action_shutdown() when the android framework is up and we are going to start loading APKs. We will also call boot_action_start_part(*) when each part of the boot animation is started, use this if you want to synchronize the boot action and the boot animation. Boot actions run in a restricted environment and in general can only make calls to PeripheralManager. Bug: 37992717 Test: Pushed to local imx7d to test boot actions, pushed to bullhead test that animation+sound still works. Change-Id: I9e53a17567f8028ea84486d637e1d231ee1125e1
/frameworks/base/cmds/bootanimation/Android.mk
|
2c9e94aa3e9614f0d202ee008c08a9011fa7f75f |
|
31-May-2017 |
Ed Coyne <edcoyne@google.com> |
Refactor bootanimation into a shared lib. We would like to reuse the animation parts of it in Android things. This refactors the audio part into the _main and gets callbacks from the BootAnimation class at interesting times. This will be the same approach we take to integrate with it. BUG: 37992717 Test: Built locally and pushed to a bullhead, works with sound. Change-Id: I5eaca07c25eeb5edeab07d7ae7a29945e0e2cd37
/frameworks/base/cmds/bootanimation/Android.mk
|
b593842063770f9e75c623a4bc7bb41b4c1830c6 |
|
23-Mar-2017 |
Keun-young Park <keunyoung@google.com> |
support shutdown animation from bootanim - init will set sys.powerctl property and run bootanim. - Use /oem/media/shutdownanimation.zip or /system/media/shutdownanimation.zip for animation file. If none of them exist, android animation will be used. - Disable audio playing for shutdown animation. - Disable TimeCheckThread for shutdown animation. It accesses /data partition and can block umount. bug: 36526187 Test: many reboots Change-Id: If02c73cda2015317d88d056cd45201208da49946
/frameworks/base/cmds/bootanimation/Android.mk
|
a91a2d737586ebd0040129333055d8093899751b |
|
12-Jul-2016 |
Geoffrey Pitsch <gpitsch@google.com> |
Fixes delay when playing first sound in BootAnimation audioplay is initialized with an example of the type of clip it will play. Also remove asserts and debug compile settings from BootAnimation. BUG:24800792 Change-Id: Icb78489417aee0549c340c746b25e57ccdb3427e
/frameworks/base/cmds/bootanimation/Android.mk
|
d6d9a1d0b9cf6fa740d9fe410015b094475c5a4c |
|
08-Jun-2016 |
Geoffrey Pitsch <gpitsch@google.com> |
OpenSL-based audio support for BootAnimation Respects dnd settings for sound playback. Basic implementation uses in-memory wavs as buffers. audioplay::playClip should not be called before previous clip ends. Updated FORMAT.md to reflect no more audio_conf.txt Bug: 29055299 Change-Id: Ifc358d7c85f11b8b54ae6446c40643b87bc567f2
/frameworks/base/cmds/bootanimation/Android.mk
|
c2de7a7e878f7926cfea7efa71cab1613f95dc33 |
|
14-Aug-2015 |
Tom Cherry <tomcherry@google.com> |
bundle init.rc contents with its service Bug: 23186545 Change-Id: I080e73d6a124873c2ddd0fba85315d7082faf3f5
/frameworks/base/cmds/bootanimation/Android.mk
|
cfedceb8c180a2e176154d461659e0c3569dc931 |
|
01-Oct-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Turn on -Wall -Werror in cmds Fix small warnings, turn on -Wall -Werror. Change-Id: Iab1f01a7c7ebd6ba832b75067c5e395f380a1b8b
/frameworks/base/cmds/bootanimation/Android.mk
|
ebf9a0d8a888042c16ec0cb6dd8419f18038663f |
|
03-Oct-2014 |
Mike Lockwood <lockwood@google.com> |
Add support for playing audio during bootanimation 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
/frameworks/base/cmds/bootanimation/Android.mk
|
63665f2ac4f25131728a7efff0a449ecdc3f4c50 |
|
20-Mar-2014 |
Colin Cross <ccross@android.com> |
am a3633c25: am 71a3d40d: am e4360c8e: am 4308a523: Merge "bootanimation: build 32-bit if 64-bit gl libraries are not available" * commit 'a3633c25033b576ae160ea86194e4f7f20d82fe2': bootanimation: build 32-bit if 64-bit gl libraries are not available
|
31d16e5bf9e4edc8c3af08d8405ebe90bde99220 |
|
20-Mar-2014 |
Colin Cross <ccross@android.com> |
bootanimation: build 32-bit if 64-bit gl libraries are not available Set LOCAL_32_BIT_ONLY if TARGET_32_BIT_SURFACEFLINGER is set. Change-Id: I76396cc9fe3fe45d1e98a44bf911d6e70922555a
/frameworks/base/cmds/bootanimation/Android.mk
|
eece0dda56ae29fff6e9003df97594f6ac50b6e2 |
|
27-Feb-2014 |
Derek Sollenberger <djsollen@google.com> |
Fix includes so that they no longer rely on the global Skia includes directories. bug:13225538 Change-Id: Ia5d816dc665f81c7985f21036af4fd0a63c560cf
/frameworks/base/cmds/bootanimation/Android.mk
|
d685894212e6dbeac1fda4996903c1da115d49a6 |
|
10-Apr-2013 |
Ying Wang <wangying@google.com> |
Add liblog Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
/frameworks/base/cmds/bootanimation/Android.mk
|
83c64e6b624a876436d2ef5d2f173b10407e27b4 |
|
21-Feb-2012 |
Mathias Agopian <mathias@google.com> |
frameworks/base refactoring create the new libandroidfw from parts of libui and libutils Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
/frameworks/base/cmds/bootanimation/Android.mk
|
bd882b1c8708686d373c56e07e6bb8b1cb6ffd9e |
|
12-Jul-2011 |
Jeff Brown <jeffbrown@google.com> |
Remove the simulator target from all makefiles. Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
/frameworks/base/cmds/bootanimation/Android.mk
|
696257ccf315a1da042787c5b2d1f80c7146fc94 |
|
26-Mar-2011 |
Mathias Agopian <mathias@google.com> |
merge libsurfaceflinger_client into libgui this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
/frameworks/base/cmds/bootanimation/Android.mk
|
000479f9e325b4e426a67033abd92d47da412725 |
|
10-Feb-2010 |
Mathias Agopian <mathias@google.com> |
split libsurfaceflinger_client and libcamera_client out of libui
/frameworks/base/cmds/bootanimation/Android.mk
|
b1bb6cfe91c97fccd720de565fa69ed787ae1cbc |
|
05-Oct-2009 |
Doug Kwan <dougkwan@google.com> |
Add back missing shared libraries used in executables in link commands. These executables have calls to some shared libraries without explicitly linking them. Currently it works as linker links these libraries via dependencies of other libraries. This is fragile and not the right thing to do.
/frameworks/base/cmds/bootanimation/Android.mk
|
b5af325fb1d21a9295bf3009cc95e5ead4999247 |
|
10-Jul-2009 |
Mike Reed <reed@google.com> |
rename libsgl/libcorecg to libskia
/frameworks/base/cmds/bootanimation/Android.mk
|
947f4f4d384ea26eb2145cc070a3eed42c59534a |
|
22-May-2009 |
Mathias Agopian <mathias@google.com> |
merge master to master_gl
|
627e7b50be41e4fdee758a1bfad3a55de56b4e27 |
|
22-May-2009 |
Mathias Agopian <mathias@google.com> |
split boot animation out of SurfaceFlinger Conflicts: data/etc/platform.xml
/frameworks/base/cmds/bootanimation/Android.mk
|