OSDN Git Service

android-x86/frameworks-base.git
6 years agoImplement Activity Manager Dumpsys --service option
Yi Jin [Mon, 30 Oct 2017 21:54:12 +0000 (14:54 -0700)]
Implement Activity Manager Dumpsys --service option

Bug: 66729158
Test: out/host/linux-x86/bin/incident_report -w amservices
Change-Id: I72015b9744bc8028001306283f169fca4797c700

6 years agoMerge "Add a new usage event type for seen notification"
Amith Yamasani [Fri, 17 Nov 2017 19:32:43 +0000 (19:32 +0000)]
Merge "Add a new usage event type for seen notification"

6 years agoMerge "Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel...
Android Build Merger (Role) [Fri, 17 Nov 2017 19:26:40 +0000 (19:26 +0000)]
Merge "Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." am: 3df706dcd9 am: ea01b02f71 am: 5c1b92c512"

6 years agoMerge "AAPT2: Fix debugging output"
Adam Lesinski [Fri, 17 Nov 2017 19:25:28 +0000 (19:25 +0000)]
Merge "AAPT2: Fix debugging output"

6 years agoMerge "AAPT2: Move all file output to FileOutputStream"
Adam Lesinski [Fri, 17 Nov 2017 19:24:06 +0000 (19:24 +0000)]
Merge "AAPT2: Move all file output to FileOutputStream"

6 years agoMerge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." am: 3df70...
Cassie Han [Fri, 17 Nov 2017 19:23:00 +0000 (19:23 +0000)]
Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." am: 3df706dcd9 am: ea01b02f71
am: 5c1b92c512

Change-Id: I139427f61310d568a51ece7297804e33b54fddaf

6 years agoMerge "Fix typo" am: 913f396c11 am: 8c7c6e3952
Ahmad Melegy [Fri, 17 Nov 2017 19:13:29 +0000 (19:13 +0000)]
Merge "Fix typo" am: 913f396c11 am: 8c7c6e3952
am: 9296c2c8c1

Change-Id: Idb98baf68132e27718c69d4b9a6bc22e8db77a0e

6 years agoMerge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." am: 3df70...
Cassie Han [Fri, 17 Nov 2017 19:12:52 +0000 (19:12 +0000)]
Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." am: 3df706dcd9
am: ea01b02f71

Change-Id: I8871aeb7f3d1618883439df6f78f2d34955cc29e

6 years agoMerge "Fix typo" am: 913f396c11
Ahmad Melegy [Fri, 17 Nov 2017 19:04:55 +0000 (19:04 +0000)]
Merge "Fix typo" am: 913f396c11
am: 8c7c6e3952

Change-Id: Ieed26cd7bb6be66c6084dd0fc8f0dcc05d9156d0

6 years agoMerge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."
Cassie Han [Fri, 17 Nov 2017 19:01:44 +0000 (19:01 +0000)]
Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."
am: 3df706dcd9

Change-Id: I83ebfa9404af1b8045c6d9c7e8a3634469420adc

6 years agoMerge "Fix typo"
Ahmad Melegy [Fri, 17 Nov 2017 18:55:53 +0000 (18:55 +0000)]
Merge "Fix typo"
am: 913f396c11

Change-Id: I244ccafe5bf76718cdc48b2fa7d9ce8270b0dd33

6 years agoMerge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."
Cassie Han [Fri, 17 Nov 2017 18:47:59 +0000 (18:47 +0000)]
Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."

6 years agoMerge "Fix typo"
Treehugger Robot [Fri, 17 Nov 2017 18:47:43 +0000 (18:47 +0000)]
Merge "Fix typo"

6 years agoMerge "Expose how many bytes are written in ProtoOutputStream"
Yi Jin [Fri, 17 Nov 2017 18:44:15 +0000 (18:44 +0000)]
Merge "Expose how many bytes are written in ProtoOutputStream"

