Commit Graph

354614 Commits

Author SHA1 Message Date
TreeHugger Robot
bfff5d705a Merge "Fix bug in statsd with uid memory guardrail" 2018-01-19 03:31:56 +00:00
TreeHugger Robot
504039b1d3 Merge "Calc job standby runnability based on last job execution..." 2018-01-19 03:19:36 +00:00
TreeHugger Robot
3f1f2bc986 Merge "Put statsd on system-background cpu set." 2018-01-19 02:53:30 +00:00
TreeHugger Robot
1ebcf6101d Merge "Added new SIM state related broadcasts." 2018-01-19 02:32:46 +00:00
TreeHugger Robot
492b68635e Merge "Add back missing synchronized in stopGuestOrEphemeralUserIfBackground" 2018-01-19 02:10:46 +00:00
TreeHugger Robot
3452415141 Merge "Modify IHealthInfoCallback interface to return V2.0 HealthInfo" 2018-01-19 01:55:27 +00:00
TreeHugger Robot
30760c4aa3 Merge "Fix RecoverableKeyStore unit tests." 2018-01-19 01:48:10 +00:00
Dake Gu
5105bf7c17 Merge "leanback janktest: use extra to initialize fastlane state" 2018-01-19 01:32:47 +00:00
TreeHugger Robot
7125d4151e Merge "Center backspace key ripple in pin keyguard" 2018-01-19 01:26:41 +00:00
TreeHugger Robot
8410675cc6 Merge "condition dimension query." 2018-01-19 01:26:21 +00:00
TreeHugger Robot
07f35aa616 Merge changes from topic "shadow-in-app"
* changes:
  Remove DragDropController#prepareDrag()
  Create a drag shadow surface in app process,
2018-01-19 01:24:40 +00:00
Steven Thomas
22b111da8b Merge "Fix missing service call when rebinding to VrCore" 2018-01-19 01:19:44 +00:00
TreeHugger Robot
244c6a65e9 Merge "Treat missing font in fallback chain" 2018-01-19 01:03:55 +00:00
TreeHugger Robot
8f2fffd809 Merge "AAPT2: Store BinaryPrimatives in protos as oneofs" 2018-01-19 01:00:00 +00:00
TreeHugger Robot
f5e25a3052 Merge "Add semantics for accessibility headings" 2018-01-19 00:53:49 +00:00
Bo Zhu
0ee628f47b Merge "Change packVaultParams to use the real vault_handle directly" 2018-01-19 00:44:40 +00:00
TreeHugger Robot
0137f81faf Merge "Update the dimension_in_what/condition field number." 2018-01-19 00:37:42 +00:00
Yao Chen
2346a22e78 Put statsd on system-background cpu set.
Bug: 72176997
Test: manual
Change-Id: Ic160dc8ffea8fd349185ad8b583e6c02dc7defa6
2018-01-18 16:37:10 -08:00
TreeHugger Robot
8d262867e1 Merge "GnssMeasurementsListener - Fix indexing, add & remove" 2018-01-19 00:35:58 +00:00
Yao Chen
d03c598b93 Merge "Revert "Enable init.rc for statsd to start statsd by default in boot time"" 2018-01-19 00:27:36 +00:00
TreeHugger Robot
5ccc664159 Merge "Set ActivityView's rect as tap exclude region" 2018-01-19 00:23:33 +00:00
Yao Chen
5f3dc878dc Revert "Enable init.rc for statsd to start statsd by default in boot time"
This reverts commit 56967528d7.

Change-Id: I4b76bf5783f0df43603e82168009f33296d1f840
2018-01-19 00:12:18 +00:00
Christopher Tate
f0ce101552 Calc job standby runnability based on last job execution...
...not unilaterally on the current time of day.  In practice, the point
is that we should let an app run new jobs immediately if it's been a long
time since it ran any, even if it's in a less-active standby bucket,
because it's being a good citizen.

Bug: 63527785
Test: atest CtsJobSchedulerTestCases
Change-Id: I1521c82f23341246484efa733c43f983a5e9e568
2018-01-18 16:10:38 -08:00
David Chen
c0f6f63e27 Fix bug in statsd with uid memory guardrail
Previously unsigned a negative number to unsigned type, so the int
comparison didn't work as planned.

Test: Manually tested and observed log messages.
Change-Id: Ic72c4dbde5e560288fd64ca11c4bcc81021fb1a9
2018-01-18 16:02:42 -08:00
Felipe Leme
fd8d8944de Merge "Fixed method name that was changed in a previous CL." 2018-01-19 00:01:25 +00:00
TreeHugger Robot
e45515687f Merge "Add factory for TaskPositioner." 2018-01-19 00:01:04 +00:00
Felipe Leme
e30dcb50ec Fixed method name that was changed in a previous CL.
Bug: 70939974
Test: nope, build is broken, must fix ASAP

