Commit Graph

84397 Commits

Author SHA1 Message Date
TreeHugger Robot
e2adb2a69a Merge "Optimizations to reduce verity verification time" 2017-11-09 01:42:44 +00:00
TreeHugger Robot
dbc78eebd9 Merge "Allow standby timeouts to occur after usage" 2017-11-09 01:35:22 +00:00
TreeHugger Robot
bc1ca0d9bc Merge "Unhide MAKE_USER_EPHEMERAL" 2017-11-09 00:39:57 +00:00
Victor Hsieh
def64f26c3 Optimizations to reduce verity verification time
Test: with CPU locked to low freq, verification time of a 400 MB apk is
      reduced from about 2528 ms to 1942 ms, vs 915 ms of the old
      algorithm.  Writing directly into ByteBuffer's backing array saves
      around 100 ms but it does not work for DirectByteBuffer, thus I
      didn't implement this optimization.
Bug: 30972906
Change-Id: I00cf782e18a8351569eaf4593188c1ce6796a634
2017-11-08 15:19:41 -08:00
Amith Yamasani
84cd7b7a9e Allow standby timeouts to occur after usage
And inform listeners when the bucket changes, not just when
going in and out of RARE bucket.
Avoid redundant callbacks when informing listeners.

Bug: 63527785
Test: runtest -x
frameworks/base/services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java
Change-Id: Icd98d59f597147fbf8ea4bf44edf4b3b3d5c8e14
2017-11-08 15:06:10 -08:00
TreeHugger Robot
41a3384b34 Merge "Add missed finish() call" 2017-11-08 22:39:41 +00:00
TreeHugger Robot
8bbf27d2f2 Merge "Don't let keyguard to influence orientation when dismissing" 2017-11-08 22:37:11 +00:00
Fyodor Kupolov
8c469b906d Merge "Update wal mode of the connection when disabling WAL" 2017-11-08 22:21:21 +00:00
TreeHugger Robot
a891ca5f6a Merge "Implement SkSL cache" 2017-11-08 21:59:05 +00:00
TreeHugger Robot
42e0ab0651 Merge "Create a new user restriction to disallow user switching" 2017-11-08 20:16:22 +00:00
Andrii Kulian
92c9a948df Don't let keyguard to influence orientation when dismissing
When keyguard is being dismissed it still was overriding orientation
for the display, which caused report of wrong configuration to
activity that was becoming visible.

Bug: 66979760
Bug: 36897968
Fixes: 68131425
Test: Launch Unity 4 based game, lock and unlock screen, check UI
Test: com.android.server.wm.DisplayContentTests#testOrientationDefinedByKeyguard
Change-Id: I0a180b8e941a85ba4174a40cdec2ff0b8f3e00eb
2017-11-08 12:08:13 -08:00
TreeHugger Robot
4a3d844742 Merge "Very initial field detection prototype." 2017-11-08 19:13:39 +00:00
Stan Iliev
d495f43992 Implement SkSL cache
Implement SkSL cache by reusing code and logic from egl_cache_t.

Test: Improves startup times for gmail by 15ms and 10ms for calc app.
Bug: 66740665
Change-Id: I9ba479c649ba97a2c29a48d40579ba001264c957
2017-11-08 18:55:41 +00:00
nharold
2b267dfbe9 Merge "Fix signature for finalize() to resolve API Lint error" am: c8ff280e73 am: c09d405e1d
am: f61308b9e4

Change-Id: I4b91b3b01ef24d43439bbc41bc8acaa7c690522b
2017-11-08 18:46:41 +00:00
Victor Hsieh
4385fe4a46 Add missed finish() call
Note this is for code correctness and has no effect in current case.

Test: build
Bug: 30972906
Change-Id: I1dad13e75492da546c1d3717bbe2d23b9e5d9c90
2017-11-08 10:44:20 -08:00
Benedict Wong
cdd1d0ae7f Merge "Update documentation for AES-GCM-ESP keymat length" am: 3db35dfcd5 am: 6491b03410
am: d840f4d667

Change-Id: Ia0e1538feea2ddb0982875c925705c3648e50c8a
2017-11-08 18:27:06 +00:00
nharold
f61308b9e4 Merge "Fix signature for finalize() to resolve API Lint error" am: c8ff280e73
am: c09d405e1d

