OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Expose some methods in the recents lib."
TreeHugger Robot [Thu, 2 Nov 2017 23:18:07 +0000 (23:18 +0000)]
Merge "Expose some methods in the recents lib."

6 years agoMerge "Revert "Make CHANGE_APP_IDLE_STATE a system API""
Andreas Gampe [Thu, 2 Nov 2017 22:45:16 +0000 (22:45 +0000)]
Merge "Revert "Make CHANGE_APP_IDLE_STATE a system API""

6 years agoMerge "1. Enable FIELD_TYPE IDs defined in ProtoOutputStream 2. Migrate CountMetricPr...
TreeHugger Robot [Thu, 2 Nov 2017 22:35:54 +0000 (22:35 +0000)]
Merge "1. Enable FIELD_TYPE IDs defined in ProtoOutputStream 2. Migrate CountMetricProducer to use ProtoOutputStream"

6 years agoMerge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared" am: eb3bff53f6...
Andreas Gampe [Thu, 2 Nov 2017 22:31:46 +0000 (22:31 +0000)]
Merge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared" am: eb3bff53f6 am: 6f8a3cee0e
am: 36f6ccfdde

Change-Id: If4954cd3058264492cf9e84f898b928da39c6fd4

6 years agoMerge "Give VoiceInteractionService access to shortcuts."
TreeHugger Robot [Thu, 2 Nov 2017 22:26:40 +0000 (22:26 +0000)]
Merge "Give VoiceInteractionService access to shortcuts."

6 years agoMerge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared" am: eb3bff53f6
Andreas Gampe [Thu, 2 Nov 2017 22:21:57 +0000 (22:21 +0000)]
Merge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared" am: eb3bff53f6
am: 6f8a3cee0e

Change-Id: Ic2399e02d2102f984defb92c29b3568b94ebb244

6 years agoMerge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"
Andreas Gampe [Thu, 2 Nov 2017 22:13:37 +0000 (22:13 +0000)]
Merge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"
am: eb3bff53f6

Change-Id: I285d7cf715dc0b2e08d7003cecfd92bfc3b9c8da

6 years agoMerge "Turn default gradient into solid black"
TreeHugger Robot [Thu, 2 Nov 2017 22:06:43 +0000 (22:06 +0000)]
Merge "Turn default gradient into solid black"

6 years agoRevert "Make CHANGE_APP_IDLE_STATE a system API"
Andreas Gampe [Thu, 2 Nov 2017 21:58:15 +0000 (21:58 +0000)]
Revert "Make CHANGE_APP_IDLE_STATE a system API"

This reverts commit c433ee54512c1aa472baad1930a40b319e7ce1a2.

Fails on walleye with:

java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.settings: android.permission.CHANGE_APP_IDLE_STATE, com.android.shell: android.permission.CHANGE_APP_IDLE_
STATE}

Bug: 63527785
Change-Id: I7a30615d20a6c22467a41d4b2d4f84f7702ce195

6 years agoMerge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"
Treehugger Robot [Thu, 2 Nov 2017 21:57:29 +0000 (21:57 +0000)]
Merge "PMSCompilerMapping: Hardcode a value for pm.dexopt.shared"

6 years agoMerge "On standalones, stay in vr mode until standby"
Steven Thomas [Thu, 2 Nov 2017 21:14:15 +0000 (21:14 +0000)]
Merge "On standalones, stay in vr mode until standby"

6 years agoMerge "Center align AoD2 notifications"
TreeHugger Robot [Thu, 2 Nov 2017 20:54:16 +0000 (20:54 +0000)]
Merge "Center align AoD2 notifications"

6 years agoMerge "Revert "Suppress immersive mode cling in LockTask mode.""
Ian Pedowitz [Thu, 2 Nov 2017 20:45:23 +0000 (20:45 +0000)]
Merge "Revert "Suppress immersive mode cling in LockTask mode.""

6 years agoMerge "In Accessibility code, wrap Binder.restoreCallingIdentity() in finally{}."
Peter Visontay [Thu, 2 Nov 2017 20:42:19 +0000 (20:42 +0000)]
Merge "In Accessibility code, wrap Binder.restoreCallingIdentity() in finally{}."

6 years agoMerge "Fix StateMachine init/quit race." am: 5c7de22a06 am: 1ef2e98a14
con [Thu, 2 Nov 2017 20:37:07 +0000 (20:37 +0000)]
Merge "Fix StateMachine init/quit race." am: 5c7de22a06 am: 1ef2e98a14
am: 7f404200e0  -s ours

