Commit Graph

3374 Commits

Author SHA1 Message Date
Vadim Tryshev
68f8fe590f Adding compatibility note for drag/drop in N. am: 06b9b60c6d
am: 360031a944

Change-Id: Iaaaf125e0e58be896115eb94113170402627d4ef
2016-09-24 01:24:53 +00:00
Vadim Tryshev
06b9b60c6d Adding compatibility note for drag/drop in N.
Bug: 31702571
Change-Id: Ib4b839eec21ea8e1c2b3686595a45642eb8285ba
2016-09-23 15:32:33 -07:00
Jeff Sharkey
15b0cc92cf Rename should behave like create: avoid conflict. am: 2c89a4c170
am: 0e033491ca

Change-Id: I071e31e47dd662d5a7816bc1c3326fe964a6daf8
2016-09-22 04:58:43 +00:00
Jeff Sharkey
2c89a4c170 Rename should behave like create: avoid conflict.
When we create a file that already exists, we try attaching a suffix
like "(1)" to the filename to avoid the conflict.  The newly added
rename method should do the same, since developers may not have
access to delete the conflicting file.

Test: boots, rename via UI, new unit tests
Bug: 31545404
Change-Id: Ie397eebb0fbf98cf079eee3bbbb6c6b7ca627d91
2016-09-21 23:01:25 +00:00
Andreas Huber
dde39b9ce9 Merge "Removed legacy code used to read/write java arrays from HwBinder parcels." am: eda7bc5c84 am: 618e39a3be
am: 60c722812c

Change-Id: Iede50464cb80c75e224e4b0aff8b41ab2cc9f403
2016-09-20 21:58:10 +00:00
Andreas Huber
60c722812c Merge "Removed legacy code used to read/write java arrays from HwBinder parcels." am: eda7bc5c84
am: 618e39a3be

Change-Id: If1d020f2d62980992ce82359922c1ebfde4c19f8
2016-09-20 20:59:31 +00:00
Andreas Huber
618e39a3be Merge "Removed legacy code used to read/write java arrays from HwBinder parcels."
am: eda7bc5c84

Change-Id: If256977b368ec830f1c01f86c3845d9313c38767
2016-09-20 20:48:53 +00:00
Dianne Hackborn
3da7e4e563 A little more on issue #30766518: Document what targeting N does
am: da6be5b871

Change-Id: Ie1fdb2b07ff8fa016a82a1405336db0dac119fef
2016-09-20 17:07:15 +00:00
Dianne Hackborn
bae14052a0 Cherrypick so we can publish N version code description ASAP
am: 491bc2b8d6

Change-Id: I27da25afcaca61ac0159699c0cfc8fbf2338aa2c
2016-09-20 17:05:09 +00:00
Adrian Roos
f71c33a6ae Hold WakeLock while DreamService starts am: 7445c0bb86
am: 5e18c826f3

Change-Id: I4c8d223c8968f554ceabd9dd80bb55e19a5b7e34
2016-09-20 05:24:03 +00:00
Adrian Roos
5e18c826f3 Hold WakeLock while DreamService starts
am: 7445c0bb86

Change-Id: Ifbb5a3d392bf7222718eab306dc435ec569a3ae9
2016-09-20 04:25:38 +00:00
Adrian Roos
f940aa3ea1 Merge "Hold WakeLock while DreamService starts" into nyc-mr1-dev 2016-09-19 22:47:30 +00:00
Andreas Huber
74c3b8edfe Removed legacy code used to read/write java arrays from HwBinder parcels.
More generalized functionality is now available through HwBlob.

Change-Id: Id6c713fb01af7593ea3ff8405f3a9e5325877412
Bug: 31438033
Test: run updated "hidl_test" and "hidl_test_java"
2016-09-19 14:09:14 -07:00
Dianne Hackborn
da6be5b871 A little more on issue #30766518: Document what targeting N does
(cherry picked from commit 5f1649e852)

Change-Id: Ieaad1f3ddfa7ef3444e3b513181555f87ecb8c3f
2016-09-19 20:05:07 +00:00
Dianne Hackborn
491bc2b8d6 Cherrypick so we can publish N version code description ASAP
Fix issue #30766518: Document what targeting N does

Also small documentation cleanup in a few other places.

(cherry picked from commit b34cbedb4e)

Change-Id: I9560b29faa4f2674277349272af8193122a1f95e
2016-09-19 19:31:19 +00:00
Tianjie Xu
492450c88a Collect status on uncrypt time cost
Read and report time cost of uncrypt (in seconds) from last_install.

Bug: 31383361

Change-Id: I283970c33b2a0324f2f51cde328e3e527eff7c58
(cherry picked from commit 3477efce30)
2016-09-16 12:13:49 -07:00
Tianjie Xu
4392153753 Merge "Collect status on uncrypt time cost" am: bc19e00d35 am: 79d27bdeac
am: 1579ce8a1d

Change-Id: I17fe7d518a0bc5876d91373b643dd95779be2c54
2016-09-16 18:40:45 +00:00
Tianjie Xu
1579ce8a1d Merge "Collect status on uncrypt time cost" am: bc19e00d35
am: 79d27bdeac

Change-Id: I64f13dbe40845eecb584c0f45a169e0c948275ab
2016-09-16 18:36:20 +00:00
Tianjie Xu
79d27bdeac Merge "Collect status on uncrypt time cost"
am: bc19e00d35

Change-Id: I867821b7575ee2e45bb86c46222e6cf34971689d
2016-09-16 18:30:38 +00:00
Tianjie Xu
bc19e00d35 Merge "Collect status on uncrypt time cost" 2016-09-16 18:19:23 +00:00
Makoto Onuki
47fc09457d Fix system crash due to mismatching begin/finishBroadcast() am: 7bdb9ce978
am: f3c4729947

