OSDN Git Service

android-x86/frameworks-base.git
5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 29 Jan 2019 07:46:53 +0000 (23:46 -0800)]
Import translations. DO NOT MERGE

Change-Id: I565265ff23471b5d0be1e0d5b67e9dc1d5310205
Auto-generated-cl: translation import

5 years agoMerge "Whitelist packages from VPN lockdown." am: 774c3ce152 am: b478bb25ac
Pavel Grafov [Tue, 29 Jan 2019 06:13:24 +0000 (22:13 -0800)]
Merge "Whitelist packages from VPN lockdown." am: 774c3ce152 am: b478bb25ac
am: 2b996ad0dd

Change-Id: Ice1f8f27da3d0092af58c8e93969575ba9f8f925

5 years agoMerge "CallQuality is set to empty instead of null" am: b3f282daa1 am: aee66949ef
Jordan Liu [Tue, 29 Jan 2019 05:55:14 +0000 (21:55 -0800)]
Merge "CallQuality is set to empty instead of null" am: b3f282daa1 am: aee66949ef
am: baa788a7aa

Change-Id: Ic6c251059d763df6f79520a5cae259f4a44601cf

5 years agoMerge "Let the compiler detect existence of fsverity.h"
TreeHugger Robot [Tue, 29 Jan 2019 05:50:27 +0000 (05:50 +0000)]
Merge "Let the compiler detect existence of fsverity.h"

5 years ago[automerger skipped] Merge "Add Emergency Uniform Resource Number (URN)" am: e01a358b...
Amit Mahajan [Tue, 29 Jan 2019 05:37:07 +0000 (21:37 -0800)]
[automerger skipped] Merge "Add Emergency Uniform Resource Number (URN)" am: e01a358b5b am: 888d87ac7a
am: c322894cb2 -s ours
am skip reason: change_id I87537f7123910e9843207428eb3167a90a15b6df with SHA1 03bde886e5 is in history

Change-Id: Idf675239864ed69a1566f9212652cf8c74c3920b

5 years agoMerge "Whitelist packages from VPN lockdown." am: 774c3ce152
Pavel Grafov [Tue, 29 Jan 2019 05:34:03 +0000 (21:34 -0800)]
Merge "Whitelist packages from VPN lockdown." am: 774c3ce152
am: b478bb25ac

Change-Id: I10094606f74e6cdc5f4b0b6591cf776fd895b1d3

5 years agoMerge "CallQuality is set to empty instead of null" am: b3f282daa1
Jordan Liu [Tue, 29 Jan 2019 05:28:03 +0000 (21:28 -0800)]
Merge "CallQuality is set to empty instead of null" am: b3f282daa1
am: aee66949ef

Change-Id: Iee5f05e4cc0efc8c0abbe2c46c7ceedea164bbee

5 years agoMerge "Remove DumpstateOptions" am: 706b2d0e16 am: bc960e3905
Nandana Dutt [Tue, 29 Jan 2019 05:25:13 +0000 (21:25 -0800)]
Merge "Remove DumpstateOptions" am: 706b2d0e16 am: bc960e3905
am: 454d6e56f3

Change-Id: I765b9e390a709ced07f9173d05d95df5243764ab

5 years agoMerge "startop: use static_lib dependency on libdexfile." am: ff1aa4e49a am: db28e6e8b1
Orion Hodson [Tue, 29 Jan 2019 05:15:13 +0000 (21:15 -0800)]
Merge "startop: use static_lib dependency on libdexfile." am: ff1aa4e49a am: db28e6e8b1
am: 0c024ea711

Change-Id: Iaf750da3c21946f10646a385258094de462a92b1

5 years agoMerge "Add Emergency Uniform Resource Number (URN)" am: e01a358b5b
Amit Mahajan [Tue, 29 Jan 2019 05:07:57 +0000 (21:07 -0800)]
Merge "Add Emergency Uniform Resource Number (URN)" am: e01a358b5b
am: 888d87ac7a

Change-Id: I33be4bec015d71415456a9abbd69bc705556afa8

5 years ago[automerger skipped] Merge "framework.jar: Include all radio HIDL libs." am: 3c7ac4e9...
Steven Moreland [Tue, 29 Jan 2019 05:06:54 +0000 (21:06 -0800)]
[automerger skipped] Merge "framework.jar: Include all radio HIDL libs." am: 3c7ac4e991 am: 9bb477afb6
am: 4d23111594 -s ours
am skip reason: change_id I5b40ba139d60ff330cfbc0d9d881f775616ad0dd with SHA1 e0dde65730 is in history