Change-Id: I19eaca9acea75f3d9c4f8aad96f205063db24e0c

6 years agoMerge "Customizable corner radius for dialogs"
TreeHugger Robot [Thu, 2 Nov 2017 20:31:09 +0000 (20:31 +0000)]
Merge "Customizable corner radius for dialogs"

6 years agoMerge "Add metric for imei dialog fragment"
Jeffrey Huang [Thu, 2 Nov 2017 20:30:44 +0000 (20:30 +0000)]
Merge "Add metric for imei dialog fragment"

6 years agoMerge "Fix StateMachine init/quit race." am: 5c7de22a06
con [Thu, 2 Nov 2017 20:28:26 +0000 (20:28 +0000)]
Merge "Fix StateMachine init/quit race." am: 5c7de22a06
am: 1ef2e98a14

Change-Id: If46700cb9701154c97baa8be28457f5fce30ce54

6 years agoMerge "Fix StateMachine init/quit race."
con [Thu, 2 Nov 2017 20:15:35 +0000 (20:15 +0000)]
Merge "Fix StateMachine init/quit race."
am: 5c7de22a06

Change-Id: I26ab138d66366efbcc515e5da0ed21de3e90fa9a

6 years agoMerge "Expose Intent#EXTRA_REASON as a SystemApi."
Jeff Davidson [Thu, 2 Nov 2017 20:10:18 +0000 (20:10 +0000)]
Merge "Expose Intent#EXTRA_REASON as a SystemApi."

6 years agoMerge "Fix StateMachine init/quit race."
con [Thu, 2 Nov 2017 20:05:09 +0000 (20:05 +0000)]
Merge "Fix StateMachine init/quit race."

6 years agoMerge "Make CHANGE_APP_IDLE_STATE a system API"
Amith Yamasani [Thu, 2 Nov 2017 19:49:06 +0000 (19:49 +0000)]
Merge "Make CHANGE_APP_IDLE_STATE a system API"

6 years agoMerge "Avoid isKeyguardShowing() before startKeyguard()"
TreeHugger Robot [Thu, 2 Nov 2017 19:45:34 +0000 (19:45 +0000)]
Merge "Avoid isKeyguardShowing() before startKeyguard()"

6 years agoMerge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive" am...
Andreas Huber [Thu, 2 Nov 2017 19:37:10 +0000 (19:37 +0000)]
Merge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive" am: 80bb035d4e am: 89ebce3337
am: 0fb7b7ae93

Change-Id: I7a5ce8d5e379578567b4ccc8aaf5ae41a46e0a8f

6 years agoMerge changes from topic "explicit_shared_compile_reason_cherrypick" am: 5e5fc34b42...
Calin Juravle [Thu, 2 Nov 2017 19:27:01 +0000 (19:27 +0000)]
Merge changes from topic "explicit_shared_compile_reason_cherrypick" am: 5e5fc34b42 am: 64e4210099  -s ours
am: 0cff77d293  -s ours

Change-Id: I2126bc739af9dffe7cacbf9567da065adc3a875b

6 years agoFix spelling mistake in dumpsys output am: 527a2b205c am: fa4c521414 -s ours
Calin Juravle [Thu, 2 Nov 2017 19:22:04 +0000 (19:22 +0000)]
Fix spelling mistake in dumpsys output am: 527a2b205c am: fa4c521414  -s ours
am: fa449825dd  -s ours

Change-Id: Ib9495bd450f663859742fb6eaa147af17985dfb0

6 years agoMerge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive" am...
Andreas Huber [Thu, 2 Nov 2017 19:10:04 +0000 (19:10 +0000)]
Merge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive" am: 80bb035d4e
am: 89ebce3337

Change-Id: Ia3abede66803190d1a6ec4ac141eb851207ce05d

6 years agoMerge changes from topic "explicit_shared_compile_reason_cherrypick" am: 5e5fc34b42
Calin Juravle [Thu, 2 Nov 2017 18:59:16 +0000 (18:59 +0000)]
Merge changes from topic "explicit_shared_compile_reason_cherrypick" am: 5e5fc34b42
am: 64e4210099  -s ours

Change-Id: I53aa31310ebf9e1486ad7172e5fd75eb1509ff2d

6 years agoMerge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive"
Andreas Huber [Thu, 2 Nov 2017 18:58:30 +0000 (18:58 +0000)]
Merge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive"
am: 80bb035d4e

Change-Id: I35bdd8fe5b80917b8b574e97f10f77df59045efd

