1954 Commits

Author SHA1 Message Date
Geoffrey Pitsch
1e23c3d606 Merge \"Fixes delay when playing first sound in BootAnimation\" into nyc-mr1-dev
am: ebfa6df9a0

Change-Id: Id8b55b666ddd21f5ad767635ff68c2e82edfa2f8
2016-07-14 14:31:39 +00:00
Dmitriy Filchenko
9edf0fd00b Merge \\\"Remove calls to set_process_name.\\\" am: 8ee58b3b4e am: c1a1487057
am: a21bfb1160

Change-Id: I86f932c6ff09cda9b4161046b691e4ee45d80dd1
2016-07-13 20:10:01 +00:00
Dmitriy Filchenko
c1a1487057 Merge \"Remove calls to set_process_name.\"
am: 8ee58b3b4e

Change-Id: Ia0157f7b7fa1b048ca98b55f5525089046e6cccd
2016-07-13 19:57:52 +00:00
Geoffrey Pitsch
a91a2d7375 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
2016-07-13 15:51:24 -04:00
Damien Bargiacchi
c1c895b573 Merge \"Don\'t show times before 2000-01-01\" into nyc-mr1-dev
am: 4786f6d958

Change-Id: Ic0eb9edf0cc94f62d808e214e19c8003dc9a7941
2016-07-13 00:51:43 +00:00
Damien Bargiacchi
4786f6d958 Merge "Don't show times before 2000-01-01" into nyc-mr1-dev 2016-07-13 00:40:07 +00:00
Damien Bargiacchi
9676281c4f Don't show times before 2000-01-01
BUG=27802041

Change-Id: Iaa826e029c3b887e2bda6d12bc7c372d862ed320
2016-07-12 16:03:37 -07:00
Dmitriy Filchenko
342c7dcd02 Remove calls to set_process_name.
BUG:29824203

Change-Id: I67a1eb350cf9ea28c554166986df8fc251b666eb
2016-07-12 15:44:55 -07:00
Geoffrey Pitsch
dfd393a1e2 Merge \"OpenSL-based audio support for BootAnimation\" into nyc-mr1-dev
am: 859029ff7b

Change-Id: Idecb0041af13b9d263568c078bc0461ebb19e4ed
2016-07-12 17:37:30 +00:00
Geoffrey Pitsch
859029ff7b Merge "OpenSL-based audio support for BootAnimation" into nyc-mr1-dev 2016-07-12 17:29:56 +00:00
Tim Murray
6ab97e587e Merge changes from topic \'stune\' into nyc-mr1-dev
am: b646ec13e1

Change-Id: I9d21ab285810d4c218ff0854b98cf7fc0d555236
2016-07-11 20:37:19 +00:00
Tim Murray
b646ec13e1 Merge changes from topic 'stune' into nyc-mr1-dev
* changes:
  Put bootanimation in top-app stune group.
  Sets android.ui to be in the fg stune group.
2016-07-11 20:29:40 +00:00
Sai Kiran Korwar
d4d6e8e0aa Merge \"BootAnimation: Use npot textures\" into nyc-mr1-dev
am: 143d48927e

Change-Id: I112ce9bb6e33ba6c659f4be9a494321774e6e942
2016-07-11 20:20:31 +00:00
Geoffrey Pitsch
ffa690de95 Merge \"Wait until end of BootAnimation to free looping textures\" into nyc-mr1-dev
am: f1439105f8

Change-Id: I745d1c4608f6238dc170a6b5550013ffe50628dd
2016-07-11 20:20:26 +00:00
Geoffrey Pitsch
143d48927e Merge "BootAnimation: Use npot textures" into nyc-mr1-dev 2016-07-11 20:12:40 +00:00
Tim Murray
5c52691a48 Put bootanimation in top-app stune group.
bug 29512132

Change-Id: Id39650177b1f3b1ca24edb72b2809ee4ded396a1
2016-07-11 11:41:52 -07:00
Geoffrey Pitsch
2fb30fb68e Wait until end of BootAnimation to free looping textures
glDeleteTextures causes a noticeable framerate hitch when switching to
the outro.  By the time looping is finished, the system has finished
booting, so freeing the textures immediately is less beneficial.

Bug: 29878551
Bug: 30040263
Change-Id: I5a404a6e18cd2cf64d6c94343f82fa5db8dfbab3
2016-07-11 13:02:41 -04:00
Sai Kiran Korwar
271674930a BootAnimation: Use npot textures
If non power of two textures are supported, then use
npot texture for specifying the images supplied by vendor.
This will reduce the memory footprint of the app by a considerable
amount.

Bug: 28865582
Bug: 30040263
Change-Id: I5cef98fb013318d60d8a648041c9665da68c0ff3
2016-07-11 12:54:22 -04:00
Geoffrey Pitsch
d6d9a1d0b9 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
2016-07-06 11:13:48 -04:00
Geoffrey Pitsch
c3b432acde Merge \"Support trimmed images in BootAnimation\" into nyc-mr1-dev
am: 656b9db5fb

