Commit Graph

69866 Commits

Author SHA1 Message Date
Mark Lu
e88e093319 docs: fix grammar mistake in TextureView am: e8691d19cb am: 4ff96480b3
am: 43e0737ce0

Change-Id: Iba626dce4bea3d1426665e45f392e78f214dec30
2016-09-07 23:42:42 +00:00
Mark Lu
43e0737ce0 docs: fix grammar mistake in TextureView am: e8691d19cb
am: 4ff96480b3

Change-Id: I13790afb7f25cd73ce24ae84de63b1bf3b56332e
2016-09-07 23:35:46 +00:00
Mark Lu
4ff96480b3 docs: fix grammar mistake in TextureView
am: e8691d19cb

Change-Id: I06b70cf94595bbb1b3903b1d17d201ac86f169a0
2016-09-07 23:29:26 +00:00
Michael Kwan
d9ec77f356 Ensure preference icon is returned when inflated from XML even if it has not been displayed yet. am: f049e24c64
am: 09ba4a4b78

Change-Id: Iba1881c8707bb5e7cfad317f536113508f5d00df
2016-09-07 23:12:28 +00:00
Suprabh Shukla
f9c376b786 resolve merge conflicts of 37ad463 to master
Change-Id: I51b2097ac3ea4ce3ec8bb29e674d1cdd789aa1a1
2016-09-07 15:55:04 -07:00
Michael Kwan
09ba4a4b78 Ensure preference icon is returned when inflated from XML even if it has not been displayed yet.
am: f049e24c64

Change-Id: Iab0a315f916fe7da2b2a523f364be5a6842aadbd
2016-09-07 22:15:53 +00:00
Makoto Onuki
37ad4639bb Allow DO/PO to be installed with certain preconfigured accounts. am: 5e7e0670c7
am: 9d46e5e044

Change-Id: I6a55f788b12c93b7be0503300c171f7f5a40fe9d
2016-09-07 21:47:47 +00:00
Makoto Onuki
9d46e5e044 Allow DO/PO to be installed with certain preconfigured accounts.
am: 5e7e0670c7

Change-Id: I9191a60bf4071b8205c04131cb2d97ef1a32fb19
2016-09-07 21:40:20 +00:00
Michael Kwan
f049e24c64 Ensure preference icon is returned when inflated from XML even if it has not been displayed yet.
Bug: 31343032
Change-Id: Ifa2c84b3091c2cfc5b98da6f30bb1ba060cd26e7
2016-09-07 13:15:55 -07:00
Robert Carr
4522876250 SurfaceView: Correct coordinate space in windowPositionLostRT. am: 3387913237 am: d0c9771e49
am: bdf5fecc10

Change-Id: I3577db32b29be5ad42335e5eec5314ce50b3b878
2016-09-07 20:13:59 +00:00
Robert Carr
bdf5fecc10 SurfaceView: Correct coordinate space in windowPositionLostRT. am: 3387913237
am: d0c9771e49

Change-Id: I8cdb9f48a0c78e1c620b8e2c52a3dd7a45f8a90a
2016-09-07 19:34:49 +00:00
Robert Carr
d0c9771e49 SurfaceView: Correct coordinate space in windowPositionLostRT.
am: 3387913237

Change-Id: I7f28aab013bd6fe213a90e293664cc59ee6d23cf
2016-09-07 19:25:20 +00:00
Andreas Huber
29803deffc Adds framework support for hidl-gen Java backend. (to support structs)
am: 50546a98ed

Change-Id: I4940989950cbe201725b75b9b5095c12962b1444
2016-09-07 18:27:33 +00:00
Andreas Huber
36cda33a24 Add Bool* APIs to HwParcel
am: e1eb45d8d6

Change-Id: I93f9bfe4efb66957b259f0a3310a25c6eae3e4cb
2016-09-07 18:27:29 +00:00
Andreas Huber
93618c7d20 Support one-way methods in java support for hardware binder
am: 281ac40c97

Change-Id: I84cf39879ea0a6d5d488d0e414adefc8b5fc6e6b
2016-09-07 18:27:18 +00:00
Andreas Huber
c408429712 Initial commit of Java support for hardware binder
am: 7f5fcabacc

Change-Id: I8267679b52873da428a7223a47577ea19ceacbb2
2016-09-07 18:27:14 +00:00
Robert Carr
3387913237 SurfaceView: Correct coordinate space in windowPositionLostRT.
mWinFrame as set when returning from relayout will be in screen
space coordinates. repositionChild however expects coordinates relative to the
parent position (like relayout).