6 years agoMerge "Merge "Handle configuration splits when creating the class loader context...
Android Build Merger (Role) [Thu, 2 Nov 2017 18:58:18 +0000 (18:58 +0000)]
Merge "Merge "Handle configuration splits when creating the class loader context" am: 88946d4cf2 am: ee41710ef5  -s ours am: d5b968c75b  -s ours"

6 years agoMerge "Fix possible NPE crash when adding new accounts in Settings."
Lu Chen [Thu, 2 Nov 2017 18:56:57 +0000 (18:56 +0000)]
Merge "Fix possible NPE crash when adding new accounts in Settings."

6 years agoMerge "Handle configuration splits when creating the class loader context" am: 88946d...
Calin Juravle [Thu, 2 Nov 2017 18:56:22 +0000 (18:56 +0000)]
Merge "Handle configuration splits when creating the class loader context" am: 88946d4cf2 am: ee41710ef5  -s ours
am: d5b968c75b  -s ours

Change-Id: Ia7a6bdc5aaaa256fb638e722d1448306a0dc9479

6 years agoFix spelling mistake in dumpsys output am: 527a2b205c
Calin Juravle [Thu, 2 Nov 2017 18:55:30 +0000 (18:55 +0000)]
Fix spelling mistake in dumpsys output am: 527a2b205c
am: fa4c521414  -s ours

Change-Id: I36e808545c34205bf2f3c4f4de457ad3999cf1c5

6 years agoMerge "Merge "Ensure dexopt is executed only with consistent package data" am: 1ad030...
Android Build Merger (Role) [Thu, 2 Nov 2017 18:46:15 +0000 (18:46 +0000)]
Merge "Merge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d am: 1c6eeaec1b  -s ours am: eb68bfac36  -s ours"

6 years agoMerge "Handle configuration splits when creating the class loader context" am: 88946d4cf2
Calin Juravle [Thu, 2 Nov 2017 18:44:34 +0000 (18:44 +0000)]
Merge "Handle configuration splits when creating the class loader context" am: 88946d4cf2
am: ee41710ef5  -s ours

Change-Id: I3a80cea56b5a310f8c0e9c6eff5586e98fe5df42

6 years agoMerge changes from topic "explicit_shared_compile_reason_cherrypick"
Calin Juravle [Thu, 2 Nov 2017 18:44:10 +0000 (18:44 +0000)]
Merge changes from topic "explicit_shared_compile_reason_cherrypick"
am: 5e5fc34b42

Change-Id: I5af5a20cae531d5fc93faae00dfbe399f08da766

6 years agoMerge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d...
Calin Juravle [Thu, 2 Nov 2017 18:44:10 +0000 (18:44 +0000)]
Merge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d am: 1c6eeaec1b  -s ours
am: eb68bfac36  -s ours

Change-Id: I60228e1bb6b2a3fbeecb0c423604aaabf5833501

6 years agoMerge "Add support for minimized mode for right dock side for tablets (1/2)"
TreeHugger Robot [Thu, 2 Nov 2017 18:43:18 +0000 (18:43 +0000)]
Merge "Add support for minimized mode for right dock side for tablets (1/2)"

6 years agoFix StateMachine init/quit race.
Calvin On [Wed, 1 Nov 2017 20:37:18 +0000 (13:37 -0700)]
Fix StateMachine init/quit race.

The quitNow method places the SM_QUIT_CMD at the front
of the queue. This can cause StateMachine to throw exception
if it has not yet processed the SM_INIT_CMD from start().

Bug: 67370902
Test: make checkbuild
Test: StatMachineTest unittest
Change-Id: I409242845854e70b77ad9b2378b69faed076847c
Merged-In: I7cec7bb91e0447e3c565d33cb7c34ccf59566639

6 years agoFix spelling mistake in dumpsys output
Calin Juravle [Thu, 2 Nov 2017 18:39:26 +0000 (18:39 +0000)]
Fix spelling mistake in dumpsys output
am: 527a2b205c

Change-Id: I3bffb95e459adcf0457479f3b87583ba7600fc03

6 years agoMerge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d
Calin Juravle [Thu, 2 Nov 2017 18:34:38 +0000 (18:34 +0000)]
Merge "Ensure dexopt is executed only with consistent package data" am: 1ad0304e7d
am: 1c6eeaec1b  -s ours

Change-Id: I506470013e57b288d54eb5bc308eb79c7c224e69