6 years agoMerge "Fix Gravity toString wrong message issue"
Qing Xia [Fri, 17 Nov 2017 18:29:57 +0000 (18:29 +0000)]
Merge "Fix Gravity toString wrong message issue"

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework."
Tobias Thierer [Fri, 17 Nov 2017 18:25:24 +0000 (18:25 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework."

6 years agoMerge "Add a link to the PackageInstaller API demos."
Peter Visontay [Fri, 17 Nov 2017 17:04:29 +0000 (17:04 +0000)]
Merge "Add a link to the PackageInstaller API demos."

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}."
Tobias Thierer [Fri, 17 Nov 2017 15:21:49 +0000 (15:21 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}."

6 years agoAdd a link to the PackageInstaller API demos.
Peter Visontay [Fri, 17 Nov 2017 14:00:47 +0000 (14:00 +0000)]
Add a link to the PackageInstaller API demos.

Test: Ran "make docs".
Change-Id: I8459bc2a4aaf3827f71a6af5478ff0f30fae6dc3

6 years agoMerge "Drop the second unit from elapsed time if zero"
TreeHugger Robot [Fri, 17 Nov 2017 05:32:56 +0000 (05:32 +0000)]
Merge "Drop the second unit from elapsed time if zero"

6 years agoMerge "Adds CHRE platform ID to ContextHubInfo"
TreeHugger Robot [Fri, 17 Nov 2017 05:07:54 +0000 (05:07 +0000)]
Merge "Adds CHRE platform ID to ContextHubInfo"

6 years agoMerge "Workaround to get passed the broken install flow" am: b0e6508a5b am: af657ae978
Calin Juravle [Fri, 17 Nov 2017 03:04:52 +0000 (03:04 +0000)]
Merge "Workaround to get passed the broken install flow" am: b0e6508a5b am: af657ae978
am: a6b3dc3c42

Change-Id: I359059c4b96248aba45843acf7bff31ecc37b841

6 years agoMerge "Workaround to get passed the broken install flow" am: b0e6508a5b
Calin Juravle [Fri, 17 Nov 2017 02:55:15 +0000 (02:55 +0000)]
Merge "Workaround to get passed the broken install flow" am: b0e6508a5b
am: af657ae978

Change-Id: I57ba9c85e4d5b4e301cb14ba068430c4454a4978

6 years agoAdds CHRE platform ID to ContextHubInfo
Arthur Ishiguro [Thu, 2 Nov 2017 18:30:41 +0000 (11:30 -0700)]
Adds CHRE platform ID to ContextHubInfo

Adds a parameterized constructor and the platform ID to the
ContextHubInfo.

Bug: 67734082
Test: make update-api && make from root
Change-Id: I98822f625c5173cdbd281b24550de434b67b18d3

6 years agoMerge "Workaround to get passed the broken install flow"
Calin Juravle [Fri, 17 Nov 2017 02:46:57 +0000 (02:46 +0000)]
Merge "Workaround to get passed the broken install flow"
am: b0e6508a5b

Change-Id: Icbad0d985b4d8d3e206ee5e426cdd1f58955aec1

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec...
Jack He [Fri, 17 Nov 2017 02:40:58 +0000 (02:40 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da am: a3185b2ff2
am: e778568995

Change-Id: I2cd2414e591fc224364fc286696d910a1ab0b710

6 years agoMerge "Make ripples silky smooth"
TreeHugger Robot [Fri, 17 Nov 2017 02:36:55 +0000 (02:36 +0000)]
Merge "Make ripples silky smooth"

6 years agoMerge "Workaround to get passed the broken install flow"
Calin Juravle [Fri, 17 Nov 2017 02:36:29 +0000 (02:36 +0000)]
Merge "Workaround to get passed the broken install flow"

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da
Jack He [Fri, 17 Nov 2017 02:29:10 +0000 (02:29 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da
am: a3185b2ff2

Change-Id: Iaa074f6d99742605537c9f406c848a470c2c777c

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
Jack He [Fri, 17 Nov 2017 02:19:02 +0000 (02:19 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
am: 8055aec0da

Change-Id: If1757262ce5da5f2ab1055cfb238ea570550f7f7

6 years agoMerge "Write statsd configuration to disk and add cmd to clear it"
Howard Ro [Fri, 17 Nov 2017 02:16:07 +0000 (02:16 +0000)]
Merge "Write statsd configuration to disk and add cmd to clear it"

6 years agoMerge "Revert "Implement front-end APIs for generic vendor-specific parameters.""
TreeHugger Robot [Fri, 17 Nov 2017 02:13:07 +0000 (02:13 +0000)]
Merge "Revert "Implement front-end APIs for generic vendor-specific parameters.""

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
Treehugger Robot [Fri, 17 Nov 2017 02:10:07 +0000 (02:10 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"

6 years agoMerge "Add getProfileParentId (1/2)" am: 7a2c66359a am: b6946d8563
Jakub Pawlowski [Fri, 17 Nov 2017 01:58:04 +0000 (01:58 +0000)]
Merge "Add getProfileParentId (1/2)" am: 7a2c66359a am: b6946d8563
am: 447e453e58

Change-Id: Idd087f45d5fba325f347a8bb0391745ccd0593a0

6 years agoMerge "Add getProfileParentId (1/2)" am: 7a2c66359a
Jakub Pawlowski [Fri, 17 Nov 2017 01:48:14 +0000 (01:48 +0000)]
Merge "Add getProfileParentId (1/2)" am: 7a2c66359a
am: b6946d8563

Change-Id: I3fe6f4300c9321fc57479fc4a9e952d2aa0c73cc

6 years agoMerge "Remove one legacy install path"
TreeHugger Robot [Fri, 17 Nov 2017 01:46:18 +0000 (01:46 +0000)]
Merge "Remove one legacy install path"

6 years agoMerge "Add getProfileParentId (1/2)"
Jakub Pawlowski [Fri, 17 Nov 2017 01:40:05 +0000 (01:40 +0000)]
Merge "Add getProfileParentId (1/2)"
am: 7a2c66359a

Change-Id: Iea965e42bb79f939381971e8dd9466b824606ee0

6 years agoMerge "Add getProfileParentId (1/2)"
Jakub Pawlowski [Fri, 17 Nov 2017 01:33:31 +0000 (01:33 +0000)]
Merge "Add getProfileParentId (1/2)"

6 years agoAAPT2: Fix debugging output
Adam Lesinski [Fri, 17 Nov 2017 00:58:02 +0000 (16:58 -0800)]
AAPT2: Fix debugging output

Test: manual
Change-Id: I3a362caf7bd691df399db00c6280e0a208a406da

6 years agoMerge "Provide remote stack trace information"
Fyodor Kupolov [Fri, 17 Nov 2017 00:51:39 +0000 (00:51 +0000)]
Merge "Provide remote stack trace information"

6 years agoMake ripples silky smooth
John Reck [Thu, 16 Nov 2017 21:44:35 +0000 (13:44 -0800)]
Make ripples silky smooth

* Updates press state ripple to match UX spec
* Makes it ungodly silky smooth LIKE BUTTAH
* Update hover & focus states to be closer to UX spec,
  still needs a final pass.

Bug: 63635160
Test: Clicked on a bunch of stuff

Change-Id: I162ab9d8d669002f2ae511f93b5d9fe67f99c533

6 years agoMerge "Add support for provider proto dump in ActivityManager"
TreeHugger Robot [Fri, 17 Nov 2017 00:29:46 +0000 (00:29 +0000)]
Merge "Add support for provider proto dump in ActivityManager"

6 years agoWrite statsd configuration to disk and add cmd to clear it
yro [Wed, 15 Nov 2017 05:31:43 +0000 (21:31 -0800)]
Write statsd configuration to disk and add cmd to clear it

Test: statsd, statsd_test
Change-Id: Iba37a7f295256d24969185bdde6cbf28f9b89a55

6 years agoRevert "Implement front-end APIs for generic vendor-specific parameters."
Tomasz Wasilczyk [Fri, 17 Nov 2017 00:21:21 +0000 (00:21 +0000)]
Revert "Implement front-end APIs for generic vendor-specific parameters."

This reverts commit 7c22694dc2b0df5a74837f4268f2c1ce6181c49c.

Change-Id: I311166b4cfb55ea032c89a5a7ce49eeaeb02338e

6 years agoWorkaround to get passed the broken install flow
Jeff Sharkey [Thu, 16 Nov 2017 02:07:14 +0000 (19:07 -0700)]
Workaround to get passed the broken install flow

For fresh installs the PM does not set the app uid before invoking
dexopt; so we would always get a bogus GID.

This is a temporary workaround which fixes the GID of newly
installed apps to an arbitrary UNKNOWN gid.

Test: adb install
Bug: 64548938
Bug: 69331247

(cherry picked from commit a73e165c2ea0bb6499b89dd335d6ef878c92b8e9)

Change-Id: I6438ec8cfca88df813e166f9ef5821e62faf524a

6 years agoTelephony: Allow custom looper for OnSubscriptionsChangedListener
Jack He [Thu, 16 Nov 2017 23:54:14 +0000 (15:54 -0800)]
Telephony: Allow custom looper for OnSubscriptionsChangedListener

* Add OnSubscriptionsChangedListener(Looper looper) constructor

Bug: 69429540
Test: Use this constructor in HeadsetPhoneState.java
Change-Id: I37b6c8d970384466527acc8df7a818625865ab16

6 years agoExpose how many bytes are written in ProtoOutputStream
Yi Jin [Thu, 16 Nov 2017 23:32:27 +0000 (15:32 -0800)]
Expose how many bytes are written in ProtoOutputStream

Bug: 69428467
Test: N/A
Change-Id: If1405885949635cebd1c6d89e220c210ef9fa210

6 years agoMerge "Minor changes in ChoreographerCompat"
TreeHugger Robot [Thu, 16 Nov 2017 23:16:24 +0000 (23:16 +0000)]
Merge "Minor changes in ChoreographerCompat"

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289...
Ajay Panicker [Thu, 16 Nov 2017 23:12:23 +0000 (23:12 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289 am: 171dec7468
am: 6ba5159291

Change-Id: I75138e80effdebee9ec699065360d3e5cc291775

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289
Ajay Panicker [Thu, 16 Nov 2017 23:02:43 +0000 (23:02 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289
am: 171dec7468

Change-Id: Ie210bbb4a9231377b795ca86219dfab7ee59ff8c

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier"
Ajay Panicker [Thu, 16 Nov 2017 22:53:19 +0000 (22:53 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier"
am: 12bc5b6289

Change-Id: Ie622564ba02ec7a39d8f3574ea8885b225596c67

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier"
Treehugger Robot [Thu, 16 Nov 2017 22:43:40 +0000 (22:43 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier"

6 years agoMerge "Don't allow 0-sized views to be focused."
Evan Rosky [Thu, 16 Nov 2017 22:42:58 +0000 (22:42 +0000)]
Merge "Don't allow 0-sized views to be focused."

6 years agoMerge "Add "KeyFallback" handling ability to Views"
Evan Rosky [Thu, 16 Nov 2017 21:55:03 +0000 (21:55 +0000)]
Merge "Add "KeyFallback" handling ability to Views"

6 years agoMerge "Fix some bugs found in statsd"
TreeHugger Robot [Thu, 16 Nov 2017 21:28:10 +0000 (21:28 +0000)]
Merge "Fix some bugs found in statsd"

6 years agoMinor changes in ChoreographerCompat
Sunny Goyal [Thu, 16 Nov 2017 21:05:36 +0000 (13:05 -0800)]
Minor changes in ChoreographerCompat

Test: N/A
Change-Id: I2569f9b05d56caa668962d28ec818411bccdbbc5

6 years agoMerge "Implement force-all-apps-standly in job scheduler."
Makoto Onuki [Thu, 16 Nov 2017 20:48:33 +0000 (20:48 +0000)]
Merge "Implement force-all-apps-standly in job scheduler."

6 years agoMerge "Implement front-end APIs for generic vendor-specific parameters."
Tomasz Wasilczyk [Thu, 16 Nov 2017 20:43:43 +0000 (20:43 +0000)]
Merge "Implement front-end APIs for generic vendor-specific parameters."

6 years agoMerge "Handle if mAlwaysUse is not be set"
TreeHugger Robot [Thu, 16 Nov 2017 20:41:08 +0000 (20:41 +0000)]
Merge "Handle if mAlwaysUse is not be set"

6 years agoMerge "Minor optimizations to task loading/screenshot"
Winson Chung [Thu, 16 Nov 2017 20:38:47 +0000 (20:38 +0000)]
Merge "Minor optimizations to task loading/screenshot"

6 years agoMerge "Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373...
Android Build Merger (Role) [Thu, 16 Nov 2017 20:15:38 +0000 (20:15 +0000)]
Merge "Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373 am: 55839ebbb8"

6 years agoAAPT2: Move all file output to FileOutputStream
Adam Lesinski [Thu, 9 Nov 2017 19:29:39 +0000 (11:29 -0800)]
AAPT2: Move all file output to FileOutputStream

FileOutputStream is safe to use on Windows, as it opens
files using our compatibility API.

Bug: 68262818
Test: make aapt2_tests
Change-Id: Ib0b27e93edd609b49b1327db7d9867a002198ebb

6 years agoAdd MediaMetadata equals to make metadata comparisons easier
Ajay Panicker [Thu, 9 Nov 2017 18:16:35 +0000 (10:16 -0800)]
Add MediaMetadata equals to make metadata comparisons easier

Bug: 68854188
Test: Compare two metadata objects with the same title, album, and
artist
Change-Id: I89d1944bf237f8f3f1c52ccdb8ff385422b19070

6 years agoMerge "Specify the version for Robolectric version"
TreeHugger Robot [Thu, 16 Nov 2017 19:56:27 +0000 (19:56 +0000)]
Merge "Specify the version for Robolectric version"

6 years agoMerge "Update Build#SERIAL docs about deprecation policy"
TreeHugger Robot [Thu, 16 Nov 2017 19:48:21 +0000 (19:48 +0000)]
Merge "Update Build#SERIAL docs about deprecation policy"

6 years agoRemove one legacy install path
Philip P. Moltmann [Tue, 14 Nov 2017 16:34:06 +0000 (08:34 -0800)]
Remove one legacy install path

Also removed everything needed only for this path

Test: Installed app via package installer, adb, google play store
Bug: 65261282
Change-Id: Ia8a03fa5900687cd2adf844ba7e6c07e0537382e

6 years agoMerge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373
Hansong Zhang [Thu, 16 Nov 2017 19:14:00 +0000 (19:14 +0000)]
Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373
am: 55839ebbb8

Change-Id: Ic655da25a4722a49a982dad68621cf4e669af8fe

6 years agoMerge "Use -Werror in frameworks/base/tools/stats_log_api_gen"
Chih-hung Hsieh [Thu, 16 Nov 2017 19:09:45 +0000 (19:09 +0000)]
Merge "Use -Werror in frameworks/base/tools/stats_log_api_gen"

6 years agoMerge "Use correct user id for permission check for instant foreground service"
TreeHugger Robot [Thu, 16 Nov 2017 19:06:15 +0000 (19:06 +0000)]
Merge "Use correct user id for permission check for instant foreground service"

6 years agoMerge "Allow overlay to add resource."
TreeHugger Robot [Thu, 16 Nov 2017 19:03:05 +0000 (19:03 +0000)]
Merge "Allow overlay to add resource."

6 years agoHandle if mAlwaysUse is not be set
Philip P. Moltmann [Thu, 16 Nov 2017 16:48:38 +0000 (08:48 -0800)]
Handle if mAlwaysUse is not be set

The view is not initialized when the app cannot become a default. Handle
the case as if it not checked.

Change-Id: I9bd9dc40fefa5da498679ca09ce2ebb4ea4f4b10
Fixes: 69395445
Test: attempted to update firmware on Mir (scenario that revealed bug)

6 years agoMerge "Bluetooth HID Device API docs and helper" am: a89f6150dc
Hansong Zhang [Thu, 16 Nov 2017 18:59:36 +0000 (18:59 +0000)]
Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc
am: 7c005ea373

Change-Id: Ic95f83d9884aea8d75ca33fed1ddf69d6c0e33e3

6 years agoMerge "Update javadoc on SearchIndexableData"
TreeHugger Robot [Thu, 16 Nov 2017 18:57:20 +0000 (18:57 +0000)]
Merge "Update javadoc on SearchIndexableData"

6 years agoMerge "Bluetooth HID Device API docs and helper"
Hansong Zhang [Thu, 16 Nov 2017 18:50:16 +0000 (18:50 +0000)]
Merge "Bluetooth HID Device API docs and helper"
am: a89f6150dc

Change-Id: I4b91cd3e528f480ea216e9ffb0414910d4762d3b

6 years agoMerge "Fix StrictMode I/O violations"
Fyodor Kupolov [Thu, 16 Nov 2017 18:38:30 +0000 (18:38 +0000)]
Merge "Fix StrictMode I/O violations"

6 years agoMerge "Bluetooth HID Device API docs and helper"
Treehugger Robot [Thu, 16 Nov 2017 18:38:06 +0000 (18:38 +0000)]
Merge "Bluetooth HID Device API docs and helper"

6 years agoMerge "Camera2: Update generated docs to latest version"
TreeHugger Robot [Thu, 16 Nov 2017 18:29:52 +0000 (18:29 +0000)]
Merge "Camera2: Update generated docs to latest version"

6 years agoFix Gravity toString wrong message issue
Qing Xia [Thu, 16 Nov 2017 18:12:53 +0000 (10:12 -0800)]
Fix Gravity toString wrong message issue

1. Bit calculation was not correct before as there are multiple bits
that can be set.
2. Changed a duplicate CLIP message as well.
3. And add an empty check.

Test: In 'dumpsys window' the gravity of the window should be correct.
Change-Id: I4b699e5d6d5d7c2beb8ac12cbd78cf2f81e70b3f

6 years agoMerge "Update statsd proto comment"
TreeHugger Robot [Thu, 16 Nov 2017 18:01:22 +0000 (18:01 +0000)]
Merge "Update statsd proto comment"

6 years agoMinor optimizations to task loading/screenshot
Winson Chung [Tue, 14 Nov 2017 01:45:12 +0000 (17:45 -0800)]
Minor optimizations to task loading/screenshot

- Pass graphic buffer instead of bitmap for current screenshot
- Add option to skip preloading titles
- Adding some more compat classes

Bug: 67510855
Test: Build quickstep

Change-Id: Idf4642683d3121e69f0854ac909a8c22c7238b9a

6 years agoFix some bugs found in statsd
Yao Chen [Thu, 16 Nov 2017 03:26:14 +0000 (19:26 -0800)]
Fix some bugs found in statsd

+ in log matcher, condition tracker and duration metric

Test: added unit test
Change-Id: Id633e856ba5453842487321d7ddc0c64100e4bb8

6 years agoUpdate Build#SERIAL docs about deprecation policy
Svet Ganov [Thu, 16 Nov 2017 03:00:09 +0000 (19:00 -0800)]
Update Build#SERIAL docs about deprecation policy

Test: docs only change

Change-Id: Ic9738764b0d18056401fcd103bfaf95a1701981d

6 years agoAdd a new usage event type for seen notification
Amith Yamasani [Fri, 10 Nov 2017 01:47:04 +0000 (17:47 -0800)]
Add a new usage event type for seen notification

On a notification becoming visible, NOTIFICATION_SEEN event is
dispatched. This will only bump up the app's bucket to WORKING_SET and
no higher. Same goes for sync adapters associated with a content
provider. Only move them to WORKING_SET.

Updated NotificationManagerService to report event to usagestats on
visibility changes.

Bug: 63527785
Test: runtest -x
frameworks/base/services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java
atest NotificationManagerServiceTest
Change-Id: I5b132e1fc1f70e2126473b43b9b1979fbc523b85

6 years agoHack.
Jeff Sharkey [Thu, 16 Nov 2017 02:07:14 +0000 (19:07 -0700)]
Hack.

Test: none
Bug: 69331247
Change-Id: I65807b7e8994746a80e06a8530d9aeb967ea04ca

6 years agoSeparate android.test.mock from test-runner source
Paul Duffin [Wed, 15 Nov 2017 11:39:14 +0000 (11:39 +0000)]
Separate android.test.mock from test-runner source

Extracts the source for the android.test.mock library from the
frameworks/base/test-runner directory into its own
frameworks/base/test-mock directory. They are already treated separately
at runtime and compile time so this just makes the separation complete.

Bug: 30188076
Test: make checkbuild
Change-Id: I20e5b06ba79677e76117c82e9f9e2ecd15e5fed6

6 years agoUpdate statsd proto comment
yro [Thu, 16 Nov 2017 06:57:24 +0000 (22:57 -0800)]
Update statsd proto comment

Test: not needed.
Change-Id: I2f0c16f2e305624128eaca4658d5ccb9f2a20fe5

6 years agoMerge "Fix AOSP copyright years in statsd"
TreeHugger Robot [Thu, 16 Nov 2017 03:34:55 +0000 (03:34 +0000)]
Merge "Fix AOSP copyright years in statsd"

6 years agoMerge "Allow null context in the constructor"
TreeHugger Robot [Thu, 16 Nov 2017 02:52:31 +0000 (02:52 +0000)]
Merge "Allow null context in the constructor"

6 years agoMerge "Doc that SharedPreferences is IO-expensive"
TreeHugger Robot [Thu, 16 Nov 2017 02:23:44 +0000 (02:23 +0000)]
Merge "Doc that SharedPreferences is IO-expensive"

6 years agoMerge "API declarations for Call Handover." am: d88abc7b60 am: c376ca6bc1
Sanket Padawe [Thu, 16 Nov 2017 02:08:32 +0000 (02:08 +0000)]
Merge "API declarations for Call Handover." am: d88abc7b60 am: c376ca6bc1
am: 41cff321b6

Change-Id: Ia5013e7e0288f037cd94d24c40a72278a60cc50d

6 years agoMerge changes from topic "expose_methods"
Winson Chung [Thu, 16 Nov 2017 02:00:28 +0000 (02:00 +0000)]
Merge changes from topic "expose_methods"

* changes:
  Removing references to hidden classes in shared lib.
  Exposing a few more methods in the lib
  Move assist data receiver interface to accessible namespace

6 years agoMerge "Add ability to override global duration scale on ValueAnimator"
TreeHugger Robot [Thu, 16 Nov 2017 01:57:55 +0000 (01:57 +0000)]
Merge "Add ability to override global duration scale on ValueAnimator"

6 years agoMerge "API declarations for Call Handover." am: d88abc7b60
Sanket Padawe [Thu, 16 Nov 2017 01:54:51 +0000 (01:54 +0000)]
Merge "API declarations for Call Handover." am: d88abc7b60
am: c376ca6bc1

Change-Id: Icac2039c60928af408d011c0062bcdcf4f207039

6 years agoMerge "Fix Slog message of AppUdateReceiver in StatsCompanionService"
TreeHugger Robot [Thu, 16 Nov 2017 01:45:48 +0000 (01:45 +0000)]
Merge "Fix Slog message of AppUdateReceiver in StatsCompanionService"

6 years agoMerge "API declarations for Call Handover."
Sanket Padawe [Thu, 16 Nov 2017 01:45:25 +0000 (01:45 +0000)]
Merge "API declarations for Call Handover."
am: d88abc7b60

Change-Id: I0be6f240073408bf9520766238ecf791c016a40b

6 years agoAdd support for provider proto dump in ActivityManager
Steven Timotius [Thu, 16 Nov 2017 00:43:57 +0000 (16:43 -0800)]
Add support for provider proto dump in ActivityManager

The provider dump will only support 1 provider,
since protos can only be output one at a time anyways.

This is a regression from OCMR1.

Test requires change to LauncherProvider to not require the
--proto arg to be first.

Bug: 69006241
Test: adb shell dumpsys activity provider com.google.android.apps.nexuslauncher/com.android.launcher3.LauncherProvider --proto -debug
Change-Id: I5759a305c7f9456fb2ed9deb60e39b8e0e6edf78

6 years agoMerge "API declarations for Call Handover."
Sanket Padawe [Thu, 16 Nov 2017 01:34:58 +0000 (01:34 +0000)]
Merge "API declarations for Call Handover."

6 years agoBluetooth HID Device API docs and helper
Hansong Zhang [Wed, 8 Nov 2017 17:57:12 +0000 (09:57 -0800)]
Bluetooth HID Device API docs and helper

* Add a builder for BluetoothHidDeviceAppQosSettings
* Add documentation for BluetoothHidDeviceAppSdpSettings
and BluetoothHidDeviceAppQosSettings
* Fix the behavior of and BluetoothHidDeviceAppSdpSettings.equals()
and BluetoothHidDeviceAppQosSettings.equals()

Bug: 63384609
Test: test with HID device apps
Change-Id: I933f4ec3034e1f704ddd614e48b76d27fda8b6ff

6 years agoAllow unknown mcc/mnc when constructing a CellIdentity from Parcel.
Cassie [Thu, 16 Nov 2017 01:11:17 +0000 (17:11 -0800)]
Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.

Bug: 63984327
Test: Basic telephony sanity
Change-Id: Ia7670b7cd49db244e7c8309419ea8d7b1280a7fa

6 years agoImplement force-all-apps-standly in job scheduler.
Makoto Onuki [Fri, 10 Nov 2017 21:22:26 +0000 (13:22 -0800)]
Implement force-all-apps-standly in job scheduler.

Bug: 68769804
Test: Manual test

Change-Id: I70c28b7841165414cc8d27bf3466401c541d0569