Change-Id: I1f8915547876e0e0045724eb9a1e29123ab4edda
2017-11-08 18:20:06 +00:00
Benedict Wong
d840f4d667 Merge "Update documentation for AES-GCM-ESP keymat length" am: 3db35dfcd5
am: 6491b03410

Change-Id: I5e61a9c28dac49f2dca554ce2fdf755ab7be0dab
2017-11-08 18:12:25 +00:00
Evan Rosky
eac26194e8 Merge "Make PopupWindows into root namespaces" 2017-11-08 18:11:33 +00:00
nharold
c09d405e1d Merge "Fix signature for finalize() to resolve API Lint error"
am: c8ff280e73

Change-Id: I1ad1ee6abafea702d9bb64f45ebad5ea307f25ec
2017-11-08 18:11:20 +00:00
TreeHugger Robot
5414610c7a Merge "Fix the list of PROCESS_TEXT items in the toolbar." 2017-11-08 18:09:12 +00:00
Benedict Wong
6491b03410 Merge "Update documentation for AES-GCM-ESP keymat length"
am: 3db35dfcd5

Change-Id: I71b24c9da8c677e35d05b6623eb99ec17f823b4b
2017-11-08 18:02:53 +00:00
nharold
c8ff280e73 Merge "Fix signature for finalize() to resolve API Lint error" 2017-11-08 17:56:43 +00:00
Benedict Wong
3db35dfcd5 Merge "Update documentation for AES-GCM-ESP keymat length" 2017-11-08 17:47:40 +00:00
Tobias Thierer
5f3d5e91ee Merge "Track deprecation/replacement of Os methods that depend on Mutable*" am: e8b07e5bef am: d20ae24fb1
am: fbaf4253ae

Change-Id: I3116c759bc651e2fe4a93c17685d7f458d1d436e
2017-11-08 17:09:37 +00:00
Tobias Thierer
fbaf4253ae Merge "Track deprecation/replacement of Os methods that depend on Mutable*" am: e8b07e5bef
am: d20ae24fb1

Change-Id: I275c4fb658f6c158d38a6062bf1622e239e1603c
2017-11-08 16:52:46 +00:00
Tobias Thierer
d20ae24fb1 Merge "Track deprecation/replacement of Os methods that depend on Mutable*"
am: e8b07e5bef

Change-Id: Iebebb843f0857cad4ace13731d1f066ab84eabb6
2017-11-08 16:44:30 +00:00
Tobias Thierer
e8b07e5bef Merge "Track deprecation/replacement of Os methods that depend on Mutable*" 2017-11-08 16:34:03 +00:00
Richard Ledley
7c0abe1920 Merge "Initial implementation of generateLinks" 2017-11-08 13:35:21 +00:00
TreeHugger Robot
e67f22bbf3 Merge "Fixes javadoc documentation of PackageInstaller.SessionParams#setOriginatingUid(int)" 2017-11-08 12:26:51 +00:00
Richard Ledley
68d9452346 Initial implementation of generateLinks
Test: Included, and ag/3141575

Change-Id: Ia91aa130e95ff347c55981b68b8d975bc8131a73
2017-11-08 10:54:09 +00:00
yuemingw
2280019d5a Fix cts failure for com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Change-Id: Iba6078f06d7d251a12c530058d1f2ace78aa3e92
Fix: 68954948
Test: com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
2017-11-08 10:27:14 +00:00
TreeHugger Robot
5cc7ea1ff8 Merge "Added new update engine error codes from /android/system/update_engine/common/error_code.h" 2017-11-08 09:03:07 +00:00
Hugo Benichi
ffdbb572e5 Merge "Define MacAddress class" am: 925349ac8f am: 37caaaa705
am: 76c2cd2a6a

Change-Id: I0e09e64bb2a6306c0422443038351fabf10e2d6e
2017-11-08 06:57:00 +00:00
Hugo Benichi
76c2cd2a6a Merge "Define MacAddress class" am: 925349ac8f
am: 37caaaa705

Change-Id: I377de35ab9ce9d8bf44bd90295a2a41fbea06d7a
2017-11-08 06:46:49 +00:00
Hugo Benichi
37caaaa705 Merge "Define MacAddress class"
am: 925349ac8f