6 years agoMerge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive"
Treehugger Robot [Thu, 2 Nov 2017 18:33:18 +0000 (18:33 +0000)]
Merge "Use ScopedPrimitiveArrayRO instead of manually managing Java primitive"

6 years agoMerge "Handle configuration splits when creating the class loader context"
Calin Juravle [Thu, 2 Nov 2017 18:28:41 +0000 (18:28 +0000)]
Merge "Handle configuration splits when creating the class loader context"
am: 88946d4cf2

Change-Id: I1ed3175ef2094979477dca44b5f0bf56eb34d880

6 years agoMerge "Ensure dexopt is executed only with consistent package data"
Calin Juravle [Thu, 2 Nov 2017 18:24:12 +0000 (18:24 +0000)]
Merge "Ensure dexopt is executed only with consistent package data"
am: 1ad0304e7d

Change-Id: I32a9c3cf57d0726d7959eb331530fab7f79a7619

6 years agoMerge "Enable Window Dumpsys Section"
TreeHugger Robot [Thu, 2 Nov 2017 18:19:37 +0000 (18:19 +0000)]
Merge "Enable Window Dumpsys Section"

6 years agoMerge changes from topic "explicit_shared_compile_reason_cherrypick"
Treehugger Robot [Thu, 2 Nov 2017 18:13:54 +0000 (18:13 +0000)]
Merge changes from topic "explicit_shared_compile_reason_cherrypick"

* changes:
  Add an explicit reason for the compilation of shared apks
  Fix spelling mistake in dumpsys output

6 years ago1. Enable FIELD_TYPE IDs defined in ProtoOutputStream
yro [Wed, 1 Nov 2017 06:06:53 +0000 (23:06 -0700)]
1. Enable FIELD_TYPE IDs defined in ProtoOutputStream
2. Migrate CountMetricProducer to use ProtoOutputStream

Test: statsd, statsd_test
Change-Id: I33a1ea77a49b045818a48923b2263cb594ab0013

6 years agoMerge "Handle configuration splits when creating the class loader context"
Treehugger Robot [Thu, 2 Nov 2017 18:11:02 +0000 (18:11 +0000)]
Merge "Handle configuration splits when creating the class loader context"

6 years agoMerge "Ensure dexopt is executed only with consistent package data"
Treehugger Robot [Thu, 2 Nov 2017 18:10:42 +0000 (18:10 +0000)]
Merge "Ensure dexopt is executed only with consistent package data"

6 years agoAdd metric for imei dialog fragment
jeffreyhuang [Fri, 27 Oct 2017 18:22:45 +0000 (11:22 -0700)]
Add metric for imei dialog fragment

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I73ac64b8e23bb6f88f3b68e4febf6ca5f9032f23

6 years agoMerge "Remove the extra mapping of field types in ProtoOutputStream"
Yi Jin [Thu, 2 Nov 2017 17:55:40 +0000 (17:55 +0000)]
Merge "Remove the extra mapping of field types in ProtoOutputStream"

6 years agoGive VoiceInteractionService access to shortcuts.
Dianne Hackborn [Wed, 1 Nov 2017 23:14:26 +0000 (16:14 -0700)]
Give VoiceInteractionService access to shortcuts.

The shortcut manager now has a set of additional packages that
have access, which the voice interaction system service feeds in
to.

Bug: 68760723
Test: CtsVoiceInteractionTestCases
Change-Id: I2a69f83569eb350f405bdd548998570ceef9ea7e

6 years agoMerge "Add metric ACTION_WIFI_AUTO_SIGN_IN"
TreeHugger Robot [Thu, 2 Nov 2017 17:38:08 +0000 (17:38 +0000)]
Merge "Add metric ACTION_WIFI_AUTO_SIGN_IN"

6 years agoCustomizable corner radius for dialogs
Lucas Dupin [Wed, 25 Oct 2017 01:15:24 +0000 (18:15 -0700)]
Customizable corner radius for dialogs

Moved default corner radius into an xml config to make it
overridable.

Test: make # launch usb debugging, wifi, and other system dialogs
Bug: 64122537
Change-Id: If9c102e37a6f998da2d97a8ad5aee2de4d25ae9d

6 years agoMake CHANGE_APP_IDLE_STATE a system API
Amith Yamasani [Tue, 31 Oct 2017 20:29:00 +0000 (13:29 -0700)]
Make CHANGE_APP_IDLE_STATE a system API

Allows a privileged app to set standby bucket states for apps.

Bug: 63527785
Test: adb shell am set-standby-bucket com.example.foo 0
Change-Id: I069546555e1b370247f8cd45b2f4c32e6abe15ed

