Commit Graph

7821 Commits

Author SHA1 Message Date
Eugene Susla
3aa1f6503e Merge "Check for uses-feature in Companion APIs" into oc-dev am: 7575fa7600
am: 0f88845e56

Change-Id: Ib5272433ce9af4356eb57c50235b488e3f2e2d5a
2017-04-25 06:52:53 +00:00
Eugene Susla
0f88845e56 Merge "Check for uses-feature in Companion APIs" into oc-dev
am: 7575fa7600

Change-Id: I99ca8f54d480a8a297a8e82d7c0883a628541b89
2017-04-25 06:46:24 +00:00
TreeHugger Robot
7575fa7600 Merge "Check for uses-feature in Companion APIs" into oc-dev 2017-04-25 06:42:06 +00:00
Kang Li
1a297e53dc Merge "Moved LRResolverRankerService to ExtServices, and added a permission to ensure that ResolverRankerServices are from trust sources." into oc-dev
am: 925d3cf211

Change-Id: I9174e1f12c78ff4f7bbd72446fbf10e09478dbe0
2017-04-24 21:31:25 +00:00
Kang Li
925d3cf211 Merge "Moved LRResolverRankerService to ExtServices, and added a permission to ensure that ResolverRankerServices are from trust sources." into oc-dev 2017-04-24 21:21:42 +00:00
Hugo Benichi
204cdaa5c5 Merge "Merge "Move byte logics from ApfFilter into BitsUtil" am: 21b9b3a8ff am: 12c1074c8b am: a80bb82b4e" into oc-dev-plus-aosp
am: 79ffb5a284

Change-Id: I9674c965169fd9dfd0412c80d9362f891bdeb59d
2017-04-24 21:09:19 +00:00
Hugo Benichi
7a0191b355 Merge "Move byte logics from ApfFilter into BitsUtil" am: 21b9b3a8ff am: 12c1074c8b
am: a80bb82b4e

Change-Id: I5f13b006b57cc8a3ab0560626077d003ce4fe8c8
2017-04-24 19:07:37 +00:00
Eugene Susla
aa43a4ba9f Check for uses-feature in Companion APIs
Fixes: 37629514
Test: Invoke API from app without uses-feature
Ensure an exception with an appropriate message is thrown
Invoke API from app with uses-feature
Ensure no exception

Change-Id: I53665732264ea2de2b4c8c251b1f00bf3a256dad
2017-04-24 11:17:06 -07:00
Hugo Benichi
495a17b332 Move byte logics from ApfFilter into BitsUtil
This patch extracts into BitUtils byte manipulation helper methods
and unsigned type manipulation helper methods from ApfFilter into
an independent and reusable structure.

Test: $ runtest frameworks-net
Change-Id: I0f33af10457a63dbde5983f14353a79b8cd877d9
2017-04-22 10:07:03 +09:00
Hugo Benichi
9910dbc682 Add BitUtils bit packing methods (Connectivity metrics: add transports pretty printing)
This patch is a partial cherry-pick from commit
df456e13a1 for the BitUtils and
NetworkCapabilities classes.

Bug: 34901696
Test: none

(cherry picked from commit df456e13a1)

Merged-In: Id04f9080e7f75608deeb49306aec34941e71794c
Change-Id: I64eae49f646365b7cd1683a689315fe03bf0bdd9
2017-04-22 09:58:42 +09:00
Matthew Ng
fe9e606112 Merge "Increases the minimized width in landscape by statusbar height" into oc-dev am: e00febf61c
am: 90734c3d7d

Change-Id: I831832fd22168ff443dca0b49f74e687107478ec
2017-04-21 20:47:19 +00:00
Matthew Ng
90734c3d7d Merge "Increases the minimized width in landscape by statusbar height" into oc-dev
am: e00febf61c

