1954 Commits

Author SHA1 Message Date
Geoffrey Pitsch
023a9185a4 Support multichannel sounds in bootanim
am: db90897b5f

Change-Id: Ied6b429e05d5d77c76e9bbf34a7f13104be8bb8e
2016-09-13 16:27:14 +00:00
Geoffrey Pitsch
5b1702e554 Merge "Support multichannel sounds in bootanim" into nyc-mr1-dev 2016-09-13 16:21:22 +00:00
Hyundo Moon
934a526e68 MediaSession: Rename methods related to shuffle mode
This CL remames following methods:
 - MediaController.getShuffleMode() -> isShuffleModeEnabled()
 - MediaController.TransportControls.setShuffleMode()
    -> setShuffleModeEnabled()
 - MediaSession.setShuffleMode() -> setShuffleModeEnabled()
 - MediaSession.Callback.onSetShuffleMode() -> onSetShuffleModeEnabled()

Change-Id: Ifb1ef5b5355ddec60c3e9e84d53eb4ead4671b4f
2016-09-12 21:15:41 +09:00
Alan Viverette
dab82cc04c Change density for the correct user am: df3a7cab8f am: 55768028fd
am: 48818fa811

Change-Id: I19f5810159ed772ac8ed1e9d498f8fe0036a95d0
2016-09-08 21:27:04 +00:00
Alan Viverette
48818fa811 Change density for the correct user am: df3a7cab8f
am: 55768028fd

Change-Id: I7d4eff0c732f0e3e83adc0044ab7ab015da74993
2016-09-08 21:19:24 +00:00
Alan Viverette
55768028fd Change density for the correct user
am: df3a7cab8f

Change-Id: I4f4dfaa8f9035cdd4939d1d40e66ebac51811f73
2016-09-08 21:13:39 +00:00
Damien Bargiacchi
f67b317c10 resolve merge conflicts of 6574d9c to master
Change-Id: I9b97396a03f80507d71a52d281f88f686712b129
2016-09-07 20:17:14 -07:00
Damien Bargiacchi
6574d9ca46 Allow custom fonts in the boot animaiton zip file
am: 0e3d2ab6d2

Change-Id: I13d1e6a707ad941a267b89483e6dc029398a2d82
2016-09-08 02:19:57 +00:00
Alan Viverette
df3a7cab8f Change density for the correct user
Bug: 30839993
Change-Id: I5368accddfc4a03b8025a257b4155fcdc6197f11
2016-09-06 17:13:41 -04:00
Damien Bargiacchi
0e3d2ab6d2 Allow custom fonts in the boot animaiton zip file
Change the font format to be a 16x6 grid of characters

Bug: 29580875
Change-Id: Ia468307cb9770436e8ae865c91acda23a71bde05
2016-09-05 04:51:45 -07:00
Makoto Onuki
ce34881b19 Add "adb shell content gettype" support
Change-Id: I902d66b5c8ee45411ba6b82dd1b0bb7506d1f117
2016-09-02 13:10:49 -07:00
Mitchell Wills
fe11efd868 Merge commit 'accde60f09508f9543a094247ed95ce2ae605912' into nyc-mr1-dev-plus-aosp
Change-Id: I732a9b0bb6e569be342a6df3640f4e539f9ccce0
2016-08-29 20:38:08 -07:00
Mitchell Wills
e0d09999e9 DO NOT MERGE Revert "Add WiFi toggle prompts - framework"
This reverts commit 40f8b9251831c5f009fd476b1a3d216e126d3ef0.

Change-Id: I9a1d861277e5d32405da5815c8b4e5d616febf10
2016-08-29 20:21:42 -07:00
Mitchell Wills
8efb84e3e0 DO NOT MERGE Revert "Add WiFi toggle prompts - framework"
This reverts commit 40f8b9251831c5f009fd476b1a3d216e126d3ef0.

Change-Id: I23e8b6ac97d8853c271429fc13fbfa313717a95a
2016-08-29 20:15:48 -07:00
Mitchell Wills
722de5f9d0 DO NOT MERGE Manually merge commit 'f28778064383821ccf48c9570191f34a24aa513f' into nyc-mr1-dev-plus-aosp
Change-Id: I7cb1f97a5b931c2057a811d7947f47ad7320ef1c
2016-08-29 17:46:44 -07:00
Svetoslav Ganov
40f8b92518 Add WiFi toggle prompts - framework
If permission review is enabled toggling WiFi on or off
results in a user prompt to collect a consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749

Change-Id: I020601e208c0736005bcabc7b7b77b96eee45b03
(cherry picked from commit d3663c04a721e0848dd3e9179c84ba585d91839d)
2016-08-29 11:26:51 -07:00
Geoffrey Pitsch
db90897b5f Support multichannel sounds in bootanim
Manually handle the 1-2 channel cases to avoid the warning
log when 0 is passed as the channelMask.

Bug: 30820152
Change-Id: I4d2c8736ff442fae9a4c5eb16061646fb53151b6
2016-08-24 16:59:16 -04:00
Dmitriy Filchenko
2987af7071 Merge "Remove unused includes." am: 35da832634 am: 33e65232f3 am: eb349448aa
am: 185aff8565

