| Age | Commit message (Collapse) | Author |
|
Since this type is inteded to be managed as a StrongPointer, ensure that
is always constructed as such.
Bug: 393217449
Test: presubmit
Flag: EXEMPT_refactor
Change-Id: Ia74493743653a9e41384cfb4c384ac30bef1e907
|
|
Display Events are now defined as part of the new
DisplayEventType Enum class in android namespace.
Use it from there instead of DisplayEventReceiver enum.
Bug: 393133868
Test: Manual
Flag: com.android.graphics.surfaceflinger.flags.display_config_error_hal
Change-Id: Idcd2bc3f0ab532a3e5c86e52e59367c22351b994
Signed-off-by: Manasi Navare <navaremanasi@google.com>
|
|
Bug: 376214650
Flag: EXEMPT Fix typo
Test: Manual (before: https://paste.googleplex.com/6201863358906368 after: https://paste.googleplex.com/6215099508588544)
Change-Id: Id95f50a5c12c2ed77746c4b363464d79aacb8b6d
|
|
am: abaa6bf8b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3270431
Change-Id: I5d3d7768adf260213a0c0bd320b2ccdf9ec1accf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Also, some refactoring of existing code.
Flag: com.android.graphics.bootanimation.flags.multidisplay
Bug: 269510347
Test: Manual (build, flash, reboot in folded and unfolded states)
Change-Id: Ieb360f47cc38cab90b1eca471b0e773e303f88e2
|
|
Bug: 335406617
Test: Manual (build, flash, reboot)
Change-Id: Id82aa1448a097bbc7dd32952a78f1a64ef1693a0
|
|
Bug: 366034613
Change-Id: Icb8b13f9680bd4af3e2d0e7f40d172b0d52b77a8
|
|
Add a new option to boot animation to be able to define a custom name for a boot animation zip file located inside product/media following the pattern used with the light and dark themed animations.
Bug: 343704035
Test: On device test
Change-Id: Iae2df3c272d5ca03b9029aeefe78afddb494c6ad
|
|
|
|
Test: manual test
adb logcat | grep BootAnimation
Change-Id: I937b4488cbea2e7529c2b8e699105bc3909c81b8
Signed-off-by: jiayongqiang <jiayongqiang@xiaomi.com>
|
|
Change-Id: Id10bc8dbec318b7f1a479ea0a0b3792d9313f742
|
|
Extra field size has been added to getEntryInfo. Adding parameter to call.
Test: mma libandroidfw
Bug: 334109171
Change-Id: I38f0884c69c7b3b2871f264e41971a86c61bda65
|
|
Use the size of limitSurfaceSize to set the window
Bug: 339763174
Test: 1. set the property:
[ro.surface_flinger.max_graphics_height]: [1080]
[ro.surface_flinger.max_graphics_width]: [1920]
2. Repeatedly Turn on/off while connecting to 4K TV and check the boot animation
Change-Id: I378aab715d75b8ddb47068cb0e81503d83339021
|
|
Bug: 29055299
Test: manual
Change-Id: I4f821acb298f8d74d17afd0db7ba4eb7729620d2
|
|
Bug: 319669529
Merged-In: I46c7859ff042ee7aa9193757e5df8269f4892362
Change-Id: I0c7b5036c0b0f5f2caad551edb063350f6eb87e7
|
|
Introduce ro.bootanim.set_orientation_logical_<display_id> allows to
change the default orientation of logical display.
Bug: 272527451
Test: Manual test with all 4 values
Change-Id: I39a0d5df97d5185090b6a793e52ecaa5f3bc0baa
|
|
jagged animation after resolution change, change Texture Filtering from GL_NEAREST to GL_LINEAR.
Change-Id: I0788db4f4edb109eff3b86ce43be79eb206fe00b
Signed-off-by: niuwenchao <niuwenchao@xiaomi.com>
|
|
am: d001ea5b72 am: 834467bdcc am: de14ea1930 am: 7a976b65fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2748044
Change-Id: Id23e30ebeec4ddefc589a208bf5925cb2fa1816c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2748044
Change-Id: I0ad1370690eb3763c4d2a7a361bc91f22fd15919
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 295394788
Test: m checkbuild
Change-Id: I6aa039b6b2a4944e3537ef133f8785890d957edd
|
|
c01e3ba035 am: 1ca55b9eb9 am: 6fd58092f6 am: af3d4530d8 am: 4dc0449864
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2724077
Change-Id: I6ba4c4df589ed3851d1ac677b7078cac7015b6fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2724077
Change-Id: I4b4032ff4145ac6aa328723dd73151e1e7a021a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 295394788
Test: make checkbuild
Change-Id: I370f66c469de73064dec2e42c539dc236dd69d1e
|
|
83ab214b87 am: 093158d736 am: 35eaa66160
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2704207
Change-Id: Ic86288ea551b32c6a95ca134bdd0693d7dbce482
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2704207
Change-Id: I064ba4b2d7a47b8f84717181ff644be67284abc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 295394788
Test: make checkbuild
Change-Id: I538720d4de2dcc038b417048209782ff605b7e30
|
|
main am: 1de5695524 am: 757b050795 am: 94faa18947 am: 4d51bc3da2 am: 34a4089b69
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2725975
Change-Id: I4c1ea79beb47456766940332593553e1e012c7b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 291102124
Merged-In: I3c9e9d15786fbead1b874636b46844f6c24bccc2
Change-Id: Id6cf6cc13baef4e67486c6271a1510146204affa
|
|
main am: 1de5695524 am: 757b050795
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2725975
Change-Id: Id484fc0a654d54c8952606048bde03fdb7544372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
This empty method is different from the old one - it aligns with
std::string definition.
Bug: 295394788
Test: make checkbuild
Change-Id: Ib80c839df7ff7e3fb0ed2df7a00393d843d44d9d
|
|
main am: e27e15d330 am: 51858976fe am: b0f9564c48 am: e57b90e810 am: c9a386e0de
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2721506
Change-Id: If0df1da5708bd340dfe1fc505bef53f2a51592fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
main am: e27e15d330 am: 51858976fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2721506
Change-Id: I2d39f1847e08a6bb351825d07e6050d16343ea46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Bug: 295394788
Test: m checkbuild
Change-Id: I2e3167aaf464132127d5838075c7f9a5257ed275
|
|
main am: 13399aefd2 am: 2484bfca4a am: f9ec8533b9 am: c89dff9533 am: dd3654755f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2646620
Change-Id: I65fdd6fb0af99cb3536ea7e1ae11927c612d0e53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
main am: 13399aefd2 am: 2484bfca4a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2646620
Change-Id: If16c20cb79b68052897393f26328389f0dcaf36e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
This change moves the bootanim time file location from
/data/bootanim/time to /data/misc/bootanim/time. This is to address the
recommendation in b/232299581#comment8.
Bug: 210757252
Test: Boot animation can show time. No SELinux violations.
Change-Id: I8fcf9943911f6f3f0af4d6c3ae391c5805bf7885
|
|
When bootanimation contains part that is played only once,
there is no need to create a separate texture for its frames.
Such an approach allows to reduce memory consumption for
typical use case of such an animations, when a part
consists of a lot of frames played only once.
Actually, it was already implemented earlier, but part of it
was lost in 'd711ac4858337539c2188f47ef015e5b88080830'.
Moreover, the remained part leads to memory leak in
current implementation on BootAnimation.cpp:1712.
Test: play bootanimation with part.count=1 and a lot of
frames, and check memory consumption.
Change-Id: If3a0fa890f6f9e7abc0db2fe96b5635a1663fb8a
Signed-off-by: Oleg Lyovin <ovlevin@sberdevices.ru>
|
|
am: eea9c58a46 am: 51863deda1 am: 5c7b99f3e1 am: ee6c70ade6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2588325
Change-Id: Iab37a75e97aeefd8fa8a7405637cdecbb49f55c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
am: eea9c58a46
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2588325
Change-Id: Ib3a6c89f976f2de9087c83ecbfa2e0ce4ad2fc6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
- thrid -> third
- Reorganize command flags to match docs below.
Test: Manual
Bug: 282802119
Change-Id: I87b7f42312c35d2770775869cc0be4c83f09e719
|
|
This is to better understand boot regression. There have been instances
of logcat not containing boot complete messages.
Test: Manual. Checked boot trace if the traces contain Boot Animation
slices
Bug: 271576143
Change-Id: I8a3277ca02e22612389def79bfb0e3a3608e2731
|
|
f6ecaaf536 am: fd453a4a8a am: 9b6e578333 am: e06a69a965
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2369728
Change-Id: I2eeace8573da620323ddef204d5dbfd77e376961
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
f6ecaaf536 am: fd453a4a8a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2369728
Change-Id: I886e91323a069589dd91f668bc2a363172580c50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
When desc.txt configuration interval is very long, it leads to too long sleep time, which affects the execution frequency of checkExit and leads to untimely exit of boot animation.
For example:
1080 2400 5
p 0 5 part0
Change-Id: I9806a934189642a31ceb72cbf35c3ff07fe6b7d8
Signed-off-by: niuwenchao <niuwenchao@xiaomi.com>
|
|
765ed6991b am: 26d780d13e am: bb55471264 am: bcfcda9ecf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2489515
Change-Id: I86632c199bf09762240a1fb3201bc0b9ba6e6477
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
765ed6991b am: 26d780d13e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2489515
Change-Id: Ia4e5bd8d6527ba6e7cb1988ada01765219b2c3bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
According to [1] :
section 3.4 :
...
Creation of a client API context based on an EGLConfig will
fail unless the EGLConfig’s EGL_RENDERABLE_TYPE attribute
include the bit corresponding to that API and version.
...
section 3.7.1.6:
...
An EGL_BAD_MATCH error is generated if config does not support the
requested client API. This includes requesting creation of an OpenGL ES
1.x, 2.0, or 3.0 context when the EGL_RENDERABLE_TYPE attribute of config
does not contain EGL_OPENGL_ES_BIT, EGL_OPENGL_ES2_BIT, or EGL_-
OPENGL_ES3_BIT respectively.
...
Bootanimation uses EGL_CONTEXT_CLIENT_VERSION 2 for context creation,
so appropriate EGL_RENDERABLE_TYPE should be requested during eglChooseConfig.
1. https://registry.khronos.org/EGL/specs/eglspec.1.5.pdf
Change-Id: I5ebc18d8ace84197d069049decadb402576546b5
Signed-off-by: Andrii Chepurnyi <andrii_chepurnyi@epam.com>
|
|
Currently, audio is playing without any checking audio service.
This causes a crash if audio service is not ready yet.
Add checking audio service before playing audio to avoid this crash.
Bug: 232943444
Test:
Manual testing of Cherrypick-To-Main as follows:
Tweak the clockwork boot animation to have audio:
$ cd ~/main/device/google/clockwork/bootanimations/square_280
$ mv bootanimation.zip bootanimation_orig.zip
$ unzip -d newanimation bootanimation.zip
$ cd newanimation
$ cp ~/main/frameworks/base/data/sounds/newwavelabs/Miami_Twice.wav part1/audio.wav
$ zip -0qry -i \*.txt \*.png \*.wav @ ../bootanimation.zip *.txt part*
$ cd ..
$ unzip -l bootanimation.zip | grep files
1494650 197 files
$ unzip -l bootanimation_orig.zip | grep files
770910 196 files
Confirmed initAudioThread is a "no-op" (early exits without
calling audioplay::create) when audio service is not available.
Confirmed the playPart() and shutdown() AudioAnimationCallbacks
are safe "no-ops" if they're called when audioplay::create()
has not been called. See ag/21777853 for details and b/272124709
to track "clarifying they're safe" enhancement.
After confirming this all works on main, created a cherrypick
of the original CL.
Cherrypick-To-Main observation:
Considered moving the code added to InitAudioThread::threadLoop()
to the top of AudioAnimationCallbacks::init() to eliminate the
overhead of running a "no-op" thread when the audio service is
not available.
For Wear-On-Main initiative, our primary goal is to move
wear-dev CLs directly to main – happy to file an enhancement
to track this consideration if it would be an improvement.
Change-Id: Ica3525fa8bf8534778db388211e8a7c2ade6db9f
(cherry picked from commit ca5110fc1083706c021b28e8c524e92f8fd34349)
|
|
If playSoundsAllowed() returns false, then no need to start new audio
thread.
Bug: 232955344
Test:
Manual - applied this wear-dev change to a local main
and verified in an emulator that when launching
bootanimation (as root), init() early exits with no
negative consequences when BootAnimationUtil.cpp's
playSoundsAllowed() returns false. Also tested when
playSoundsAllowed() returns true, init() continues
(but exits when partWithAudio is null checked).
Change-Id: Ia3ff397ab004b09e60acca1b4ad23c5e76d698cb
(cherry picked from commit 61b667b5bce33ee857a19688a23eef79bdf66a99)
(cherry picked from commit 226331c3b20571fd3dc38bb5da7e0455c4a34f13)
|
|
into tm-qpr-dev am: 432b3b38ff am: bebb6c2162
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20698326
Change-Id: Ife76249d38adf5e1a274589cefde652767acf33d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|