Change-Id: I689990ae2582644d0619ff71b161f50f1560e54a

5 years agoMerge "Remove DumpstateOptions" am: 706b2d0e16
Nandana Dutt [Tue, 29 Jan 2019 05:00:13 +0000 (21:00 -0800)]
Merge "Remove DumpstateOptions" am: 706b2d0e16
am: bc960e3905

Change-Id: Ieb16f21c95a1fd332530e1630101b56e8c4efdb7

5 years ago[automerger skipped] Merge "Expose bugreporting API as system API." am: 6ac57c669a...
Nandana Dutt [Tue, 29 Jan 2019 04:58:01 +0000 (20:58 -0800)]
[automerger skipped] Merge "Expose bugreporting API as system API." am: 6ac57c669a am: f1c0ec00a3
am: d38769402a -s ours
am skip reason: change_id I1530f92971807b7e43c763a58dd1e18e793255da with SHA1 0a18820a49 is in history

Change-Id: Ie6a05c2659dcf2af62f65169374aa46e6c428d14

5 years agoMerge "startop: use static_lib dependency on libdexfile." am: ff1aa4e49a
Orion Hodson [Tue, 29 Jan 2019 04:54:34 +0000 (20:54 -0800)]
Merge "startop: use static_lib dependency on libdexfile." am: ff1aa4e49a
am: db28e6e8b1

Change-Id: I64907bda16a8f248a27eb643b6a4621860c30928

5 years agoMerge "framework.jar: Include all radio HIDL libs." am: 3c7ac4e991
Steven Moreland [Tue, 29 Jan 2019 04:49:07 +0000 (20:49 -0800)]
Merge "framework.jar: Include all radio HIDL libs." am: 3c7ac4e991
am: 9bb477afb6

Change-Id: Ib163804540f5c8387c3f93ee3dcdb0e73aded2bd

5 years agoMerge "Expose bugreporting API as system API." am: 6ac57c669a
Nandana Dutt [Tue, 29 Jan 2019 04:42:08 +0000 (20:42 -0800)]
Merge "Expose bugreporting API as system API." am: 6ac57c669a
am: f1c0ec00a3

Change-Id: I6d0dd760b964d2e4ccfc271f001023a066c350ea

5 years agoMerge "MediaPlayer2: pass source ID on DRM prepared event"
Robert Shih [Tue, 29 Jan 2019 04:39:07 +0000 (04:39 +0000)]
Merge "MediaPlayer2: pass source ID on DRM prepared event"

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Tue, 29 Jan 2019 04:18:23 +0000 (20:18 -0800)]
Merge "Whitelist packages from VPN lockdown."
am: 774c3ce152

Change-Id: I3332e495ba0c903dff3dbb9c53c5c4784ea519f4

5 years agoMerge "CallQuality is set to empty instead of null"
Jordan Liu [Tue, 29 Jan 2019 04:14:51 +0000 (20:14 -0800)]
Merge "CallQuality is set to empty instead of null"
am: b3f282daa1

Change-Id: I57b228b8d8b2c42c8a23e33d4c1c18a94c838907

5 years agoMerge "Add Emergency Uniform Resource Number (URN)"
Amit Mahajan [Tue, 29 Jan 2019 03:57:11 +0000 (19:57 -0800)]
Merge "Add Emergency Uniform Resource Number (URN)"
am: e01a358b5b

Change-Id: I0c9f4182f8255ba0a6eeac501834ff26837cd357

5 years agoMerge "Remove DumpstateOptions"
Nandana Dutt [Tue, 29 Jan 2019 03:51:36 +0000 (19:51 -0800)]
Merge "Remove DumpstateOptions"
am: 706b2d0e16

Change-Id: I4134f2cd095e8d91a7f4444030a4c1523adb5483

5 years agoMerge "startop: use static_lib dependency on libdexfile."
Orion Hodson [Tue, 29 Jan 2019 03:48:13 +0000 (19:48 -0800)]
Merge "startop: use static_lib dependency on libdexfile."
am: ff1aa4e49a

Change-Id: I943a8bbf6945cb156ecb202b4537dc75ba2f5cf5

5 years agoMerge "framework.jar: Include all radio HIDL libs."
Steven Moreland [Tue, 29 Jan 2019 03:44:18 +0000 (19:44 -0800)]
Merge "framework.jar: Include all radio HIDL libs."
am: 3c7ac4e991

Change-Id: Ib45dc36987acd944f0abe9496b62701557d18e2e