Change-Id: I0e4bfc4f13b106ad63834192544395637887a8e2
2016-08-18 03:36:21 +00:00
Dmitriy Filchenko
185aff8565 Merge "Remove unused includes." am: 35da832634 am: 33e65232f3
am: eb349448aa

Change-Id: Ib07d472af12852399a80d5a6503c1c34a6c9380c
2016-08-18 03:33:20 +00:00
Dmitriy Filchenko
33e65232f3 Merge "Remove unused includes."
am: 35da832634

Change-Id: I5804c0ccf6c543471ddf3245a799d5fa651d6d18
2016-08-18 03:22:39 +00:00
Dmitriy Filchenko
7310cc4880 Remove unused includes.
BUG: 29824203

Change-Id: I795f8abe31575f70da263921c6ec13b73b24dc7b
2016-08-18 01:45:11 +00:00
Geoffrey Pitsch
fa88d56464 Suppress Boot sound for non-standard scenarios. am: 290c4350ed am: 854f8cecf7
am: 9e7b3f657f

Change-Id: Id7d1cb29fa1e1a416d56b4b16a73576a458216c4
2016-08-11 13:22:28 +00:00
Geoffrey Pitsch
9e7b3f657f Suppress Boot sound for non-standard scenarios. am: 290c4350ed
am: 854f8cecf7

Change-Id: I182a77ce9fec2ae3f900a544ac4af8064240a06b
2016-08-11 13:13:04 +00:00
TreeHugger Robot
a541f3b32c Merge "Add WiFi toggle prompts - framework" 2016-08-10 21:09:03 +00:00
Geoffrey Pitsch
290c4350ed Suppress Boot sound for non-standard scenarios.
Blacklisted bootreasons will not play a sound (e.g. "kernel_panic")
If boot has already completed, assume this is a runtime restart and
skip the sound.

Bug: 30654343
Change-Id: I41b1829a93c0d9a63c69aea2d1614eaa18b72230
2016-08-10 10:52:48 -04:00
Svetoslav Ganov
d3663c04a7 Add WiFi toggle prompts - framework
If permission review is enabled toggling WiFi on or off
results in a user prompt to collect a consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749

Change-Id: I020601e208c0736005bcabc7b7b77b96eee45b03
2016-08-09 17:01:43 -07:00
Geoffrey Pitsch
d6536e4d22 BootAnimation system property to play sound. am: 305087991d am: 8e4b8a988f
am: 5e8bb86e8c

Change-Id: Ibcf73b3245b63492c1feaa1494271c181c86c59e
2016-08-09 17:31:06 +00:00
Geoffrey Pitsch
5e8bb86e8c BootAnimation system property to play sound. am: 305087991d
am: 8e4b8a988f

Change-Id: Icd062a5b3eb9da9d9c7bd3c5d7dd4e40f75c3a1e
2016-08-09 17:22:51 +00:00
Geoffrey Pitsch
305087991d BootAnimation system property to play sound.
Optional system property "persist.sys.bootanim.play_sound"
If nonexistent, default behavior plays the sound.

Bug: 30690353
Change-Id: Ie5ed456d891632be5ec8be255ac7c1193753c741
2016-08-08 16:18:21 -04:00
Sungsoo Lim
ba11085635 MediaSession: Add methods for setting shuffle and repeat modes
Bug: 27317954
Change-Id: Ie83b25f40dd84e5b521a186077f23d343314201a
2016-08-02 16:09:54 +09:00
Dimitry Ivanov
f3ea5e1bae Merge "libsigchain: intercept bsd_signal on lp32" am: 6eb30f2060 am: 4e3a78a5ff am: c58ea7d777
am: 96be90067d

Change-Id: Ib8c9a123e1e821ec3e5b174f9c78bfd5399c166e
2016-08-02 02:34:38 +00:00
Dimitry Ivanov
96be90067d Merge "libsigchain: intercept bsd_signal on lp32" am: 6eb30f2060 am: 4e3a78a5ff
am: c58ea7d777

Change-Id: Ie2b5e51731c6daa24321a220eca0b7312ada6432
2016-08-01 23:10:54 +00:00
Dimitry Ivanov
4e3a78a5ff Merge "libsigchain: intercept bsd_signal on lp32"
am: 6eb30f2060

Change-Id: Iee2b7a8db495dd76bb6468a03e6cffd29a998cdf
2016-08-01 22:46:55 +00:00
Dimitry Ivanov
4c5281862f libsigchain: intercept bsd_signal on lp32
bsd_signal is a deprecated synonym for the signal. Nevertheless
there are apps and libraries calling this function.

libsigchain needs to intercept these calls and handle them the same
way it handles signal() call.

Bug: http://b/30562229
Test: readelf --dyn-sym app_process32 and check that bsd_signal is exported
      readelf --dyn-sym app_process64 and check that bsd_signal is not exported
