History log of /frameworks/base/config/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0d326967c4a891b25cb85d68363d1abfa50ffe4 15-Jun-2018 David Brazdil <dbrazdil@google.com> Stabilize hidden API lists

Hidden API lists are auto-generated using a combination of Doclava
/Makefile rules and manually curated lists. As OEMs make their own
changes to the framework, they might arrive at slightly different
lists. This is not desirable as the entire ecosystem should enforce
the same rules. This patch adds the files generated by Doclava to
the code base, which will stabilize the lists for everyone.

The problem is exacerbated by the fact that the Doclava-generated
private-dex.txt contains only classes explored by Doclava. This can
change rather unexpectedly as OEMs make changes and start/stop using
internal classes otherwise only used in unexplored code. If the file
is extended, they might start blacklisting new APIs. If the file
shrinks, they might start whitelisting APIs they should restrict
access to and have trouble passing CTS.

(Avoid merging out of pi trees)

Test: m ; check that produced lists have not changed
Bug: 109824927
Merged-In: I0e9653d9cd7e4b748870bacb6fbcecae535ebb2a
Change-Id: I1463a06d6510e7051a64d5d516f4c589638ca11c
(cherry picked from commit 5999830557004ec70158e91cde2e9ff4e52dbb74)
iddenapi-private-dex.txt
iddenapi-public-dex.txt
iddenapi-removed-dex.txt
9d40aac1ae98757de9b9cc5e1e1d594b655ee584 13-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey APIs.

bug: 110157261
bug: 110065832
bug: 110179435
bug: 110174713
bug: 110191494
bug: 110282922
bug: 110289776
bug: 110314356
bug: 110340642
bug: 110382035
Bug: 110444248
Bug: 110447432
bug: 110378707

Test: m
Change-Id: I5d7c0f9d471eab22e23cc335f03cebecb642f871
(cherry picked from commit 43536175f2c29b1dcb15e3e104bd1aa11a0f3a4a)
iddenapi-light-greylist.txt
d8b064e2f36440e18e465e30c91a2d0e71867b67 08-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey APIs.

bug: 109894533
bug: 109889637

Test: m
Change-Id: I3bf3f5b846a48fe189131fb0f6a3be217c274554
iddenapi-light-greylist.txt
208c0ad30fb8a8b93d4f6cd985241e5533d52eb8 07-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add more APIs to light grey list" into pi-dev
1af8b4d1f43fea589e77d4b33a4e994bd3c7ba64 07-Jun-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Do not preload NoPreloadHolder classes" into pi-dev
ff207fdf868d14080d95288bc371510dde8e3e79 07-Jun-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "One more light grey addition." into pi-dev
fd707f670c3e0ab5f48b306709d908cb3cf9a63a 07-Jun-2018 Chad Brubaker <cbrubaker@google.com> Do not preload NoPreloadHolder classes

These classes cannot be statically preloaded in Zygote.

Change-Id: I7d9f10e634409bedfdd71f8daa43b8e23516638e
Fixes: 109652611
Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testCaCertManagement
reloaded-classes
72c0d56f66dd85b70102ddaa867054fb052bbe19 07-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> One more light grey addition.

bug: 109833930
Test: m
Change-Id: I0f2079e84827f1ee6425e5a73a135d2401a78443
iddenapi-light-greylist.txt
ac013ae464a823458c40bf7c9ad2fa1fe7882728 07-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add more light grey APIs." into pi-dev
c5b567b98b721c1606c5695579466762247d8531 07-Jun-2018 David Brazdil <dbrazdil@google.com> Add more APIs to light grey list

Bug: 109869624
Test: m
Change-Id: I3490b8cfba60f0be0c3d464b581ccca637af0549
iddenapi-light-greylist.txt
977446e090f2928d2306459792f49634a7a9e13e 07-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Manual update from a bugbot hidden API comment.

bug: 109761368
Test: m
Change-Id: I65cda12a0c4e48c888d3b08f63f9412b88ac248a
iddenapi-light-greylist.txt
ddcb11f92f8e671ace1d7e519875596fa15517e3 07-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Add more light grey APIs.

bug: 109841601
Test: m
Change-Id: I6f43c718a35a534f1b675cc116f2642e6a5b8a18
Merged-in: I6f43c718a35a534f1b675cc116f2642e6a5b8a18
iddenapi-light-greylist.txt
bfa0ee12cfa4112d0d269ce2f53e7f3a0f2fe56c 06-Jun-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Light grey bugbot updates." into pi-dev
8bf74c30f89a96a4a6812e697715037d94878217 06-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Light grey bugbot updates.

Bug: 109756637
Bug: 71814829

Test: m
Change-Id: Ic11a74a215315c71480cdd55ababdaab26f3577b
iddenapi-light-greylist.txt
d8269005fe621c1b2e8c6a1bcb967b17c864cb1d 06-Jun-2018 Calin Juravle <calin@google.com> Merge "Remove sun.nio.fs.UnixChannelFactory from preloaded-classes" into pi-dev
a9c8b17acf3e40166192bc976067cafa00006cd4 06-Jun-2018 Calin Juravle <calin@google.com> Remove sun.nio.fs.UnixChannelFactory from preloaded-classes

The tests use the preloaded classes to create the core image and
that leads to UnixChannelFactory being initialized despite the
fact that FileDescriptor is not. This manifests with a null pointer
crash in tests.

Bug: 80495283
Test: m test-art-host
Change-Id: I785104e6c69c605b16357a9557b203b489972261
reloaded-classes
reloaded-classes-blacklist
1bb35c2a218558f89a6823e60cdf9064b558c73a 06-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Add 3 more APIs to light grey.

bug: 109746802
Test: m
Change-Id: I9b9fbed705adc59c5266378b576fc437c5078184
iddenapi-light-greylist.txt
2bc11b29a24adcda2a76d821e8bab68af8e41398 05-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Add camera APIs to light grey.

bug: 79935371
Test: m
Change-Id: I1b29664d711b168ff36ed68d111524c8357c3c20
iddenapi-light-greylist.txt
23621e7f027657bd8e103f476e65ace2fd5f3bce 04-Jun-2018 David Brazdil <dbrazdil@google.com> Merge "Add another entry to hidden API light grey" into pi-dev
1147d70b0c7915fdde34674f0b0e542ddf1f80ba 04-Jun-2018 David Brazdil <dbrazdil@google.com> Add another entry to hidden API light grey

Bug: 80553977
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Ic63b7c21ec77ac67b495a5cc5b8b9336ba41fc46
iddenapi-light-greylist.txt
b4d26bdd4c36f9edc483205e8df4fbf0730aa486 04-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Add more light grey APIs.

bug: 109588718
Test: m
Change-Id: Ibf0d0366a2a20124dfaafbc39015a1eb3c1ecedf
iddenapi-light-greylist.txt
f225af4f6c7143fcfac837d87c9991ea91e55a5a 01-Jun-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Greylist bugbot updated - Thursday edition." into pi-dev
a78334f80cdaf6c169d69d5e4997539f614ce5bb 31-May-2018 Calin Juravle <calin@google.com> Merge "Update the boot image profile and preloaded classes" into pi-dev
eaecf8ba0149b1299319dc75cdb5eafc06ce31b9 31-May-2018 Nicolas Geoffray <ngeoffray@google.com> Greylist bugbot updated - Thursday edition.

Bug: 80060097
Bug: 80111179
Test: m

Change-Id: I9543df166da9f5b53ca97d0b3ad62ed89d73b5fe
iddenapi-light-greylist.txt
132e75bd51cfc559dad741c4386e4aca4c825308 31-May-2018 David Brazdil <dbrazdil@google.com> More additions to hidden API list greylist

Bug: 80456099
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Iee44f02c83e5d2c68e09b6c4f62c8faff2e74df8
iddenapi-light-greylist.txt
cbe39d1a567ccf76d07157b64d5db160e37fe4fb 31-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add MediaMuxer APIs to light grey." into pi-dev
4b72bcbeb47b6f3798816d7ba43d375dbc38b085 30-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add MediaMuxer APIs to light grey.

bug: 80338884
Test: m
Change-Id: I076f6033e3b6512a5667d81a09a451bda8853505
iddenapi-light-greylist.txt
4a054198d936a05dc775d3ea4ddfb58846bbd050 30-May-2018 Calin Juravle <calin@google.com> Update the boot image profile and preloaded classes

Data aggregated across 41 dogfood profiles from 10 different
(builds,devices). The threshold for preloaded_classes was 5.

What has changed:
preloaded_classes: 643 added, 1 removed
boot image profile: ~10k methods and classes added.

Test: m, build & boot
Bug: 73313191
Change-Id: Ic2662255081a5166180f4eb894d75b2e5bd76950
oot-image-profile.txt
reloaded-classes
reloaded-classes-blacklist
c0e7955ba050012f79d06f6b0b8725c8c2f4149c 30-May-2018 Nicolas Geoffray <ngeoffray@google.com> Hidden API bugbot update

Test: m
Bug: 76000369
Bug: 79619940
Bug: 80383631
Change-Id: Ie809ea7d97aa0a5a1bcf0b405a9b9c378591da20
iddenapi-light-greylist.txt
97b6425642e421af59d4ae9f09d2e184677d05cb 30-May-2018 Nicolas Geoffray <ngeoffray@google.com> More greylisted APIs.

bug: 80447248
bug: 80444865
bug: 80441306
bug: 80441307
bug: 80440630

Test: m
Change-Id: I8be93884ad770f885fed1afb3864ea5322902bb1
iddenapi-light-greylist.txt
a76418645500c492cc86d802c60e1ff37c0a49d1 25-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add one telephony API to light grey." into pi-dev
1b32d344575e974ac6e857706ac1631e622382ca 25-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "More light grey apis." into pi-dev
83ee75a2de0d8aa4aa30e262b33741b5fdcd9dc0 25-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey." into pi-dev
acde0e9450e33812c03efe928e1591b55225a02e 25-May-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey apis.

bug: 80270434
Test: m
Change-Id: I4877a782f9f8c0599de189d28df876d60d2c7b3d
iddenapi-light-greylist.txt
7fdc7838557fc5e0b9b653eca2283d8a55c64118 25-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add more light grey APIs.

bug: 80256659
Test: m
Change-Id: Ic2a0ecffcd039cb5474625e39264714b9eed768a
iddenapi-light-greylist.txt
3e89950ac0c87756e5ee92f89602b2b575011f69 25-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add SharedPreferencesImpl;->startLoadFromDisk()V to light grey.

bug: 80091112
Test: m
Change-Id: Ia7c0cf66408fb241b029778d248dd3b7e324727a
iddenapi-light-greylist.txt
364de82b2dc4f48d6aca5d02978654631411d89d 24-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add one telephony API to light grey.

bug: 80131205
Test: m
Change-Id: I70c0474e3ddedddbc25c5046e1695667a1283131
iddenapi-light-greylist.txt
85012c96324888b92aaf6eb902b1b9d882e5742d 24-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add some telephony API to light grey.

bug: 80149150
Test: m
Change-Id: I625f0721d4cff80c2f920a03f0058f99b729a950
iddenapi-light-greylist.txt
9ed0da42b3d827b5de251676dcd35e8fb5c33a5c 24-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add camera APIs to light grey." into pi-dev
2ed94a7e4c22b4c6414771e33d80069cf0679a58 24-May-2018 Mathew Inwood <mathewi@google.com> More greylist additions from bug scrape.

Test: m
Bug: 64382372
Bug: 79950834
Bug: 80004540
Bug: 80109977
Bug: 80112684
Bug: 80204728
Change-Id: I8343f0d467a5d1ecd4e00abcf44871089e8453b3
iddenapi-light-greylist.txt
d3655a3cc79ccda597fb5f2def737c1cd2ff3834 23-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add camera APIs to light grey.

bug: 79935371
Test: m
Change-Id: I14ef699eda8de053cfdda9b6d2678192f9c21d9a
iddenapi-light-greylist.txt
01f6055b466bd2e95d5e75de0b4385fcaaa5e5d6 22-May-2018 David Brazdil <dbrazdil@google.com> Add more hidden API to light greylist

Bug: 64382372
Bug: 73996629
Bug: 79871934
Bug: 79576591
Bug: 78034693
Bug: 74355140
Bug: 79580933
Bug: 79560744
Bug: 79560739
Bug: 79571047
Test: make
Change-Id: I5606cd3f1649a5cbb9a47484c22c88d3f57a463f
iddenapi-light-greylist.txt
16a3af93709443926cb06e9d7ce78ce0f20cf1cf 22-May-2018 Mathew Inwood <mathewi@google.com> Merge "Update light greylist from bug scrape." into pi-dev
dbebf322e1fad0fedb48c894a3c4e9f5ec47c857 22-May-2018 Mathew Inwood <mathewi@google.com> Update light greylist from bug scrape.

This now includes APIs seen during linking (from logcat messages from
dex2oat) as well as those seen at runtime using reflection.

Test: m
Bug: 64382372
Bug: 72979236
Bug: 74002300
Bug: 74240254
Bug: 77276180
Bug: 77533294
Bug: 77612705
Bug: 77638233
Bug: 78439615
Bug: 78441094
Bug: 78442580
Bug: 78482621
Bug: 78484047
Bug: 78484886
Bug: 79265613
Bug: 79780657
Bug: 79847479
Bug: 79885782
Bug: 79898172
Bug: 80029535
Bug: 80058256
Bug: 80060295
Bug: 80106076
Merged-In: I030fbea87730dbab7362581d4559f838e38e86d3
Change-Id: I2ff01b8163f436c337079c9d0de5b2680a6fd7be
iddenapi-light-greylist.txt
9b2938d25342ec7c2c46b0e335caa1b2050ef07f 22-May-2018 David Brazdil <dbrazdil@google.com> Merge "Add more hidden API usages into greylist" into pi-dev
7b8ac80db59176d7601d9c9eda4879b62571c439 22-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add new hidden-for-now AppOpsManager APIs to greylist." into pi-dev
7f122f6137476941103a4e277659cfc0bf3b1447 21-May-2018 Dianne Hackborn <hackbod@google.com> Add new hidden-for-now AppOpsManager APIs to greylist.

Bug: 78480444
Test: manual
Change-Id: I2a9c2040279df3d875b96edb4a686006f5114a76
Merged-In: I2a9c2040279df3d875b96edb4a686006f5114a76
iddenapi-light-greylist.txt
d70acdddd9202d48242fcd53b2fd8a47262fd3af 21-May-2018 David Brazdil <dbrazdil@google.com> Add more hidden API usages into greylist

Bug: 78610453
Bug: 80075119
Test: make
Change-Id: Ia0c7825a5a8c78bb7cfb89e8e9eca902dff9cd25
iddenapi-light-greylist.txt
177ee3d7a128fe0ea997efad9fb2e537c04890d9 19-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout" into pi-dev
f7b7426d81c5365473d00362cf158aa5ae35cee3 22-Nov-2017 Adrian Roos <roosa@google.com> Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout

ActionBarOverlayLayout used to drop WindowInsets, extract the content insets
as a rect, and then dispatch a modified rect to the content view; this because
there was no way to retarget the WindowInsets to the content view, and the
WindowInsets were not truly immutable. That means however, that other kinds of
insets than the content insets do not get dispatched, such as the display cutout.

To fix this, we add APIs to inset WindowInsets, make them immutable. Note that
a similar change is needed for the support lib.

Bug: 79733300
Test: atest ActionBarOverlayLayoutTest
Change-Id: I6a69d8462163ca5e66fdb53f83def6bc4063f8aa
iddenapi-light-greylist.txt
c4fa63383ff809ace66e753f922e2effa1321345 18-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "More light grey APIs." into pi-dev
5c22485903ca681be5f8d93760b43e1b220aef30 18-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "More light grey APIs." into pi-dev
72cf5459c23d5d7c8036ca249833abc5e7b6b85d 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add one new API to light grey.

bug: 78330253
Test: m
Change-Id: Iae2ce202d504208826bcbf114ce3895c0dcd7917
iddenapi-light-greylist.txt
f5149cd387a556ff31b60e2aa89e2a4ea1a1bb63 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey APIs.

bug: 74221770
Test: m
Change-Id: I1c3b02983846a4dcc2d5b9f1bfeb5b4ffc7ae171
Merged-in: I1c3b02983846a4dcc2d5b9f1bfeb5b4ffc7ae171
iddenapi-light-greylist.txt
3ffdfbfbc0843b83a64a634ef65fc23f36c27ce8 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add two more camera APIs to light grey." into pi-dev
30e5b27cfeef34727394e8ac0239fa74b7909e80 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "More light grey APIs." into pi-dev
b88b59fdee6e300fbadc9124fa9328acd6ef9264 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add two wake lock APIs to light grey." into pi-dev
78fdf4a21b3fc6b208f6b4e4952794cb234e930e 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey APIs.

