Commit Graph

71921 Commits

Author SHA1 Message Date
jackqdyulei
7a5e06f456 Add settings constants for anomaly detection
Bug: 36924669
Test: Build
Change-Id: I7ca6745dedada8948ed0296cadb20b62a19c8fb3
2017-05-16 16:12:59 -07:00
Garfield Tan
71d10aba0f Merge "Specify behavior around DocumentsProvider#openDocument()." into oc-dev am: 146e8f415f
am: 3cd801dc24

Change-Id: I28724a4c556a9a132054eb730c09fff9b6eaed8c
2017-05-16 22:46:24 +00:00
Robert Carr
84bfcc1b79 Merge "ViewRootImpl: Guard against null in performMeasure" into oc-dev am: 4bc839e267
am: fc945bf674

Change-Id: Idde7f1b8382468723bbb7678e1d10f9ead3cbe1e
2017-05-16 22:40:36 +00:00
Garfield Tan
3cd801dc24 Merge "Specify behavior around DocumentsProvider#openDocument()." into oc-dev
am: 146e8f415f

Change-Id: I014761972a0803a1865dd6c18a95cfeacec7beb4
2017-05-16 22:39:04 +00:00
TreeHugger Robot
146e8f415f Merge "Specify behavior around DocumentsProvider#openDocument()." into oc-dev 2017-05-16 22:34:41 +00:00
Robert Carr
fc945bf674 Merge "ViewRootImpl: Guard against null in performMeasure" into oc-dev
am: 4bc839e267

Change-Id: I1bc8741550626747849a13b15e8ec45dbc5d8110
2017-05-16 22:30:15 +00:00
TreeHugger Robot
4bc839e267 Merge "ViewRootImpl: Guard against null in performMeasure" into oc-dev 2017-05-16 22:25:09 +00:00
TreeHugger Robot
41902fb366 Merge "Avoid marshalling default-valued fields" 2017-05-16 22:24:31 +00:00
Makoto Onuki
98c1555da3 Merge "Restrict access to instant app data in usage stats" into oc-dev am: f38a1d3d2a
am: fd1dd05815

Change-Id: I9e06dfc17f934210bcfddb44fc7be7056c9b054c
2017-05-16 22:18:32 +00:00
Robert Carr
03bdbb5f7b Merge "SurfaceView: Reset window stopped state when attaching to window." into oc-dev am: 97bcf59fce
am: 14395f81a3

Change-Id: I2bc4bd531f5bd26905f5c5ab87be1e986a853b3b
2017-05-16 22:13:04 +00:00
Makoto Onuki
fd1dd05815 Merge "Restrict access to instant app data in usage stats" into oc-dev
am: f38a1d3d2a

Change-Id: I923a3d6792bddc782382edf1180704167e8918b1
2017-05-16 22:11:46 +00:00
Robert Carr
14395f81a3 Merge "SurfaceView: Reset window stopped state when attaching to window." into oc-dev
am: 97bcf59fce

Change-Id: If55aff3522f664ad5edf7c282a211b5b65958c73
2017-05-16 22:03:11 +00:00
TreeHugger Robot
f38a1d3d2a Merge "Restrict access to instant app data in usage stats" into oc-dev 2017-05-16 21:56:15 +00:00
TreeHugger Robot
97bcf59fce Merge "SurfaceView: Reset window stopped state when attaching to window." into oc-dev 2017-05-16 21:51:28 +00:00
Jakub Pawlowski
45da7141b1 Merge "Merge "Discover primary service by UUID for PTS tests (4/4)" am: abb732fc40 am: 7e80b882b7 am: 23105d57d5" into oc-dev-plus-aosp
am: 4df112a54c

Change-Id: Ie6a2b3a54db56c607c51772592fdc2b44a108c63
2017-05-16 21:16:15 +00:00
Jakub Pawlowski
9fd4462c09 Merge "Discover primary service by UUID for PTS tests (4/4)" am: abb732fc40 am: 7e80b882b7
am: 23105d57d5

Change-Id: I764d8b206940a39906c6793fef24e6d5b19a8589
2017-05-16 20:55:37 +00:00
Jakub Pawlowski
23105d57d5 Merge "Discover primary service by UUID for PTS tests (4/4)" am: abb732fc40
am: 7e80b882b7

Change-Id: I048c7b1ca915744da1e06e0280be125e7da2b796
2017-05-16 20:40:58 +00:00
Eugene Susla
0eb2b6e5cd Avoid marshalling default-valued fields
Test: 1. AccessibilityNodeInfoTest#testMarshaling
2. Hack the check from the above test to run on each parcel, then turn on
TalkBack and ensure to system crashes and stack traces in logcat
3. A11y CTS: CtsAccessibilityServiceTestCases, CtsAccessibilityTestCases,
CtsUiAutomationTestCases
Bug: 33949542

