295171 Commits

Author SHA1 Message Date
Adam Lesinski
304321ed8d Revert "Move Resource creation out of ContextImpl constructor"
This reverts commit 16efc5e68d77903b84943bd9917bfd858332c183.

Caused issue with device protected settings: http://b/33066012

Change-Id: Ib485bed68ea8ac199d553b666c18d048a5624c98
2016-11-22 19:41:55 +00:00
Adam Lesinski
16efc5e68d Move Resource creation out of ContextImpl constructor
Resource creation is going to get much more nuanced
than just passing in a static set of paths, so move
the creation of Resources out to where the context
of the creation is more easily understood.
Test: Existing CTS tests pass

Change-Id: If5d79e0f84a111790c15a7b44db3f44c75e7141c
2016-11-18 18:13:55 -08:00
Hemal Patel
b4ff25b4cd Merge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1 am: 4da8fdaa15 am: 25cba2de54 am: 314131182d am: 5d86219ed8
am: 449f53c52a

Change-Id: Ibd356b5b854db15b2e624dba0ad01680fe7287b3
2016-11-07 23:04:47 +00:00
Hemal Patel
2e594bcc74 Docs: Revised the Drawable example am: ad302b60f4 am: 32bda49ae3 am: 618d339f3c am: 972fed3d41 am: 3fb153b196
am: 6a263b9faf

Change-Id: I9a246348630e85edeac441b310326f5c216585e9
2016-11-07 23:03:25 +00:00
Hemal Patel
449f53c52a Merge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1 am: 4da8fdaa15 am: 25cba2de54 am: 314131182d
am: 5d86219ed8

Change-Id: If8f85d5bffb90243e635d64c9379a695d7ae15ac
2016-11-07 22:53:45 +00:00
Hemal Patel
6a263b9faf Docs: Revised the Drawable example am: ad302b60f4 am: 32bda49ae3 am: 618d339f3c am: 972fed3d41
am: 3fb153b196

Change-Id: Ia04ece98157476b62aed61766c2b0bdb5978a592
2016-11-07 22:52:37 +00:00
Hemal Patel
5d86219ed8 Merge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1 am: 4da8fdaa15 am: 25cba2de54
am: 314131182d

Change-Id: If09f84d26df52e3d391fc77933e945074ace9ab9
2016-11-07 22:43:20 +00:00
Hemal Patel
3fb153b196 Docs: Revised the Drawable example am: ad302b60f4 am: 32bda49ae3 am: 618d339f3c
am: 972fed3d41

Change-Id: I246f6ad12e75aca16d952ab790af316913537cfd
2016-11-07 22:42:09 +00:00
Jason Monk
6e5a8f714c Merge "Don't include the example plugin in mk" 2016-11-07 22:41:55 +00:00
Hemal Patel
314131182d Merge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1 am: 4da8fdaa15
am: 25cba2de54

Change-Id: If60b26c74033350e7d103c69fa0d33f67ac08f63
2016-11-07 22:32:03 +00:00
Hemal Patel
972fed3d41 Docs: Revised the Drawable example am: ad302b60f4 am: 32bda49ae3
am: 618d339f3c

Change-Id: I68f8105a901685cf2382dae2982be846746565c2
2016-11-07 22:31:01 +00:00
Hemal Patel
25cba2de54 Merge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1
am: 4da8fdaa15

Change-Id: I9596ce508e799a82c8224bb5e33d30c8de94311b
2016-11-07 22:22:06 +00:00
Hemal Patel
618d339f3c Docs: Revised the Drawable example am: ad302b60f4
am: 32bda49ae3

Change-Id: I811bb218f83087c5dd602b4382c7496e019dcb0b
2016-11-07 22:21:07 +00:00
TreeHugger Robot
ca67fa44ff Merge "Doze: Refactor v1" 2016-11-07 22:17:01 +00:00
Adrian Roos
ff2c4563cd Doze: Refactor v1
Pulls appart UI, state, power, display and trigger management
into individual components controlled by a state machine.