Change-Id: Icbbc6521164e376501ec2473f40babf9aeb13462
2016-09-16 17:32:05 +00:00
Makoto Onuki
f3c4729947 Fix system crash due to mismatching begin/finishBroadcast()
am: 7bdb9ce978

Change-Id: I032370f8bdf9f6c0f7e75253b7f3950795f359ab
2016-09-16 17:24:52 +00:00
Makoto Onuki
d6f06df5ec Merge "Fix system crash due to mismatching begin/finishBroadcast()" into nyc-mr1-dev 2016-09-16 17:13:18 +00:00
Patrick Baumann
c14db5b2de Adding advanced pattern support to PatternMatcher am: 2baf095ca9
am: 564d936eb1

Change-Id: I1c3619477b56c583c3d85f2185a1381676136293
2016-09-15 21:34:18 +00:00
Patrick Baumann
564d936eb1 Adding advanced pattern support to PatternMatcher
am: 2baf095ca9

Change-Id: Id4e05a79797af961e6505715b69da4319f2042cc
2016-09-15 21:28:27 +00:00
Patrick Baumann
4a0b061ff6 Merge "Adding advanced pattern support to PatternMatcher" into nyc-mr1-dev 2016-09-15 21:20:35 +00:00
Makoto Onuki
7bdb9ce978 Fix system crash due to mismatching begin/finishBroadcast()
Bug 31449363

Change-Id: I514196355a2566c5e4f7f3af91fbf3c57cb67a48
2016-09-15 12:59:43 -07:00
Patrick Baumann
2baf095ca9 Adding advanced pattern support to PatternMatcher
This change adds a new pathMatch attribute to the intent-filter tag
that supports a subset of regular expression syntax. Supported
tokens include dot (.) and set ([]) and supported modifiers include
zero-or-more (*), one-or-more(+) and ranges ({}).

Change-Id: I2ec3bc8a9eb3e94d21caf34a1ed0f3fd3fb33a35
Bug: 30805203
2016-09-15 11:17:54 -07:00
Tianjie Xu
3477efce30 Collect status on uncrypt time cost
Read and report time cost of uncrypt (in seconds) from last_install.

Bug: 31383361

Change-Id: I283970c33b2a0324f2f51cde328e3e527eff7c58
2016-09-09 11:35:15 -07:00
Robert Sesek
96b49848e7 Split the zygote logic out of android.os.Process into a new ZygoteProcess class.
There is no functional change. This is to support adding new types of zygotes
that all operate using the same protocol.

Bug: 21643067
(cherry picked from commit 94e824bc1b)

Merged-In: Ie673ee816cae34ac20ffb8c774ec3e6461c3fd0a
Change-Id: I104e6133a90dc93a9854836b5e92d3cd542163a3
2016-09-09 12:42:52 -04:00
Adrian Roos
7445c0bb86 Hold WakeLock while DreamService starts
Fixes a bug where DozeService would not properly initialize
because the CPU went to sleep before onDreamingStarted completed,
causing the pickup gesture to not work.

Change-Id: I85955a2b7d6bad5171accbc336117a9660b1b198
Fixes: 31044352
2016-09-08 20:06:48 +00:00
Felipe Leme
68dcfcc22f Created a NETWORK trace tag. am: 873a83af3f
am: e9bac30add

Change-Id: Ibc8c156d3b3c6c893ee55eca4f6b92767fefa741
2016-09-08 00:46:20 +00:00
Felipe Leme
873a83af3f Created a NETWORK trace tag.
Also applied it to a few critical paths on NetworkPolicyManagerService.

BUG: 31281543

Change-Id: If27240d86c21e5b49b9595bfcbc90214126cf489
2016-09-07 13:50:52 -07: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
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
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
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 Huber
9266f9928d Adds framework support for hidl-gen Java backend. (to support structs) (DO NOT MERGE)
Bug: 30575790
Change-Id: Ida30d8fe7a1b210e98f1a0ea5d429a0112f9ef3f
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-02 06:28:14 -07:00
Andreas Huber
86635bb45e Add Bool* APIs to HwParcel (DO NOT MERGE)
Bug: 31045584
Change-Id: I202c4aa7caf92a4cd7e3a45ef6784638e41facc8
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-02 06:28:14 -07:00
Andreas Huber
90349b3e11 Support one-way methods in java support for hardware binder (DO NOT MERGE)
Bug: 30922538
Change-Id: I5ff93126a29f6bff42dee3f9868fa794ca7c077f
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-02 06:28:14 -07:00
Andreas Huber
dab5fc65b9 Initial commit of Java support for hardware binder (DO NOT MERGE)
Change-Id: If1098ab921a11bae8eca2a70a3c3070e4daa0ea2
2016-09-02 06:28:14 -07:00
Jeff Sharkey
d11c21f371 DO NOT MERGE. Clarify FileObserver docs for null value. am: c041f5a3b8
am: a341d70602

Change-Id: Ib737218df19aed7f09ba142cce4fc9c62edffd5d
2016-08-31 23:29:26 +00:00
Jeff Sharkey
c041f5a3b8 DO NOT MERGE. Clarify FileObserver docs for null value.
Change-Id: I7dc0b0d26220d6eb82f956a9860cfb6aeccfd12f
Test: none
Bug: 30511606
(cherry picked from commit 902316d553)
2016-08-31 21:42:54 +00:00
Mitchell Wills
722de5f9d0 DO NOT MERGE Manually merge commit 'f28778064383821ccf48c9570191f34a24aa513f' into nyc-mr1-dev-plus-aosp
Change-Id: I7cb1f97a5b931c2057a811d7947f47ad7320ef1c
2016-08-29 17:46:44 -07:00