6 years agoMerge "Add prep_taieye"
TreeHugger Robot [Thu, 2 Nov 2017 17:01:06 +0000 (17:01 +0000)]
Merge "Add prep_taieye"

6 years agoPMSCompilerMapping: Hardcode a value for pm.dexopt.shared
Andreas Gampe [Thu, 2 Nov 2017 16:35:28 +0000 (09:35 -0700)]
PMSCompilerMapping: Hardcode a value for pm.dexopt.shared

This is a temporary hack while we sort out the larger issues.

Test: make & flash
Bug: 68755013
Change-Id: I59caf79027dd8be2fd698606822a20b19c0d942a

6 years agoAdd an explicit reason for the compilation of shared apks
Calin Juravle [Fri, 15 Sep 2017 18:09:29 +0000 (11:09 -0700)]
Add an explicit reason for the compilation of shared apks

Some devices might find it more beneficial to compile shared apks like gms
or gms modules with quicken rather then speed.

(cherry picked from commit f53201f8c796e8500b76b72e4fad6269d8547369)

Bug: 65591595
Test: build
Merged-In: I90b79e9f6bc4b4d6b3f5c0b90ab95e8880c4ac9d
Change-Id: I90b79e9f6bc4b4d6b3f5c0b90ab95e8880c4ac9d

6 years agoFix spelling mistake in dumpsys output
Calin Juravle [Tue, 26 Sep 2017 20:23:00 +0000 (13:23 -0700)]
Fix spelling mistake in dumpsys output

(cherry picked from commit 94837e35e3c149e81da90f312fbb37f22c8bc90e)

Bug: 65843255
Test: build
Merged-In: Icc748dd14b52641e37b149f51d61a4086e55ed41
Change-Id: Icc748dd14b52641e37b149f51d61a4086e55ed41

6 years agoMerge "Fix CTS regression in running tasks"
Winson Chung [Thu, 2 Nov 2017 16:29:57 +0000 (16:29 +0000)]
Merge "Fix CTS regression in running tasks"

6 years agoHandle configuration splits when creating the class loader context
Calin Juravle [Sat, 2 Sep 2017 00:30:01 +0000 (17:30 -0700)]
Handle configuration splits when creating the class loader context

Configuration splits have no dependencies which can lead to exceptions
when computing their class loader context.

In general, we do not need to compute the class loader context for apks
without code.

This CL addresses the issue by ignoring "code" paths with no actual code.

(cherry picked from commit da09815e2cd3d3968c66a8d52e620ee07d8204dd)

Bug: 65159159
Test: adb install-multiple config_splits
      runtest -x
services/tests/servicestests/src/com/android/server/pm/dex/DexoptUtilsTest.java

Merged-In: Ida1eb901eecba4a4266de73022f6ee4659367873
Change-Id: Ida1eb901eecba4a4266de73022f6ee4659367873

6 years agoEnsure dexopt is executed only with consistent package data
Calin Juravle [Fri, 11 Aug 2017 00:23:00 +0000 (17:23 -0700)]
Ensure dexopt is executed only with consistent package data

The main objects bookkeeping packages (PackageParser.Package and its
corresponding ApplicationInfo) may be updated at different times. This
creates a window where the data stored in the ApplicationInfo is out of
date with respect to the data stored in PackageParser.Package.

During install, the two objects are "synced" during doRename which updates
the package code paths.

This CLs moves the dexopt invocation from the install flow after doRename
to ensure that dexopt logic gets a consistent view of the package.

(cherry picked from commit 4c2b9555b7b52359ea14e201d7ec61b8edaf6232)

Bug: 64493351

Test: run cts-dev -t android.appsecurity.cts.ClassloaderSplitsTest -m
CtsAppSecurityHostTestCases
      inspect oat files after
adb install-multiple CtsClassloaderSplitApp/CtsClassloaderSplitApp.apk
    CtsClassloaderSplitAppFeatureA/CtsClassloaderSplitAppFeatureA.apk
    CtsClassloaderSplitAppFeatureB/CtsClassloaderSplitAppFeatureB.apk

Merged-In: I9131bcf49eb473a8fdc5eb0032d94080d4e9e94b
Change-Id: I9131bcf49eb473a8fdc5eb0032d94080d4e9e94b

6 years agoRevert "Suppress immersive mode cling in LockTask mode."
Charles He [Thu, 2 Nov 2017 16:16:12 +0000 (16:16 +0000)]
Revert "Suppress immersive mode cling in LockTask mode."