Also adds tests.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeMachineTest.java
Change-Id: I6ee7e79d58a5a3ebeb975775af44ad1e5aaccf93
2016-11-07 14:14:30 -08:00
Hemal Patel
4da8fdaa15 Merge "Docs: Revised the Drawable example" into nyc-dev
am: 80956c99b1

Change-Id: I9a030b5080f7c1abe9a9e00404a7b72979e27aec
2016-11-07 22:11:06 +00:00
Hemal Patel
32bda49ae3 Docs: Revised the Drawable example
am: ad302b60f4

Change-Id: I3504dde2e7a31a50c59e3be239ae0160f84435ef
2016-11-07 22:10:59 +00:00
Hemal Patel
80956c99b1 Merge "Docs: Revised the Drawable example" into nyc-dev 2016-11-07 21:57:49 +00:00
TreeHugger Robot
e6022a40ad Merge "Add safety net if StackView duration would be negative." 2016-11-07 21:48:45 +00:00
TreeHugger Robot
9310f59cac Merge "Fix bug with displaying visual profile bars" 2016-11-07 21:32:28 +00:00
Derek Sollenberger
3e62009709 Merge "Refactor pin/unpinImages to work across pipelines." 2016-11-07 20:59:48 +00:00
Derek Sollenberger
1dc5fba2dc Merge "Enable SkiaPipelines to interoperate with existing GlesDriver configs." 2016-11-07 20:42:38 +00:00
Rob Carr
0eca566f96 Merge "Tests for computeFrameLw docked type scenarios." 2016-11-07 20:24:51 +00:00
Jorim Jaggi
e86ce54b49 Merge "Fix waitingForDrawn callback not called when adjusting for IME" into nyc-mr2-dev am: 26ce8ba803
am: 5f5b007352

Change-Id: I4509a6a4a5c2880a5a48e42a8442a2f298ad8cb8
2016-11-07 20:04:03 +00:00
Jorim Jaggi
576d8e969f Fix waitingForDrawn callback not called when adjusting for IME am: 3188386ff8
am: b2089aba28

Change-Id: I4381e9828e37d0e939390ee24da3395059a30e9a
2016-11-07 20:02:29 +00:00
Jorim Jaggi
5f5b007352 Merge "Fix waitingForDrawn callback not called when adjusting for IME" into nyc-mr2-dev
am: 26ce8ba803

Change-Id: I1d29ec289954e8cec337bb8235815f2e362f644d
2016-11-07 19:52:34 +00:00
Jorim Jaggi
b2089aba28 Fix waitingForDrawn callback not called when adjusting for IME
am: 3188386ff8

Change-Id: I6c844d1b86836673329a198b0f1d97bd07ff22f3
2016-11-07 19:52:28 +00:00
TreeHugger Robot
1e1fd76a67 Merge "thermal: add usage of IThermal." 2016-11-07 19:41:07 +00:00
Jorim Jaggi
26ce8ba803 Merge "Fix waitingForDrawn callback not called when adjusting for IME" into nyc-mr2-dev 2016-11-07 19:40:25 +00:00
Matt Sarett
4c9bbf4eef Fix bug with displaying visual profile bars
Test: Used debugging feature.

BUG:32370375

Change-Id: I56e4e2155566a219ce43882e48b327123edccfe2
2016-11-07 14:23:33 -05:00
Julius D'souza
132a23b11f Merge "Add initial ambient light sensor rate" 2016-11-07 18:52:12 +00:00
Sohani Rao
cd041490fe Merge "Update REQUEST_PEERS message with calling package" 2016-11-07 18:43:25 +00:00
Tony Wickham
400ef79b8e Add safety net if StackView duration would be negative.
Bug: 32699754
Change-Id: I00d4b2398fa7f4ab4cdad290a346b0f09c2af242
2016-11-07 18:27:41 +00:00
Dianne Hackborn
cdb31d2ecd Merge "Implement system API for monitoring uid importance changes." 2016-11-07 18:23:43 +00:00
Eric Laurent
67b30fea38 Merge "AudioService: fix mismatch in device volume index for alias streams" 2016-11-07 18:19:11 +00:00
Marco Nelissen
03d9d82229 Merge "Use libaudioclient" am: 0a05c49248 am: 1d10b88f40 am: e327563c6c
am: 694d1b5764  -s ours

