672 Commits

Author SHA1 Message Date
Ajay Panicker
92b85c47ac Merge "Remove net_bt_stack group and replace it with bluetooth" am: 2309b98b25 am: 4a1fd7eb3d
am: bd25fec0d9

Change-Id: I3825be4ebe408de183ad2787ca3da0c17d706e0d
2016-09-22 21:58:14 +00:00
Ajay Panicker
35cb698a88 Remove net_bt_stack group and replace it with bluetooth
Bug: 31549206
Change-Id: I4da37bef5cff0e6054e952e6755905a5cc1e2e68
2016-09-20 23:05:50 +00:00
Jean-Michel Trivi
8c3e199ba6 Fix alarm Bounce: remove DC offset at beginning am: bcbb5c4e07 am: a833e1ca30
am: 57067c871d

Change-Id: I22065fdc052656dcd3e635ccab71886b10e05448
2016-08-24 23:53:13 +00:00
Jean-Michel Trivi
bcbb5c4e07 Fix alarm Bounce: remove DC offset at beginning
Bug 31047718

Change-Id: I8abc8c6d90be172fe2797b1e89d34fafa690e21c
2016-08-24 23:02:49 +00:00
Felipe Leme
84c784b49a Merge "Move DownloadsManager to permanent whitelist." into nyc-dev am: 31e3b14d6a
am: d116e0fc14

* commit 'd116e0fc1447470a1d7ca1d6f25f56b4e598f996':
  Move DownloadsManager to permanent whitelist.

Change-Id: Icbe617b4a5f894930b15923fe2a104d1957bb17a
2016-06-01 23:02:47 +00:00
Felipe Leme
9a1dfc9dab Merge "Move DownloadsManager to permanent whitelist." into nyc-dev
am: 31e3b14d6a

* commit '31e3b14d6a613934a8c44223fd77aff2ecc5c5a5':
  Move DownloadsManager to permanent whitelist.

Change-Id: I2d36bc51ff244a0890824e376602f22baa0c4b7b
2016-06-01 22:45:33 +00:00
Felipe Leme
05515ae925 Move DownloadsManager to permanent whitelist.
DownloadProvider is now based completely on JobScheduler, and deep
inside the platform we allow foreground
downloads (FLAG_WILL_BE_FOREGROUND) to run even while the device is in
doze, so it doesn't need to be temporarily whitelisted anymore.

BUG: 29056149
Change-Id: I3658bb42aeeee5d5528f91ec990d6e1bc54257b6
2016-05-31 17:50:39 -07:00
Jean-Michel Trivi
5a847c6e48 Merge "Additional alarm sounds for N" into nyc-dev
am: b97fdfa39a

* commit 'b97fdfa39afe0dd90ebfb821a839a509475fd47c':
  Additional alarm sounds for N

Change-Id: If309b5d5e1569bc5ac1dc78a4e4ff9e289af4b71
2016-04-28 22:24:11 +00:00
Jean-Michel Trivi
b97fdfa39a Merge "Additional alarm sounds for N" into nyc-dev 2016-04-28 22:14:02 +00:00
Felipe Leme
3923615a50 Merge "Whitelist Downloads Manager for Data Saver." into nyc-dev
am: 76d985f1df

* commit '76d985f1df75a67a16fda68dc08333a6acb0c636':
  Whitelist Downloads Manager for Data Saver.

Change-Id: I3cdadaf795434b876d70bb5f91c9d02222dbec3c
2016-04-28 20:27:36 +00:00
Felipe Leme
1d0fbedf45 Whitelist Downloads Manager for Data Saver.
BUG: 28431507

Change-Id: I0478ff48865951a7ebac94434f48ad0e272e0901
2016-04-27 17:11:37 -07:00
Jean-Michel Trivi
81c909760a Additional alarm sounds for N
All file have "ANDROID_LOOP=true" and "TITLE" set.

Bug 27880181

Change-Id: Ia2289b53f6b928e0d49a49281ff96cc5690863e5
2016-04-27 14:47:33 -07:00
Doug Felt
cecd14ed9c Merge "Update fonts.xml file for new noto fonts." into nyc-dev
am: 0037461

* commit '00374616b32b90fef82b17d0b102ca6f4b152bcd':
  Update fonts.xml file for new noto fonts.