Change-Id: I88cf6ccacb5baa097cea26c859b774738bd9b428
2018-01-18 15:58:03 -08:00
Tarandeep Singh
3752fc9e23 Merge "Optimize calls to IME's onStartInput" 2018-01-18 23:51:17 +00:00
Doris Liu
25be4e0461 Merge "Expose some hidden APIs in Choreographer to CTS" 2018-01-18 23:38:49 +00:00
TreeHugger Robot
6047bf4f0d Merge "Implemented shell cmd to get field classification score." 2018-01-18 23:34:00 +00:00
Felipe Leme
db6b0fecb4 Merge "Moved Field Classification score logic to ExtServices." 2018-01-18 23:33:44 +00:00
Dmitry Dementyev
ae6ec6d2ee Fix RecoverableKeyStore unit tests.
Bug: 66499222
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I19aeb444e2f99f698cd1f9dfa13215093f5230da
2018-01-18 15:30:56 -08:00
Leif Wilden
9e1afde8cd Merge "Ensure keyguard is considered unlocked on devices that disable it." 2018-01-18 23:27:37 +00:00
Ng Zhi An
51ac979c2d Center backspace key ripple in pin keyguard
Bug: 71959475
Test: manual
Change-Id: Ib51cdefd8257bd9a9f0c544e177c12cb23614aa8
2018-01-18 15:13:48 -08:00
Makoto Onuki
5cc9f721ce Merge "Revert "Add setting/experiment for small battery devices to have"" 2018-01-18 23:10:54 +00:00
TreeHugger Robot
8f09d6ee8f Merge "Don't use transport binder with the lock held" 2018-01-18 23:04:06 +00:00
Mehdi Alizadeh
4604c41114 Merge changes from topic "surface_num_clients_soft_ap"
* changes:
  Adds unregisterSoftApCallback API
  Unit tests for registerSoftApCallback API
  Adds API to register callback for soft AP event
2018-01-18 23:00:03 +00:00
Yangster-mac
5503f5caae condition dimension query.
Test: Modified the metric link test to query a subset of the predicate/condition dimensions.

Change-Id: I693f14e0b11693fc8ee0bf4fc550977c20d31f71
2018-01-18 14:51:51 -08:00
TreeHugger Robot
265fc005c7 Merge "Use LinkedHashMap on CharSequenceTransformation to keep order of insertions." 2018-01-18 22:51:34 +00:00
Mohamed Abdalkader
c5cc226f9e Merge "Move Sms API to proper MMTelFeature class" 2018-01-18 22:51:27 +00:00
Amit Mahajan
052e1e2941 Added new SIM state related broadcasts.
Test: Basic telephony sanity and unit tests
Bug: 64131518
Change-Id: Ie3d157e79a7040c161b9038c875a4a4f49d535ff
2018-01-18 14:38:21 -08:00
Bo Zhu
31ccba1af0 Change packVaultParams to use the real vault_handle directly
Test: adb shell am instrument -w -e package
com.android.server.locksettings.recoverablekeystore
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I5ebe28fddba3d3939a105c696250f3ea68720822
2018-01-18 14:32:36 -08:00
Dake Gu
f2b1a03b3d leanback janktest: use extra to initialize fastlane state
faster and less problem.

Bug: 71904218
Test: adb shell am instrument -w -e class
      com.android.uibench.janktests.UiBenchLeanbackJankTests#testBrowseContentScroll
      com.android.uibench.janktests/android.test.InstrumentationTestRunner

Change-Id: I4a5c2e0b993f3dc5f678e7b29b2b7e10b7792fe4
2018-01-18 14:25:40 -08:00
Steven Thomas
9aedfb1850 Fix missing service call when rebinding to VrCore
When rebinding to VrCore after a VrCore crash we weren't calling
onCurrentVrActivityChanged().

Bug: b/69839187

Test: Went through the repro steps in b/69839187 and confirmed we
successfully recover after VrCore dies and is rebound.

Change-Id: Idbd7acb438e8b7754743c5ccaaa68b4e0a686d33
(cherry picked from commit d03fa742c2f29330d138ba6e2241f13eb527b9b5)
2018-01-18 14:17:50 -08:00
Yangster-mac
16fc72f006 Update the dimension_in_what/condition field number.
Test: statsd unit test passed.

Change-Id: I11aa8a5cfc3bce703cf5ed0d9696d1949df449f0
2018-01-18 14:13:21 -08:00
Phil Weaver
6290fb599a Add semantics for accessibility headings
Adding the ability to mark TextView as a heading, and
to provide a heading depth. Plumbing that through to
accessibility services.

Bug: 34687453
Test: Adding CTS tests for new APIs.
Change-Id: I5262e32a2a11b2577802c68e701d2856e28abc21
2018-01-18 14:13:06 -08:00
Makoto Onuki
12391f22df Revert "Add setting/experiment for small battery devices to have"
This reverts commit 9a60382be1.

Reason for revert: Broke battery saver

Bug: 72168928
Bug: 69259147

Change-Id: I09664653686a51c297224c863c4fc6d1ff7e5caf
Test: Manual test
Test: atest CtsBatterySavingTestCases
2018-01-18 22:05:40 +00:00
TreeHugger Robot
633792e2d3 Merge "Add time until Night Light is on/off as secondary label" 2018-01-18 21:58:38 +00:00
TreeHugger Robot
ef5af2b69f Merge "Move a shared pointer that's going to die anyway." 2018-01-18 21:58:06 +00:00
Tarandeep Singh
75a9239221 Optimize calls to IME's onStartInput
As of today onStartInput is called for every window which gains focus. We
can significantly optimize this by restricting calls only to windows
that have a text editor. However, if input was already started based on
window flags, behavior is unchanged.

This behavior is guarded by debug flag "debug.optimize_startinput" and
is defaulted to true.

Bug: 37617707
Test: atest CtsInputMethodTestCases
Test: Verify following command reverts the behavior: adb root && adb
      shell setprop debug.optimize_startinput false &&
      adb shell cmd input_method refresh_debug_options
Change-Id: Ibf9dab3d9c138b5f04e053d41ee4fd248c78e4da
2018-01-18 21:35:39 +00:00