Change-Id: I808bf0d575a3b6a8088fd03fa8fcb43f7084602f
2016-11-07 18:00:06 +00:00
Marco Nelissen
694d1b5764 Merge "Use libaudioclient" am: 0a05c49248 am: 1d10b88f40
am: e327563c6c

Change-Id: I5a1868ae472821dbd3f29e342f7410f8adcb37d8
2016-11-07 17:41:27 +00:00
Marco Nelissen
e327563c6c Merge "Use libaudioclient" am: 0a05c49248
am: 1d10b88f40

Change-Id: I55ad06914aae308f7ffa46c27b9bab3db46cdc1c
2016-11-07 17:31:52 +00:00
Marco Nelissen
1d10b88f40 Merge "Use libaudioclient"
am: 0a05c49248

Change-Id: I134c9c5b95e446fcc18e2b35a3eca2a4a794e8c8
2016-11-07 17:22:36 +00:00
Marco Nelissen
0a05c49248 Merge "Use libaudioclient" 2016-11-07 17:14:25 +00:00
Derek Sollenberger
7e044fef62 Enable SkiaPipelines to interoperate with existing GlesDriver configs.
Test: hwui unit tests
Change-Id: Icd94d0e21130d86fb5514801f999d0018a69e151
2016-11-07 10:59:20 -05:00
Polina Bondarenko
71cb0c5b6a thermal: add usage of IThermal.
HardwarePropertiesManagerService native impl uses IThermal instead of
thermal_module.

Bug:32022261
Test: CTS
Change-Id: I85e5c5bedb1cb6762207ccfa3e3a7dd4c00ee30a
2016-11-07 16:07:05 +01:00
Derek Sollenberger
b7d34b64dd Refactor pin/unpinImages to work across pipelines.
Test: existing CTS tests still pass
Change-Id: Ib2607e9853396bad42f298829b5c5da0d210af32
2016-11-07 10:05:56 -05:00
Torne (Richard Coles)
a7fcb2bc2a Add the webview zygote socket to the zygote whitelist.
Allow the webview zygote socket to be open at time of fork, so that
webview renderers can be forked successfully.

Test: WebView functions correctly with multiprocess dev setting enabled
Bug: 21643067
Change-Id: I312846433a43a8e4548cb2f98b96b56acf9f5333
2016-11-07 12:30:40 +00:00
TreeHugger Robot
2cf7c483a8 Merge "Not create document under the device." 2016-11-07 06:21:48 +00:00
Seigo Nonaka
4b56177429 Merge "Make sure the Typeface is loaded before calling measureText." 2016-11-07 05:22:52 +00:00
Hugo Benichi
3bbe9ab6b8 Merge "Netd events: record connect() success/errno" 2016-11-07 04:07:13 +00:00
Daichi Hirono
35b2ec551f Not create document under the device.
The structure of files in MtpDocumentsProvider looks like
/device/storage/files. But MtpDocumentsProvider shows files
just under the device if the device has only single storage.

It causes a problem that MtpDocumentsProvider tries to create a file
under the device. Previously it tries to create a file with storageId =
0, which means MTP device choose a storage to store the file.

Because it only happens when the device has a single storage, the file
is properly written to the device. But the database in
MtpDocumentsProvider goes into the illegal state where the file is
placed just under the device.

Bug: 32561572
Test: adb shell am instrument -w -e class com.android.mtp.MtpDocumentsProviderTest com.android.mtp.tests/com.android.mtp.TestResultInstrumentation
Change-Id: I47a373ceee8a64ba9995934317693e79d2497ee0
2016-11-07 10:29:09 +09:00
Hugo Benichi
19dfc38434 Merge "frameworks-test: adding missing @SmallTest" 2016-11-07 00:09:56 +00:00
Etan Cohen
883461a6d4 Merge "[NAN-AWARE] Rename NAN to Aware" am: 74b1131cc8 am: 6571007101 am: a99a05982e
am: 2ad6b14d50  -s ours

Change-Id: Id51e99533ce8ab29bd40170f8eafc0f9702c16fb
2016-11-06 03:38:18 +00:00