bug: 79903825
Test: m
Change-Id: I06bd77f2b5a56390ce7484e5768d437ef3893af5
iddenapi-light-greylist.txt
7ea3f0cef7e9ec8b2bbf59e73ba081a1b97107b6 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey APIs.

bug: 78373177
Test: m
Change-Id: I1ce77829709ca5169876e8cdc360cb2df093c9f4
iddenapi-light-greylist.txt
b5ec993a4d0ddad221183009cfb1bd5b5c342c46 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add two more camera APIs to light grey.

bug: 79874141
Test: m
Change-Id: I4174dbb541e5fba46949c0b1be93a6a9736ed3ef
iddenapi-light-greylist.txt
4a08d4d605fdae53d09e70190e250426f4bba8c1 17-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add two wake lock APIs to light grey.

bug: 73171118
Test: m
Change-Id: I30f453c62a066dbd39b3c9d7a1ba29d892ff52a6
iddenapi-light-greylist.txt
c67a56ad83a68d53ce98687d5c3051e671195d7a 16-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add more APIs to light grey.

Also blacklist Ljava/lang/invoke/MethodHandles$Lookup;->IMPL_LOOKUP.

bug: 64382372
Test: m
Change-Id: I0c605ca03ce11f51bca806a9bb997df8f1ac6de3
Merged-in: I0c605ca03ce11f51bca806a9bb997df8f1ac6de3
iddenapi-force-blacklist.txt
iddenapi-light-greylist.txt
8e6445a1a5e693b8778ba3366b10edad10404002 15-May-2018 Jeff Sharkey <jsharkey@google.com> Merge "Let tests enumerate all transports/capabilities." into pi-dev
a66cc0da751791df79ff0058b86286778d90f7fe 15-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add RemoteViews.setIsWidgetCollectionChild to light grey." into pi-dev
a5ee62f356780bb94e3e78e5c45b3a7aedd922b0 14-May-2018 Jeff Sharkey <jsharkey@android.com> Let tests enumerate all transports/capabilities.

This gives them a way to collect all included values without
resorting to manual probing of each newly added value.

Bug: 16207332
Test: atest com.android.cts.net.HostsideVpnTests
Change-Id: I35ca412512dc8515b44d5518e1ca4caa5bdc678f
iddenapi-light-greylist.txt
183f753624a876c2a5fe120d9f5a6f257acacfa2 15-May-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Allow to create trusted BaseDexClassLoader" into pi-dev
740a3813eecb6c4761ab52d8d5a6ca212af0e04d 14-May-2018 Philip P. Moltmann <moltmann@google.com> Allow to create trusted BaseDexClassLoader

Currently the API is blacklisted.

Bug: 78235528
Test: Called the API after light-greylisting
Change-Id: I7f094a96262a9c8527b339a175f17f2addc87cda
iddenapi-light-greylist.txt
82db2614e450f92e373d0018a5b23d80c13511c2 14-May-2018 Mathieu Chartier <mathieuc@google.com> Merge "Update boot image profile and preloaded classes" into pi-dev
58f367438bef07b3db795bca2a85fe2e75c94b52 14-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add RemoteViews.setIsWidgetCollectionChild to light grey.

bug: 79611661
Test: m
Change-Id: I6606c0469315116cda04994d4db94a0163679a47
iddenapi-light-greylist.txt
bc7a12b01a0779a22d49c738404949eda3f863c7 14-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add some Settings APIs to light grey." into pi-dev
a1544d3ac7fa8a21bdf7e336ec5dba81cfce05f7 14-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add some related NetworkStatsService APIs in light grey." into pi-dev
749042e9860da1920db2b7715119c1a188469550 14-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add some Settings APIs to light grey.

bug: 79509209
Test: m
Change-Id: I7ca846623baa1b72fc45dd4a79c886bed8177e21
iddenapi-light-greylist.txt
200a74221d94364cce4acdd99e9f9f6247f8b0ce 14-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add some related NetworkStatsService APIs in light grey.

bug: 74474835
Test: m
Change-Id: I37f53663d0d5fdb11f9d366e17072ac4506266ac
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
a07c190e69c605b04d202dd87c608c53d2fe7461 14-May-2018 Nicolas Geoffray <ngeoffray@google.com> Bugreport greylist updates.

Monday edition.
Manual as it looks the tables haven't been populated yet.

bug:79630776
bug:79577968
bug:79604623
Test: m
Change-Id: I569b827821ed5651afab409a66704ba61a572a7c
Merged-in: I569b827821ed5651afab409a66704ba61a572a7c
iddenapi-light-greylist.txt
6ea19ebe0517441606d5e51f4a28626a6a119fc4 13-May-2018 Mathieu Chartier <mathieuc@google.com> Update boot image profile and preloaded classes

Data obtained from dogfood device.

Also updated system server profile.

Bug: 73313191
Test: make and flash sailfish

Change-Id: I9cf059f177a10e940e7cda1d12a8ed7429019c3c
oot-image-profile.txt
reloaded-classes
reloaded-classes-blacklist
53ae6a82cd5c6e1ff31707d9e9a811fb4810865a 12-May-2018 Winson Chung <winsonc@google.com> Merge changes from topic "sysui_flags_drop" into pi-dev

* changes:
Clean up Recents animation api
Expose the system ui visibility flags and translucent state with snapshot
7692904a7b20e489b4de1511b7bc64357eb21282 11-May-2018 Mathew Inwood <mathewi@google.com> Merge "Add APIs from public requests." into pi-dev
14b1596800fe1eb21c098f0857215e6f538929cc 11-May-2018 Mathew Inwood <mathewi@google.com> Add APIs from public requests.

Bug: 79477176
Bug: 79461371
Bug: 75254051
Bug: 77840247
Bug: 78456545
Test: m
Change-Id: I6588b65d4f4dccd5fe8bd8420b88c7830803c978
iddenapi-light-greylist.txt
4c3c03129ba95dccab30ba7579dc91b97843271f 10-May-2018 David Brazdil <dbrazdil@google.com> Include in hidden API dark greylist based on package name

Dark greylist has so far been populated with the remaining class
members of classes listed on the light greylist. This patch changes
the rule to include all remaining classes and class members in the
same package (sub-packages not included).

Bug: 64382372
Test: make -j64 out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
Change-Id: Icf3f60f1e776f092103c612fc3995ce0e66617ea
iddenapi-force-blacklist.txt
d6c814404385ffdc2b6586677e52afe92107df11 11-May-2018 Nicolas Geoffray <ngeoffray@google.com> Revert "Revert "Add static analysis data.""

bug: 64382372

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa
Merged-in: Ie0696a5eecf610165c4b9c339a789f76964a0623
Test: m

This reverts commit a11a78549d0930ddfc27746ab67b64f3e64f6004.

Change-Id: I8e82aa8cb30052555cbc4020ebe8a0c1157dc6e6
iddenapi-light-greylist.txt
34a06b86bd6d35133e0a3cd1f44ce8cde709c70e 09-May-2018 David Brazdil <dbrazdil@google.com> Greylist hidden methods for exempting trusted test code

Bug: 64382372
Test: N/A
Merged-In: I8bcc3d23d0b942e70a16a9d28ea0d21ce4fe75a2
Change-Id: I8bcc3d23d0b942e70a16a9d28ea0d21ce4fe75a2
(cherry picked from commit 0e348c5013b37843302fb2d3c558fd7961c592a4)
iddenapi-light-greylist.txt
a11a78549d0930ddfc27746ab67b64f3e64f6004 10-May-2018 Nicolas Geoffray <ngeoffray@google.com> Revert "Add static analysis data."

bug: 64382372

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa

This reverts commit 43293cfd3320661f3bfb19490ab0cf4927c1882f.

Change-Id: I324819bba610426f5ea63077275f792374386b6c
iddenapi-light-greylist.txt
43293cfd3320661f3bfb19490ab0cf4927c1882f 09-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add static analysis data.

bug: 64382372
Test: m

Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa
Change-Id: I1320c833bf2084d03627fca6bb1f5d365cf289c2
iddenapi-light-greylist.txt
e3a83403cd268d21ce7f52dffe971b726b1c9eb4 09-May-2018 Mathew Inwood <mathewi@google.com> Greylist updates, Wednesday edition.

Bug: 74002300
Bug: 79199145
Test: m
Change-Id: If21248dafb69423edeb04b7763a63433f40d832a
iddenapi-light-greylist.txt
0ebc883b2c6c94555d0078c1d79abe9a576d3480 09-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "More light grey additions." into pi-dev
6802e2a5536c2151dac14daa4ee44d0187d97ece 20-Apr-2018 Winson Chung <winsonc@google.com> Clean up Recents animation api

Bug: 73714156
Test: Ensure you can still swipe up

Change-Id: Ie70ed0edb05f54d17d3989895b86e07851c44c06
iddenapi-vendor-list.txt
13428c89658f6c065acd88fd58898f0c49e59730 08-May-2018 David Brazdil <dbrazdil@google.com> Merge "Greylist cloned SDK fields" into pi-dev
dffafa5b66939e12c2eb4e8b5867b4bd82e2400c 08-May-2018 David Brazdil <dbrazdil@google.com> Greylist cloned SDK fields

Doclava will expose a field from a hidden interface if it is inherited
by an SDK class by temporarily creating a new FieldInfo object which
pretends the field is in fact declared in the SDK class.

This mechanism was missed by the routine which prints non-SDK APIs
and the fields are considered non-SDK. Until this is fixed, put the
affected fields on the light greylist to unblock CTS tests.

Bug: 64382372
Bug: 73082683
Test: atest CtsCurrentApiSignatureTestCases
Change-Id: Ic10d26b82ad8f324280e0198f1d3e8b0ab824d35
iddenapi-light-greylist.txt
a08802dac12cf3d5ab8fb00fe0268cddf8eb39e2 08-May-2018 David Brazdil <dbrazdil@google.com> Merge changes I8b20e03c,Id1ef4ab5,Ie34adb8b into pi-dev

* changes:
Manualy blacklist certain hidden APIs
Populate hidden API dark greylist
Refactor build rules for hidden API lists
4b34f79a35a6602962ed1df1accd9d6ea6e41e77 08-May-2018 David Brazdil <dbrazdil@google.com> Manualy blacklist certain hidden APIs

Previous CL introduced the concept of populating the dark greylist
with remaining members of classes on the light greylist. This breaks
the assumption that some methods/fields will always remain blacklisted.
Introduce a new file which forces their blacklisting and adjust the
build rules accordingly.

Bug: 64382372
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: I8b20e03c50f4027a24d2a6081bedb08bc8a34011
iddenapi-force-blacklist.txt
721bc8e6a8b1350c62b4a570f523541d1ce1124a 08-May-2018 David Brazdil <dbrazdil@google.com> Refactor build rules for hidden API lists

The build rules were getting messy and too difficult to extend.
Extract assertions into own functions, create shared variables.

Bug: 64382372
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Ie34adb8b5349b30daa2e9e4976d285f6d9711f0e
iddenapi-dark-greylist.txt
143ed4d81c2c8560dc63faff802f75e08a4ed51b 08-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add some JobInfo APIs in light grey.

bug: 79258941
Test: m
Change-Id: Ief508c5785482a28ee0262cc168b01d3b632fbfa
iddenapi-light-greylist.txt
69c08cf460d29c3d77b4fcc6201c04092ba0105e 04-May-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey additions.

bug: 79231527
Test: m
Change-Id: Iad15afc588b9ae06f947ef811253afe3ce996e25
iddenapi-light-greylist.txt
1ae21127da365c3fe8e4b882aa278e8abe74aeaf 07-May-2018 android-build-team Robot <android-build-team-robot@google.com> Merge "Bluetooth: Fix HFP SCO logic and documentation" into pi-dev
8453ddd98e9b93d363cb1f59a8382cea8feb2789 07-May-2018 Mathew Inwood <mathewi@google.com> Greylist updates from bugs, Monday edition.

Bug: 70902300
Bug: 73426088
Bug: 77584762
Bug: 78471731
Bug: 79187318
Bug: 79245978
Bug: 79264141
Bug: 79265613
Bug: 79324905
Test: m
Change-Id: I1355518ca1668d79e6d3da3bcd117dc752c85e62
iddenapi-light-greylist.txt
89f979849a5cf2fa4e16d4f24ab41409f16a9956 03-May-2018 Jack He <siyuanh@google.com> Bluetooth: Fix HFP SCO logic and documentation

AudioService:
* Call setBtScoActiveDevice and setBluetoothScoOn both in AudioService's
broadcast receiver so that these two methods must be triggerred in
the same sequence as ACTIVE_DEVICE_CHANGED and AUDIO_STATE_CHANGED
intents are sent and we no longer need to handle race condition by
synchronously checking active device in setBluetoothScoOn
* Default sco audio mode when no headset is active should be virtual
voice call, as many HFP devices do not accept SCO audio without an
ongoing call
* Synchronize checkScoAudioState() method with mScoClients
* Add helper functions connectBluetoothScoHelper and
disconnectBluetoothScoHelper to call various SCO setup and tear down
methods based on sco audio mode
* Try raw, virtual call, and voice recognition mode when disconnecting
externally started SCO
* Add new sco state SCO_STATE_DEACTIVATING to allow back to back calling
of startBluetoothSco and stopBluetoothSco

Audio Manager:
* Modified AudioManager logic so that removed devices callback is called
before newly added devices

BluetoothHeadset:
* Modified BluetoothHeadset so that start and stop SCO using virtual
voice call no longer need a parameter and will use active device by
default
* Modified documentation around various sco mangement APIs to match
their expected behaviors

Bug: 76114959
Test: VoIP calls sanity test cases
Change-Id: Id50db88f4ff36069b0f392c81dd9d90c24cd2206
iddenapi-light-greylist.txt
854c050ccbf50da6d805f9362831d2fbfedaf796 04-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Light grey some View APIs." into pi-dev
a0e2aa194f240c8880277eec15e7872760f5f19e 04-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add more light grey APIs." into pi-dev
a73e4cccc31f09dea92e360d0e2e9ed08a397622 04-May-2018 Nicolas Geoffray <ngeoffray@google.com> Light grey some View APIs.

bug: 79206637
Test: m
Change-Id: Ibbc28177f7946367657f9880a7f255488fb4d0cc
iddenapi-light-greylist.txt
eb43503f1925d36caf346ca9d76eb7a8dfa7725a 03-May-2018 android-build-team Robot <android-build-team-robot@google.com> Merge "Greylist additions from bugreports, Thursday edition." into pi-dev
e4cf84138c465a6767286ae711d255819ae575d6 03-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Light grey APIs." into pi-dev
f4e0438a46e7d9194338933ca5689dc769e43a57 03-May-2018 android-build-team Robot <android-build-team-robot@google.com> Merge "In place split install native support" into pi-dev
0df2bcd8f8d2aea87cee5a33756cc6fc5e757f48 03-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add more light grey APIs.

bug: 78481926
Test: m
Change-Id: I697d4a8f1d11e3187b07e422629e89ca3a21fa3a
iddenapi-light-greylist.txt
ff2116113639eeb2c403cd0eb98a3812a8d4565c 03-May-2018 Nicolas Geoffray <ngeoffray@google.com> Light grey APIs.

bug: 79074635
Test: m
Change-Id: I5013e7e71777357a75cceaba9cddeb7bd622102b
iddenapi-light-greylist.txt
6da35b964ede04d9aff1b938bcddb20adbe99468 03-May-2018 Mathew Inwood <mathewi@google.com> Greylist additions from bugreports, Thursday edition.

Bug: 72974713
Bug: 75406528
Bug: 75985094
Bug: 77500881
Bug: 78540770
Bug: 79126374
Bug: 79159669
Bug: 79163074
Bug: 79163553
Test: m
Change-Id: I8757a66bf625388e6f6419714ef5bba7af5d93ea
iddenapi-light-greylist.txt
0d659e57b6a719efebedeb097a7c66d5e0c7638e 03-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add sql methods into light grey." into pi-dev
91a14dec3ccaae0156a1754c6ca13062cadc61a6 03-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add IWindowManager.setAnimationScales to light grey." into pi-dev
eb368af5b0f01354d27703c9bb033a35afd3974b 03-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "More light grey apis." into pi-dev
2886f40ffc670865e116c23c2639268f6b80c5a2 03-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add sql methods into light grey.

bug: 79147309
Test: m
Change-Id: Ia986d123e1e87489fec98e2d16c94b74119696c4
iddenapi-light-greylist.txt
140fe606fb41f9ed7e7c50a0f2e6c243c8fc1024 02-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add IWindowManager.setAnimationScales to light grey.