5 years agoMerge "Expose bugreporting API as system API."
Nandana Dutt [Tue, 29 Jan 2019 03:40:54 +0000 (19:40 -0800)]
Merge "Expose bugreporting API as system API."
am: 6ac57c669a

Change-Id: I98b7d492e8b800670a3127224d152b8fe75e758f

5 years agoMerge "Vibrate conditionally depending on modality"
TreeHugger Robot [Tue, 29 Jan 2019 03:17:37 +0000 (03:17 +0000)]
Merge "Vibrate conditionally depending on modality"

5 years agoMerge "Adding AppOps data for Accessibility"
Jackal Guo [Tue, 29 Jan 2019 03:17:23 +0000 (03:17 +0000)]
Merge "Adding AppOps data for Accessibility"

5 years agoAdd a unit test for EditorInfo#targetInputMethodUser
Yohei Yukawa [Tue, 29 Jan 2019 03:08:03 +0000 (19:08 -0800)]
Add a unit test for EditorInfo#targetInputMethodUser

This it a follow up CL to my previous CL [1], which introduced
EditorInfo#targetInputMethodUser.

Since EditorInfo#targetInputMethodUser is an @hide API, we cannot
directly its behavior in CTS.  To make sure that it can be transferred
via IPCs , this CL introduces a simple unit test for it in
FrameworksCoreTests.

 [1]: Ia7ea944438d69669ccdf9111b34ba400e786a602
      0f5eade4a492fc91130da1aedcad0999932f4137

Bug: 120744418
Test: atest FrameworksCoreTests:EditorInfoTest
Change-Id: I3e722b3ccbd2ff33c264d4d41aa63e704970e78d

5 years agoMerge "Ensure that framework does not refer MediaSession2 related code"
TreeHugger Robot [Tue, 29 Jan 2019 03:05:52 +0000 (03:05 +0000)]
Merge "Ensure that framework does not refer MediaSession2 related code"

5 years agoMerge "Update DownloadStorageProvider to include MediaStore.Downloads."
Sudheer Shanka [Tue, 29 Jan 2019 02:57:44 +0000 (02:57 +0000)]
Merge "Update DownloadStorageProvider to include MediaStore.Downloads."

5 years agoMerge "Add way to check if user has locked the bubble allowed field"
TreeHugger Robot [Tue, 29 Jan 2019 02:49:24 +0000 (02:49 +0000)]
Merge "Add way to check if user has locked the bubble allowed field"

5 years agoMerge "Turning on job quotas by default."
TreeHugger Robot [Tue, 29 Jan 2019 02:48:01 +0000 (02:48 +0000)]
Merge "Turning on job quotas by default."

5 years agoMerge "Enforce MANAGE_APP_PREDICTIONS on getShareTargets"
TreeHugger Robot [Tue, 29 Jan 2019 02:40:25 +0000 (02:40 +0000)]
Merge "Enforce MANAGE_APP_PREDICTIONS on getShareTargets"

5 years agoMerge changes I6bda318c,Ie4d259dc
TreeHugger Robot [Tue, 29 Jan 2019 02:31:23 +0000 (02:31 +0000)]
Merge changes I6bda318c,Ie4d259dc

* changes:
  MediaController: Remove unused constructors
  Make ISessionManager.getSessions() return list of tokens

5 years agoMerge "Add notification category information to notification logging."
Will Brockman [Tue, 29 Jan 2019 02:08:32 +0000 (02:08 +0000)]
Merge "Add notification category information to notification logging."

5 years agoMerge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 5/5"
TreeHugger Robot [Tue, 29 Jan 2019 02:08:13 +0000 (02:08 +0000)]
Merge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 5/5"

5 years agoMerge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 4/5"
TreeHugger Robot [Tue, 29 Jan 2019 02:07:47 +0000 (02:07 +0000)]
Merge "Simplify IMMS#startInputOrWindowGainedFocusInternal() part 4/5"

5 years agoMerge "Add Bitmap.setColorSpace()"
Derek Sollenberger [Tue, 29 Jan 2019 01:58:58 +0000 (01:58 +0000)]
Merge "Add Bitmap.setColorSpace()"

5 years agoMerge "Add ACQUIRED_START message"
TreeHugger Robot [Tue, 29 Jan 2019 01:32:15 +0000 (01:32 +0000)]
Merge "Add ACQUIRED_START message"

5 years agoMerge changes I807608d5,I4ccc56f3,I8aa75851,I09022bb2
TreeHugger Robot [Tue, 29 Jan 2019 01:31:34 +0000 (01:31 +0000)]
Merge changes I807608d5,I4ccc56f3,I8aa75851,I09022bb2