Bug: 31112993
Change-Id: Id4fcd7fcb771908e8a7db981207d19c99fb51b98
2016-09-07 11:07:18 -07:00
TreeHugger Robot
a14864c78a Merge "Refactored INetworkPolicyListener callbacks." 2016-09-07 17:42:27 +00:00
Andreas Huber
50546a98ed Adds framework support for hidl-gen Java backend. (to support structs)
Bug: 30575790
Change-Id: Ida30d8fe7a1b210e98f1a0ea5d429a0112f9ef3f
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-07 15:10:50 +02:00
Andreas Huber
e1eb45d8d6 Add Bool* APIs to HwParcel
Bug: 31045584
Change-Id: I202c4aa7caf92a4cd7e3a45ef6784638e41facc8
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-07 15:10:45 +02:00
Andreas Huber
281ac40c97 Support one-way methods in java support for hardware binder
Bug: 30922538
Change-Id: I5ff93126a29f6bff42dee3f9868fa794ca7c077f
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-07 15:10:35 +02:00
Andreas Huber
7f5fcabacc Initial commit of Java support for hardware binder
Change-Id: If1098ab921a11bae8eca2a70a3c3070e4daa0ea2
2016-09-07 15:10:30 +02:00
Yohei Yukawa
d96ff3c901 Merge "Update JavaDoc for IMS#enableHardwareAcceleration" 2016-09-07 01:05:14 +00:00
Chad Brubaker
d2b2968e1d Avoid NPE on certificates that cannot be read am: 01e9682cab am: 92a534325d
am: 94c395549a

Change-Id: Ifc5c8aa90255b46564225c1cfbc2d96f640ce2f7
2016-09-06 21:49:40 +00:00
Chad Brubaker
94c395549a Avoid NPE on certificates that cannot be read am: 01e9682cab
am: 92a534325d

Change-Id: Ie650d94e36498c78ca7c2e49d75510966c351b16
2016-09-06 21:44:54 +00:00
Neil Fuller
ad54b35d6d Fix receive timeout on LocalSocket
am: 8d5ec8d7db

Change-Id: I463c1f7189b573fdbf9f0bf5001e6c626ea88197
2016-09-06 21:32:09 +00:00
Chad Brubaker
92a534325d Avoid NPE on certificates that cannot be read
am: 01e9682cab

Change-Id: I5dfc19b32cef8f87c04908d1116e7528ae9be87c
2016-09-06 21:30:43 +00:00
Calin Juravle
0bc450ac05 [RFC] Special case system apps for profile optimizations am: 08313b0d95
am: 788e111cba

Change-Id: I8466811b44b623e23117d6554e69cc80e2c4485f
2016-09-06 21:25:44 +00:00
Andreas Gampe
2a04b0876f Frameworks/base: Add new flow to OtaDexoptService am: d15300cf38
am: 32a092adf3

Change-Id: I7a49f0732cf24c2a86f798c6725a664e93092d7b
2016-09-06 21:25:36 +00:00
Andreas Gampe
82f8ebc2b7 Otadexopt: Expose progress percentage am: ff8ab4c9fa
am: 630a372a1d

Change-Id: I25937bf6a90076b37c5c322ccc8335fef3a9e6ee
2016-09-06 21:25:32 +00:00
Hui Shu
956b5293ac Merge "Fix WebViewDatabase javadoc." 2016-09-06 20:57:57 +00:00
Felipe Leme
0ecfcd1e3a Refactored INetworkPolicyListener callbacks.
Methods onRestrictBackgroundWhitelistChanged() and
onRestrictBackgroundBlacklistChanged() were replaced by a more generic
onUidPoliciesChanged().

Test: m javac-check RUN_ERROR_PRONE=true
Test: m -j32 FrameworksServicesTests && adb install -r -g ${ANDROID_PRODUCT_OUT}/data/app/FrameworksServicesTests/FrameworksServicesTests.apk && adb shell am instrument -e class "com.android.server.NetworkPolicyManagerServiceTest" -w "com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner"

BUG: 28791717
Change-Id: I18b2ee4af06802e0d23822b153d1be9b429d5811
2016-09-06 12:49:48 -07:00
Phil Weaver
93521c0043 Stop double notifying a11y about Toasts. am: 532c7999c5 am: de13bcf08b
am: 6e56bb4c14

Change-Id: Ia95d2eb44f3deee794986a420a622fb1c7de9e15
2016-09-06 19:21:33 +00:00
Makoto Onuki
5e7e0670c7 Allow DO/PO to be installed with certain preconfigured accounts.
- Non-test-only DO/PO still can't be installed when there are
accounts.

- Test-only DO/PO can be installed even when there are accounts,
as long as all the accounts have the
"android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED" feature.
Some authenticators claim to have any features, so to detect it,
we also check android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED
and disallow installing if any of the accounts have it.

- Also add logs on certain important events in DPMS.

Bug 28928996

Change-Id: I62efce10e9cc22e994ea8cae91a4fafcce25dd77
2016-09-06 11:56:45 -07:00
Hui Shu
433fb93515 Fix WebViewDatabase javadoc.
BUG=30481165
Change-Id: Ibd14880aa25907234dd93c38b5d0f2c9e808340e
2016-09-06 11:28:34 -07:00
Svetoslav Ganov
bcf846affe Properly close fd backing a MemoryIntArray
am: e257d6e167