Change-Id: I2cef9fcef9d6f84334614b0e81c6717484ef3436
2017-05-16 13:38:25 -07:00
Treehugger Robot
abb732fc40 Merge "Discover primary service by UUID for PTS tests (4/4)" 2017-05-16 20:20:19 +00:00
Garfield Tan
af03e5a322 Specify behavior around DocumentsProvider#openDocument().
Add supported modes and contracts on receiving unsupported modes.
Test: Builds.
Bug: 11279339

Change-Id: I8c403f6168baadb354813d4c1e630bb8662ddb34
2017-05-16 13:13:23 -07:00
Felipe Leme
372345330c Merge "Check for mAttachInfo nullness when getting the autofillable drawable." into oc-dev am: 83478acb87
am: bf63615ca5

Change-Id: Iaa7281637aa36cad4d478b73e8daa79dd2d29af3
2017-05-16 20:01:09 +00:00
Felipe Leme
bf63615ca5 Merge "Check for mAttachInfo nullness when getting the autofillable drawable." into oc-dev
am: 83478acb87

Change-Id: I927894efbe0dbe506b18d42cd1840596299a0270
2017-05-16 19:49:35 +00:00
Jorim Jaggi
802e97b184 Merge "Optimize hot launching recents" into oc-dev
am: cb414be017

Change-Id: I8b9004a482b70b86b53d43cf7f4dd5fc0bd1d842
2017-05-16 19:46:54 +00:00
TreeHugger Robot
83478acb87 Merge "Check for mAttachInfo nullness when getting the autofillable drawable." into oc-dev 2017-05-16 19:38:36 +00:00
Jorim Jaggi
cb414be017 Merge "Optimize hot launching recents" into oc-dev 2017-05-16 19:34:52 +00:00
Makoto Onuki
ad623015a1 Restrict access to instant app data in usage stats
- Events are obfuscated based on whether the app was instant or not at
the time each event was logged.

- UsageStats are obfuscated based on whether each app is instant or
not at the moment.

Bug 38202133
Test: Manual test using UsageStatsTest and instant apps

Change-Id: I3c74309196b88d010d317cb0dd6749bf4624e876
2017-05-16 12:33:43 -07:00
Jeremy Joslin
957bdf0e61 Merge "Remove deprecated recommendation request code." into oc-dev am: b2bd32929b
am: 964cddccda

Change-Id: I0f30175b3be0d6a66fccd736ec5962f893cb2d9e
2017-05-16 19:23:52 +00:00
Jeremy Joslin
964cddccda Merge "Remove deprecated recommendation request code." into oc-dev
am: b2bd32929b

Change-Id: I0efb561f7829598eb5a509474e1a6e54e00bb93d
2017-05-16 19:02:40 +00:00
TreeHugger Robot
b2bd32929b Merge "Remove deprecated recommendation request code." into oc-dev 2017-05-16 18:44:28 +00:00
Jakub Pawlowski
fe2bf16a2b Discover primary service by UUID for PTS tests (4/4)
Bug: 38123054
Test: manual
Change-Id: I89e088e60f4325f1ece59d22efda0c907a3b716a
2017-05-16 11:37:00 -07:00
TreeHugger Robot
31ee03b05e Merge "Fix regression in getSharedPreferences performance" 2017-05-16 18:36:43 +00:00
Felipe Leme
354587a972 Check for mAttachInfo nullness when getting the autofillable drawable.
Test: manual verification on Caviar (automated test will be added later)
Test: CtsAutoFillServiceTestCases pass

Bug: 38341498
Fixes:  38323841

Change-Id: I15cc792de87987cc19a229c2ab2dfc317877f7ec
2017-05-16 10:38:41 -07:00
TreeHugger Robot
ffa79fb26b Merge "Optimize hot launching recents" 2017-05-16 17:15:22 +00:00
Rubin Xu
321063daa1 Merge "Invoke BLKSECDISCARD to securely delete sensitive data" into oc-dev
am: 28f0fd7a2d

Change-Id: I9e0ffce82703793004b6900db39ad7b5c5500ec3
2017-05-16 16:35:16 +00:00
TreeHugger Robot
28f0fd7a2d Merge "Invoke BLKSECDISCARD to securely delete sensitive data" into oc-dev 2017-05-16 16:26:47 +00:00
Aurimas Liutikas
01e1b8550d Merge "Remove internal listener when cloning" into oc-dev am: a7dde34a81
am: c59f75af1d