* changes:
  Simplify IMMS#startInputOrWindowGainedFocusInternal() part 3/5
  Simplify IMMS#startInputOrWindowGainedFocusInternal() part 2/5
  Simplify IMMS#startInputOrWindowGainedFocusInternal() part 1/5
  Fix a typo in an error message in InputMethodManagerService

5 years agoMerge "Add testStartHomeOnAllDisplays back"
TreeHugger Robot [Tue, 29 Jan 2019 01:03:29 +0000 (01:03 +0000)]
Merge "Add testStartHomeOnAllDisplays back"

5 years agoMerge "MetadataRetriever: Unhide Exif-related constants"
Jin Seok Park [Tue, 29 Jan 2019 00:49:37 +0000 (00:49 +0000)]
Merge "MetadataRetriever: Unhide Exif-related constants"

5 years agoMerge "Add API for checking paused packages."
Julia Reynolds [Tue, 29 Jan 2019 00:46:32 +0000 (00:46 +0000)]
Merge "Add API for checking paused packages."

5 years agoMerge "Keep bubbles behind a flag"
TreeHugger Robot [Tue, 29 Jan 2019 00:40:45 +0000 (00:40 +0000)]
Merge "Keep bubbles behind a flag"

5 years agoMerge "Atom: Add more Bluetooth atoms"
TreeHugger Robot [Tue, 29 Jan 2019 00:22:23 +0000 (00:22 +0000)]
Merge "Atom: Add more Bluetooth atoms"

5 years agoEnsure that framework does not refer MediaSession2 related code
Hyundo Moon [Mon, 28 Jan 2019 06:43:24 +0000 (15:43 +0900)]
Ensure that framework does not refer MediaSession2 related code

Also, this CL moves mediasession2 to com.android.media apex.

Bug: 123495968
Test: Passed below tests:
atest CtsMediaTestCases:android.media.cts.MediaSession2Test;
atest CtsMediaTestCases:android.media.cts.MediaController2Test;
atest CtsMediaTestCases:android.media.cts.MediaItem2Test;
atest CtsMediaTestCases:android.media.cts.MediaSession2ServiceTest;
atest CtsMediaTestCases:android.media.cts.Session2CommandGroupTest;
atest CtsMediaTestCases:android.media.cts.Session2CommandTest;
Change-Id: I8cf7a657545e6b7b2973035f365506206e7147a0

5 years agoMerge "Atom: Add A2DP playback related atoms to StatsLog"
TreeHugger Robot [Tue, 29 Jan 2019 00:10:37 +0000 (00:10 +0000)]
Merge "Atom: Add A2DP playback related atoms to StatsLog"

5 years agoVibrate conditionally depending on modality
Kevin Chyn [Tue, 29 Jan 2019 00:08:09 +0000 (16:08 -0800)]
Vibrate conditionally depending on modality

Bug: 111548033

Test: fingerprint enroll still vibrates
Change-Id: I77f3861e0a9884de74464a1a6c488e23fbccc200

5 years agoAdd way to check if user has locked the bubble allowed field
Mady Mellor [Wed, 23 Jan 2019 21:23:37 +0000 (13:23 -0800)]
Add way to check if user has locked the bubble allowed field

Also removes an extra s from a method whoooooops

Bug: 111236845
Test: atest NotificationManagerServiceTest
Change-Id: I1f77afd10b322088aa9cb39b65d70cbd84fb6dc4

5 years agoMediaPlayer2: pass source ID on DRM prepared event
Robert Shih [Fri, 25 Jan 2019 22:42:53 +0000 (14:42 -0800)]
MediaPlayer2: pass source ID on DRM prepared event

If we don't specify source ID explicitly, the default source ID 0 is
used.

Bug: 123425309
Test: MediaPlayer2DrmTest
Change-Id: I16d76d4dfbe4551f97234f27e4500cb74480f8ed

5 years agoMerge "Removed AppUsageLimit#isGroupLimit API."
Varun Shah [Mon, 28 Jan 2019 23:53:01 +0000 (23:53 +0000)]
Merge "Removed AppUsageLimit#isGroupLimit API."

5 years agoMerge "Removed CrossProfileApps#startAnyActivity API."
Varun Shah [Mon, 28 Jan 2019 23:52:36 +0000 (23:52 +0000)]
Merge "Removed CrossProfileApps#startAnyActivity API."