This reverts commit 29fef4329c846a4d593e2abd06c2c42596bdb1a9.

We shouldn't call into AM with WM lock held.

Bug: 68795262
Bug: 68305547
Change-Id: I4723488df4c5fa6839fd00c05bf3eb61253185f1

6 years agoMerge "Move native_init() from ctor to handler"
Wyatt Riley [Thu, 2 Nov 2017 16:08:55 +0000 (16:08 +0000)]
Merge "Move native_init() from ctor to handler"

6 years agoMerge "In WindowManager code, wrap Binder.restoreCallingIdentity() in finally{}."
Péter Visontay [Thu, 2 Nov 2017 12:29:59 +0000 (12:29 +0000)]
Merge "In WindowManager code, wrap Binder.restoreCallingIdentity() in finally{}."

6 years agoMerge "TokenWatcher: fix bug in repeated calls to acquire()." am: dfe472ecae am:...
Charles He [Thu, 2 Nov 2017 11:11:26 +0000 (11:11 +0000)]
Merge "TokenWatcher: fix bug in repeated calls to acquire()." am: dfe472ecae am: c214d506d4
am: 4e701561d3

Change-Id: Ic6130156ebfe79b731b331ccf2dbb487839d831c

6 years agoMerge "TokenWatcher: fix bug in repeated calls to acquire()." am: dfe472ecae
Charles He [Thu, 2 Nov 2017 10:58:30 +0000 (10:58 +0000)]
Merge "TokenWatcher: fix bug in repeated calls to acquire()." am: dfe472ecae
am: c214d506d4

Change-Id: I0760ba5c839af8a9dd4b9161dbbad16eacdb3550

6 years agoMerge "TokenWatcher: fix bug in repeated calls to acquire()."
Charles He [Thu, 2 Nov 2017 10:47:31 +0000 (10:47 +0000)]
Merge "TokenWatcher: fix bug in repeated calls to acquire()."
am: dfe472ecae

Change-Id: Ic0ea2afd4dfc00234b97a66a9dafd993b35dd803

6 years agoMerge "TokenWatcher: fix bug in repeated calls to acquire()."
Charles He [Thu, 2 Nov 2017 10:36:01 +0000 (10:36 +0000)]
Merge "TokenWatcher: fix bug in repeated calls to acquire()."

6 years agoMerge "SystemServer: Get rid of some unused config.* knobs."
Narayan Kamath [Thu, 2 Nov 2017 10:22:20 +0000 (10:22 +0000)]
Merge "SystemServer: Get rid of some unused config.* knobs."

6 years agoMerge "Adds pulling for network bytes for statsd."
TreeHugger Robot [Thu, 2 Nov 2017 10:11:05 +0000 (10:11 +0000)]
Merge "Adds pulling for network bytes for statsd."

6 years agoMerge "Watchdog: Remove kernel thread dumps (aka Watchdog_N)."
Narayan Kamath [Thu, 2 Nov 2017 09:31:13 +0000 (09:31 +0000)]
Merge "Watchdog: Remove kernel thread dumps (aka Watchdog_N)."

6 years agoMerge "Fixes LogEvent constructor to use reference."
TreeHugger Robot [Thu, 2 Nov 2017 08:26:49 +0000 (08:26 +0000)]
Merge "Fixes LogEvent constructor to use reference."

6 years agoAdds pulling for network bytes for statsd.
David Chen [Tue, 17 Oct 2017 23:23:28 +0000 (16:23 -0700)]
Adds pulling for network bytes for statsd.

Adds atoms to collect network bytes transmitted and received via wifi
and mobile data. We need to get the list of correct ifaces from
BatteryStats since NetworkStatsService only tracks the mobile ifaces.
We split the atoms so that we can also capture metrics sliced on
foreground and background since they are available from the kernel.
Also adds an atom for the Kernel Wakelocks.

Test: Manually tested with adb shell cmd stats pull-source after
modifying the StatsPullerManager.cpp

Change-Id: I9467afad799c6d97560e868f8625fefae5c2b5e1

6 years agoMerge "Log when app move to foreground or background."
TreeHugger Robot [Thu, 2 Nov 2017 06:06:56 +0000 (06:06 +0000)]
Merge "Log when app move to foreground or background."

6 years agoMerge "SystemServer: spawn hwbinder threads before BatteryService"
TreeHugger Robot [Thu, 2 Nov 2017 05:27:27 +0000 (05:27 +0000)]
Merge "SystemServer: spawn hwbinder threads before BatteryService"