Change-Id: Ia5c218b3b73d07052bd5078bdf527fc556da1594
2016-04-14 17:28:16 +00:00
Doug Felt
1d69547fb9 Update fonts.xml file for new noto fonts.
- Tibetan Bold, Symbols-Regular-Subsetted2.

Bug: 27531263
Bug: 26862061
Change-Id: I356bdf438748f29a6fbb5e199902fa574dd08da8
2016-04-14 03:26:18 +00:00
Svet Ganov
1b8789191d Merge "Keep read/write external storage as built-in permissions" into nyc-dev
am: 65136ac

* commit '65136ac6a4f6fb2423a0768b451782dcd0e960d5':
  Keep read/write external storage as built-in permissions

Change-Id: I2688ed6f57e92238afe729d636ad23c23af288cb
2016-04-12 22:22:56 +00:00
Svetoslav Ganov
65136ac6a4 Merge "Keep read/write external storage as built-in permissions" into nyc-dev 2016-04-12 22:11:19 +00:00
Svet Ganov
e5313a842a Keep read/write external storage as built-in permissions
These are permissions that were mapped to gids but we need
to keep them listed event though they are no longer mapped
to gis until an upgrade from L to the current version is to
be supported. These permissions are built-in and in L were
not stored in packages.xml as a result if they are not defined
in the platform.xml while parsing packages.xml we would
ignore these permissions being granted to apps and not
propagate the granted state.

From N we are storing the built-in permissions in packages.xml
as the saved storage is negligible (one tag with the permission)
compared to the fragility as one can remove a built-in permission
which no longer needs to be mapped to gids and break grant
propagation.

bug:27185272

Change-Id: I65e05c4f7edd9a934888b4d0974100aa4e9a9453
2016-04-11 10:03:18 -07:00
Jeff Sharkey
ae4a31f6ec Revert "Keep read/write external storage as built-in permissions"
am: 8ed9ece

* commit '8ed9ece93dca5c7266ca7d9c5fabe7c9a6b214e7':
  Revert "Keep read/write external storage as built-in permissions"

Change-Id: Ic52bb816d564076999ab7a220fd70a52228731b1
2016-04-09 23:08:52 +00:00
Jeff Sharkey
8ed9ece93d Revert "Keep read/write external storage as built-in permissions"
This reverts commit 4086750e30d04715d5be3ca6eaa75a4a1fa41d56.
2016-04-09 16:12:01 -06:00
Svet Ganov
2773d6d520 Merge "Keep read/write external storage as built-in permissions" into nyc-dev
am: 30f3759

* commit '30f37594e02e09903c56e1325cec85081f2aadb8':
  Keep read/write external storage as built-in permissions

Change-Id: If7a68c832d07d204bb18ae6ce5008433c8cce328
2016-04-09 20:25:56 +00:00
Svetoslav Ganov
30f37594e0 Merge "Keep read/write external storage as built-in permissions" into nyc-dev 2016-04-09 20:16:13 +00:00
Svet Ganov
4086750e30 Keep read/write external storage as built-in permissions
These are permissions that were mapped to gids but we need
to keep them listed event though they are no longer mapped
to gis until an upgrade from L to the current version is to
be supported. These permissions are built-in and in L were
not stored in packages.xml as a result if they are not defined
in the platform.xml while parsing packages.xml we would
ignore these permissions being granted to apps and not
propagate the granted state. From N we are storing the built-in
permissions in packages.xml as the saved storage is negligible
(one tag with the permission) compared to the fragility as one
can remove a built-in permission which no longer needs to be
mapped to gids and break grant propagation.

bug:27185272

Change-Id: I440f6ceb7bc4710dece1a2fadabc995b18fc2a83
2016-04-09 13:05:26 -07:00
Ying Wang
62ba1dfeff Merge "Fix dependency for fontchain_lint" into nyc-dev
am: 70dc7e2f

* commit '70dc7e2f06ff71d83412ee794488ff6d603755ab':
  Fix dependency for fontchain_lint

Change-Id: Idf17cd474f1c071b954ba5854f7436ae041c7068
2016-04-05 17:51:50 +00:00
Ying Wang
d5b46b19c6 Fix dependency for fontchain_lint
fontchain_lint scans directories in $(TARGET_OUT). There is no better
target working as dependency than the system.img.