5 years agoMerge "Suppress IllegalArgumentException on API 28 or before"
TreeHugger Robot [Mon, 28 Jan 2019 23:14:47 +0000 (23:14 +0000)]
Merge "Suppress IllegalArgumentException on API 28 or before"

5 years agoMerge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
TreeHugger Robot [Mon, 28 Jan 2019 23:08:46 +0000 (23:08 +0000)]
Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"

5 years agoMerge "Move SettingsLib icons to android."
TreeHugger Robot [Mon, 28 Jan 2019 22:49:36 +0000 (22:49 +0000)]
Merge "Move SettingsLib icons to android."

5 years agoMerge "Allow ManagedProvisioning to access imei and serial number."
TreeHugger Robot [Mon, 28 Jan 2019 22:45:25 +0000 (22:45 +0000)]
Merge "Allow ManagedProvisioning to access imei and serial number."

5 years agoEnforce MANAGE_APP_PREDICTIONS on getShareTargets
Mehdi Alizadeh [Sat, 26 Jan 2019 00:59:54 +0000 (16:59 -0800)]
Enforce MANAGE_APP_PREDICTIONS on getShareTargets

Bug: 120099033
Test: atest ShortcutManagerTest1
Change-Id: I4e105207558e00d7e802999db0b4d4d6880ca05a

5 years agoMerge "Defer broadcasts to slow-handling apps"
Chris Tate [Mon, 28 Jan 2019 22:30:26 +0000 (22:30 +0000)]
Merge "Defer broadcasts to slow-handling apps"

5 years agoAdd Bitmap.setColorSpace()
Derek Sollenberger [Mon, 14 Jan 2019 18:55:08 +0000 (13:55 -0500)]
Add Bitmap.setColorSpace()

Bug: 120904891
Test: CtsGraphicsTestCases
Change-Id: I30be2cd77d810210ad87b281e6bb5587863982c3

5 years agoMerge "Camera: Add support for dynamic depth image format"
TreeHugger Robot [Mon, 28 Jan 2019 22:21:46 +0000 (22:21 +0000)]
Merge "Camera: Add support for dynamic depth image format"

5 years agoMerge "MediaPlayer2: create one MediaDrm per DRM scheme"
Robert Shih [Mon, 28 Jan 2019 22:21:23 +0000 (22:21 +0000)]
Merge "MediaPlayer2: create one MediaDrm per DRM scheme"

5 years agoMerge "Always copy value from DeviceConfig."
Jeff Sharkey [Mon, 28 Jan 2019 22:19:31 +0000 (22:19 +0000)]
Merge "Always copy value from DeviceConfig."

5 years agoMerge "Update big clock when theme (overlay) changes."
TreeHugger Robot [Mon, 28 Jan 2019 22:14:57 +0000 (22:14 +0000)]
Merge "Update big clock when theme (overlay) changes."

5 years agoKeep bubbles behind a flag
Mady Mellor [Mon, 28 Jan 2019 19:21:51 +0000 (11:21 -0800)]
Keep bubbles behind a flag

Alter tests to ignore the flags so they don't fail.

Test: manual - make sure no bubbles show up
      atest BubbleControllerTest
Bug: 111236845
Change-Id: Ieed38165a3699415686ef299cd54da69d7a37cea

5 years agoMerge "passpoint: remove @throws UnsupportedOperationException"
TreeHugger Robot [Mon, 28 Jan 2019 22:02:10 +0000 (22:02 +0000)]
Merge "passpoint: remove @throws UnsupportedOperationException"

5 years agoMerge "Fix typo in hci/enums.proto: OCCURED -> OCCURRED"
Muhammad Qureshi [Mon, 28 Jan 2019 22:00:05 +0000 (22:00 +0000)]
Merge "Fix typo in hci/enums.proto: OCCURED -> OCCURRED"

5 years agoAtom: Add more Bluetooth atoms
Jack He [Mon, 21 Jan 2019 05:22:46 +0000 (21:22 -0800)]
Atom: Add more Bluetooth atoms

* BluetoothHciTimeoutReported is logged when Bluetooth controller
  failed to respond to an HCI command in time
* BluetoothQualityReportReported is logged when Bluetooth controller
  sends a link quality report event to Android host due to bad link
  quality
* BluetoothManufacturerInfoReported is logged when we learn about
  manufactuer defined metadata for a device such as manufactuer name
  model number, software version, and hardware version
* BluetoothRemoteVersionInfoReported is logged when we learn about
  the manufactuer and Bluetooth version of remote Bluetooth controller
  and stack
* BluetoothSdpAttributeReported is logged when we learn about services
  provided by the remote device and their metdata such as protocol
  version and feature bitmask. Only profiles that use 16-bit UUIDs are
  logged