6 years agoPreventing recursive referrence in drawables am: 99b25d2817
Sunny Goyal [Thu, 2 Nov 2017 04:55:36 +0000 (04:55 +0000)]
Preventing recursive referrence in drawables am: 99b25d2817
am: ced997ec10

Change-Id: Iab88125b030bfe21aad82a1b287495cb9e3f54a2

6 years agoPreventing recursive referrence in drawables
Sunny Goyal [Thu, 2 Nov 2017 04:46:07 +0000 (04:46 +0000)]
Preventing recursive referrence in drawables
am: 99b25d2817

Change-Id: I1c23d40e590d6d8bb21f6734a106d0ee217b6672

6 years agoSystemServer: spawn hwbinder threads before BatteryService
Yifan Hong [Thu, 2 Nov 2017 03:19:27 +0000 (20:19 -0700)]
SystemServer: spawn hwbinder threads before BatteryService

BatteryService is the first service that uses a hwbinder
call, so we need to spawn the threads for BatteryService to receive
callbacks prior to starting BatteryService.

Test: boot test
Test: manually sleep in SensorDeviceUtils, still boots

Bug: 68765551
Bug: 68217725

Change-Id: Iadd88897d4cf9e0e37af706452c15318115f2149

6 years agoPreventing recursive referrence in drawables
Sunny Goyal [Wed, 1 Nov 2017 18:58:13 +0000 (11:58 -0700)]
Preventing recursive referrence in drawables

Bug: 68706673
Bug: 66498711
Test: Added CTS tests
Change-Id: I8034f49d16f9a7bc1749714fd6d6231bba5088d0

6 years agoMerge "Allow equality checking and hash for HIDL interface proxies." am: 762f27c6a2...
Yifan Hong [Thu, 2 Nov 2017 04:12:09 +0000 (04:12 +0000)]
Merge "Allow equality checking and hash for HIDL interface proxies." am: 762f27c6a2 am: 0134fd1577
am: ddfee6b154

Change-Id: I70c7fb09397cf9b483ed648f1516158c6c431475

6 years agoLog when app move to foreground or background.
Chenjie Yu [Fri, 27 Oct 2017 22:39:34 +0000 (15:39 -0700)]
Log when app move to foreground or background.

Together with screen state change, we will have appusage info.

Test: manually test on device
Change-Id: Ie9cfe0376cf0d6339be5e8e96f7b360c3f0771d6

6 years agoMerge "Merge "Frameworks: Fix idle-background-job flag" am: 3a16db62ec am: 83419c750f...
Android Build Merger (Role) [Thu, 2 Nov 2017 04:03:49 +0000 (04:03 +0000)]
Merge "Merge "Frameworks: Fix idle-background-job flag" am: 3a16db62ec am: 83419c750f am: 64f4a15a87"

6 years agoMerge "Frameworks: Fix idle-background-job flag" am: 3a16db62ec am: 83419c750f
Andreas Gampe [Thu, 2 Nov 2017 04:02:05 +0000 (04:02 +0000)]
Merge "Frameworks: Fix idle-background-job flag" am: 3a16db62ec am: 83419c750f
am: 64f4a15a87

Change-Id: I657a946fd67a44697a51df4b43a60de0cc69c8be

6 years agoMerge "Allow equality checking and hash for HIDL interface proxies." am: 762f27c6a2
Yifan Hong [Thu, 2 Nov 2017 04:01:07 +0000 (04:01 +0000)]
Merge "Allow equality checking and hash for HIDL interface proxies." am: 762f27c6a2
am: 0134fd1577

Change-Id: I9b7b2b45967506469309353eb09c49738805b213

6 years agoMerge "Disable checking AVB in runtime vintf"
TreeHugger Robot [Thu, 2 Nov 2017 03:59:49 +0000 (03:59 +0000)]
Merge "Disable checking AVB in runtime vintf"

6 years agoMerge "Frameworks: Fix idle-background-job flag" am: 3a16db62ec
Andreas Gampe [Thu, 2 Nov 2017 03:51:58 +0000 (03:51 +0000)]
Merge "Frameworks: Fix idle-background-job flag" am: 3a16db62ec
am: 83419c750f

Change-Id: I78676a68b624813870bd100577969dbbea66b635

6 years agoMerge "Allow equality checking and hash for HIDL interface proxies."
Yifan Hong [Thu, 2 Nov 2017 03:51:08 +0000 (03:51 +0000)]
Merge "Allow equality checking and hash for HIDL interface proxies."
am: 762f27c6a2