Change-Id: Icb24d1e3e2845544936268fbbb5d27b48681506d
2017-04-21 20:39:21 +00:00
TreeHugger Robot
e00febf61c Merge "Increases the minimized width in landscape by statusbar height" into oc-dev 2017-04-21 20:30:51 +00:00
Kang Li
0f80719a6f Moved LRResolverRankerService to ExtServices, and added a permission to
ensure that ResolverRankerServices are from trust sources.

Test: manually shared images in Camera, and in PTP to confirm it works
as expected.

Change-Id: I3549292d424fec949e9115faea7a0c5bdec06e87
(cherry picked from commit 61cf4d145e)
2017-04-21 19:56:59 +00:00
Kang Li
ee8187688e Merge "Moved LRResolverRankerService to ExtServices, and added a permission to ensure that ResolverRankerServices are from trust sources." 2017-04-21 19:53:35 +00:00
Kang Li
61cf4d145e Moved LRResolverRankerService to ExtServices, and added a permission to
ensure that ResolverRankerServices are from trust sources.

Test: manually shared images in Camera, and in PTP to confirm it works
as expected.

Change-Id: I3549292d424fec949e9115faea7a0c5bdec06e87
2017-04-21 15:44:51 +00:00
Jocelyn Dang
cc63daaf55 Merge "Add min and max learned battery capacity to batterystats." into oc-dev am: b2aa0ceb0d
am: f29eb24c4e

Change-Id: I8f86cadf46b4cb9dc3dc87c1137f3b876108fca3
2017-04-20 16:08:48 +00:00
Garfield Tan
7c3656dfa2 Merge "Add a null check for visibleFile." into oc-dev am: 1fb3e56998
am: 8a9a686c9f

Change-Id: I7ed34f0644cd219e5a1f295c91f3b81605526b15
2017-04-20 15:01:26 +00:00
Selim Cinek
00511d3dfb Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev am: 947be6bed9
am: c40344bf86

Change-Id: I849b78ceb45e22ab1b63bf4fbb88aac40625fd22
2017-04-20 14:57:42 +00:00
Jocelyn Dang
f29eb24c4e Merge "Add min and max learned battery capacity to batterystats." into oc-dev
am: b2aa0ceb0d

Change-Id: I9822b8540decfef15473f05ef08563699aa0d20e
2017-04-20 04:40:10 +00:00
Jocelyn Dang
b2aa0ceb0d Merge "Add min and max learned battery capacity to batterystats." into oc-dev 2017-04-20 04:34:14 +00:00
Eugene Susla
8ab86a6dc6 Add BitUtils (from "Support multiple filters per association request")
This patch is a cherry-pick of the BitUtils class from commit
36e866b8e0.

(cherry picked from commit 36e866b8e0)

Test: none
Change-Id: Iaf33929f6841db273a92d650e84287bf2964fa3d
Merged-In: I0a978787551a1ee5750ec5544b241d3bbfed5a7c
2017-04-20 12:16:48 +09:00
Garfield Tan
8a9a686c9f Merge "Add a null check for visibleFile." into oc-dev
am: 1fb3e56998

Change-Id: I7b6faf56a23a120707b9a611fe5bceb8cff5aef1
2017-04-20 01:06:59 +00:00
TreeHugger Robot
1fb3e56998 Merge "Add a null check for visibleFile." into oc-dev 2017-04-20 01:01:07 +00:00
Selim Cinek
c40344bf86 Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev
am: 947be6bed9

Change-Id: Idf18de3db5b8e42e3a705ed1746ea078a87b6f2a
2017-04-20 00:15:13 +00:00
Selim Cinek
947be6bed9 Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev
* changes:
  Changed the documentation of the colorization
  Fixed the appearance of colorized fullscreenintent notifications
  Adapted the interpolator when using fingerprint
  The row is now labeling the expand button
2017-04-20 00:08:57 +00:00
Jocelyn Dang
c627d10650 Add min and max learned battery capacity to batterystats.
BUG: 32645990
Test: manual

Change-Id: I3da569e48571cb86c640aed732abdf6c46a2bc73
2017-04-19 16:19:32 -07:00
Lucas Dupin
757561fb04 Merge "Internal copy of Palette API." into oc-dev am: 8b4cca11f3
am: 5086a1d005