* BluetoothBondStateChanged is logged when Bluetooth bonding state is
  changed a a macro level such as none -> bonding, bonding -> bonded,
  and user interaction events such as passkey confirmation
* BluetoothClassicPairingEventReported is logged from native layer
  when Bluetooth classic pairing state changed due to HCI command
  or events. This is a more verbose level logging compared to
  BluetoothBondStateChanged
* BluetoothSmpPairingEventReported is logged from native layer when
  Bluetooth Security Manager Protocol based pairing state changed due to
  SMP command sent or received. Pairing failure reason code is also
  logged as a pre-defined enum

Bug: 112969790
Test: test drive with statsd
Change-Id: I94d1530758f79ce6d5f119426b1379c76517afec

5 years agoAtom: Add A2DP playback related atoms to StatsLog
Jack He [Thu, 10 Jan 2019 04:54:41 +0000 (20:54 -0800)]
Atom: Add A2DP playback related atoms to StatsLog

* BluetoothA2dpPlaybackStateChanged:
  - Logged when A2DP playback state changed for individual devices
* BluetoothA2dpCodecConfigChanged
  - Logged when A2DP codec configuration changed for individual devices
* BluetoothA2dpCodecCapabilityChanged
  - Logged when A2DP codec capability changed for individual devices
* BluetoothActiveDeviceChanged
  - Logged when A2DP/HFP/HEARNING_AID active device changed
* BluetoothA2dpAudioOverrunReported
  - Logs when A2DP failed send encoded data to the remote device fast
    enough such that the transmit buffer queue is full and we have to
    drop data
* BluetoothA2dpAudioUnderrunReported
  - Logs when A2DP failed to read from PCM source
* BluetoothDeviceRssiReported
  - Logged when remote device's RSSI level is reported by the controller
* BluetoothDeviceFailedContactCounterReported
  - Logged when ACL transmit queue was flushed by the controller
  - This is normally disabled unless we set automatic flush timeout was
    set to a non-zero value
  - However, when this event is reported, the connection quality must
    be very bad
* BluetoothDeviceTxPowerLevelReported
  - Logged when transmit power level is reported for a particular
    connection

Bug: 112969790
Test: make, testdrive with statsd
Change-Id: I7deb85567630fae75be733df21b45f9c6bcf9e17

5 years agoTurning on job quotas by default.
Kweku Adams [Sat, 26 Jan 2019 02:43:15 +0000 (18:43 -0800)]
Turning on job quotas by default.

Bug: 111423978
Bug: 117846754
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest JobThrottlingTest
Change-Id: If4fe1e1fce7d8592eb628c13784b49781120fa11

5 years agoMerge "Annotation processing for int enum and flag mapping"
TreeHugger Robot [Mon, 28 Jan 2019 21:21:05 +0000 (21:21 +0000)]
Merge "Annotation processing for int enum and flag mapping"

5 years agoMerge "AML: Handle NoDisplayActivities correctly"
TreeHugger Robot [Mon, 28 Jan 2019 21:06:24 +0000 (21:06 +0000)]
Merge "AML: Handle NoDisplayActivities correctly"

5 years agoMerge "Fix use of deprecated SoundPool API in Keyguard"
TreeHugger Robot [Mon, 28 Jan 2019 21:05:56 +0000 (21:05 +0000)]
Merge "Fix use of deprecated SoundPool API in Keyguard"

5 years agoMerge "Update night mode Theme.DeviceDefault.Settings"
TreeHugger Robot [Mon, 28 Jan 2019 21:03:52 +0000 (21:03 +0000)]
Merge "Update night mode Theme.DeviceDefault.Settings"

5 years agoMerge "com_android_internal_os_AtomicDirectory.cpp: add O_CLOEXEC"
TreeHugger Robot [Mon, 28 Jan 2019 21:03:48 +0000 (21:03 +0000)]
Merge "com_android_internal_os_AtomicDirectory.cpp: add O_CLOEXEC"

5 years agoMerge "Removed userId from ContentCapture binder calls."
TreeHugger Robot [Mon, 28 Jan 2019 21:03:45 +0000 (21:03 +0000)]
Merge "Removed userId from ContentCapture binder calls."

5 years agoMerge "Add a flags to AttentionManagerService"
Alex Salo [Mon, 28 Jan 2019 21:02:43 +0000 (21:02 +0000)]
Merge "Add a flags to AttentionManagerService"