Change-Id: Ida34d52d7761c1d08028121cffba12723caf8c00
2016-06-30 18:35:43 +00:00
Geoffrey Pitsch
656b9db5fb Merge "Support trimmed images in BootAnimation" into nyc-mr1-dev 2016-06-30 18:24:16 +00:00
Chong Zhang
0abc10769d Merge \"Fix off-by-one in am start -R (repeat)\" into nyc-mr1-dev
am: a3fc533d77

Change-Id: I1a779203012617991be1669b14d3466badc0cbd0
2016-06-29 16:58:15 +00:00
Geoffrey Pitsch
dd214a796f Support trimmed images in BootAnimation
Each frame directory may optionally contain a `trim.txt` to specify
how the image was trimmed relative to the animation's full size.
See FORMAT.md for more details.

Bug: 29055299
Change-Id: I7a291e9a52b4bbe50a29c519f6a4d0e2cc0389d7
2016-06-29 09:35:21 -04:00
Chong Zhang
2fde939272 Fix off-by-one in am start -R (repeat)
bug: 26028552
Change-Id: I075b378b6f126d124d867282d76a78d865b54178
2016-06-28 18:08:13 -07:00
Amith Yamasani
42daac6289 Merge \"Add tron logging for retail demo session counters\" into nyc-mr1-dev
am: 30a2b43f6d

Change-Id: Iaca49cc4aad9285e87d869b112b6c2986073f006
2016-06-28 01:06:47 +00:00
Amith Yamasani
b75fc2b2b7 Add tron logging for retail demo session counters
Count each demo user creation and time between
first touch (to dismiss the video) and the start
of inactivity timeout.

Fixed an NPE in SysUI when user switcher is missing.

Bug: 29540372
Change-Id: I7bc0e0dde75e7b213a025683c15c9b3e750643a9
2016-06-27 11:15:38 -07:00
Chris Tate
24c08b27ef Merge \\"Let bmgr inspect the set of whitelisted transports\\" into nyc-dev am: 0f101342e1
am: 0754128dc9

Change-Id: I86f7a4965945fba52916b4db7e7a54e90aa824ab
2016-06-20 17:54:15 +00:00
Christopher Tate
0754128dc9 Merge \"Let bmgr inspect the set of whitelisted transports\" into nyc-dev
am: 0f101342e1

Change-Id: I5249aed8cf49c0da111324d5c6ab43b46cdb1196
2016-06-20 17:36:58 +00:00
Christopher Tate
abf0d56469 Merge \"Let bmgr inspect the set of whitelisted transports\" into nyc-dev
am: 0f101342e1

Change-Id: Ie0f51529e4cad6f3c68c49b2b1e1d0baca6222b6
2016-06-20 17:35:04 +00:00
Chris Tate
0f101342e1 Merge "Let bmgr inspect the set of whitelisted transports" into nyc-dev 2016-06-20 17:19:55 +00:00
Sudheer Shanka
a6a99cbb00 Merge \"Add pm operation to set user restrictions.\" into nyc-dev
am: f6824b51cc

Change-Id: I355632fa26c9d85a5d41d18ca298fc704117fc48
2016-06-18 02:15:42 +00:00
Sudheer Shanka
8678057758 Merge \\"Add pm operation to set user restrictions.\\" into nyc-dev am: f6824b51cc
am: 098bc0d840

Change-Id: I30e1aa159407cdd7b55f8fa0ae1e6f54c37a62c8
2016-06-17 22:15:56 +00:00
Sudheer Shanka
098bc0d840 Merge \"Add pm operation to set user restrictions.\" into nyc-dev
am: f6824b51cc

Change-Id: I137151742049c0a02d41a02e49abb679234f14b9
2016-06-17 22:08:07 +00:00
Sudheer Shanka
bf0a9a7445 Add pm operation to set user restrictions.
Bug: 29189712
Change-Id: I6fdb3b68dfe3f51119e5ce8008880fc7d9c793df
2016-06-16 09:43:29 -07:00
Christopher Tate
e227ec61c2 Let bmgr inspect the set of whitelisted transports
Needed for compliance testing.

Bug 29072466

Change-Id: I025058ab9197f9e2db062bf0074e79f1cd04b443
2016-06-15 17:40:31 -07:00
Sai Kiran Korwar
3eee9fbb6d bootanimation: Call eglReleaseThread in threadLoop
Add eglReleaseThread call in the threadLoop function to
ensure that the thread properly cleans up its resources
before exiting.

Change-Id: I90dff47370e7acaecc046c43f0bb274214a29f77
2016-05-26 09:38:50 -06:00
Allen Hair
3faf6c2e6c Merge "Deprecate shell-based UI Automator." into nyc-dev am: f298f4a7c7
am: 79f42608c2

* commit '79f42608c265ecc22c09d239bdfd04dcaafca616':
  Deprecate shell-based UI Automator.