Change-Id: I4d297f8ec8c68f6c1b8994a2cc7f59b360476419
2017-04-19 23:08:28 +00:00
Garfield Tan
d21af53763 Add a null check for visibleFile.
It's null if we're operating on an external thumbdrive/sd card etc. Add
a null check as we do in moveInMediaStore().

Test: Manual tests.
Bug: 37412897
Change-Id: Idd2c1d67a36893f980a239a9999c32369da27abd
2017-04-19 15:17:40 -07:00
Selim Cinek
622c64a9ce Fixed the appearance of colorized fullscreenintent notifications
Previously the background would stay grey.

Test: manual, add fullscreen intent colorized notification
Change-Id: Ib9eefacba58256d2cb0c6f0d70cf0e9b5afdaf06
Fixes: 35968024
2017-04-19 15:00:50 -07:00
Lucas Dupin
5086a1d005 Merge "Internal copy of Palette API." into oc-dev
am: 8b4cca11f3

Change-Id: Ie4ad73e57ca0b44d87986038874287ca6bab2f6d
2017-04-19 18:37:41 +00:00
TreeHugger Robot
8b4cca11f3 Merge "Internal copy of Palette API." into oc-dev 2017-04-19 17:24:07 +00:00
Keun-young Park
eefa94b96d Merge "fs_stat: ignore quota fix caused by tree optimization" into oc-dev am: f04390ed49
am: c5c30239d6

Change-Id: Ide5358102ff89310fbf987fc67f38104acd304be
2017-04-19 16:20:16 +00:00
Keun-young Park
c5c30239d6 Merge "fs_stat: ignore quota fix caused by tree optimization" into oc-dev
am: f04390ed49

Change-Id: I6c1a80a4a74e44973f08cefe7c7e392ea6e109a6
2017-04-19 16:16:54 +00:00
Keun-young Park
6bea235195 fs_stat: ignore quota fix caused by tree optimization
- tree optimization leads into quota fix which is not a real fix.
- Distinguish such case from real file system fix to get fs statistics
  correctly.
- This is only for correct fs stat metric collection. There is no
  functionality change in device side.
- Full parsing is only run when fs fix is detected from fs_stat.
  Examplt of fsck fix that will be ignored as optimization:
  e2fsck 1.43.3 (04-Sep-2016)
  Pass 1: Checking inodes, blocks, and sizes
  Inode 877141 extent tree (at level 1) could be shorter.  Fix? yes

  Pass 1E: Optimizing extent trees
  Pass 2: Checking directory structure
  Pass 3: Checking directory connectivity
  Pass 4: Checking reference counts
  Pass 5: Checking group summary information
  [QUOTA WARNING] Usage inconsistent for ID 10038:actual (71667712, 1000) != expected (71671808, 1000)
  Update quota info for quota type 0? yes

  [QUOTA WARNING] Usage inconsistent for ID 10038:actual (59555840, 953) != expected (59559936, 953)
  Update quota info for quota type 1? yes

  /dev/block/platform/soc/624000.ufshc/by-name/userdata: ***** FILE SYSTEM WAS MODIFIED *****
- also added unit test for the fsck log parsing

bug: 36391645
Test: many reboots with fs_stat check, runtest frameworks-services -c com.android.server.BootReceiverFixFsckFsStatTest
Change-Id: I86a97a3b50ee573db51d19d2cd243b8f7795a165
2017-04-18 21:39:05 -07:00
Matthew Ng
7ccdb52fc9 Increases the minimized width in landscape by statusbar height
Adds an extra 24dp (statusbar inset height) to the minimized width
in landscape and seascape.

Change-Id: Ia7b6b665a4ef01e5998d1ada0bbb4db02abb7f97
Fixes: 36529938, 36531002
Test: manual
2017-04-18 17:04:32 -07:00
Torne (Richard Coles)
1383a35c6f Merge "Add logging to WebView zygote package preload." into oc-dev am: 4396a74208
am: 061f809ae2