Change-Id: Ia44c46f0784c412d71956c9e7f1e17533c991b9c
2017-05-16 16:00:56 +00:00
Aurimas Liutikas
c59f75af1d Merge "Remove internal listener when cloning" into oc-dev
am: a7dde34a81

Change-Id: Ieac61647ed17450141516473768b8881ecfa072b
2017-05-16 15:51:07 +00:00
Aurimas Liutikas
a7dde34a81 Merge "Remove internal listener when cloning" into oc-dev 2017-05-16 15:43:50 +00:00
Jorim Jaggi
34795e3197 Optimize hot launching recents
Rearrange how we generate the transition specs, which involves
creating a thumbnail on the mainthread (about 10ms on large
devices): First, we put launching the activity onto a handler
thread (with default priority), to free up the main thread. Then,
we immediately start generating the thumbnail such that when the
future calls us we have the generated spec already handy.

For that we need to be able to supply a specs future into
ActivityOptions, to avoid race conditions. Furthermore we need to
make sure not to call into WM while creating specs, to avoid WM
lock contention.

Test: App -> Recents -> Same app, inspect app transition logs
Test: Double tap recents for quick switching

Bug: 32668632
Change-Id: I6001e29145f8e56deb9c4ead46c53c87c9191436
Merged-In: Ic6ec65c2560f67cade3b5ddde9f79ee13e9ba32c
2017-05-16 17:28:40 +02:00
Jorim Jaggi
cf4411df43 Optimize hot launching recents
Rearrange how we generate the transition specs, which involves
creating a thumbnail on the mainthread (about 10ms on large
devices): First, we put launching the activity onto a handler
thread (with default priority), to free up the main thread. Then,
we immediately start generating the thumbnail such that when the
future calls us we have the generated spec already handy.

For that we need to be able to supply a specs future into
ActivityOptions, to avoid race conditions. Furthermore we need to
make sure not to call into WM while creating specs, to avoid WM
lock contention.

Test: App -> Recents -> Same app, inspect app transition logs
Test: Double tap recents for quick switching

Bug: 32668632
Change-Id: Ic6ec65c2560f67cade3b5ddde9f79ee13e9ba32c
2017-05-16 17:26:54 +02:00
George Mount
beece1ae4b Merge "Fix back stack problems due to postponed transitions" into oc-dev am: ce50eb2d17
am: c091a649ad

Change-Id: If14705a262ea3ee35d626f7e3d2deb6ddc035682
2017-05-16 14:47:40 +00:00
George Mount
c091a649ad Merge "Fix back stack problems due to postponed transitions" into oc-dev
am: ce50eb2d17

Change-Id: I8ef9d7f968541dea17198aac89441f2617fab828
2017-05-16 14:37:23 +00:00
Android Build Merger (Role)
e701ade39d Merge "Merge "Fixes crash (race cond) when using toast that is immediately cancelled" into oc-dev am: 2df0155a97 am: c4996bd89c" 2017-05-16 14:34:00 +00:00
Svet Ganov
f137102968 Merge "Fixes crash (race cond) when using toast that is immediately cancelled" into oc-dev am: 2df0155a97
am: c4996bd89c

Change-Id: I6ab834ef0b291e24cdc67b885bcd5c6230a82cb1
2017-05-16 14:32:58 +00:00
TreeHugger Robot
76700b56ec Merge "ConnectivityManager: fix documentation" 2017-05-16 14:31:28 +00:00
Svet Ganov
c4996bd89c Merge "Fixes crash (race cond) when using toast that is immediately cancelled" into oc-dev
am: 2df0155a97

Change-Id: I6cb947b8c42298c7cff1932031faec362b99a354
2017-05-16 14:26:00 +00:00
TreeHugger Robot
b05e8176bb Merge "Invoke BLKSECDISCARD to securely delete sensitive data" 2017-05-16 14:23:06 +00:00
TreeHugger Robot
ce50eb2d17 Merge "Fix back stack problems due to postponed transitions" into oc-dev 2017-05-16 14:22:08 +00:00
TreeHugger Robot
2df0155a97 Merge "Fixes crash (race cond) when using toast that is immediately cancelled" into oc-dev 2017-05-16 14:16:01 +00:00
Hugo Benichi
bd4317f754 Merge "Remove unused import in ConnectivityManager" am: db6fc1afe8 am: fe098f8207 am: e13c192d0f
am: 36d913c7b9

Change-Id: I455d9712ad7f60f7474077435ff977c95b3b48c3
2017-05-16 13:34:37 +00:00