Change-Id: I560b89f697e5ebd4f1e44a150f5af37996cf427e
2016-04-05 10:26:14 -07:00
Roozbeh Pournader
9da7bb7584 Merge "Re-enable emoji font tests" into nyc-dev
am: 2159f70

* commit '2159f7017dddaa376dd30786c7e6dcc0ecdf4cfb':
  Re-enable emoji font tests

Change-Id: I0091484be93861086200c01d44c3fb66b814b204
2016-03-31 22:28:30 +00:00
Roozbeh Pournader
27ec3ace18 Re-enable emoji font tests
This re-enables the emoji font tests, but doesn't run the tests if
SMALLER_FONT_FOOTPRINT is set.

Additionally, we test that there's one and only one emoji font in the
fallback chain.

Bug: 26187231
Bug: 27785690
Change-Id: I2e6d467e3f54ee3d41737170d7c2492a0f6b30f0
2016-03-31 13:23:15 -07:00
Roozbeh Pournader
97b8b9a92a Merge "Add emoji-related tests for the font chain" into nyc-dev
am: 276b1bc

* commit '276b1bc2ba980942e02f3b20c100be73b82d23fe':
  Add emoji-related tests for the font chain
2016-03-17 17:35:20 +00:00
Roozbeh Pournader
fa1facc0fd Add emoji-related tests for the font chain
1. Check that all emoji characters are supported in emoji fonts.

2. Check that no default-emoji characters are included in any font
that can get a higher score then the color emoji font, either by
being before it or by having a language/script assigned.

Bug: 26187231

Change-Id: Ic76bf59f1c6f9d2d290b1b64128d725ae08dcb5c
2016-03-16 13:57:22 -07:00
Roozbeh Pournader
f7ab0c684e Merge "Add test script for sanity of font fallback chain" into nyc-dev
am: e3dedf9f44

* commit 'e3dedf9f4481f41ab0a818e7c88197859a281aba':
  Add test script for sanity of font fallback chain
2016-03-11 23:54:12 +00:00
Roozbeh Pournader
0e969e2c0b Add test script for sanity of font fallback chain
Various tests have been added:

1. Availability of hyphens: Make sure that every font used for
rendering a language that is automatically hyphenated includes either
of Unicode hyphen characters U+2010 HYPHEN or U+002D HYPHEN-MINUS.

2. Range of values: Make sure that styles, weights, and styles belong
to certain limited sets.

Bug: 26187231
Bug: 21570828
Bug: 21815394
Change-Id: Ia63d63cc8da4f2d6bc81fe5619ccac6cfcd9a54e
2016-03-10 18:07:15 -08:00
Roozbeh Pournader
337ebb3206 Merge "Annotate fonts.xml with intended scripts" into nyc-dev
am: 349dc61cba

* commit '349dc61cbaf6876184f659695896158f4991f04d':
  Annotate fonts.xml with intended scripts
2016-03-10 06:44:26 +00:00
Roozbeh Pournader
9bd17ce738 Annotate fonts.xml with intended scripts
Add various ISO 15924 codes to fonts.xml, as a signal for better
font selection in Minikin.

Bug: 27582800
Bug: 26187231
Change-Id: Ie06c156e0179e79c15cf2d66d577c3d36571860d
2016-03-09 21:46:15 -08:00
Jim Kaye
d3a460233f Support keyboard entry of non-ASCII characters
am: b57679e2e7

* commit 'b57679e2e7fb6f133f6fe373d8036b74866476d8':
  Support keyboard entry of non-ASCII characters
2016-03-02 19:06:34 +00:00
Jim Kaye
b57679e2e7 Support keyboard entry of non-ASCII characters
Add characters to the keyboard mapping to allow them
to be entered into the AVD from the developer's PC
keyboard.

This mapping supports the non-ASCII keys that appear
on the "US International" keyboard. Most of the Latin-1
characters (but not all) appear on this keyboard.

This change does not remove support for any keys.

b.android.com/200042

Change-Id: I65d54eb36183382b171c388b26848941eb0ff8d9
(cherry picked from commit dac57966a9ddc2e3dbd233c8b1e7b83f60e11373)
2016-03-02 18:56:10 +00:00
Michael Wright
584e8d11a8 Merge "Add keylayout for Xbox One controller" am: 7416762be0
am: 605d619b1e