bug: 78784393
Test: m
Change-Id: Id29ebe3071fbfd54935aba52a8dedc8ed8e68495
iddenapi-light-greylist.txt
05b5cfd453ad3e36fab7d2eb2d93c93b6d41fd1c 02-May-2018 android-build-team Robot <android-build-team-robot@google.com> Merge "Greylist updates from bugreports, Wednesday edition." into pi-dev
0585533a85c2d366650f7be3fac10f1473806956 25-Apr-2018 David Brazdil <dbrazdil@google.com> Merge non-SDK @removed API and light greylist

@removed APIs are not part of the public SDK but we do not want
to block access to them. Use the recently added removed-dex.txt
list of @removed API signatures and merge it into the hidden API
light greylist programmatically.

Note that due to Doclava's rule precedence, @removed APIs which
override a public SDK method are considered public and are
whitelisted. We have to intersect removed-dex.txt with private-dex.txt
to satisfy the rule that light greylist is a subset of private-dex.txt.

Bug: 78182899
Test: make out/target/common/obj/PACKAGING/removed-dex.txt
Change-Id: I44e54c405fc667d54a990b9ded1de8456802545e
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
4aa1871e19fc15d2781751fcbbe34874fa70bc2f 02-May-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey apis.

bug: 79110492
Test: m
Change-Id: Ic83c6cfe28828f5c0b1a45eabfaa3e8ec3d54d81
iddenapi-light-greylist.txt
7e5e5656bd20ed35a0011a9ef69d86ffa60e129d 02-May-2018 Mathew Inwood <mathewi@google.com> Greylist updates from bugreports, Wednesday edition.

Bug: 78309612
Bug: 78471731
Bug: 78479712
Bug: 78596948
Bug: 78786637
Bug: 78906153
Bug: 79129056
Test: m
Change-Id: I1f6eb4e8de51ebf223b6863606a0a6401be03d9d
iddenapi-light-greylist.txt
f90e8323ff7a5a49de3ccd3a25e4d8bbe9ac3472 02-May-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add more light grey APIs." into pi-dev
6f6eedf81f2139d34e9977a3529f30c872a554a0 02-May-2018 Nicolas Geoffray <ngeoffray@google.com> Add more light grey APIs.

bug: 64382372
Test: m
Change-Id: Ia6f389ffb22f052409fc307de89cfef8d2fbeee4
iddenapi-light-greylist.txt
1bea237aa296a35c263f0c4965ba0f5a140cd848 13-Mar-2018 Patrick Baumann <patb@google.com> In place split install native support

This change makes it possible for apps installed with the DONT_KILL flag
set to obtain access to newly installed native libraries while avoiding
double load of existing native libraries prior to the install when
loaded using System.loadLibrary.

Bug: 72047376
Test: manual - used sample app to verify availability of native libs
Change-Id: I331eaa48da1f8dee424584911317ec3fba92f873
iddenapi-light-greylist.txt
6efad9a629ca14dc438c0c2759c8ef08ad1f3d0c 30-Apr-2018 Mathew Inwood <mathewi@google.com> Greylist updates from bugreports, Monday edition.

Bug: 73625163
Bug: 78583019
Bug: 78784673
Bug: 78795708
Test: m
Change-Id: I9970cb6c650a9e340b9a380270bbfaaf4c59f5a8
iddenapi-light-greylist.txt
ed2685179f7e9278cbf4f5bed5b57831c68b8481 27-Apr-2018 Mathew Inwood <mathewi@google.com> More greylist additions from bugreports.

Bug: 74081083
Bug: 77762858
Bug: 78369578
Bug: 78576150
Bug: 78576770
Bug: 78587096
Test: m
Change-Id: I4147c898d7cada9ea8352223b0d932e190fd743e
iddenapi-light-greylist.txt
4bc7dc95e38b53ffa17d2b65618419695acb65f8 26-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add A2dp.disconnect() hidden API to the greylist" into pi-dev
4778f6cb0f9a468f4ff1a446362573553de8e85d 26-Apr-2018 John Reck <jreck@google.com> Merge "Add missing Insets#top/bottom fields to greylist" into pi-dev
cd9896d7633cf8c2b25cf7a147722e841a1e9467 26-Apr-2018 Pavlin Radoslavov <pavlin@google.com> Add A2dp.disconnect() hidden API to the greylist

Bug: 78635603
Test: Code compilation
Change-Id: Ic407e473f44626fd0b056078b3d9a5d648480cc3
iddenapi-light-greylist.txt
4ef2fb51739f62bf5f9c190158a1c3c117175935 25-Apr-2018 Mathew Inwood <mathewi@google.com> Add more API accesses from bugreports.

This includes APIs accessed by 'linking', but only those detected at
runtime (i.e. excluding dex2oat invocations).

Test: m
Bug: 77272253
Bug: 77533294
Bug: 77854069
Bug: 77912264
Bug: 77988118
Bug: 78265113
Bug: 78339426
Bug: 78370565
Bug: 78437948
Bug: 78438386
Bug: 78439315
Bug: 78441396
Bug: 78484047
Bug: 78484886
Bug: 78513977
Bug: 78515673
Bug: 78529635
Change-Id: I9f07b650f565562d43c50e0606ec52a37c797ce7
iddenapi-light-greylist.txt
eb0e982228d0fe65a60d3659faf6fabaa9fd2595 25-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Add new hidden APIs" into pi-dev
72b1a7ecb9d20456af0352bfd7ef7c1c7345c526 25-Apr-2018 Mathew Inwood <mathewi@google.com> Merge "Add more light greylist entries." into pi-dev
768a9530e0c15d6f348eaea837cfe238cd30785c 25-Apr-2018 David Brazdil <dbrazdil@google.com> Add new hidden APIs

Bug: 78552452
Test: make
Change-Id: I73dc97a33b645f6cd9b7bf4a37254737ed3107ce
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
36c643ed4f5168824e1e2a62dba3d6c91fb22350 25-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "New light grey APIs." into pi-dev
3d3365634778fe84e3677e408d8804516107c3e4 25-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "More light grey APIs." into pi-dev
cf5837c3700b664316b69d9e691fb7afc696ed63 24-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add more light grey APIs.

bug: 64382372
Test: m
Change-Id: Ib15b65c376e4038232d4c1e04d10e508b34786af
iddenapi-light-greylist.txt
1c1053b028b981f28f9094e4ab9ed82fb06b5fc3 24-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> More light grey APIs.

bug: 78436346
Test: m
Change-Id: I8bff5332abc93d49170c77fabb589bbcfa9249b6
iddenapi-light-greylist.txt
e278dc03332ec2c5b5dac81cf3daf913bf9ec73b 24-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> New light grey APIs.

bug: 78471731
Test: m
Change-Id: I52f34f735873de485a73169f1ebbffe9484d0fb7
iddenapi-light-greylist.txt
73ee454852d559969aa2bd65ea19dd0e292e93bd 24-Apr-2018 Mathew Inwood <mathewi@google.com> Add more light greylist entries.

Scraped from bugreports by the compat bugbot module. See
go/hidden-api-colab for more details.

Test: m
Bug: 74410240
Bug: 77459362
Bug: 77927354
Bug: 78084664
Bug: 78371474
Bug: 78433404
Bug: 78436346
Bug: 78438386
Bug: 78467671
Bug: 78471731
Bug: 78483748
Bug: 78484047
Bug: 78485081
Change-Id: Ie79f892d5cdccef442944286cc718a079bc3031f
iddenapi-light-greylist.txt
e5dc64d4281dd9f38c2b585202e26ae4278fcfc5 23-Apr-2018 Mathew Inwood <mathewi@google.com> Add presubmit hook for hidden API lists.

Check that they're sorted as expected and contain no duplicates.
The sort order now uses:
$ LC_COLLATE=C sort -f

So that non-alphanumeric characters are not ignored, giving a more
intuitive sort order. the '-f' means ignore case.

Also sort the existing lists accordingly.

Test: repo upload
Bug: 64382372
Merged-In: I52b884da33a9a46455df6747a215683d9d3c3218
Change-Id: I4cdd3bc5c11be91a9a3f678580af49ac67f3c968
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
1b0c0a3e52cba7b47739bdab21216634478cf079 23-Apr-2018 David Brazdil <dbrazdil@google.com> Add more hidden APIs to light greylist

Bug: 78242776
Test: make
Merged-In: I3e1f6acd805ca73509a896066a336432f29d0c87
Change-Id: Ieb2eb62201a6f270afd76ae3f6e5ca6226dd57a6
iddenapi-light-greylist.txt
005964ce2f5373d235d9afb44adbfe95edd8a9d3 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add light grey APIs.

bug: 78142888
Test: m
Change-Id: If251bd9af25a636946ef965baee354b1b9067bf5
iddenapi-light-greylist.txt
54e0be0d25be47bb0af84cf16438cf328f9e84ed 23-Apr-2018 Mathew Inwood <mathewi@google.com> Merge "Light greylist additions." into pi-dev
56efac3483a1fde33ba87661a132ce3a9effd650 23-Apr-2018 Mathew Inwood <mathewi@google.com> Light greylist additions.

These are scraped from bugreports attached to numerous bugs. They all
related to reflective API accesses (not linking).

Test: m
Bug: 64382372
Bug: 33010617
Bug: 62090571
Bug: 69061609
Bug: 73554018
Bug: 73741036
Bug: 74234537
Bug: 74240254
Bug: 76097575
Bug: 76134480
Bug: 76231474
Bug: 76390527
Bug: 77154412
Bug: 77289927
Bug: 77319364
Bug: 77481479
Bug: 77675425
Bug: 77735374
Bug: 78045614
Bug: 78242776
Bug: 78322423
Bug: 78436746
Bug: 78437951
Bug: 78438371
Change-Id: Ibe00e41e7c8cb4e79a245a41fc50a1744266ecb5
iddenapi-light-greylist.txt
35bd79484b0186c63d68017903131fed200b6f08 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add more light grey APIs.

bug: 64382372
Test: m
Change-Id: I1d36c4d1087e8b9a184487ede4f567e778e1589e
iddenapi-light-greylist.txt
519249f4725790794d51964289efc4fc6b627755 23-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Greylist test API for CtsSliceTestCases" into pi-dev
d60512c0d9570898f3262fa7dc17785f3a3d1fa1 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add light grey APIs." into pi-dev
52a11060862133d202b7cfcd5d6b6958e31c4b6b 19-Apr-2018 David Brazdil <dbrazdil@google.com> Greylist test API for CtsSliceTestCases

The test invokes two hidden methods inside a ContentProvider.
Since we cannot exempt those, add the two methods to light greylist
until they are made @TestApi.

Bug: 64382372
Test: run cts --module CtsSliceTestCases
Change-Id: I9bc0c23282c1744f4b93b9d84fcdd022f70859c2
iddenapi-light-greylist.txt
1f4d564713c0f1470fd823d6205be0324e7e4bfb 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add java.io.File fields to light grey." into pi-dev
afc5b242d1a325a5963b4d3ccd62245cbad1bf1c 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add camera APIs to light grey." into pi-dev
144d5acdf5ca228c8d7a1a8049a7bbaef72d6f8b 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add light grey APIs." into pi-dev
bbfe498aefeb403ac224b5fc1d890f1e7ca65f5a 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add APIs to light grey." into pi-dev
d7b98e1033f29638eaadd23e6cc69665d7494072 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add SELinux->getFileContext to light grey." into pi-dev
b6f9d404950484db9f9f88a5db623d83119cf3fd 23-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Light grey some APIs." into pi-dev
20da3941ef6109c2f38e06557897e63e89b8a571 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Light grey some APIs.

bug: 64382372
Test: m
Change-Id: I95fc5850ddfab08715bdbe4f2457965638d4a5d7
iddenapi-light-greylist.txt
f3fb2f7d0a10dafd1d61f4bd98e66860129c0ca1 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add SELinux->getFileContext to light grey.

bug: 64382372
Test: m
Change-Id: Ifd5c3f3aeb6f87c93a1022667121f2f448f1cb90
iddenapi-light-greylist.txt
503ead0ef0e88a3650a026220b9f73f8137cc8d2 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add camera APIs to light grey.

bug: 64382372
Test: m
Change-Id: I610725a1d37d23fc482a985f1237864b72630ce0
iddenapi-light-greylist.txt
9e5aad63a7f50e44a33235b171522bb976ecf449 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add java.io.File fields to light grey.

bug: 64382372
bug: 78024111
Test: m
Change-Id: Iaa330f261d31a2f1cb5b8e3351b09af6a30567ae
iddenapi-light-greylist.txt
55ca4d33fec00a3d6d8820e616390a44e4cf9ea9 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add light grey APIs.

bug: 64382372
Test: m
Change-Id: If15820dda1c985dc8d367d211732611d0a56bd26
iddenapi-light-greylist.txt
1fcc87cf62eee47975970decb9c6feb348424f61 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add light grey APIs.

bug: 64382372
Test: m
Change-Id: I7c064a3af390a76f419176b1306328fcba8041d7
iddenapi-light-greylist.txt
44f0c148859296ea8af1b329ac331428fceb2633 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add APIs to light grey.

bug: 64382372
Test: m
Change-Id: I340be61396fa7736c305333e02a54591e416286b
iddenapi-light-greylist.txt
9aa2a33cf363f12b33b9481bb1c1ff48ff55f2fe 20-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Add intrinsics on light greylist" into pi-dev
75d3d96084c906873f94457fcd285daf7a3b9e33 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Light grey java.net.HttpCookie fields." into pi-dev
2c321ccd7e8341f4d49712152bdc7c96a35fe51f 20-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add some widget APIS to light grey." into pi-dev
6849359b9b2c8092758a74cacde13af726bce47b 19-Apr-2018 John Reck <jreck@google.com> Add missing Insets#top/bottom fields to greylist

These are accessed by support library's
DrawableUtils#getOpticalBounds

Bug: 77625139
Test: builds
Change-Id: I6aa225741d945d17690b838192f7f807b441bc33
iddenapi-light-greylist.txt
622b852670437697db8c00bb5870440586b92957 19-Apr-2018 David Brazdil <dbrazdil@google.com> Add intrinsics on light greylist

Put intrinsics which are hidden API on light greylist. These were
implicitly considered white so far, so we would not have seen warnings
about their uses and should greylist them for P.

Note that these have been greylisted before in CL
I8fba27a529a83751ab27859b1c1b791ab85786cf but the CL was reverted.

Bug: 64382372
Test: make
Change-Id: I21fe58d244b8b43bf4ddeab556c805d256c13512
iddenapi-light-greylist.txt
9c603f7f585b7178b6671bd055448cbadbdcc82c 19-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add some widget APIS to light grey.

bug: 78045614
Test: m
Change-Id: I77c7059e55a3504173f29c0cf263b77f5ecb8012
iddenapi-light-greylist.txt
6e067d0d81f06b235a4edf3cc18d01102332b917 19-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Light grey java.net.HttpCookie fields.

bug: 78182056
bug: 77925754
Test: m
Change-Id: I930ad319e8477ac93ab19632565e3696317053e1
iddenapi-light-greylist.txt
b7f1777d0a473670787115d8ad20fff9ac137a00 19-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Add one more hidden API to light greylist" into pi-dev
2339132f7997db6fa25826638eb7dcf7026c6089 19-Apr-2018 David Brazdil <dbrazdil@google.com> Add one more hidden API to light greylist

Bug: 78229662
Test: make
Change-Id: I603e48d795d6d805f46389f9edbd81ffd6c66696
iddenapi-light-greylist.txt
9e38dfaec49157b89cc160b28dc3568b7b6a2cbe 18-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add UUID->leastSigBits to light grey.

bug: 78125653
Test: m
Change-Id: I0fd8fd1711505e14a0de33db509c7472a2c38d8c
iddenapi-light-greylist.txt
b914565f6ac1cdf8fb7d86ff8160e5854cda020c 18-Apr-2018 David Brazdil <dbrazdil@google.com> Merge changes I9876ff6b,Iccd7c1c1 into pi-dev

* changes:
Add more hidden API on light greylist
Add Thread.contextClassLoader to hidden API light greylist
6644a0ec4fd6d498538f6fe6fb5613b6320b187b 18-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Delete hiddenapi-blacklist.txt file" into pi-dev
a74badbe26ce1aeef267f661891f8253f8cf1a98 18-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Sort hiddenapi-light-greylist.txt" into pi-dev
b1b2e0e92c2abe830dfe77cd398179c1e4bbb6c5 18-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add UUID->mostSigBits to light grey." into pi-dev
7ed85131660da7d3058d788d39b55dc21ece3d3d 18-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add Landroid/app/LoadedApk;->mLibDir:Ljava/lang/String; to light grey." into pi-dev
df15897b0740cda922302fa7983bbbdb9f8b2211 18-Apr-2018 David Brazdil <dbrazdil@google.com> Add more hidden API on light greylist