Change-Id: I3494be9bdd0827abb3fec827b63022042311dc8e
2017-04-18 23:56:23 +00:00
Torne (Richard Coles)
061f809ae2 Merge "Add logging to WebView zygote package preload." into oc-dev
am: 4396a74208

Change-Id: Ia2253843589ccb740706a8659b962c0da125d097
2017-04-18 23:51:57 +00:00
TreeHugger Robot
4396a74208 Merge "Add logging to WebView zygote package preload." into oc-dev 2017-04-18 23:43:25 +00:00
Casey Burkhardt
673e34e380 Merge "Minor UI adjustments to a11y button chooser" into oc-dev am: 585f7c1b20
am: 6d3b647619

Change-Id: Ib8a88a88e45c413023ade808fe230b7f7f1fa1fd
2017-04-18 21:31:08 +00:00
Casey Burkhardt
6d3b647619 Merge "Minor UI adjustments to a11y button chooser" into oc-dev
am: 585f7c1b20

Change-Id: If24ee756971f9322e0130983d065bb7ab291f12a
2017-04-18 21:22:33 +00:00
Torne (Richard Coles)
deeb6ade92 Add logging to WebView zygote package preload.
This is a potentially slow event and having a timestamp for when it
started/completed may help to track down a currently-open bug (as well
as enable us to see how long preloading took). This only happens once
per boot and once per WebView update so won't cause a significant amount
of logging.

Bug: 37347817
Test: check for messages in logcat on first use of WebView
Change-Id: Ib6c50eea71324f81cda5b5b1ac91f9dc806e0ab4
2017-04-18 17:19:49 -04:00
Casey Burkhardt
585f7c1b20 Merge "Minor UI adjustments to a11y button chooser" into oc-dev 2017-04-18 21:09:04 +00:00
Abodunrinwa Toki
2a68c9c4f9 Merge "FloatingToolbar: Rules for ordering menu items." into oc-dev am: 6d149bc953
am: ab95d6c9de

Change-Id: I105f471b60bf06775f80e5f9ac3ec9b4b78632dd
2017-04-18 13:13:27 +00:00
Abodunrinwa Toki
ab95d6c9de Merge "FloatingToolbar: Rules for ordering menu items." into oc-dev
am: 6d149bc953

Change-Id: I2cb81342813f3ea402044e9c067a066d76873f94
2017-04-18 13:08:26 +00:00
Abodunrinwa Toki
6d149bc953 Merge "FloatingToolbar: Rules for ordering menu items." into oc-dev 2017-04-18 12:58:33 +00:00
Robert Carr
00f123a39b Merge "DecorView: Avoid changing shadow size in Pinned Stack." into oc-dev am: cc824e77c8
am: 75fd277d58

Change-Id: I18c6eb12b3ca23d25e513be0deece45d2ac39f22
2017-04-18 02:42:04 +00:00
Robert Carr
75fd277d58 Merge "DecorView: Avoid changing shadow size in Pinned Stack." into oc-dev
am: cc824e77c8

Change-Id: I05368f1e5067b62652bd6b3d80dd438fe432723f
2017-04-18 01:37:12 +00:00
Casey Burkhardt
4c6436f880 Minor UI adjustments to a11y button chooser
- Allow scrim-touch or downward-drag to dismiss the chooser
- Ensure the bottom drawer takes up only as much space as it needs
  to prevent it from being draggable

Bug: 36871827
Test: Manual - verified appearance and behavior changes
Change-Id: I1779814a7ee386f4a32faed5c0eb799ebe4706e5
2017-04-17 16:36:09 -07:00
Lucas Dupin
440e8e9dbc Internal copy of Palette API.
Change-Id: I0cad1721df9fe3d01ed0c75fbec6ccd1f42ffc0a
Fixes: 37438780
Test: core compilation
2017-04-17 16:34:15 -07:00