* commit '605d619b1eeef901661c9536b7921ac47960d110':
  Add keylayout for Xbox One controller
2016-02-17 22:55:10 +00:00
Tim Clark
66a25396b0 Add keylayout for Xbox One controller
Change-Id: Ifb4005ed7b6345c9af126d8f1bd22c7e2921871f
2016-02-17 17:26:06 +00:00
Roozbeh Pournader
b48f309e91 Merge "Restore DroidSansFallback to fonts.xml" 2016-02-05 18:35:14 +00:00
Roozbeh Pournader
3c8bec10a6 Restore DroidSansFallback to fonts.xml
The font was mistakenly removed in
Ib69e73a6682d7eedd7b824f1dadc79cbccf07605, while it is still built
for SMALLER_FONT_FOOTPRINT devices.

Change-Id: Icb62ef6ef7445255191c70110a2b5eb4105628ce
2016-02-04 14:22:20 -08:00
Ben Wagner
b013cfec0b Merge "Remove unused fonts." 2016-02-04 21:56:09 +00:00
Ben Wagner
cee5f2023b Remove unused fonts.
The fonts being removed are no longer referenced.

Change-Id: I3029bdc817a39f5000a1c3d067afc1d40e859b93
2016-02-04 15:02:00 -05:00
Chien-Yu Chen
bd098d4ed3 Merge changes from topic 'camera-hardening'
* changes:
  Add cameraserver process
  Camera: update connect call
2016-01-28 02:04:37 +00:00
Ben Wagner
8466f3c879 Remove NanumGothic and DroidSansFallback from fonts.xml.
These two fonts are no longer installed on a device.
This leaves the fonts themselves in place for the sdk build.

Change-Id: Ib69e73a6682d7eedd7b824f1dadc79cbccf07605
2016-01-21 11:54:06 -05:00
Chien-Yu Chen
75cade0a5f Add cameraserver process
Add UID and permissions for cameraserver process.

Bug: 24511454
Change-Id: Iccbda4b42e5584a1f56f9afe5e15a16f40dd2922
2016-01-11 10:56:21 -08:00
Roozbeh Pournader
37bcaf3b6e Merge "Replace Qaae script with Zsye" 2016-01-05 21:54:29 +00:00
Seigo Nonaka
dcf2ea2fbe Replace Qaae script with Zsye
The emoji variant script "Zsye" is registered in ISO 15924.

Bug: 26226285
Change-Id: Ie561d8192c4ec8f242706339ca67b44133867e50
2016-01-05 21:53:53 +00:00
Pavlin Radoslavov
fbd5904ce6 Use GID "wakelock" to control access to kernel wakelock
* Added GID "wakelock" (3010) to the list of groups the System Server
   belongs to.

 * Added GID "wakelock" to the list of assigned groups for the
   "android.permission.BLUETOOTH_STACK" Android permission.

 * Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"

Bug: 25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e
2015-12-28 15:14:44 -08:00
Pavlin Radoslavov
7016625473 Use GID "wakelock" to control access to kernel wakelock
* Added GID "wakelock" (3010) to the list of groups the System Server
   belongs to.

 * Added GID "wakelock" to the list of assigned groups for the
   "android.permission.BLUETOOTH_STACK" Android permission.

 * Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"

Bug: 25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e
2015-12-28 19:32:48 +00:00
Ben Wagner
8349b7a063 Use 'index' instead of 'ttcIndex' for attribute name.
There are two reasons for this. First, the name 'ttcIndex' is over
specific, there are many indexed font containers in addition to ttc,
such as fon, pfr, bdf, and dfont. There may be others in the future.
Second, Skia implemented this attribute with the name 'index' quite
some time ago. By naming this attribute 'index' even existing apps will
be able to use this attribute (including Chrome).

BUG: 10861108
Change-Id: I68d2b69fad304d93313f96bf3365af71906dfe69
2015-12-12 05:57:14 +00:00
Seigo Nonaka
671e581eb0 Merge "Use NotoSansCJK-Regular.ttc instead of separated font files." 2015-12-11 20:41:33 +00:00
Andy Hung
1aba5230c5 Merge "Add Android permissions for audioserver" 2015-12-11 20:08:49 +00:00