5 years agoMerge "Add logging to statsd for job constraint changes."
Kweku Adams [Mon, 28 Jan 2019 20:46:54 +0000 (20:46 +0000)]
Merge "Add logging to statsd for job constraint changes."

5 years agoAdd ACQUIRED_START message
Kevin Chyn [Mon, 28 Jan 2019 20:46:22 +0000 (12:46 -0800)]
Add ACQUIRED_START message

Change-Id: I59ca30d9c1ba9634b6af0c0a13776ae54456f925
Fixes: 123520106
Bug: 117060268

5 years agoDefer broadcasts to slow-handling apps
Christopher Tate [Fri, 18 Jan 2019 00:58:31 +0000 (16:58 -0800)]
Defer broadcasts to slow-handling apps

When an app takes a long time to handle broadcasts, we start deferring
further broadcasts to it to make sure that other broadcast traffic in
the system can continue to make progress.  Global delivery order is
technically rearranged, but delivery order from the point of view of any
given app remains consistent with issuance order.

When alarm broadcasts are issued, we prioritize delivery of deferred
alarms to the alarm recipients (i.e. we suspend the deferral policy and
catch up as promptly as possible) in order to minimize wake time spent
waiting for the alarm broadcast to be delivered.  Once an app with a
deferred broadcast backlog is no longer the target of an in-flight
alarm, we re-impose deferral policy on it.

This policy intentionally trades off increased broadcast delivery
latency to apps that take a "long" time to handle broadcasts, in
exchange for lowering delivery latency to all other apps in the system
that would previously have had to wait behind the slow app.

In addition, broadcast dispatch policy parameters can now be overlaid
via the usual global Settings mechanism.  In particular, configuring the
"bcast_slow_time" parameter to a value in milliseconds higher than the
queue's broadcast timeout period will disable the new slow-receiver
policies.

Bug: 111404343
Test: device boots & runs
Test: tests/ActivityTests
Change-Id: I76ac79bdf41ca3cfcc48515bca779ea0f5744c0b

5 years agoAlways copy value from DeviceConfig.
Jeff Sharkey [Mon, 28 Jan 2019 20:31:50 +0000 (13:31 -0700)]
Always copy value from DeviceConfig.

The value could have been set during a previous boot, before we
started watching for dynamic changes, so always pick up the current
value from DeviceConfig.

Bug: 112545973
Test: manual
Change-Id: I84fe655718ee444f073f53d53af246baf96e04fa

5 years agoMerge "Report top resumed activity state change"
Andrii Kulian [Mon, 28 Jan 2019 20:22:47 +0000 (20:22 +0000)]
Merge "Report top resumed activity state change"

5 years agoMerge "audio: add JNI AudioAttribute helper class"
Eric Laurent [Mon, 28 Jan 2019 20:19:31 +0000 (20:19 +0000)]
Merge "audio: add JNI AudioAttribute helper class"

5 years agoMerge "Fix ImageReader#newInstace with usage"
John Reck [Mon, 28 Jan 2019 20:17:25 +0000 (20:17 +0000)]
Merge "Fix ImageReader#newInstace with usage"

5 years agoMerge "Whitelist packages from VPN lockdown."
Pavel Grafov [Mon, 28 Jan 2019 20:15:49 +0000 (20:15 +0000)]
Merge "Whitelist packages from VPN lockdown."

5 years agoMerge "Send share events to App Predictor."
TreeHugger Robot [Mon, 28 Jan 2019 20:12:31 +0000 (20:12 +0000)]
Merge "Send share events to App Predictor."

5 years agoMerge "Further Credentials-related clean-up"
TreeHugger Robot [Mon, 28 Jan 2019 19:48:44 +0000 (19:48 +0000)]
Merge "Further Credentials-related clean-up"

5 years agoMerge "Clean up build rule for libmedia2_jni"
TreeHugger Robot [Mon, 28 Jan 2019 19:45:27 +0000 (19:45 +0000)]
Merge "Clean up build rule for libmedia2_jni"

5 years agoRemoved userId from ContentCapture binder calls.
Felipe Leme [Mon, 28 Jan 2019 18:38:46 +0000 (10:38 -0800)]
Removed userId from ContentCapture binder calls.

It should be infered on the server side..

Bug: 123516968

Test: atest CtsContentCaptureServiceTestCases

Change-Id: If6ccf2fa86adb55f43c4b3ffa8b58661ef16dabb

5 years agoMerge "Add a constant for ISDB_S3"
TreeHugger Robot [Mon, 28 Jan 2019 19:17:09 +0000 (19:17 +0000)]
Merge "Add a constant for ISDB_S3"