Change-Id: If270c17b1b763e302b848fba2fe4660ce5929018
2017-11-08 06:39:40 +00:00
Hugo Benichi
e5b0f9f723 Merge "Networking metrics: minor pretty printing improvements" am: ee56b4a65c am: 5480314039
am: 2e2763f067

Change-Id: I5c3d7acf4765daaa31b593f8cb51566de6cf89c5
2017-11-08 03:56:40 +00:00
Hugo Benichi
2e2763f067 Merge "Networking metrics: minor pretty printing improvements" am: ee56b4a65c
am: 5480314039

Change-Id: I26ec8ca2d10eb5071de701043f60b67bcfbf7ba5
2017-11-08 03:48:40 +00:00
Hugo Benichi
5480314039 Merge "Networking metrics: minor pretty printing improvements"
am: ee56b4a65c

Change-Id: I5a19824564a56881ffe0ea72556490c71c0d9c23
2017-11-08 03:39:55 +00:00
Hugo Benichi
59c8e423a8 Define MacAddress class
Test: new unit tests part of $ runtest frameworks-net
Change-Id: I5a6a868ff86e9bffdc551d4e2bb486b585525c30
2017-11-08 11:09:49 +09:00
Nathan Harold
440824f743 Fix signature for finalize() to resolve API Lint error
The API linter on goog/master noticed that this method is
listed in the public API even though it's protected. The
change is probably related to a signature change from the
internal finalize method which throws a Throwable. Fix the
method in IpSecManager to throw Throwable, which should
fix the current.txt and resolve the lint error.

Bug: 69006767
Test: compilation, make update-api
Change-Id: I173d014baaa505c365b7916fcb52f2a8b4af9373
2017-11-07 17:46:12 -08:00
Benedict Wong
4ebc2c5968 Update documentation for AES-GCM-ESP keymat length
Added notes that keymat length must include 32 bits of salt.

Bug: 68672051
Test: Frameworks-net unit tests & IpSecManager CTS tests run
Change-Id: I0ae0c5be8a45b2374783b3bd1fa8bf930f15e687
2017-11-07 17:39:35 -08:00
Adam Vartanian
e0c97dfef8 Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba am: a2149abe3a am: 560fb5d050 am: 2edd31e7fc am: 97ff9f9d27
am: 580feb2e37

Change-Id: I009e5d8a7b32705f3ac01f989b4e68b5fa5664ef
2017-11-08 01:39:17 +00:00
Adam Vartanian
580feb2e37 Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba am: a2149abe3a am: 560fb5d050 am: 2edd31e7fc
am: 97ff9f9d27

Change-Id: Ied66e9bfef6708e0c03b0f97240e3a4b67780ddf
2017-11-08 01:13:26 +00:00
Hugo Benichi
c867f787bc Networking metrics: minor pretty printing improvements
Bug: 65700460
Test: manually verified the output of $ adb shell dumpsys connmetrics
Change-Id: Ieae535b48d2e2b6e9087431d345c8f916006bb6c
2017-11-08 09:47:58 +09:00
Adam Vartanian
97ff9f9d27 Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba am: a2149abe3a am: 560fb5d050
am: 2edd31e7fc

Change-Id: Ic915bece1025d8ad8a0ed05e9b20afa9bfcdd811
2017-11-08 00:38:27 +00:00
Adam Vartanian
2edd31e7fc Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba am: a2149abe3a
am: 560fb5d050

Change-Id: I088a828022a70b0d2ac1b88c4fab3801528eb4f8
2017-11-08 00:15:23 +00:00
Adam Vartanian
560fb5d050 Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc am: eb4598afba
am: a2149abe3a

Change-Id: I48d611e91318a8f85f12fcff5fc00de8b1f834c9
2017-11-07 23:50:35 +00:00
Adam Vartanian
a2149abe3a Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333 am: 49dfdd66cc
am: eb4598afba

Change-Id: Ibf435bc90e013af2a7c72f1988ac0f78485f2c23
2017-11-07 23:30:44 +00:00
Adam Vartanian
eb4598afba Adjust Uri host parsing to use last instead of first @. am: cd6228dd37 am: 6a9c7c4814 am: 4158c9fbf3 am: eee677386e am: 49e5fca362 am: 240b55de2c am: 3ac5dabc21 am: f61daaa333
am: 49dfdd66cc

Change-Id: I49d0744049b593ea47ede3ad9e128a5344196811
2017-11-07 23:04:25 +00:00