History log of /frameworks/base/cmds/bootanimation/bootanimation_main.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
88efa56e1b7993e5ea32028c962ecd517c15ed3d 15-Jul-2017 Kalle Raita <kraita@google.com> Fix nobootanimation toggle

The sf.debug.nobootanimation was apparently broken in a recent
refactoring. Flipping the boolean in the utils fixes the issue.

Left some additional logging behind.

Test: marlin-eng boots
Test: my test can prevent the boot animation
Test: shell stop start shows boot animation
Change-Id: I815708a2f16a3a8688cf1a53695e5a8d43194575
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
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/bootanimation_main.cpp
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/bootanimation_main.cpp
721c9dc1253db9a713063674d196d57b83536d6a 20-May-2017 Keun-young Park <keunyoung@google.com> reduce flunctuation in boot animation start / stopping time

- Add separate 100ms interval polling for SurfaceFlinger. Otherwise,
it can be blocked with 1 sec polling and cause 1 sec of additional
delay frequently.

bug: 38450031
bug: 35253872
Test: many reboots and check time to finish boot animation, python packages/services/Car/tools/bootanalyze/bootanalyze.py -r -c packages/services/Car/tools/bootanalyze/config.yaml -n 100 -f -e 15 -w 30 -v

Change-Id: I353ca04183cbe59b82da99dc3fecfce63314cd2f
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
a8d2c6457fe339acaae256510afbe63e39147d62 08-Dec-2016 Dmitri Plotnikov <dplotnikov@google.com> Adding "quiescent" reboot mechanism to support STB operators

Bug: 31681185
Change-Id: Iada4dd4624f0221e5b59440da2718da980742720
Test: with SampleLeanbackDeviceAdmin. CTS test forthcoming
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
1610486d371b867c0a842ede38e64774c18ba5d9 27-Jan-2015 Yabin Cui <yabinc@google.com> kill HAVE_PTHREADS.

Bug: 19083585
Change-Id: Ib466949bb6cd6d1bbc4680e989f0f9fae62ca564
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
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/bootanimation_main.cpp
8335f1ccccedb6655d96d9d5b697a7f0938235dd 26-Feb-2012 Mathias Agopian <mathias@google.com> fix libgui header location

Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
6215d3ff4b5dfa52a5d8b9a42e343051f31066a5 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
000479f9e325b4e426a67033abd92d47da412725 10-Feb-2010 Mathias Agopian <mathias@google.com> split libsurfaceflinger_client and libcamera_client out of libui
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
a0d128c8c601750dcbcf97342ffca7865b8a6f9e 29-Jul-2009 Mathias Agopian <mathias@google.com> resolved conflicts for merge of de36313b to master
de36313b0b80c019c2784edd9d41f6761fe80685 29-Jul-2009 Mathias Agopian <mathias@google.com> fix [1981759] -no-boot-anim has no effect
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
ac31a3b8b09aba1c5ebc73f0cf65cac2210aa6b7 22-May-2009 Mathias Agopian <mathias@google.com> this should fix the build
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp
627e7b50be41e4fdee758a1bfad3a55de56b4e27 22-May-2009 Mathias Agopian <mathias@google.com> split boot animation out of SurfaceFlinger

Conflicts:

data/etc/platform.xml
/frameworks/base/cmds/bootanimation/bootanimation_main.cpp