Bug: 78210188
Bug: 78182899
Test: make
Change-Id: I9876ff6bc9477f51d6a5ba9370c6a1742210f86a
iddenapi-light-greylist.txt
06b59756fa421537fe5e43de2b9bf644aaf6760a 18-Apr-2018 David Brazdil <dbrazdil@google.com> Delete hiddenapi-blacklist.txt file

The file is empty and not used, and its presence confuses people.
Remove it.

Bug: 64382372
Test: make
Change-Id: I8646a78b96d81dd38e5c58460d354430babd9d53
iddenapi-blacklist.txt
02795c946f221d37ec2dc8decde4dcd376f8a77e 18-Apr-2018 David Brazdil <dbrazdil@google.com> Sort hiddenapi-light-greylist.txt

Previous CL Ide42eacc8db4e403432ddd9d952495dda85db0ac left it
unsorted which makes it difficult to programatically add new APIs.

Bug: 64382372
Test: make
Change-Id: Iff35925d9ad64d8a98e59c1b8c4094d59a1c3a3c
iddenapi-light-greylist.txt
eb73af62fb46b7e96e0c7d9d82f84a0a55c695eb 18-Apr-2018 David Brazdil <dbrazdil@google.com> Add Thread.contextClassLoader to hidden API light greylist

Bug: 78145123
Test: make
Change-Id: Iccd7c1c167c77c6bced619735114452e80a086f0
iddenapi-light-greylist.txt
30236b78ab7610ffeec8c1962381f015f2cb052c 18-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add new light greylist APIs.

bug: 78027167
Test: m
Change-Id: I6b9ef6534e1a0f50aac19909c04640b4b1f581ca
iddenapi-light-greylist.txt
ba199f56ca878780f833e40247c1df6cb16a531a 18-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add Landroid/app/IActivityManager;->getConfiguration() to light grey." into pi-dev
a8527b9cb1657af780f671ef50e08642da3f59de 18-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Light grey android.media.MediaScanner.isNoMediaPath" into pi-dev
6ca3856df6c27fbbf33c51afecdc2b7a83318b6b 18-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add Landroid/app/IActivityManager;->getConfiguration() to light grey.

bug: 77327058
Test: m
Change-Id: I86d891e21c729a54450c8a92493303683152c07c
iddenapi-light-greylist.txt
494752c416027bfc4ad15a609f92aefb8602ac0f 18-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add Landroid/app/LoadedApk;->mLibDir:Ljava/lang/String; to light grey.

bug: 77912446
Test: m
Change-Id: I81502667117a0584d150dc48d612a6a559dc3537
iddenapi-light-greylist.txt
c442b64ab1ea68deb67425b2e4510d57965949bb 17-Apr-2018 Pavlin Radoslavov <pavlin@google.com> Add A2DP Codec config hidden APIs to the greylist

Bug: 78187319
Test: Code compilation
Change-Id: Ide42eacc8db4e403432ddd9d952495dda85db0ac
iddenapi-light-greylist.txt
1d93ccb98c50d187785528e2af48816a9212ad1f 17-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Light grey android.media.MediaScanner.isNoMediaPath

bug: 78027167
Test: m
Change-Id: I9bd853608a5c4ee98d39920f6157f97bf796c708
iddenapi-light-greylist.txt
6a56aad5a29d952d945022b31af7562aa29d1d67 17-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add UUID->mostSigBits to light grey.

bug: 78125653
Test: m
Change-Id: Idff199d30071336b761a5d6c50812361c560ac85
iddenapi-light-greylist.txt
d1a7b7d43a5b12d0b4f4b8e33965478496a45089 17-Apr-2018 Artem Iglikov <artikz@google.com> Greylist getMandatoryBackupTransport

Bug: 77997957
Test: n/a
Change-Id: Ieccdd978960c00b6bef6ebe375fa388c0d186684
iddenapi-light-greylist.txt
15d35c127437539dcb6c8f028d5ea580051f185d 17-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Fixed power manager CTS test." into pi-dev
b36b6bb8658fb879df908b71f47bbbad7fd5bc2d 16-Apr-2018 Pavlin Radoslavov <pavlin@google.com> Add A2DP set/get active device to greylist

Bug: 74238896
Bug: 78132844
Test: compile
Change-Id: If20ed03e6f579f06856e3e9cb6d4882313bfdc1b
iddenapi-light-greylist.txt
26b030d829adee248752061855737d0981ad6103 16-Apr-2018 Dan Gittik <dangittik@google.com> Fixed power manager CTS test.

Added an annotation necessary to allow the power manager CTS test to
access the non-public method nap.

Test: adb install -r \
out/host/linux-x86/cts/android-cts/testcases/CtsOsTestCases.apk
adb shell am instrument -e class android.os.cts.PowerManagerTest \
-w android.os.cts/android.support.test.runner.AndroidJUnitRunner

Change-Id: Ida939f074654bef351e2b8fd563c8463431ce9c6
Fixes: 77907164
iddenapi-light-greylist.txt
4b98bc6cecfe066c9b5876729e7915f3115f6968 16-Apr-2018 David Brazdil <dbrazdil@google.com> Add more hidden API on light greylist

Bug: 64382372
Bug: 78019806
Bug: 77982395
Bug: 77862070
Bug: 77860747
Bug: 77785209
Bug: 77814672
Bug: 77760092
Test: make
Change-Id: I78643c355801241a2e02f16f986a7a5d14d79823
iddenapi-light-greylist.txt
6b30886afd6f2464cef5d5ed078e9addd656f7ca 14-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add HFP/HearingAid set/get action device to greylist" into pi-dev
d5e8df86079e84ca941477f8164185cd9f5d18ab 13-Apr-2018 Hansong Zhang <hsz@google.com> Add HFP/HearingAid set/get action device to greylist

Bug: 74238896
Test: compile
Change-Id: If3111b283b84350246db2e9e9380bf0c84c72756
iddenapi-light-greylist.txt
d55a940e9ff44a8c857a3bad962fd38ea98ba626 13-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Add more hidden API on light greylist" into pi-dev
b535c0dbf445f2a1c3ad9ed5b3d8ba42d09a4273 12-Apr-2018 Colin Cross <ccross@android.com> Greylist APIs used by Android Auto projection

Fixes:
04-06 19:12:06.529 W android.gms:ca: Accessing hidden method Landroid/media/AudioAttributes$Builder;->addTag(Ljava/lang/String;)Landroid/media/AudioAttributes$Builder; (blacklist, reflection)

Bug: 77315795
Test: make
Change-Id: I171fbfb60623a970285ac89499bbb94b1e5e57d4
iddenapi-light-greylist.txt
666c7b2f79747974bb5cee0a5ef50460d04ca9d0 12-Apr-2018 David Brazdil <dbrazdil@google.com> Add more hidden API on light greylist

This is from CtsOsTestCases which we cannot exempt because it also
tests StrictMode.

Test: cd cts/tests/tests/os && atest .
Bug: 77909325
Change-Id: Id0fee2c48612d69c5cf4f31bd32e29a19ffd8f0e
iddenapi-light-greylist.txt
5ca4d29089ded37c455733165235c53f778b3182 12-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "Greylist methods with varargs and intrinsics"" into pi-dev
82087810ac164837b834e8e82ee8bfbf55d05654 12-Apr-2018 Andreas Gampe <agampe@google.com> Revert "Greylist methods with varargs and intrinsics"

This reverts commit d45ff00f1c54216c744365271748ddd81c6b9941.

Reason for revert: Breaks ART tests

Bug: 64382372
Change-Id: Ief87608ff2ad6d11b2aff5d4b9f15b953351360a
Test: none
iddenapi-light-greylist.txt
1eff922e34ec439bb833352adc894948ccb4471d 11-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Greylist methods with varargs and intrinsics" into pi-dev
9553a11557528a91d5a51134e9a20c26f5ef69cf 11-Apr-2018 Chavi Weingarten <chaviw@google.com> Merge "Synchronize stack position and size update for split screen" into pi-dev
d45ff00f1c54216c744365271748ddd81c6b9941 07-Apr-2018 David Brazdil <dbrazdil@google.com> Greylist methods with varargs and intrinsics

This is due to a related Doclava change.

Bug: 64382372
Test: make
Change-Id: I8fba27a529a83751ab27859b1c1b791ab85786cf
iddenapi-light-greylist.txt
be43ac86865c8013bef120f1f327c2cfe98ebfe8 05-Apr-2018 chaviw <chaviw@google.com> Synchronize stack position and size update for split screen

When entering split screen, the secondary window changes position so
it's below the primary split screen when minimized. The WSA at the same
time is also changing size to fit the area. However, the size doesn't
change until the client requests a new size and a frame with the correct
size comes in. This causes the stack to update position before the
resize which causes content to get cut off and then a jump when the resize
completes.

This change updates the WSA position as soon as it recognizes that the
stack changed position due to entering split screen secondary. The WSA
sets its position as the negative of the stack position, making the
calculated window position at (0,0). When a relayout is requested, the
WSA's position is requested back to (0,0), deferring until the new frame.
This will put the WSA position at (0,0) when a frame with the correct size
is drawn. This places the window position at the stack's new position in
the same transaction that a WSA frame with the new size is drawn.

Change-Id: I8c88d7784f827d66926fb5c382af2346028dc48f
Fixes: 74354855
Test: Entering split screen with quick step is smooth
Test: Entering split screen with old launcher still works
oot-image-profile.txt
iddenapi-light-greylist.txt
0b0e3bcf3b6f58efe64a09ba8aa663553cd1d081 10-Apr-2018 David Brazdil <dbrazdil@google.com> Add more API to light greylist

Bug: 64382372
Bug: 77736246
Bug: 77697942
Bug: 77502619
Bug: 76024032
Bug: 74621964
Bug: 76198483
Bug: 76405030
Bug: 76456333
Bug: 75295975
Bug: 74862699
Bug: 74862698
Bug: 74271858
Bug: 74352261
Bug: 73171118
Test: make
Change-Id: I4fe4b041022ab51297bf01ea59e33abba8767404
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
0d130cbc8653c5136f7fa38f93a7c962a33d90eb 10-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Greylist APIs which apps can resolve to at runtime" into pi-dev
f919fddb37d9854b583caa9378d20f6d4788fdfe 09-Apr-2018 David Brazdil <dbrazdil@google.com> Greylist APIs which apps can resolve to at runtime