Change-Id: I9173d27b964f7ccf05b6f84c7e71a3fe4b3b7033
2016-05-24 21:41:32 +00:00
Allen Hair
79f42608c2 Merge "Deprecate shell-based UI Automator." into nyc-dev
am: f298f4a7c7

* commit 'f298f4a7c779588821b744c7247fc896541cae57':
  Deprecate shell-based UI Automator.

Change-Id: I0f8f99ddc4dd1048a84ab9f6f7edc19d923c7a75
2016-05-24 21:36:20 +00:00
Allen Hair
f90c5c5f5a Merge "Deprecate shell-based UI Automator." into nyc-dev
am: f298f4a7c7

* commit 'f298f4a7c779588821b744c7247fc896541cae57':
  Deprecate shell-based UI Automator.

Change-Id: Iaea8d67bd6bf9f57b3033eaefcb103d9f2e022dd
2016-05-24 21:34:53 +00:00
Allen Hair
3fb03313e9 Deprecate shell-based UI Automator.
Change-Id: I15aee7a6aba551b737d2c41b4fafd5b0ced9a4b7
2016-05-24 11:10:44 -07:00
Damien Bargiacchi
60bacac2dd Merge "Check clock accuracy before attempting to display clock" into nyc-mr1-dev
am: 9cb24e5582

* commit '9cb24e5582f7ec711400d2889baded061842b29b':
  Check clock accuracy before attempting to display clock

Change-Id: Icd74121f21e9ff2fbad210553b2661f71cd177dd
2016-05-19 21:01:30 +00:00
Damien Bargiacchi
9cb24e5582 Merge "Check clock accuracy before attempting to display clock" into nyc-mr1-dev 2016-05-19 20:56:52 +00:00
Dianne Hackborn
a24af982ff Merge "Fix issue #27532364: Security Vulnerability in IIntentSender.send" into nyc-dev
am: 607844efa5

* commit '607844efa59f79bd9fab55eb75f217d21cd15f5f':
  Fix issue #27532364: Security Vulnerability in IIntentSender.send

Change-Id: I749b455402caef335239b540ec8883a8d7b2a974
2016-05-17 18:32:46 +00:00
Dianne Hackborn
0c4e6a8da3 Fix issue #27532364: Security Vulnerability in IIntentSender.send
We need to make IIntentSender oneway...  but when the system is
calling that for itself, it needs to be able to return a result code.

Solution: instead of directly calling the interface, we have a new
IPC through the activity manager.  If the thing being used is the
activity manager impl, it can do the synchronous send and return
the result directly in place.  If not, you only get asynchronous
sending and thus never a failure result back (too bad for you!).

Change-Id: I4096e5b00063e8dba66230585a2dfe67e35e8092
2016-05-13 17:37:08 -07:00
Damien Bargiacchi
9748086fe2 Check clock accuracy before attempting to display clock
The RTC may not be set yet, may have been reset, or may have drifted
significantly if the device time hasn't been updated in a long time.

Using the the last_time_change file to determine if the time is known to
be accurate and only display the clock when that is the case.

Bug: 27802041
Change-Id: I845cf9c74fcb4009504f1bab853e04146fa19e1d
2016-05-12 17:01:59 -07:00
Christopher Tate
2591ee2b0b Merge "Move the \'pretend idle jobs can run now\' broadcast into AMS" into nyc-dev
am: 0588954071

* commit '058895407140de0e513b82150c3acb6131e971a2':
  Move the 'pretend idle jobs can run now' broadcast into AMS

Change-Id: Id8bd50f0a5f6d46cf60dea690803081515cb21c3
2016-05-06 21:42:47 +00:00
Christopher Tate
27d92e4e39 Move the 'pretend idle jobs can run now' broadcast into AMS
It's a protected broadcast, so sending it directly from 'am' is
no longer an option.  This is needed for CTS as well as being
generally useful during app development.

Bug 28406044

Change-Id: I101915a8c6f19454330a8db2079a75023c112582
2016-05-06 11:25:11 -07:00
Dimitry Ivanov
3088ff85a5 zygote: Remove NativeLoader initialization step
This now done by art Runtime::Start()

Bug: http://b/28320913
Change-Id: Icf9b11954b732c9f953e02bba9ae52eb91117457
(cherry picked from commit 6a850b3f11cff546c962fc87ffc961a267973cd4)
2016-04-27 13:40:43 -07:00
Dimitry Ivanov
cda22ed541 resolve merge conflicts from goog/stage-aosp-master to goog/nyc-dev-plus-aosp
Change-Id: I09c5c2881947b28547a40febf32f02722b03ef81
2016-04-27 13:16:17 -07:00
Dimitry Ivanov
0598038341 Merge "zygote: Remove NativeLoader initialization step"
am: 4dd00e9

* commit '4dd00e93f300a50097c1ec09ca291849830e98dc':
  zygote: Remove NativeLoader initialization step

Change-Id: I5ea672ea9e58720d37e29a9407e7c963b5cf65dd
2016-04-27 18:33:56 +00:00