5 years agoMerge "CallQuality is set to empty instead of null"
Jordan Liu [Mon, 28 Jan 2019 19:16:06 +0000 (19:16 +0000)]
Merge "CallQuality is set to empty instead of null"

5 years agoMerge "Only log aborted activity background starts to TRON"
TreeHugger Robot [Mon, 28 Jan 2019 19:15:40 +0000 (19:15 +0000)]
Merge "Only log aborted activity background starts to TRON"

5 years agoFix use of deprecated SoundPool API in Keyguard
Jean-Michel Trivi [Mon, 28 Jan 2019 18:57:21 +0000 (10:57 -0800)]
Fix use of deprecated SoundPool API in Keyguard

Don't use stream types for operations other than volume
  control.

Bug: 122901916
Test: verify logcat doesn't show warnings, see bug
Change-Id: I46143e53978226f6f660c92e85e7b0b1b0a37622

5 years agoMerge "Reset visibility before creating leash"
Jorim Jaggi [Mon, 28 Jan 2019 18:58:41 +0000 (18:58 +0000)]
Merge "Reset visibility before creating leash"

5 years agoMerge "Add Emergency Uniform Resource Number (URN)"
Amit Mahajan [Mon, 28 Jan 2019 18:50:55 +0000 (18:50 +0000)]
Merge "Add Emergency Uniform Resource Number (URN)"

5 years agoFix typo in hci/enums.proto: OCCURED -> OCCURRED
Muhammad Qureshi [Fri, 25 Jan 2019 23:28:02 +0000 (15:28 -0800)]
Fix typo in hci/enums.proto: OCCURED -> OCCURRED

Test: none

Change-Id: I755b3140b550ade5078c946c1d4ee910bd47b5ad

5 years agopasspoint: remove @throws UnsupportedOperationException
Ecco Park [Mon, 28 Jan 2019 16:43:05 +0000 (08:43 -0800)]
passpoint: remove @throws UnsupportedOperationException

Update the javadoc for Passpoint APIs to remove @throws
UnsupportedOperation Exception when the Passpoint is not enabled on the
device.

Bug: 121078741
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: I087a595c04b926a76b6ea9d6f2a475e12033815b
Signed-off-by: Ecco Park <eccopark@google.com>
5 years agoAdd logging to statsd for job constraint changes.
Kweku Adams [Wed, 12 Dec 2018 04:06:45 +0000 (20:06 -0800)]
Add logging to statsd for job constraint changes.

Bug: 117846754
Bug: 111423978
Bug: 120941744
Test: `make statsd_testdrive &&
./out/host/linux-x86/bin/statsd_testdrive 150` and check output

Change-Id: Iadfdb07171b8d4f99b8f57008cc7c1fc2865bb8e

5 years agoAdd Emergency Uniform Resource Number (URN)
sqian [Thu, 10 Jan 2019 03:10:58 +0000 (19:10 -0800)]
Add Emergency Uniform Resource Number (URN)

Test: Treehugger
Bug: 112657134
Change-Id: I87537f7123910e9843207428eb3167a90a15b6df
Merged-In: I87537f7123910e9843207428eb3167a90a15b6df
(cherry picked from commit 03bde886e5cfe06fcbced55b45d2b3d6fc5746ae)

5 years agoMediaPlayer2: create one MediaDrm per DRM scheme
Robert Shih [Fri, 25 Jan 2019 22:42:53 +0000 (14:42 -0800)]
MediaPlayer2: create one MediaDrm per DRM scheme

Required for offline ClearKey playback.

Bug: 123425309
Test: MediaPlayer2DrmTest
Change-Id: Ib49666eb9807ed5ad04b51c626a2b5fc7158b4e6

5 years agocom_android_internal_os_AtomicDirectory.cpp: add O_CLOEXEC
Nick Kralevich [Mon, 28 Jan 2019 18:34:43 +0000 (10:34 -0800)]
com_android_internal_os_AtomicDirectory.cpp: add O_CLOEXEC

Ensure that file descriptors don't leak across an execve() boundary by
adding O_CLOEXEC

Test: compiles and boots
Change-Id: I7bd4b5aa03adf0ac372575b5251226f8b5e231ff

5 years agoAllow ManagedProvisioning to access imei and serial number.
yuemingw [Mon, 28 Jan 2019 18:32:27 +0000 (18:32 +0000)]
Allow ManagedProvisioning to access imei and serial number.

Bug: 122721358
Test: manual
Change-Id: I0d8f191f4f1bc1d8a87842db717af329681b012a