This applies to SpannableString methods:
- charAt(I)C
- getChars(II[CI)V
- getSpanEnd(Ljava/lang/Object;)I
- getSpanFlags(Ljava/lang/Object;)I
- getSpanStart(Ljava/lang/Object;)I
- getSpans(IILjava/lang/Class;)[Ljava/lang/Object;
- length()I
- nextSpanTransition(IILjava/lang/Class;)I
(these are all already in the greylist)

and one method from android.app.backup.FileBackupHelperBase:
- writeNewStateDescription(Landroid/os/ParcelFileDescriptor;)V
(added in this CL).

We won't fix this properly in P, so greylist the uses for now.

Bug: 64382372
Bug: 76424618
Test: make
Change-Id: I4c4ef13338b1fa2f7f21c07c63d88d3559d10341
iddenapi-light-greylist.txt
716f9d420ab4281e15ed2ee61e22c115524a2688 10-Apr-2018 David Brazdil <dbrazdil@google.com> Merge changes I35eddd24,Ia2c7093a into pi-dev

* changes:
Add more hidden API to light greylist
Add more hidden API to light greylist
d565f049575cb63fef1b92c47599da928a118112 09-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Expose TestAPIs needed by GtsOsTestCases" into pi-dev
62a1f9902d00d5f2e4716af4e6059496341fad80 09-Apr-2018 David Brazdil <dbrazdil@google.com> Add more hidden API to light greylist

Bug: 64382372
Test: make
Change-Id: I35eddd24f38421ad39d0163e550e2c3f425646f4
iddenapi-light-greylist.txt
b9a5a50b866517bfc5303f3dfcb5337037fd3ac5 09-Apr-2018 David Brazdil <dbrazdil@google.com> Add more hidden API to light greylist

Test: make
Bug: 64382372
Bug: 77464273
Bug: 77663152
Bug: 76121474
Bug: 77593560
Bug: 77798338
Change-Id: Ia2c7093a0dbb61fd69806b95de124e565448339b
iddenapi-light-greylist.txt
4f9d750e91061923da90ef174a592fc59d0eff9e 07-Apr-2018 Jan Althaus <jalt@google.com> Merge "Remove legacy logger" into pi-dev
5a03094ebc91df1c64a2232be648ac3ed26657ce 04-Apr-2018 Jan Althaus <jalt@google.com> Remove legacy logger

Migrate DefaultLogger implementation to SelectionSessionLogger.
This cleans up after the API refactor and fixes two bugs:
- All events are currently logged twice.
- Interfaces accept a null signature, but it currently crashes the legacy logger.

Bug: 73392698
Bug: 77659305
Test: atest FrameworksCoreTests:TextClassificationManagerTest
Test: atest FrameworksCoreTests:TextClassificationTest
Test: atest CtsViewTestCases:TextClassificationManagerTest
Test: atest CtsViewTestCases:TextClassifierValueObjectsTest
Test: atest CtsWidgetTestCases:TextViewTest
Test: atest CtsWidgetTestCases:EditTextTest
Test: Manually examined logs
Change-Id: I0d2b925abf5cab12d71fc2cc0fa527530c86ab10
iddenapi-light-greylist.txt
f80809ffd7b6ea8eb120ce5ccb343582c2757ea0 04-Apr-2018 Philip P. Moltmann <moltmann@google.com> Expose TestAPIs needed by GtsOsTestCases

Test: atest GtsOsTestCases on pi-dev:taimen and oc-mr1:sailfish
Bug: 77497338
Change-Id: I5de976991a857bfbed2faa943822af542601fa8b
iddenapi-light-greylist.txt
bb96c13c7027f187d08746470434e81387edaa36 06-Apr-2018 David Brazdil <dbrazdil@google.com> Merge changes Idca52b94,I82ae308d into pi-dev

* changes:
Sort hidden API light grey
Add more hidden API to light grey
90d0b9845dfe4c8b5b990638b620a01fe431846b 06-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Add more API on hiddenapi-light-greylist.txt" into pi-dev
8f1c508cfe811b5d75bb6c24e61bbd38774b30a9 06-Apr-2018 David Brazdil <dbrazdil@google.com> Sort hidden API light grey

Previous changes kept the file unsorted

Bug: 64382372
Test: make
Change-Id: Idca52b9476cda1eabb8dc2a90d6e8182e1a58b32
iddenapi-light-greylist.txt
aa120f43a492c9d6e56ec3563f8c302572c930bc 06-Apr-2018 David Brazdil <dbrazdil@google.com> Add more hidden API to light grey

Bug: 77487572
Test: make
Change-Id: I82ae308d26542e7e72e174e9531f2de80e182e26
iddenapi-light-greylist.txt
104d3d2849f45287ebaf253566587f990329ac9c 06-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Light grey MethodHandles$Lookup;-><init>" into pi-dev
977837acd69e74ec3149a48d90cfa3b01a7217b7 06-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add new hidden APIs to light grey" into pi-dev
a8100ead94f7d275e6d2d267c4f86aedcead5b4e 06-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Light grey MethodHandles$Lookup;-><init>

bug: 77520086
Test: m
Change-Id: I539d7222af01c0163ab14946248465f1105f578d
iddenapi-light-greylist.txt
4521ef1392750a2fddbcd4c96de48c62ab6a706b 06-Apr-2018 David Brazdil <dbrazdil@google.com> Add new hidden APIs to light grey

Bug: 77598425
Test: make
Change-Id: I0f7b992b62afd0590b95281bcb240899074a5fce
iddenapi-light-greylist.txt
ddeaefb546c15f26bf7d4372a0d3e000463c7a5e 06-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Add more API to hiddenapi-vendor-list.txt" into pi-dev
ec20c88b3da1d724c17f6dedadec618c8401ca37 06-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add new APIS to light grey." into pi-dev
f41399b2352560bac6193ea9b2e746f2c396ae59 06-Apr-2018 David Brazdil <dbrazdil@google.com> Add more API on hiddenapi-light-greylist.txt

Bug: 64382372
Bug: 77266422
Test: make
Change-Id: If6c753e58d613c8f0c76367bc93eb4c3f500650c
iddenapi-light-greylist.txt
66eb7a2aad0ccdc451d72686a14939a8a64e9a06 06-Apr-2018 David Brazdil <dbrazdil@google.com> Add more API to hiddenapi-vendor-list.txt

Bug: 64382372
Bug: 77278525
Test: make
Change-Id: Ibfeb2c6238e6e992a88a3c056b74c02c85887fad
iddenapi-vendor-list.txt
6844e27f352bcd82ecfd063db1ecf894c4d69def 06-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add new APIS to light grey.

bug: 77498122
Test: m
Change-Id: I1562f1f12a966a66c066036ef3b46264af50f054
iddenapi-light-greylist.txt
54b8750b06027cbd6909271423cef83750e1c302 06-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding more APIs to greylist Test: None" into pi-dev
74678f3b29ff2018b45a05e7c047088067179ea6 04-Apr-2018 Stephen <stephenhughes@google.com> Adding more APIs to greylist
Test: None

bug: 74066078

Change-Id: I029754dba43f83d6aff941c02ba1caa7fdd1e18c
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
9cb6759072eefacb114782ebdfc3b779693535de 06-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Never scale nine-patches in ImageDecoder" into pi-dev
7d940ba43d15836ccf32f373c778eebffacf1f5a 04-Apr-2018 Leon Scroggins III <scroggo@google.com> Never scale nine-patches in ImageDecoder

Bug: 76448902
Bug: 70889348
Test: Manual + CtsThemeHostTestCases
(Ica5e7e81848c3880accee922ee6f1cc9e26262ca)

Scaling a nine-patch requires scaling its divs. When the scale factor is
not an integer, we have to round. This gets out of sync with the way the
decoder scaled the image, resulting in stretching or keeping fixed the
wrong portions of the image. Making this worse, when we scale down, we
end up with divs colliding with each other, and we have to arbitrarily
adjust them further so they do not collide.

NinePatchDrawable and the drawing code already know how to handle
drawing from the originally-sized image and do a better job stretching
appropriately, so allow them to do their job.

We already do something similar for Bitmaps created by ImageDecoder on
apps targeting P and above - instead of scaling them up, we allow the
BitmapDrawable's scaling code to handle density differences. We
preserved the old behavior (scale up) on apps targeting pre-P because
those apps may rely on the size of the Bitmap contained in a
BitmapDrawable without accounting for its density (see Bug: 74061412).
But that is not an issue for NinePatchDrawables, which do not allow
peeking at their internal Bitmaps.

Rewrite ImageDecoder.computeDensity. There is no need for it to be
static, since it takes an ImageDecoder as a parameter and reads its
fields, including the new field mIsNinePatch. Set mIsNinePatch in the
constructor to avoid another down call into native. Split up the
conditions that result in returning srcDensity without calling
setTargetSize for clarity.

Remove ImageDecoder constructor from the graylist. It was accidentally
added due to the fact that it is called transitively from public APIs.

Change-Id: I3c5ddd67f3352c991515f30ce1c477c9a608833f
iddenapi-light-greylist.txt
c5632ece21338e5b641cd7b0d8442951209213b8 05-Apr-2018 Nicolas Geoffray <ngeoffray@google.com> Add new hidden APIs.

bug: 77527994
Test: m
Change-Id: Iebdab9d09c4d4531cfdfed6c3e363d68ed407ef1
iddenapi-light-greylist.txt
657f173a6d18c0a7ff99d7e4dd67792b8d86bb84 04-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding methods to greylist Test: None" into pi-dev
654598b542174440837f16d8b899f776c2e25478 04-Apr-2018 Dmitry Dementyev <dementyev@google.com> Merge "Remove deprecated recoverable keystore classes." into pi-dev
b622906dc51a437c2891d004f77039c5ad157a77 04-Apr-2018 David Brazdil <dbrazdil@google.com> Merge "Move hidden API from vendor to light grey" into pi-dev
2639346b2e588be82749cf4edbf196120a776730 03-Apr-2018 Stephen <stephenhughes@google.com> Adding methods to greylist
Test: None

bug: 74066078

Change-Id: Ic84f4374c8b7c0b359c8674558b89a7a370cc1d0
iddenapi-light-greylist.txt
c1d8d0a2f75708183a2a95d9faa85407af1cbaa1 04-Apr-2018 David Brazdil <dbrazdil@google.com> Move hidden API from vendor to light grey

Bug: 64382372
Bug: 77328929
Test: make
Change-Id: I5141b56c79fad2bc6943ca6086eae53cad82d09c
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
5fa07c09865acbcbaeba37971db1388083198aef 04-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes from topic "fw_quickstep_update" into pi-dev

* changes:
Reparent recents animation task leash to app animation layer
Allow recents animation to override divider minimized state
Prevent unnecessary reordering of the home stack
d33b958ca068b2e0a7b45c86d04196a870c75e49 03-Apr-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Greylist AccessibilityInteractionClient methods" into pi-dev
e2e5b49bc7dd2c1bc5cfc8eced1f43357f7eb537 03-Apr-2018 Artem Iglikov <artikz@google.com> Greylist AccessibilityInteractionClient methods

These are used to clear accessibility cache in tests driven by
UIAutomator.

Bug: 77401534
Test: n/a
Change-Id: Id0bb808e94e0efdd8ddc59f94ddd5ea71394c8a2
iddenapi-light-greylist.txt
78cea74881c054e3f150d4ebddd12ae0d58946e2 03-Apr-2018 David Brazdil <dbrazdil@google.com> Add more APIs to hidden API light greylist

Bug: 64382372
Bug: 77289927
Bug: 77487374
Bug: 74430927
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: I2a65babbef3ead001f37549c2c470b0e6c118ef3
iddenapi-light-greylist.txt
80def873892d96650f46b60f5be682428f7c976c 03-Apr-2018 Dmitry Dementyev <dementyev@google.com> Remove deprecated recoverable keystore classes.

RecoveryController and related Parcelables were moved to a different package long time ago. Only very old recvoery controller implementations used it.

Bug: 74944591
Test: atest RecoveryControllerHostTest
Change-Id: I803b7d8a813f7e6c3606dc77afb2e0a3d916ec3f
iddenapi-light-greylist.txt
2d4f01ba7f544f1bd772239a0f19946b01ed98d9 29-Mar-2018 Derek Sollenberger <djsollen@google.com> Restore saveLayer APIs back into the public API.

The saveLayer APIs are restored from @removed but will treat input
as ALL_SAVE_FLAGS and generate exceptions on newer API levels.

We internally used these calls in one situation that now use a
different @hide API to support the previous behavior until we
refactor that code.

Partial revert of "Remove deprecated android.graphics.Canvas APIs"
This reverts commit 7b837616ae88cbdaf12600cee23b5188e5531937.

Bug: 77276963
Bug: 73777445
Test: CtsGraphicsTestCases
Change-Id: I7acd4ffd5ac41a58d2be8b48cf50119c2b896708
iddenapi-light-greylist.txt
6a38fca2d81e5d5bc0343c57e4db3629c3a9a619 29-Mar-2018 Winson Chung <winsonc@google.com> Prevent unnecessary reordering of the home stack

- Just cancel the recents animation in-place when handling the home button
to prevent it from being repositioned to the bottom (which stops home)
and then starting it again (which restarts it)

Bug: 74405472
Test: Press home from an app, ensure launcher stop is only called once
Change-Id: Id41aa2f77c01767cc2c35445458b8f2db81200fc
iddenapi-vendor-list.txt
7cdd9599937aeaba3f0e0b9436efc8a03784d3bc 30-Mar-2018 David Brazdil <dbrazdil@google.com> Add more hidden API on light greylist

Bug: 64382372
Bug: 74763801
Test: make
Change-Id: I9cac934983addb32127f7571a3d290b4d57fb55d
iddenapi-light-greylist.txt
1b460069a105ecae82470c57f10864d21c2b6ca8 29-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add more hidden API uses to light greylist" into pi-dev
ba6539382ae615ac825d59501dd8814d0e5c7e62 29-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add three more wifi APIs." into pi-dev
dc8021507457dbfc8f1dd5d449c2c2199f4f3491 29-Mar-2018 David Brazdil <dbrazdil@google.com> Add more hidden API uses to light greylist

Bug: 76443991
Bug: 64382372
Test: make
Change-Id: I5ec60bbf9b747230ab1a5ae539d7d014b24605b0
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
3b8e61e5ecf98725785cc8d657ce8c5ef0197701 29-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Add three more wifi APIs.

bug: 74066078
Test: m
Change-Id: I2c9a7499094c743de3923226bbcea3c1cd147d5f
iddenapi-light-greylist.txt
981ae652c98000bb96450b6950c8736078707b4b 29-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Move graphics APIs to the light grey.

The APIs have just started being removed in public APIs, and some
non-vendor apps are using them.

bug: 77224796
Test: m

Change-Id: I5c3afd18244a888ec77f14eaa6d839faf4f6d2be
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
0bc998b32f8031047806bc7cd2ace0253dac30c4 28-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add new Wifi API to light grey." into pi-dev
727bc1e1013dfd6e2fa05589e83e3702006a663e 28-Mar-2018 David Brazdil <dbrazdil@google.com> Merge "Add more uses on vendor hidden API list" into pi-dev
1172de7bf3728e2bf7d23a3b4d525bf4cc8876d9 28-Mar-2018 David Brazdil <dbrazdil@google.com> Add more uses on vendor hidden API list

These are from Pixel devices.

Bug: 64382372
Test: make
Change-Id: Ie8dab74299973f54472bf80c98bbc7496022874d
iddenapi-vendor-list.txt
3e264bf0b8d467f037c331a351cb1717dd00eb48 28-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add API to light grey." into pi-dev
02175b78479af9534c89470675c9c36277ee8bdd 27-Mar-2018 David Brazdil <dbrazdil@google.com> Merge "Add serialization methods to hidden API light greylist" into pi-dev
357170b1803ddd8ed57c75f46b8c6d226c464309 26-Mar-2018 David Brazdil <dbrazdil@google.com> Add serialization methods to hidden API light greylist

This patch adds a build-time rule that adds all members with signatures:
readObject(Ljava/io/ObjectInputStream;)V
readObjectNoData()V
readResolve()Ljava/lang/Object;
serialVersionUID:J
serialPersistentFields:[Ljava/io/ObjectStreamField
writeObject(Ljava/io/ObjectOutputStream;)V
writeReplace()Ljava/lang/Object;
to the hidden API light greylist. This is needed so that apps can retain
the ability to write their own serializers.

Bug: 64382372
Bug: 73255398
Test: make
Change-Id: I0103f47044e957bbff0a39230ff53562f3feddac
iddenapi-light-greylist.txt
4d6a16eb8bf101c1daedcd125b8d1a2dc1ff3711 26-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Add API to light grey.

bug: 72513052
Test: m
Change-Id: I01cba72791e2e395e617fa72edc2961818f0dcc1
iddenapi-light-greylist.txt
0af9659346caa2923d9b84ef7292ed0a0b100f8f 26-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Add new Wifi API to light grey.

bug: 74066078
Test: m
Change-Id: Iea3dc9ede9477541e8f933987fa7273793beb4a0
iddenapi-light-greylist.txt
6c786d362bec5bb875f81a62ecf8b5667d067415 26-Mar-2018 David Brazdil <dbrazdil@google.com> Remove from hidden API light greylist

Bug: 76384058
Test: make
Change-Id: Ic10b82be24f9254f30b6bbb60bad4b9f090b0d9b
iddenapi-light-greylist.txt
19f7654e01003e51389dd8d62c0f024476da66ce 26-Mar-2018 David Brazdil <dbrazdil@google.com> Add more hidden API uses to light greylist

From bug reports.

Bug: 64382372
Bug: 76350169
Bug: 76329535
Bug: 76329536
Bug: 76355229
Bug: 76350172
Bug: 76384058
Bug: 76350170
Test: make
Change-Id: Id5f99235d0abc1a8326ed254dd835c9ac05dc996
iddenapi-light-greylist.txt
3017136353fac5619ae06aea5469aa5c3ef98ad9 26-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Greylist camera API used by CameraITS test" into pi-dev
6b3e711eb445329d994716cc84402f3bd24f2c9d 26-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Merge "Add APIs to light grey." into pi-dev
4f2e53fe482255eef18b2c6d17150cd122340920 24-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Unhide ImsReasonInfo Constructor" into pi-dev
991b971acbb4675636ccab8b3d9ba891c5f7d936 23-Mar-2018 Kurt Marcinkiewicz <kurdt@google.com> Merge "Allow specifying a network for SNTP time sync" into pi-dev
17cd5cbfed0cf1f69439be370b3f37c9fdda72c3 23-Mar-2018 David Brazdil <dbrazdil@google.com> Greylist camera API used by CameraITS test

CameraITS CTS test returns the contents of hidden fields in several
android/hardware/camera2/ classes back to the host-side test driver.
These need to be greylisted for the test to succeed.

Bug: 64382372
Bug: 76163369
Test: follow instructions in cts/apps/CameraITS/CameraITS.pdf
Change-Id: I9cacd7422547a52f678a3b2d357f8998ff9664d7
iddenapi-light-greylist.txt
07645e1803a277a56a3263810ddd044d713b7d13 23-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Add APIs to light grey.

bug: 76156911
bug: 76149913
Test: m
Change-Id: I77172d45110e3d5bb5ff2f79447210107b901c68
iddenapi-light-greylist.txt
bb8452e318e2cf6759cff1520d9a0f2dccaf9059 23-Mar-2018 David Brazdil <dbrazdil@google.com> Add hidden API on light greylist

Used by a CTS test

Bug: 64382372
Bug: 76166763
Bug: 76117220
Test: atest CtsActivityManagerDeviceTestCases:DisplaySizeTest
Change-Id: I37ccb7bc820e467d1cc5fd7f3c0dc696b466ff32
iddenapi-light-greylist.txt
a93efabc242684d968e8a14174253ccbe1f7fe41 23-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Allow apps to call startRecognition(UUID, Bundle, ComponentName, RecognitionConfig) via reflection" into pi-dev
ceb14e015b537fa7d72f56b0f11c0d7d6120058b 22-Mar-2018 Leon Scroggins <scroggo@google.com> Merge changes from topics "DecodeException_ERROR", "AID_autoStart", "onPartialImage" into pi-dev

* changes:
Rename ImageDecoder.ERRORs
Add the ability to autoStart AID from xml
Re-write onPartialImage API
1b926a743916f6c59940a243a75c681a24289aba 22-Mar-2018 Philip P. Moltmann <moltmann@google.com> Allow apps to call startRecognition(UUID, Bundle, ComponentName, RecognitionConfig) via reflection

- We don't want to make this a @SystemAPI as this will change
- We need 1st party apps to call this on Pixel devices

Test: Built
Bug: 73829108
Change-Id: I6954767020811ea99ceec17fd17b790c4a1bc0db
iddenapi-light-greylist.txt
dfdd82e84fcd102ab9b4d2233d195a013914c2ae 05-Mar-2018 Kurt Marcinkiewicz <kurdt@google.com> Allow specifying a network for SNTP time sync

Permits syncing over a specific network instead of the default for
the process. This was causing an issue with Android Wear devices
paired with iOS where the default network is bluetooth
(see b/32663274).

This CL is in support of ag/3776564

Bug: 32663274

Test: adb shell am instrument -e class android.net.SntpClientTest -w \
com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner

Change-Id: Ic9fc169cf75457810d4992121d85d7642e350b90
iddenapi-vendor-list.txt
ca0c1ac30447f09b4445b7f3760614c5f0e0a9f2 21-Mar-2018 Mohamed Abdalkader <abdalkader@google.com> Unhide ImsReasonInfo Constructor

Test: builds
Bug: 76033384
Change-Id: If1101b82f92e45cd417f34356545363f6f9bf322
iddenapi-vendor-list.txt
4d6dc48d242a643acd846b4892803c8295740b64 22-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge changes I7f413e38,I20aba7e9 into pi-dev

* changes:
Remove FlpHardwareProvider
Create the stubs lib for com.android.location.provider
1d2bf2b846f0a98f7403bbc791adb2969685d87a 14-Mar-2018 Leon Scroggins III <scroggo@google.com> Re-write onPartialImage API

Bug: 73788969
Test: If9e27a6ce2604128a619bc4843d62711f94b4d87

Add a new Exception subclass that contains information about the type of
error, and the original Exception, if any. Remove the old
IncompleteException class. If the decode creates a partial image, pass
the information up to Java, where we create the new Exception and pass
it to the callback and/or throw it. Rewrite nDecodeBitmap to always take
the ImageDecoder as a parameter for this callback, and simply use a
boolean to determine whether to call onPostProcess

Check for exceptions in some overlooked cases in native code, and
route to the new type.

Remove FIXME to avoid parsing the whole image. In my limited testing,
it didn't seem to speed anything up, and this should be called in a
background thread anyway. Parsing now also ensures that we've read the
stream when we can have a chance to handle the exception from the right
place.

Remove fixme for b/70626068, which has been marked as WontFix.

Add a TestApi for testing an Exception thrown by an InputStream.

Remove onPartialImage from hiddenapi-light-greylist.txt to fix the build
error this change introduces. onPartialImage was erroneously added to
the list.

Change-Id: I12f69857328e63c993bd669412b06addeb6a74f1
iddenapi-light-greylist.txt
3a8ab3128ce32a53938648b98d7f91cda132bda3 20-Mar-2018 David Brazdil <dbrazdil@google.com> Add new hidden API uses to light greylist

From common apps.

Bug: 64382372
Bug: 74430927
Test: make
Change-Id: I81c38a78fcdc7c33f54cd25823b301ba29638019
iddenapi-light-greylist.txt
10977cd9bce40b9a1fb7468c1f0da18e90a1d209 21-Mar-2018 David Brazdil <dbrazdil@google.com> More APIs on hidden API light greylist / vendor list

New scan after updates.

Bug: 64382372
Bug: 76062566
Test: make
Change-Id: Ia2c67222bddccb0b7f607ee0ce8951611a668dc3
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
4cc3a1c056f69ac4da1dc5055c36b7357e9f673c 08-Mar-2018 Jiyong Park <jiyong@google.com> Remove FlpHardwareProvider

After Treble's FLP merge into GNSS HAL, the FlpHardwareProvider is just
an empty shell. Removing FusedLocation and/or Flp + Hardware classes
altogether.

Bug: 35726697
Test: m -j
Test: Open Google Map and then walk around. The dot moves as I walk.
Change-Id: I7f413e38b57424e8ebb9d7d14d94f145a48d10f8
oot-image-profile.txt
iddenapi-light-greylist.txt
iddenapi-vendor-list.txt
62794aa449987b1ed796cd1e648cb82fa23c4a2f 19-Mar-2018 David Brazdil <dbrazdil@google.com> Add hidden API uses to light greylist

These are from CTS.

Bug: 64382372
Test: make
Change-Id: I1ee4b68b75b5ed78da524b744f74d8163d0bb7a5
iddenapi-light-greylist.txt
02a4219cb7ff9ad848456903ac939f019d2161fc 19-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Light greylist additions." into pi-dev
c83c3015fcce72be32f834f3a58b72d14f3f5a30 19-Mar-2018 Mathew Inwood <mathewi@google.com> Light greylist additions.

Gathered from dogfood bugreports.

Test: m

Bug: 74940461
Change-Id: I08a450f987ae0e87ab6f7306e9d89a7ca3368f70
iddenapi-light-greylist.txt
f4f9c05ba9ffa534cf282d8cb76ed64ea6f2547a 19-Mar-2018 Sarah Edris <sedris@google.com> Whitelist FullBackupDataOutput

Bug: 74424953
Test: N/A
Change-Id: I3b0386fa004352ef32cb03ba2c53a53bd0f6e1f1
iddenapi-light-greylist.txt
1b1a43ed9cfbd8b960c55212d0b11d5fe9538cf6 16-Mar-2018 David Brazdil <dbrazdil@google.com> Add more hidden APIs on the light greylist

Uses reported by the public.

Bug: 64382372
Bug: 74524607
Bug: 74271830
Bug: 74498446
Bug: 74272004
Bug: 74322289
Bug: 74278847
Bug: 74175716
Bug: 74131602
Bug: 74357020
Bug: 74265544
Bug: 74130810
Bug: 74537180
Bug: 74496079
Bug: 74600951
Test: make
Change-Id: I884e76101bdd3d6b08a690810a5b4f5e09306980
iddenapi-light-greylist.txt
873d1d30d540589b7b50948200c5f6ef2b5a845d 13-Mar-2018 David Brazdil <dbrazdil@google.com> Add uses of hidden APIs from vendor apps

These will move into the dark greylist once we remove the UI toast.
Merge them with light greylist for now.

Bug: 64382372
Bug: 74589747
Bug: 74588266
Bug: 74586173
Bug: 74586969
Test: make
Change-Id: I8c1d3b67b763e8b14a66874705ba7165cf421e72
Merged-In: I5d0ec308a0187d67df6d9a4f0778c9285dc1e2af
iddenapi-vendor-list.txt
0a74062d572272fed38796184e8a4c6176bd9147 12-Mar-2018 David Brazdil <dbrazdil@google.com> Add uses on marlin to hidden API light greylist

Bug: 64382372
Test: make
Change-Id: I5640f1c377a8ae174696a4d95d4937e4813f680c
(cherry picked from commit fc1c87285d338857e92f62b6940da92e483ebeb6)
iddenapi-light-greylist.txt
cd0a1d1c8d88599b4a54dca61dbfbbe3e55c34a0 15-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add new hidden API." into pi-dev
d06f1a748ebe8853004286be80db7da59901b1ad 15-Mar-2018 David Brazdil <dbrazdil@google.com> Merge "Greylist DevicePolicyManager#setDefaultSmsApplication" into pi-dev
fb5daf223956872876879c300cfece295b179375 15-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Add new hidden API.

bug: 74938974
Test: m
Change-Id: Idc2f9c9f707ef813c792764334ec124583e4ca33
iddenapi-light-greylist.txt
e1fde42407fdf3a2dc5e8c23ee3a659ad5b9eea5 15-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Whitelist UsbPortStatus and UsbRequest members" into pi-dev
422c43e9bdb423693571f0d9019a2172aee08cb2 15-Mar-2018 Artem Iglikov <artikz@google.com> Whitelist UsbPortStatus and UsbRequest members

Bug: 74424953
Test: N/A
Change-Id: Idf0c71c16bb7d3747e00b357a88e03a27c10e9d6
iddenapi-light-greylist.txt
3a70deeb579e35f708e2418e351ef9e9d7fc0838 14-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Add new APIs.

bug: 64382372
Test: m
Change-Id: I6be84f5d5062737dcdd51c60be5196ac2a2a5c4b
iddenapi-light-greylist.txt
f6589b3049f2ff2266b56e7e57328fccb648003c 23-Feb-2018 Christine Franks <christyfranks@google.com> Greylist DevicePolicyManager#setDefaultSmsApplication

Bug: 73788187
Test: make -j100
Change-Id: Ic8f68c8af773625f11674810c52c6b05d746728b
iddenapi-light-greylist.txt
1de1b624b4e1ccad5194ee238f2b14fcde0c2dd7 14-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Add new set of APIs to light grey.

bug:64382372
Test: m
Change-Id: I2ba92e8a7c04dca9c77f8ce58c5b9e85726c52d8
(cherry picked from commit ba0be3aaedf45b0f1cf4a589acfcea17fd65cd64)
iddenapi-light-greylist.txt
76f8bfa43b085bf2eef99f4e23b1f0eb3f016acb 14-Mar-2018 David Brazdil <dbrazdil@google.com> Add more uses of hidden APIs into light greylist

Uses from tests and common apps.

Bug: 64382372
Bug: 73094390
Bug: 74575101
Bug: 74525273
Bug: 74340334
Test: make
Change-Id: I51ab73184b34b0240afccfebcb166687d14b94ae
iddenapi-light-greylist.txt
a045f53d4f3295ed77386a1e5c478388f8cb3c23 12-Mar-2018 David Brazdil <dbrazdil@google.com> Add more APIs on hidden API light greylist

Seen in use by apps.

Bug: 71501570
Test: make
Change-Id: Ia639444acb36d2124d6c9c5fed32827d6c9edcae
iddenapi-light-greylist.txt
aad361480bd13c9378cfb96a677090669db84291 12-Mar-2018 Artem Iglikov <artikz@google.com> Merge "Whitelist UsbManager and UsbPortStatus apis" into pi-dev
a2689a9a11067dfedb9cfb27a3098efeb18c3eb3 12-Mar-2018 Artem Iglikov <artikz@google.com> Whitelist UsbManager and UsbPortStatus apis

Bug: 74424953
Test: N/A
Change-Id: I8e96e3c81067a65430c58ab3f7fa2013a52d2be5
iddenapi-light-greylist.txt
0f41a7cf825edfc617e6334f02907bea6efd1179 12-Mar-2018 David Brazdil <dbrazdil@google.com> Add hidden API used by CTS to greylist

Hidden API uses detected during a run of CTS.

Bug: 64382372
Test: make
Test: run CTS, no 'dark greylist' uses
Change-Id: I7e1d4ddc731d35e427e2781f0a867db68c5f45ec
iddenapi-light-greylist.txt
e9c2ea158c52f33c589cae997839bfb8d3dc8cf4 10-Mar-2018 David Brazdil <dbrazdil@google.com> Merge "Add more common hidden API uses into light greylist" into pi-dev
7f4d7fe2e64b37d2c9b63a0961e2f52dc4175a64 09-Mar-2018 David Brazdil <dbrazdil@google.com> Add more common hidden API uses into light greylist

Used by common apps.

Bug: 64382372
Bug: 74433113
Test: make
Change-Id: I1011b287a3e796847d005dccab17af3b6dd7b4f5
iddenapi-light-greylist.txt
ed66844c3634a0433064946d37e6e18d7d403f42 09-Mar-2018 David Brazdil <dbrazdil@google.com> Add known uses to hidden API light greylist

API uses from common apps.

Bug: 64382372
Bug: 74422232
Bug: 74340334
Bug: 74412301
Bug: 74392708
Bug: 74365557
Bug: 74386409
Bug: 73208915
Bug: 74323829
Test: make
Change-Id: I50b7be7d082a38359244e779bd885ec26164017b
iddenapi-light-greylist.txt
68e1c1dcf4b4fa751f15b8652eea6ea0f3f79336 08-Mar-2018 David Brazdil <dbrazdil@google.com> Whitelist all @SystemApi and @TestApi for hidden API

We used to greylist @SystemApi and @TestApi individually, but we should
allow all of them to be used. Run Doclava in a separate pass to generate
a list of private APIs, assuming that @SystemApi and @TestApi override
the @hide annotation.

Bug: 64382372
Bug: 74346885
Test: check generated files
Change-Id: Ie3726a294a4fdeb03fc8888878b013c9ad5bd04b
iddenapi-light-greylist.txt
f37f02460e6a0a401cab23cac060c711eaee1b3a 07-Mar-2018 Mathew Inwood <mathewi@google.com> Some more members for the light greylist.

Test: N/A

Bug: 74323509
Change-Id: I142b7f750470aa0cc49ff5f17866516014d615e6
iddenapi-light-greylist.txt
99c5b706461c352bd168d8d080887401e36fc662 06-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add more APIs into hidden API light greylist" into pi-dev
0fec93682e50d1b0d6e59b917676f6f57efc469a 14-Feb-2018 Andrew Grieve <agrieve@google.com> Expose Process.isIsolated()

Rather than have a process attempt to perform IO / IPC and check if it
fails, it makes much more sense to expose this getter.

My specific motivation for exposing this information more directly is to
be able to perform process-specific initialization logic in
Application.attachBaseContext():

https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java?rcl=ac2e180a1265f88dd4030bb35d69f5d0b2dc488d&l=54

Bug: 73343822
Test: Same code that's used in Chrome via reflection.
Change-Id: I1505962679da36ac42401230b204bff7b3376b73
iddenapi-light-greylist.txt
779787b7273487883acf5d5e103c6180ab4839dd 06-Mar-2018 David Brazdil <dbrazdil@google.com> Add more APIs into hidden API light greylist

Uses from dynamic analysis of ~1200 apps.

Bug: 64382372
Test: make
Change-Id: I1f508d37338f2c0825e8e9ae6fa9a98e3c2c4e52
iddenapi-light-greylist.txt
e84c506fc3b7cc962fac407f465e46e8a6b969e8 06-Mar-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Add new APIs to hidden API light greylist" into pi-dev
9d83ccacadb87200ac57430224e426715dd76fea 06-Mar-2018 David Brazdil <dbrazdil@google.com> Add new APIs to hidden API light greylist

More APIs seen in use by common apps.

Bug: 64382372
Bug: 74219651
Bug: 74198691
Bug: 74138451
Bug: 73848080
Bug: 74208493
Bug: 74212462
Test: make
Change-Id: Ia06a5116d84a5401546970234432cbeec27febb9
iddenapi-light-greylist.txt
2cf621f8faee17dbb034d379d45f3f0925bbf11b 06-Mar-2018 Mathew Inwood <mathewi@google.com> Fix dark greylist violation seen during walleye boot.

Add these members to the light greylist. Also ensure all existing items
are sorted.

Violations seen per package:
.dataservices:
Landroid/os/HwBlob;-><init>(I)V

com.google.android.gms:
Landroid/app/usage/UsageStatsManager;->getAppStandbyBucket(Ljava/lang/String;)I
Landroid/os/WorkSource;->createWorkChain()Landroid/os/WorkSource$WorkChain;
Landroid/os/WorkSource$WorkChain;->addNode(ILjava/lang/String;)Landroid/os/WorkSource$WorkChain;
Landroid/security/keystore/RecoveryController;->getInstance()Landroid/security/keystore/RecoveryController;
Landroid/security/keystore/RecoveryController;->initRecoveryService(Ljava/lang/String;[B)V
Landroid/security/keystore/RecoveryController;->setRecoverySecretTypes([I)V
Landroid/security/keystore/RecoveryController;->setServerParams([B)V
Landroid/security/keystore/RecoveryController;->setSnapshotCreatedPendingIntent(Landroid/app/PendingIntent;)V

com.google.android.gms.persistent:
Landroid/app/usage/UsageStatsManager;->getAppStandbyBucket(Ljava/lang/String;)I
Landroid/os/WorkSource;->createWorkChain()Landroid/os/WorkSource$WorkChain;
Landroid/os/WorkSource$WorkChain;->addNode(ILjava/lang/String;)Landroid/os/WorkSource$WorkChain;

com.google.intelligence.sense:
Landroid/media/soundtrigger/SoundTriggerManager;->stopRecognition(Ljava/util/UUID;)I
Landroid/media/soundtrigger/SoundTriggerManager;->unloadSoundModel(Ljava/util/UUID;)I

com.verizon.mips.services:
Landroid/util/NtpTrustedTime;->forceRefresh()Z
Landroid/util/NtpTrustedTime;->getCachedNtpTime()J
Landroid/util/NtpTrustedTime;->getCachedNtpTimeReference()J
Landroid/util/NtpTrustedTime;->getInstance(Landroid/content/Context;)Landroid/util/NtpTrustedTime;
Landroid/util/NtpTrustedTime;->hasCache()Z

Test: No more dark greylist violations seen during boot.
Change-Id: I1b5a51da5f08c86b3b5a4816f528db0ff41f6600
iddenapi-light-greylist.txt
40a32d9ff0868de97c1a82ece98f7dcc932d1b6f 02-Mar-2018 Adam Lesinski <adamlesinski@google.com> Merge "Refactor AssetManager"
d4626c10b94e0d1da5b8b8d3fbd2136ced9bb881 01-Mar-2018 Nicolas Geoffray <ngeoffray@google.com> Add more fields in the light greylist.

bug: 73650192
Test: build
Change-Id: I60ceaf3186dd5f32bd18b4d24ba9a179b44017c4
iddenapi-light-greylist.txt
bebfcc46a249a70af04bc18490a897888a142fb8 12-Feb-2018 Adam Lesinski <adamlesinski@google.com> Refactor AssetManager

Bug: 64071469
Test: atest CtsContentTestCases
Change-Id: Ia6856157e8813856268fba003e1e591d690cb26e
iddenapi-light-greylist.txt
2175b9a8b20e4f5c5b6e241e22b23e1f90ace4f5 01-Mar-2018 Jean-Michel Trivi <jmtrivi@google.com> Merge "Ringtone: unhide looping and volume control"
e00f31b3f2de77da512a55b9e95a2d68aa4dccf8 26-Feb-2018 Jean-Michel Trivi <jmtrivi@google.com> Ringtone: unhide looping and volume control

Also clean up whitespace in file.

Bug: 22182606
Test: adb shell clrgt --loop true --volume 50
Change-Id: I937b678f72b4a47b0f02b3124669e2de5e743033
iddenapi-light-greylist.txt
7b0b97a42ae4e72e1b2285524db8cfc0442e8b81 27-Feb-2018 Jason Monk <jmonk@google.com> Add APIs to look into whats in an Icon

Test: cts
Bug: 73943728
Change-Id: Iefbb4cecad5dd4abfcfc4d2085b0df6b62392305
iddenapi-light-greylist.txt
dac65ed99bf9e7bbdf5b0b5f294d7b0c42892d41 22-Feb-2018 David Brazdil <dbrazdil@google.com> Add more hidden APIs seen in use to light greylist

Found in a bugreport.

Bug: 73539503
Test: make
Change-Id: Ie8f1a1974412b86675ac1c197b20dda1736c94e4
iddenapi-light-greylist.txt
2cb882d61a6f213eaf231f106c8aa735ca28ccfc 22-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Rename HardwareLayer -> TextureLayer"
9d8d99de971b62e85c459f43d96c6cd07f3c3fe4 21-Feb-2018 John Reck <jreck@google.com> Rename HardwareLayer -> TextureLayer

Update name to reflect meaning/usage

Change-Id: Iddb3621cbca147f96faa83380867baa49c382aab
Fixes: 20461288
Test: builds & boots
iddenapi-light-greylist.txt
reloaded-classes
8d6cfdd6e6e99eaa39473d11fb40f797ca8b964d 13-Feb-2018 Adam Vartanian <flooey@google.com> Widen Conscrypt greylist.

Conscrypt has historically provided a number of nonpublic APIs that
provide functionality beyond that exposed on SSLSocket, and users have
been expected to access those methods via reflection. We'll keep
those on the greylist for now.

Bug: 64382372
Test: make
Change-Id: I4870fd044fa90fa2234627c1ee2b540f935dbda8
iddenapi-light-greylist.txt
cfcd8a0578b3000ab2468ee4d84f9f8c2ac8f2dc 20-Feb-2018 David Brazdil <dbrazdil@google.com> One more API on hidden API light greylist

Report from the wild.

Bug: 64382372
Test: make
Change-Id: Ia7285fc5240df1e3142a162f5bf71870383f3020
iddenapi-light-greylist.txt
ac995993c94d5d8f710519952b1fd0f7287f4a00 19-Feb-2018 David Brazdil <dbrazdil@google.com> Add more hidden APIs to light greylist

Seen in use by common apps.

Bug: 73539503
Test: make
Change-Id: Iccbddb4c0d39f94f4152cdbbfb7c9017c29cf46f
iddenapi-light-greylist.txt
78894d11b604832649e1c014a63beb6a47513bc5 15-Feb-2018 David Brazdil <dbrazdil@google.com> Add more hidden API into light greylist

80 new methods/fields spotted in the scan of ~1200 apps.

Bug: 64382372
Test: make
Change-Id: I3343d6204862713e9e8728a8edc1c92f11916e30
iddenapi-light-greylist.txt
8237f2ddc617884c7bf03da3c73a7a760b00a22e 12-Feb-2018 David Brazdil <dbrazdil@google.com> Add more hidden APIs into light greylist

More APIs from commonly used apps. We also greylist methods used for
serialization. An assertion in the build system that checks all of them
are greylisted will be added in a future CL.

Bug: 73236082
Bug: 73255398
Test: make
Change-Id: Ib66ea9898a2ed7ea2c5a00c73a1a59ae23e22c02
iddenapi-light-greylist.txt
92b16d683c47abf049bacde9e4679510e2c9f3c0 12-Feb-2018 David Brazdil <dbrazdil@google.com> Add more hidden APIs into light greylist

Early results from manual testing of ~600 top apps in app stores.

Test: make
Bug: 64382372
Change-Id: Ie6878e832bd8d38a7149e6e677b8bfc73e95cfe3
iddenapi-light-greylist.txt
70bcc12021df8ddc459e0f2fe9ad1e756ff8c505 12-Feb-2018 David Brazdil <dbrazdil@google.com> Add more APIs to hidden API greylist

APIs seen in use by common apps.

Bug: 73211878
Bug: 73211350
Bug: 73211163
Bug: 73211208
Bug: 73103890
Bug: 73103761
Test: make
Change-Id: Ic438f4614f6452b14ea07f4c35b39d3be34ff49d
iddenapi-light-greylist.txt
ce706f6bfd4443580bc32817fa3975c90726e74d 12-Feb-2018 David Brazdil <dbrazdil@google.com> Merge "Greylist java.nio.Buffer.address"
8d2fcdcd5d7a6e44d6a4b27436bb6cceeeded9c0 09-Feb-2018 David Brazdil <dbrazdil@google.com> Greylist java.nio.Buffer.address

This is used by tools which access Buffer memory with Unsafe.

Bug: 73103125
Test: make
Change-Id: I34624da96123cab772a879615d6b2411d10c7050
iddenapi-light-greylist.txt
bde1df21adf264d3398b9f3274f353faa6399008 09-Feb-2018 Adam Lesinski <adamlesinski@google.com> Revert "Replace AssetManager with AssetManager2 implementation"

This reverts commit 1187590da38457809dd368d4901c9c47ac5a6958.

Bug: 73134570
Change-Id: I59b4d714e447478ea124f086356f127f42251fb7
iddenapi-light-greylist.txt
cacd69515f165bb304af768801cfbafbbdd93fac 09-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Switch activity relaunch to lifecycler"
581574d33cfdfcb3bb8f1f60807054817d1500de 08-Feb-2018 David Brazdil <dbrazdil@google.com> Merge "Revert "Make blacklist the default hidden API list""
90fa8ef4c9c16dfd309ebfdd85ee6a2fbf6a1ccd 08-Feb-2018 Nicolas Geoffray <ngeoffray@google.com> Revert "Make blacklist the default hidden API list"

Bug: 64382372

This reverts commit 3f4136c3b76d2ec9cdba9caf132d9ca2958821b7.

Reason for revert: Causing too many downstream issues together
with I2c1353d31386da447456b17f9643c0470128ee3d. Revert to
unblock pi-release and testing.

Bug: 73105914
Bug: 73103669
Bug: 73106486
Bug: 64382372
Bug: 73103081
Bug: 73119220
Bug: 73114663

Change-Id: I072dd571f779e2b5e405d21eecce5a60d1b3c7f2
iddenapi-blacklist.txt
3b310593c1d480200cc58056689dfdbae1c6d02c 08-Feb-2018 David Brazdil <dbrazdil@google.com> Move more hidden APIs into light greylist

We see these being used by apps tested against pi-release.

Bug: 73105914
Bug: 73103669
Bug: 73106486
Bug: 64382372
Bug: 73103081
Bug: 73119220
Test: make
Change-Id: I5a77b9bdbec1e8eed3f8d5d402ebd007799ef403
iddenapi-light-greylist.txt
b372da6ef81cd56f681f95d042692922b72b5751 18-Jan-2018 Andrii Kulian <akulian@google.com> Switch activity relaunch to lifecycler

This is needed to be able to relaunch an activity and eventually
bring it to stopped state while it is not visible. Before this
relaunch request put activity in resumed state in the end. With
lifecycler both relaunch and request to move to stopped state can
be done in a single transaction to client.

Also fixed extra relaunch request to activity which was sent
before it was even started. It happened because we were waiting
for another activity to pause before actually scheduling the
launch, and in activity-paused callback we were ensuring config
first. This led to configuration update for not-yet launched
activity and relaunch message was sent first.

Bug: 64610483
Test: android.app.servertransaction tests
Change-Id: Ib89c20cd0fdff209319d4819023c3cdd641a72c7
iddenapi-light-greylist.txt
3f4136c3b76d2ec9cdba9caf132d9ca2958821b7 07-Feb-2018 David Brazdil <dbrazdil@google.com> Make blacklist the default hidden API list

Starting with DP1 we will move private APIs that have not been
explicitly greylisted into the blacklist. Modify Android.mk to
generate the API lists accordingly.

Bug: 64382372
Test: make, inspect out/target/common/obj/PACKAGING/hiddenapi-*
Change-Id: I1d817ba6b95058ad052a2c7663ef99257bdeffc1
iddenapi-blacklist.txt
d56b320d80fc7eb61aa9567165a78d463bd695a5 07-Feb-2018 David Brazdil <dbrazdil@google.com> Add more common private APIs into the light greylist

Bug: 64382372
Test: make
Change-Id: I2e244ea10d609dacb2517c1bb50bad5a4de58c54
iddenapi-light-greylist.txt
5a322ec401f2ff99908a5a0d2cdb67d4320008fa 05-Feb-2018 David Brazdil <dbrazdil@google.com> Add more entries into hidden API light greylist

Adds few more private APIs we see common apps use.

Bug: 64382372
Test: make
Change-Id: I447e79bc63bdd18656f881d2656490bffe6a909f
iddenapi-light-greylist.txt
1187590da38457809dd368d4901c9c47ac5a6958 23-Jan-2017 Adam Lesinski <adamlesinski@google.com> Replace AssetManager with AssetManager2 implementation

Test: atest CtsContentTestCases:android.content.res.cts
Test: make libandroidfw_tests
Change-Id: I2bb6d7656d2516d371e83e541ed02f91405f6d94
iddenapi-light-greylist.txt
2a52375da2fe347d3a01acf71da6799dd6a035d5 01-Feb-2018 David Brazdil <dbrazdil@google.com> Droidfood only: Extend the hidden API light greylist

More frequently used APIs from running a bunch of apps and collecting
logcat warnings.

Bug: 64382372
Bug: 72793280
Test: make
Change-Id: I5be562553bb4a22c59e59c1e6746e0aa11015e6e
iddenapi-light-greylist.txt
b43351f84acef363aaccda867ebecd17908e5bbb 31-Jan-2018 David Brazdil <dbrazdil@google.com> Droidfood only: Move private APIs to dark greylist by default

In order to tune the API lists, we initialize the light greylist with
APIs we know are used by popular apps. All the other private APIs are
moved into dark greylist. Light greylist will be set to not warn at
all, while dark greylist will produce warnings. This will allow us to
collect logs and tune the lists without breaking all of our dogfooders.

Bug: 64382372
Bug: 72793280
Test: make
Change-Id: Ice6c487eeca8900e6a70abe1b87e8c211ef1066e
iddenapi-light-greylist.txt
e87f629e8cd1ed7d7e3e73634e6c7ed82491565a 25-Jan-2018 David Brazdil <dbrazdil@google.com> Merge "Create hidden API lists" am: b6a5c92b50 am: 265863f9d9
am: a5cc0bb027

Change-Id: I6e85de117103f62cea394f7d00478ffba3ea0622
0649c8d5b3d73d8f4f3c5283707518bf60cc86da 22-Jan-2018 David Brazdil <dbrazdil@google.com> Create hidden API lists

Android is beginning to put restrictions on the usage of private APIs.
In order to facilitate a transitionary period, some APIs will remain
accessible but issue a warning (greylist), other will see restrictions
right away (blacklist).

This patch create two new text files which will be used to store manual
lists of dex signatures of hidden APIs. These are the blacklist and
dark greylist. They should be mutually exclusive and both be subsets of
INTERNAL_PLATFORM_PRIVATE_DEX_API_FILE. The last list, light greylist,
is generated as INTERNAL_PLATFORM_PRIVATE_DEX_API_FILE minus the two
manual lists.

Bug: 64382372
Test: m
Change-Id: Ia694ef79bece819c87db853ccaea5e95f38d3e84
iddenapi-blacklist.txt
iddenapi-dark-greylist.txt
886d4251f44c00f250f7c5de219b54214e2d8175 12-Dec-2017 Mathieu Chartier <mathieuc@google.com> Remove compiled classes list

No longer used.

(cherry-picked from commit c87f8124bc1b79969f512f67d5d7f837b4cf28f7)

Bug: 37966211
Test: make
Merged-In: I5a1ef82ed6d8cf771513b86960c3d1d8cf7418f9
Change-Id: I5a1ef82ed6d8cf771513b86960c3d1d8cf7418f9
ompiled-classes-phone
c87f8124bc1b79969f512f67d5d7f837b4cf28f7 12-Dec-2017 Mathieu Chartier <mathieuc@google.com> Remove compiled classes list

No longer used.

Bug: 37966211
Test: make
Change-Id: I5a1ef82ed6d8cf771513b86960c3d1d8cf7418f9
ompiled-classes-phone
e99bc0501a288735d337f2ff64f8fa47f766a59b 20-Nov-2017 Adrian Roos <roosa@google.com> WM: Move WindowManagerPolicy, DisplayFrames and WindowManagerInternal into services

Splits WindowManagerPolicy into a framework and a services part, preventing concepts that are
internal to the window manager from leaking out into the framework.

Test: make droid
Change-Id: I7b6a54f55f76f6fbb5f27090981b8f1d4d8be88b
ompiled-classes-phone
efc23a48108af038348235deedd7bc08da21e514 22-Nov-2017 Brad Ebinger <breadley@google.com> Merge "Refactor ImsService to AIDL" am: 8a02c63f16 am: e575ad10ca
am: f9c3af2797

Change-Id: Ia51168c15e10bd20c67460edd0861582a0ac3cb9
e575ad10ca5d4713235f766086ee8d83d56b72c9 22-Nov-2017 Brad Ebinger <breadley@google.com> Merge "Refactor ImsService to AIDL"
am: 8a02c63f16

Change-Id: I195d7ccff8498241b6c7be819d2ee96b661d51e1
216b3ce485ccd0c42a778c3ca0668f371465a8d4 09-Nov-2017 Brad Ebinger <breadley@google.com> Refactor ImsService to AIDL

The ImsService was originally designed as a flat
interface, all ImsFeatures would be forwarded
through ImsService. This has been refactored to
using AIDL interfaces for each feature, as it
is more straightforward.

Test: Manual, Telephony IMS Unit Tests
Change-Id: Ibe065ddec6f180eabda03cf06f842c642a11114f
ompiled-classes-phone
220871a697290529278ed16db508eda8e12f3fc7 14-Nov-2017 Xin Li <delphij@google.com> Merge commit '98e12851336b7db16e583f9afac63ecc97465980' from
oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-master.

Change-Id: Ia7b8da4a00d215160e4a4fa40f6044208d1297b7
Merged-In: I19846d2a3ee27aecbae2367a74ee49082eea154d
69dde2ed8d626fecfef32790e324398dcb7f3cad 09-Nov-2017 Christine Franks <christyfranks@google.com> Merge "Rename NightDisplayController and -Service"
25bd139e8f0d4d1f86aa4c4ba0afa376ef0e893c 09-Nov-2017 Brad Ebinger <breadley@google.com> Merge "Remove ImsService Feature Interfaces" am: abfdf0e03d am: 61fb76d9a0
am: 36521b89fe

Change-Id: Ib0bc09870473c437639a4026835a0bc26e6c6b0d
36521b89fe3af25b5891511e8c42eca6fdad52cd 09-Nov-2017 Brad Ebinger <breadley@google.com> Merge "Remove ImsService Feature Interfaces" am: abfdf0e03d
am: 61fb76d9a0

Change-Id: Ib8602579b1028fd086c4fc0a13897a671bb6b73e
5397f0353ab95be8b7dd6905a4a9749804a8c90b 02-Nov-2017 Christine Franks <christyfranks@google.com> Rename NightDisplayController and -Service

Bug: 68258004
Test: make -j100 && runtest -x
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/AutoTileManagerTest.java
&& runtest -c com.android.server.ColorDisplayServiceTest
frameworks-services
Change-Id: I2b89942bd412e4d6958e65b62bc345fb1e60176f
ompiled-classes-phone
reloaded-classes
7153ff5ee2e8644198313098751a3dd4f7006308 08-Nov-2017 Brad Ebinger <breadley@google.com> Merge "Move ImsServiceProxy to opt/net/ims" am: b5d2f0c24f am: 6093305789
am: fcec01f040

Change-Id: Ia27032259a31a585ac93ac90b8251af7d7e2f76d
fcec01f0402c3eb9ef36bb0434317008b30d07ae 08-Nov-2017 Brad Ebinger <breadley@google.com> Merge "Move ImsServiceProxy to opt/net/ims" am: b5d2f0c24f
am: 6093305789

Change-Id: Ic1b21cd9a0fc906601bf37bf5e71aafdcbf0bd47
9a6369dbd569ab27de673d30fdf9ea810205157a 07-Nov-2017 Brad Ebinger <breadley@google.com> Remove ImsService Feature Interfaces

The ImsService feature interfaces were designed
to support a flat ImsService AIDL. This is not
necessary anymore, so this interface is being
removed as part of prep for the new ImsService
definition.

Test: Manual
Change-Id: Iefbcd168441ce2547523cf3e6a99ab3de5f3f823
ompiled-classes-phone
8f291b18a1b7ddaaa1319ee33c544348f936d479 07-Nov-2017 Brad Ebinger <breadley@google.com> Move ImsServiceProxy to opt/net/ims

This code is very tightly coupled with ImsManager
and should exist as part of the telephony IMS
code.

Test: Manual
Change-Id: If7b8ec73409daa7f1c1d27878242b4335db38e8a
ompiled-classes-phone
1bb93bf77c9dfb901682fe0185ec4bbae59bfe63 27-Oct-2017 Kurt Nelson <kurtn@google.com> Structure StrictMode violations as Throwables

All violations of StrictMode now inherit from one central Violation
class. This unlocks adding penaltyCallback(Violation).
Parsing strings is no longer required to infer what type of violation
something is.
Violation classes have no need to be loaded in Zygote as only developers
opt-in to this feature and will see violations.

Cross-binder thread violation perf test:
before
2872331
2574093
2481208
after
1938227
1742714
2654538

Bug: 64258734
Test: cts-tradefed run cts-dev --module CtsOsTestCases --test
android.os.cts.StrictModeTest
Change-Id: I1971feb03ff77cf297c940cacee62fadb5b8422c
ompiled-classes-phone
reloaded-classes
5140894a5d8f19df5e6ca301fcd678e7ed3291f4 24-Oct-2017 Hansong Zhang <hsz@google.com> Merge "Change Bluetooth HID Profile Name (1/6)" am: 8218b219f3
am: c8a370aeba

Change-Id: I2c5da84f5b57496e2a0ef45fb17085670f7465a9
c8a370aeba5fe441ec84950ec0dcefd5456bc777 24-Oct-2017 Hansong Zhang <hsz@google.com> Merge "Change Bluetooth HID Profile Name (1/6)"
am: 8218b219f3

Change-Id: Ic085deaa070b4008b34d03b507f81a5df220764a
0edf754b2d04965d3186407a6d5de1d36d29f0a9 21-Oct-2017 Hansong Zhang <hsz@google.com> Change Bluetooth HID Profile Name (1/6)

Make the Bluetooth HID profile name consistent with the Bluetooth HID service
name.

BluetoothInputHost → BluetoothHidDevice
BluetoothInputDevice → BluetoothHidHost
IBluetoothInputHost → IBluetoothHidDevice
IBluetoothInputDevice → IBluetoothHidHost
BluetoothProfile.INPUT_HOST → BluetoothProfile.HID_DEVICE
BluetoothProfile.INPUT_DEVICE → BluetoothProfile.HID_HOST

(Cherry-picked from commit c26c76c63d933f8057f795d05624f91b811c8c71)
Merged-In: Iadb890a54dd3d6868b87514472bbac6bb0c6179f
Bug: 68055651
Test: make
Change-Id: Iadb890a54dd3d6868b87514472bbac6bb0c6179f
ompiled-classes-phone
c26c76c63d933f8057f795d05624f91b811c8c71 21-Oct-2017 Hansong Zhang <hsz@google.com> Change Bluetooth HID Profile Name (1/11)

Make the Bluetooth HID profile name consistent with the Bluetooth HID service
name.

BluetoothInputHost → BluetoothHidDevice
BluetoothInputDevice → BluetoothHidHost
IBluetoothInputHost → IBluetoothHidDevice
IBluetoothInputDevice → IBluetoothHidHost
BluetoothProfile.INPUT_HOST → BluetoothProfile.HID_DEVICE
BluetoothProfile.INPUT_DEVICE → BluetoothProfile.HID_HOST

Bug: 68055651
Test: make
Change-Id: Iadb890a54dd3d6868b87514472bbac6bb0c6179f
ompiled-classes-phone
fcb01be913298cfeeb9f2ac38c1b4c97e4251dc5 17-Oct-2017 Mathieu Chartier <mathieuc@google.com> Merge "DO NOT MERGE: Add extra compiled classes" into oc-mr1-dev
am: 1d1ff0b030

Change-Id: I588c1a5d59a5e3455d6c19dfcb18b9ff59283e15
fc57ab6e2c0ba2e96ab38076328d0172c56a7536 16-Oct-2017 Mathieu Chartier <mathieuc@google.com> DO NOT MERGE: Add extra compiled classes

Since compiled were not updated for MR1, this change incrementally
adds missing classes based on the typical use cases.

The reason that we only use boot image profiles in MR1 for Go is
because of risk concerns.

Generated with a threshold of 3.

Bug: 67730245
Test: make and flash
Change-Id: I9597bcec521514fdbf69521ef0e23a2d7ddcf656
ompiled-classes-phone
b5d060c28ef69017720dfd412c1420dda8a7690b 15-Oct-2017 Mathieu Chartier <mathieuc@google.com> Merge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev am: 5b4d0e0404
am: ba714b38a2

Change-Id: I4d827ef35fe511adb05ffca18e7da0d06218d414
ba714b38a27723ff98af1c12b8b8ad12b2e9e72c 15-Oct-2017 Mathieu Chartier <mathieuc@google.com> Merge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev
am: 5b4d0e0404

Change-Id: I08773b81acdf9f7c16be246ba056b9f8f54b4e6c
5b4d0e0404e4c5ccfa87e8f15bf1536c696d3aa9 13-Oct-2017 Mathieu Chartier <mathieuc@google.com> Merge "Add android.os.Parcel$ReadWriteHelper to compiled classes" into oc-mr1-dev
24a879c769f8a53d16cdd5a0612c3b24ce573924 13-Oct-2017 Mathieu Chartier <mathieuc@google.com> Add android.os.Parcel$ReadWriteHelper to compiled classes

Add this class to compiled classes since its important for app
startup.

Test: make and look at oatdump
Bug: 67730245
Change-Id: I401ef516af076aeae56349a2317e63cca0eb4d47
ompiled-classes-phone
0dae24ff44d6f332286c8a7bb7ea2bb3a6716103 29-Sep-2017 Mathieu Chartier <mathieuc@google.com> Merge "Add frameworks base config and move text blobs there"
am: 34cf8b2c04

Change-Id: Id96e4b6a3272f2f320b898c42e4970e4bbb2adb9
486b198eda3ec94d503774ec41a7fc34879dbdbd 11-Aug-2017 Mathieu Chartier <mathieuc@google.com> Add frameworks base config and move text blobs there

Bug: 64259751
Test: clean oat files && make and flash

(cherry picked from commit a023b86c3b4554b90ed6edfd63cedddb4f0100f9)

Merged-In: I7c898d69e66257fe0a7827ebbab1fcff4aa6473e
Change-Id: Ifb40ec51e7184984853c0d2382f040d2dea63168
ompiled-classes-phone
irty-image-objects
reloaded-classes
6e7768a27402b20d0db03c9c4136091045570411 28-Sep-2017 Andreas Gampe <agampe@google.com> Merge "Frameworks: Move Log holder to be preloaded" into oc-mr1-dev am: 1a17bfa25c
am: fd31b789f9

Change-Id: Ie6e2671e6ecd53e24cf8a2438ce032ecb0af012b
fd31b789f9423a4eb320ef49a916258f134fa9bc 28-Sep-2017 Andreas Gampe <agampe@google.com> Merge "Frameworks: Move Log holder to be preloaded" into oc-mr1-dev
am: 1a17bfa25c

Change-Id: I108472693a5ce73cec529b354e65b1eeed6ee151
61a3e8c23a7c62c389433113802a0d74f4ab53cf 27-Sep-2017 Andreas Gampe <agampe@google.com> Frameworks: Move Log holder to be preloaded

To avoid issues with late initialization, let the holder be
initialized in the zygote.

Bug: 65927416
Test: m
Change-Id: I6f454df46d4c64d295e1f2510793d5087b74fb74
reloaded-classes
reloaded-classes-extra
5b15392c9aa04f6f0c5562c72aacf8e4f3b7ed84 22-Sep-2017 Sunny Goyal <sunnygoyal@google.com> Simplifying writeToParcel for various actions

> Using helper methods when writing and reading typed objects
> Moving the tag write outside the action, as it is read outside
the action as well
> Removing usused tags

Test: am instrument -w -e class android.widget.RemoteViewsTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 65574108
Change-Id: Iaf51cae6ef9f82b70dc1f19c2f019af40c4424a2
ompiled-classes-phone
reloaded-classes
e98252d2d79759bcd4c84cf0ac0ab614eb78434a 21-Sep-2017 Victor Chang <vichang@google.com> Merge "Remove StructGroupSourceReq" into oc-mr1-dev-plus-aosp
am: ea8a114743

Change-Id: Ie44da7ca28665a0769da7a1d7231d02cf4942c5d
ea8a11474338dcf4c797ac915a977fb96ce36901 20-Sep-2017 Victor Chang <vichang@google.com> Merge "Remove StructGroupSourceReq" into oc-mr1-dev-plus-aosp
0321346f38839a332e7c097a1cc80251a13b97c3 25-Aug-2017 Christine Franks <christyfranks@google.com> Handle night display state when timezone changes

Bug: 64458884
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services and manually tested Hawaii and London

Change-Id: I052034a4c64eb73c42672215e8847c11e00efeb5
(cherry picked from commit 2ce862c3ed3739c4bb794794fb57e00fe233a3d5)
ompiled-classes-phone
reloaded-classes
1276f357d3addd80ca0348515d07193b68682f44 20-Sep-2017 Christine Franks <christyfranks@google.com> Merge "Handle night display state when timezone changes" into oc-mr1-dev
2ce862c3ed3739c4bb794794fb57e00fe233a3d5 25-Aug-2017 Christine Franks <christyfranks@google.com> Handle night display state when timezone changes

Bug: 64458884
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services and manually tested Hawaii and London

Change-Id: I052034a4c64eb73c42672215e8847c11e00efeb5
ompiled-classes-phone
reloaded-classes
ed707d9cf1bfb82804ed80967ef8861601edd2a8 11-Aug-2017 Victor Chang <vichang@google.com> Remove StructGroupSourceReq

- Remove the class as part of removing setsockoptGroupSourceReq from
Os.java
- CtsLibcoreTestCases and CtsLibcoreOjTestCases pass on aosp/master

Bug: 32071916
Test: m
Change-Id: I132190f47cea9f56ec56a824763f7e2b2cfde893
ompiled-classes-phone
reloaded-classes
5fe738da3be7a4e91bad950c9719937df925d9a9 18-Sep-2017 Kurt Nelson <kurtn@google.com> Merge "Improve StrictMode CTS Testing"
4d95693ad2f0280bd0ddf5afcc69cff04927738d 12-Sep-2017 Mathieu Chartier <mathieuc@google.com> Add extra preloads to image

Since some of these can be initialized AOT during image creation, add
them to the boot profile. Numbers are in the bug, here is the zygote
init back at normal ranges: Zygote64Timing_ZygoteInit_avg:1003.1

Test: make and flash
Bug: 65582823
Change-Id: Ide2b7c496d38af656c027bdae73e1577904fc99e
oot-image-profile.txt
7d5c07a5615d4e75f60bd314c2aa1503ba0ed5ae 08-Sep-2017 Kurt Nelson <kurtn@google.com> Improve StrictMode CTS Testing

* Pass a full object instead of just a string. I will be adding more
detailed assertions making sure cross-binder violations work.
* AOSP format the test class.
* Update to modern junit.
* Lambda-fy.
* Load ViolationLogger in Zygote.

Bug: 62458734
Test: Test improvments.
Change-Id: I2ddc489f845928154269cad449cbdc7b15dabe8e
reloaded-classes
8aedf4d950c5610cfc9eff61c9567ce25867e3ab 12-Sep-2017 Paul Duffin <paulduffin@google.com> Remove org.apache.http classes from preloaded classes

Change I686e3c20f5860e58825e1b88f220f9b8c335849c removed the
org.apache.http.legacy library from the bootclasspath which means that
the classes are no longer available to be preloaded by the zygote. This
change removes the classes that cannot be preloaded from the list of
classes to preload.

Bug: 18027885
Test: make droid, flash, check log for "Class not found for preloading"
Change-Id: I57032355d805feb08720c9fcb1076f8e267d73dd
reloaded-classes
097ab6bea6cd507aa01aae9bc54c9ff09757e1d1 12-Sep-2017 Mathieu Chartier <mathieuc@google.com> Merge "Add some extra zygote preloads" into oc-mr1-dev am: 15998c4d01
am: 012be1c455

Change-Id: I316b2161bf2b4a78865c8b908aaf6f17c64ab76a
d62dd932dd7a8a84a174b33117c2b5a480b17a45 10-Sep-2017 Mathieu Chartier <mathieuc@google.com> Add some extra zygote preloads

Slow to initialize classes used by camera, instagram, facebook,
etc.

Obtained by go/ag/2877672 and looking at logcat during application
startup for: Camera, Instagram, Maps, and Facebook.

Test: build and flash
Bug: 65493113

Merged-In: Ic7a5641560e3b7de6f4db14f452d567104ce315c

(cherry picked from commit e4e553dab5e76b6f5aefcd274dfde98103e5004a)

Change-Id: Ie7837df6310496a3d840475aa7aa0ccba876efef
reloaded-classes
reloaded-classes-extra
deab1c6de45773c9601ae5e1a08cd72a2f936da7 08-Sep-2017 Mathieu Chartier <mathieuc@google.com> Add some more methods to boot profile

I suspect MR1 was missing some methods in master. This caused a
regression in install time.

Use case: Install app on master

Test: make
Bug: 65460756
Change-Id: I115dc125937482799a7b545c1ade9150ac518afd
oot-image-profile.txt
1c2d2afcecb4357731bcbc653f14341fad2ec970 29-Aug-2017 Mathieu Chartier <mathieuc@google.com> Move to using a profile for boot image

Updated the system server profile, moved to using a profile for the
boot image.

Use cases for obtaining profiles:
Automated CUJ tests
Automated app launches
Manual usage of dialer, navigation, playstore, and play music.

Storage savings:
Boot art+vdex+oat size: 78305556->61539326 (-17MB)

New system server profile has more methods (1.5MB -> 4MB oat) since it
has more coverage from use cases.

Ram savings (sample averages for CUJ test):
Average PSS of 3 runs (~100 samples total):
.Boot_vdex: 9359K -> 9902K
.oat_mmap: 21857K -> 13372K
.Heap: 29779K -> 29483K
.Boot_art: 15736K -> 18096K
.LinearAlloc: 9112K -> 8965K
Total PSS: 85846K -> 79819K (-6MB)

Average pages read from flash (512MB device) for CUJ tests (3 samples):
1508MB -> 1183MB

TODO: Investigate why .art goes up, maybe we are missing some classes
in the profiles.

Bug: 37966211
Bug: 63178181

Test: make and flash

Change-Id: I2031c52eab7b868c59d4c5a46cad50bfbc6cd714
oot-image-profile.txt
reloaded-classes
reloaded-classes-blacklist
f72073a84f827f0b8771d6258d568cacc7ead9d6 16-Aug-2017 Mathieu Chartier <mathieuc@google.com> Add CollationRoot to preloaded classes

It was determined this would save RAM.

Test: ./generate-preloaded-classes.sh base.txt preloaded-classes-blacklist preloaded-classes-extra > preloaded-classes
Test: Look at the generated file
Bug: 63444758
Change-Id: Ib49b1218e94e4a4a2211071da189cf917559248b
enerate-preloaded-classes.sh
reloaded-classes
reloaded-classes-extra
678ba75bb9b700a927d2f8f3bea725086c59405d 15-Aug-2017 Mathieu Chartier <mathieuc@google.com> Add some preloaded classes related files and tools

Added copyright-header to be used by generation scripts to
automatically add a copyright header to preloaded classes.

Add a default blacklist file to avoid needing to manually
remove classes that can't be preloaded in the zygote.

Added a script go generate a preloaded classes list from a raw class
list. This script adds the copyright headers and comments and removes
blacklisted classes.

Bug: 37966211
Test: manually run the scripts

Change-Id: I166f990c41978c80134d2f1e12c1b1079a12752a
opyright-header
enerate-preloaded-classes.sh
reloaded-classes-blacklist
6e3461b67cae27a42a4d77fa277ba2d844ea0cde 11-Aug-2017 Fyodor Kupolov <fkupolov@google.com> Log timings for shutdown stages

Renamed BootTimingsTraceLog to TimingsTraceLog. It is now used for
boot and shutdown logging.

Added measurements for main stages of shutdown in the system server:
ShutdownTiming: SendShutdownBroadcast took to complete: 734ms
ShutdownTiming: ShutdownActivityManager took to complete: 203ms
ShutdownTiming: ShutdownPackageManager took to complete: 17ms
ShutdownTiming: ShutdownBt took to complete: 533ms
ShutdownTiming: ShutdownRadio took to complete: 534ms
ShutdownTiming: ShutdownNfc took to complete: 1536ms
ShutdownTiming: ShutdownRadios took to complete: 1538ms
ShutdownTiming: ShutdownStorageManager took to complete: 906ms
ShutdownTiming: SystemServerShutdown took to complete: 3918ms

Bug: 64569080
Test: shutdown/reboot and check logs
Change-Id: I636c045852cd1ed6be1c58af6608f70e95756389
ompiled-classes-phone
reloaded-classes
a023b86c3b4554b90ed6edfd63cedddb4f0100f9 11-Aug-2017 Mathieu Chartier <mathieuc@google.com> Add frameworks base config and move text blobs there

Bug: 64259751
Test: clean oat files && make and flash
Change-Id: I7c898d69e66257fe0a7827ebbab1fcff4aa6473e
ompiled-classes-phone
irty-image-objects
reloaded-classes