Change-Id: I72d1c9b911dcfa32fb6174844a9a3940add9e3a7
2016-09-06 17:58:12 +00:00
Calin Juravle
08313b0d95 [RFC] Special case system apps for profile optimizations
If the OTA updates a system app which was previously preopted to a non-
preopted state the app might end up being verified at runtime. That's
because by default the apps are verify-profile but for preopted apps
there's no profile.

Do a hacky check to ensure that if we have no profiles (a reasonable
indication that before the OTA the app was preopted) system apps get
compiled with a non-profile filter (by default interpret-only).

Bug: 30032273
Test: Andreas "has verified that Calin's change to A/B works as expected
and promotes things like SystemUI to speed. From my side, that's
ready to be merged"

Change-Id: I7a052a8ea76cab7f649dc993237ea05534d6c4b9
(cherry picked from commit 0bd7762079)
2016-09-06 10:41:04 -07:00
Andreas Gampe
d15300cf38 Frameworks/base: Add new flow to OtaDexoptService
Add functionality to capture/intercept installd communication, and
use this to return the full communication for dexopt. These parameters
can be used to drive otapreopt_chroot directly.

Keep the old direct invocation alive until devices have transitioned
to a service that exposes this API.

In preparation for renaming of A/B OTA artifacts to include target
slot names.

Bug: 25612095
Bug: 28069686
Change-Id: I14728ee1266f3882cada8f08dd21891ed5f7a0cb
(cherry picked from commit cc241a580c)
2016-09-06 10:39:56 -07:00
Andreas Gampe
ff8ab4c9fa Otadexopt: Expose progress percentage
To be able to report progress of an A/B OTA dexopt, expose a
progress function that the script can query.

Bug: 25612095
Bug: 29223204
Change-Id: Ie8162946d18f6fa78649a40ad5d3949d31a181cd
(cherry picked from commit bf06232f4d)
2016-09-06 10:39:20 -07:00
Phil Weaver
6e56bb4c14 Stop double notifying a11y about Toasts. am: 532c7999c5
am: de13bcf08b

Change-Id: Ie3ed51a4fe4c6c818bc96e98c214ec7b610f507d
2016-09-06 16:46:46 +00:00
Phil Weaver
de13bcf08b Stop double notifying a11y about Toasts.
am: 532c7999c5

Change-Id: If8d025884b8a941386cd472403c1c93fee5a70af
2016-09-06 16:40:15 +00:00
Phil Weaver
85d18cce6d Merge "Stop double notifying a11y about Toasts." into nyc-mr1-dev 2016-09-06 16:33:42 +00:00
TreeHugger Robot
1de7186c92 Merge "Removed deprecated methods from INetworkPolicyManager." 2016-09-03 05:47:48 +00:00
Svetoslav Ganov
71c510236c resolve merge conflicts of bde1d34 to master
Change-Id: Id3cef32bb97cfe8483001e71207b65bc0bc6e304
2016-09-02 18:04:29 -07:00
Svetoslav Ganov
bde1d3458f Prevent apps to overlay other apps via toast windows am: aa07653d2e
am: dea62c6f58

Change-Id: I7ee488e4ac0fc312405680d04a480d473c176ac5
2016-09-02 23:46:20 +00:00
Svetoslav Ganov
dea62c6f58 Prevent apps to overlay other apps via toast windows
am: aa07653d2e

Change-Id: I309615a989eade43401b086da42ff6522d000b68
2016-09-02 23:36:59 +00:00
Svetoslav Ganov
cbfd373d72 Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev 2016-09-02 23:28:26 +00:00
Felipe Leme
57e3d31091 Removed deprecated methods from INetworkPolicyManager.
Removed the following methods:

- addRestrictBackgroundWhitelistedUid(int uid)
- removeRestrictBackgroundWhitelistedUid(int uid);
- getRestrictBackgroundWhitelistedUids();

They've been replaced by getUidsWithPolicy() and setUidPolicy().

Test: m -j32 FrameworksServicesTests && adb install -r -g ${ANDROID_PRODUCT_OUT}/data/app/FrameworksServicesTests/FrameworksServicesTests.apk && adb shell am instrument -e class "com.android.server.NetworkPolicyManagerServiceTest" -w "com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner"

BUG: 28791717

Change-Id: I8f6a569cef84c2be60e3277756283026c0fb5b29
2016-09-02 16:26:35 -07:00
Winson
70f21570bf Fixing issue with old tasks being visible in Overview am: b258f6a4bd am: f4806c80ca
am: 2a4cd1518e

Change-Id: I8a229f3515bebca4cd8456afae963bb97dac96d6
2016-09-02 22:22:43 +00:00
Winson
2a4cd1518e Fixing issue with old tasks being visible in Overview am: b258f6a4bd
am: f4806c80ca

Change-Id: I87bb9656b8d766ea4b2763f529bbf1d8873479f4
2016-09-02 22:15:06 +00:00