Change-Id: Ia6ebb45cd2e7778483df3c191b3f0d175588e3fc

6 years agoMerge "Frameworks: Fix idle-background-job flag"
Andreas Gampe [Thu, 2 Nov 2017 03:41:49 +0000 (03:41 +0000)]
Merge "Frameworks: Fix idle-background-job flag"
am: 3a16db62ec

Change-Id: Ibb9a6213ccc5f48c848228af3a9c2a73e8309133

6 years agoMerge "Allow equality checking and hash for HIDL interface proxies."
Treehugger Robot [Thu, 2 Nov 2017 03:39:42 +0000 (03:39 +0000)]
Merge "Allow equality checking and hash for HIDL interface proxies."

6 years agoMerge "Fix dexopt dump" am: 7ef653733f am: f8ce6d5209 -s ours
Calin Juravle [Thu, 2 Nov 2017 03:37:06 +0000 (03:37 +0000)]
Merge "Fix dexopt dump" am: 7ef653733f am: f8ce6d5209  -s ours
am: 7ab7a87fee  -s ours

Change-Id: I5840dda76789819ccfab1624055a2ce6c606d701

6 years agoMerge "Frameworks: Fix idle-background-job flag"
Treehugger Robot [Thu, 2 Nov 2017 03:31:30 +0000 (03:31 +0000)]
Merge "Frameworks: Fix idle-background-job flag"

6 years agoMerge "Fix getSimOperator to return mccmnc based on subId" am: 87a336846e am: 44dc116739
Pengquan Meng [Thu, 2 Nov 2017 03:27:00 +0000 (03:27 +0000)]
Merge "Fix getSimOperator to return mccmnc based on subId" am: 87a336846e am: 44dc116739
am: 402f64313e

Change-Id: I7fdec39374578ca2c3ca0d34b50d32842cf7efc0

6 years agoMerge "Fix dexopt dump" am: 7ef653733f
Calin Juravle [Thu, 2 Nov 2017 03:23:37 +0000 (03:23 +0000)]
Merge "Fix dexopt dump" am: 7ef653733f
am: f8ce6d5209  -s ours

Change-Id: I03624a8bec67a461978ea4ba904be863de8b1c4c

6 years agoMerge "Added interface to get the decimal digit from hex ICCID." am: c173c93c1c am...
Jordan Liu [Thu, 2 Nov 2017 03:18:52 +0000 (03:18 +0000)]
Merge "Added interface to get the decimal digit from hex ICCID." am: c173c93c1c am: 7f25f6d720
am: 4d9005226c

Change-Id: I320ea9e61cd369be8d1d2f03b5733a0e1ae00abe

6 years agoMerge "Add @TestApi for EMBMS APIs needed for CTS" am: f1167ced38 am: cca2b5a246
Hall Liu [Thu, 2 Nov 2017 03:08:06 +0000 (03:08 +0000)]
Merge "Add @TestApi for EMBMS APIs needed for CTS" am: f1167ced38 am: cca2b5a246
am: ebe0a4ccf8

Change-Id: I687fbf4a97262ac5570de51924fe18e73658467e

6 years agoMerge "Fix getSimOperator to return mccmnc based on subId" am: 87a336846e
Pengquan Meng [Thu, 2 Nov 2017 03:06:22 +0000 (03:06 +0000)]
Merge "Fix getSimOperator to return mccmnc based on subId" am: 87a336846e
am: 44dc116739

Change-Id: I16df51378764d9d62abe8c87c242e5a3a6c3b8ba

6 years agoMerge "Merge "make update-api" am: 07fe9042cf am: e33d0f594e am: 4a45e0435d"
Android Build Merger (Role) [Thu, 2 Nov 2017 03:00:28 +0000 (03:00 +0000)]
Merge "Merge "make update-api" am: 07fe9042cf am: e33d0f594e am: 4a45e0435d"

6 years agoMerge "Record proto to file in am instrument"
Mike Ma [Thu, 2 Nov 2017 03:00:07 +0000 (03:00 +0000)]
Merge "Record proto to file in am instrument"

6 years agoMerge "Added interface to get the decimal digit from hex ICCID." am: c173c93c1c
Jordan Liu [Thu, 2 Nov 2017 02:59:59 +0000 (02:59 +0000)]
Merge "Added interface to get the decimal digit from hex ICCID." am: c173c93c1c
am: 7f25f6d720

Change-Id: Ic46a95c693bfbcfe6884b0cacdb49450b94dcc9a