Change-Id: Iec584070b42bc7fa43b114c0f884aff2db5a6858
2016-08-01 14:19:26 -07:00
Jesse Hall
b5f8fe1629 Merge \\\\"bootanimation: Call eglReleaseThread in threadLoop\\\\" am: 189bbd9f6d am: 9495872add am: 41ebe86049
am: af2a8a9ca6

Change-Id: Ic03306aadf473d0c5cf6954288c57b759186c807
2016-07-25 04:05:30 +00:00
Sai Kiran Korwar
af2a8a9ca6 Merge \\\"bootanimation: Call eglReleaseThread in threadLoop\\\" am: 189bbd9f6d am: 9495872add
am: 41ebe86049

Change-Id: I7927f23aa76cc17221e557d7f36b95bc23696a1b
2016-07-25 03:57:18 +00:00
Sai Kiran Korwar
9495872add Merge \"bootanimation: Call eglReleaseThread in threadLoop\"
am: 189bbd9f6d

Change-Id: Iaa5b3e60548ee2cce19cb4c31a6274d0ad877189
2016-07-25 03:46:44 +00:00
Jesse Hall
189bbd9f6d Merge "bootanimation: Call eglReleaseThread in threadLoop" 2016-07-25 03:36:57 +00:00
Eric Laurent
877ed1521f bootanimation: fix glitchy playback am: 197e47979a
am: 88e23db1ee

Change-Id: Id402ff19c495e0813dd32cb4897033760daead0e
2016-07-22 20:42:32 +00:00
Eric Laurent
88e23db1ee bootanimation: fix glitchy playback
am: 197e47979a

Change-Id: Idbde31bfa48916f829bc3a1f934bd894c3303fcc
2016-07-22 20:33:34 +00:00
Eric Laurent
197e47979a bootanimation: fix glitchy playback
Do not use low latency playback mode to be more
robust against scheduling problems during boot phase.

Also:
- remove unused reverb on output mix
- fix WAV file parser.

Bug: 30277818
Change-Id: I1e15d3003a25c93d4995006885b32a754d17343f
2016-07-22 11:31:25 -07:00
Geoffrey Pitsch
559e3bce85 Merge \\"Play boot sound on the System stream.\\" into nyc-mr1-dev am: 7d2f4cc750
am: bbb9d56a0e

Change-Id: I7286ca72cb20fa4f0339caff22ca50cd7564d43e
2016-07-19 19:17:37 +00:00
Geoffrey Pitsch
bbb9d56a0e Merge \"Play boot sound on the System stream.\" into nyc-mr1-dev
am: 7d2f4cc750

Change-Id: I83cea2be8c0f4700eb9f1808b1e713e08b1f2ef3
2016-07-19 19:13:05 +00:00
Dmitriy Filchenko
18e7dbe0b6 Merge \\\\"Handle long process names correctly.\\\\" am: e2994438d2 am: d5a72fae4a am: ea9616e48e
am: a2170b076b

Change-Id: I64722a3adb0f8d66c53d8b8445be5502824ab83e
2016-07-19 00:45:29 +00:00
Dmitriy Filchenko
a2170b076b Merge \\\"Handle long process names correctly.\\\" am: e2994438d2 am: d5a72fae4a
am: ea9616e48e

Change-Id: Ib14e7dbbba8f91de0491be9b91b5891ce8520c00
2016-07-19 00:39:17 +00:00
Dmitriy Filchenko
d5a72fae4a Merge \"Handle long process names correctly.\"
am: e2994438d2

Change-Id: I4edb617030ed2cedb394729f9ce94af080d3e358
2016-07-19 00:19:15 +00:00
Dmitriy Filchenko
f5b6e5590e Handle long process names correctly.
pthread_setname_np() expects 16 or fewer characters for the name argument. When the process name is longer, we should trim it.

Change-Id: I40be3a4212bdaab900c8eb30fa27aeeb7ed1b0d1
2016-07-18 16:03:05 -07:00
Derek Sollenberger
163c97a8ea Merge changes from topic 'skia_merge'
* changes:
  Fix include to match Skia filename change
  Remove references to SkImageDecoder (part 2)
  Update SkiaCanvasProxy with SkSurface API change
  Return DNG mimeType for the case kDNG_SkEncodedFormat
  Remove use of SkFixed. Update code to use SkGlyph.fAdvance[XY] after https://codereview.chromium.org/1737693006.
  skia SkDocument - new MakePDF API, fix leak
2016-07-18 12:07:44 +00:00
Geoffrey Pitsch
5613313533 Play boot sound on the System stream.
Turning down the ring volume will also turn down boot sound.

BUG:30132711
Change-Id: I902e56b20f105c27209dd47f054e98085647ee85
2016-07-15 10:50:04 -04:00
Matt Sarett
8898c16987 Remove references to SkImageDecoder (part 2)
As of this CL, SkImageDecoder is no longer used in Android and
will be deleted by Skia.

(cherry picked from commit 097a6ea4b65046df3e3cbf93d1acfc4e6833e02f)

Change-Id: Ic754ab0dde7ad1b65ccf3b2bc23fcbc5ef44ed08
2016-07-15 08:19:12 -04:00