Commit Graph

406684 Commits

Author SHA1 Message Date
Adrian Roos
606210ec8b Merge "Apilint: Enforce final builders" am: 2886d307bd am: bb74d55781
am: 77864f7dac

Change-Id: I9e3684b3a4548350e006b27f5d13f8fafb766075
2019-02-28 02:28:53 -08:00
Adrian Roos
77864f7dac Merge "Apilint: Enforce final builders" am: 2886d307bd
am: bb74d55781

Change-Id: I6eeec8fed36c1c9c950395a834eaa33e31fbaea2
2019-02-28 02:19:28 -08:00
TreeHugger Robot
82fd15cbaa Merge "Add ANDROID_LOG to supress android specific logs" 2019-02-28 10:13:36 +00:00
Adrian Roos
bb74d55781 Merge "Apilint: Enforce final builders"
am: 2886d307bd

Change-Id: I065ff3fede26d527860606ee60b2b6ca8a6d4fbd
2019-02-28 02:10:24 -08:00
Adrian Roos
2886d307bd Merge "Apilint: Enforce final builders" 2019-02-28 09:57:22 +00:00
Adrian Roos
deb0ff2bf4 Apilint: Enforce final builders
Test: run apilint
Bug: 124883027
Change-Id: I7f2866e46bc40be60487846b2af9f8fd7edb7623
2019-02-28 09:54:08 +00:00
Gustav Sennton
cf60b4c4f4 Merge "Refactor smart reply inflation functionality into its own class." 2019-02-28 09:52:32 +00:00
TreeHugger Robot
586d0f3315 Merge "Do not call into vold when the device is not block encrypted" 2019-02-28 07:06:45 +00:00
Kevin Rocard
6efe144d48 Merge "Register policy with AudioManager" 2019-02-28 05:21:21 +00:00
Kevin Rocard
a9c3a3a47b Merge changes from topic "APC-PackageManagerNative"
* changes:
  Allow to project audio from a Screen capture MediaProjection
  Expose allowAudioPlaybackCapture to PackageManagerNative
  Introduce playback capture application manifest flag
2019-02-28 05:19:58 +00:00
Remi NGUYEN VAN
48e139de39 Merge "Add Os.connect(fd, SocketAddress) to public API" am: 6c1f09f77e am: 29812e6a31
am: be412a4ecf

Change-Id: Ieaa5307f3dd82305e9a774c6e20f12eb7cc2635a
2019-02-27 21:11:26 -08:00
Remi NGUYEN VAN
be412a4ecf Merge "Add Os.connect(fd, SocketAddress) to public API" am: 6c1f09f77e
am: 29812e6a31

Change-Id: Ic00452af06f46a5a4ba603103553d66f82118f61
2019-02-27 21:02:12 -08:00
Remi NGUYEN VAN
29812e6a31 Merge "Add Os.connect(fd, SocketAddress) to public API"
am: 6c1f09f77e

Change-Id: I7c24f8458159b0069b29abff75d5da943039ea39
2019-02-27 20:53:17 -08:00
TreeHugger Robot
80642308f3 Merge "Themed battery drawable tweaks" 2019-02-28 04:44:44 +00:00
Remi NGUYEN VAN
6c1f09f77e Merge "Add Os.connect(fd, SocketAddress) to public API" 2019-02-28 04:42:36 +00:00
Remi NGUYEN VAN
72decd9258 Add Os.connect(fd, SocketAddress) to public API
1. There are already related socket API methods that return
   SocketAddress, such as Os.getpeername().
2. Having APIs that take SocketAddress are a closer match
   to the POSIX APIs that android.system.Os is exposing,
   and are more flexible than just taking InetAddress+port
   combinations since the latter only supports IPv4 and
   IPv6.

This was covered by tests in change:
Iadf9f10e26bbc650c5e1b9d03f32c5dafb6f21b4

And completes Ic496c1212dc2d97cf34db2a7c7d024b02790e8ed.

Test: m
Bug: 123062477
Change-Id: I885bfe1bf24a361bef2bb2f783622b934637ba99
2019-02-28 04:39:32 +00:00
TreeHugger Robot
7c0532ae76 Merge "Clarifies Javadocs for setDeviceMobilityState() API" 2019-02-28 04:03:06 +00:00
TreeHugger Robot
10ddc956ee Merge "Adding UNKNOWN value to Job constraint change enum." 2019-02-28 03:29:31 +00:00
TreeHugger Robot
f86eaa2010 Merge "SurfaceControl: add getAllowedDisplayConfigs" 2019-02-28 03:12:18 +00:00
TreeHugger Robot
8aa93a09b1 Merge "Turn on extcon event observing" 2019-02-28 03:03:51 +00:00
TreeHugger Robot
4e417f607f Merge "Adding nullability annotation." 2019-02-28 02:47:04 +00:00
TreeHugger Robot
79c8d6623b Merge "Add API Service.getForegroundServiceType()" 2019-02-28 01:48:02 +00:00
Fan Zhang
3d6fff4db6 Merge "Revert "Enable mainline module feature."" 2019-02-28 00:51:42 +00:00
Fan Zhang
52e966e996 Revert "Enable mainline module feature."
This reverts commit 22171d7d64.

Reason for revert: hiding mainline module again in beta2.

Change-Id: I7d66aa1efe3bf1746d8f908dd115bf0f4eb83ebe
2019-02-28 00:51:10 +00:00
Soonil Nagarkar
1512e805cf Merge "Fix LOCATION_PROVIDERS_ALLOWED with provider status" 2019-02-28 00:46:12 +00:00
Ralston Da Silva
5bbfa09a94 Merge "Removing usage of unsupportedApi AutoCompleteTextView.ensureImeVisible from SearchDialog Bug: 124452405 Test: No CTS test because SearchDialog is not exposed externally." 2019-02-28 00:45:07 +00:00
Hongwei Wang
1cd36ecbf0 Merge changes from topic "renault-volume-group"
* changes:
  Add Volume per Attributes setter/getters
  Add Volume Groups API to AudioManager
  AudioVolumeGroup introspection & callback JAVA APIs
2019-02-28 00:44:51 +00:00
Lorenzo Colitti
73dec61c8a Merge changes from topic "nat64" am: a02847ec0d am: d9b7731230
am: 6f8dd4a6ad

Change-Id: Iffd1a988d631c9285bad232cc60ae321abc866e8
2019-02-27 16:37:43 -08:00
François Gaffie
ebb67d0e77 Add Volume per Attributes setter/getters
This patch adds in AudioSystem setter/getter of volume index
and also getter on index min and max according to the given
audio attributes.

Bug: 124767636
Test: dumpsys media.audio_policy
Change-Id: Ia20fcfbf5e20c98de5eb07551c299dc99d678fb8
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2019-02-27 16:22:00 -08:00
François Gaffie
9c36210d29 Add Volume Groups API to AudioManager
-put in cache collection in AudioService
-add helper function in Strategies and volume groups

Bug: 124767636
Test: dumpsys media.audio_policy
Change-Id: I688abf79ce7dead927fbd021e48bf6460d6cdc85
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2019-02-27 16:21:51 -08:00
François Gaffie
adcd00a7c8 AudioVolumeGroup introspection & callback JAVA APIs
This CL adds introspection APIs for Audio Volume group
and callback notification on group volume change.
It allows to keep the same level of service available today
in CarAudioManager and is a starting point to get rid of Stream Alias
hard coded in AudioServer.

Bug: 124767636
Test: dumpsys media.audio_policy
Change-Id: I48909df93c146f071acd24cd3ecc608cb98b4d7e
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2019-02-27 16:21:27 -08:00
Jeff Sharkey
4020f8c038 Merge "Translate SecurityException into EACCES." 2019-02-28 00:19:05 +00:00
Jeff Sharkey
3a834cb813 Merge "Developer option to disable legacy greylist." 2019-02-28 00:16:03 +00:00
Lorenzo Colitti
6f8dd4a6ad Merge changes from topic "nat64" am: a02847ec0d
am: d9b7731230

Change-Id: Iac01497eda611d334ee0ec2440f7d9f8bd27bd1f
2019-02-27 16:10:58 -08:00
Ryan Mitchell
050d8f79ef Merge "idmap2: switch to improved Result class" 2019-02-27 23:57:02 +00:00
Lorenzo Colitti
d9b7731230 Merge changes from topic "nat64"
am: a02847ec0d

Change-Id: I3f7f74c197dd5da3db7d8d41fa4a26aacf38c2e8
2019-02-27 15:56:18 -08:00
David Brazdil
42ef8a164e Merge "Move ApplicationInfo to params in AppComponentFactory" 2019-02-27 23:56:03 +00:00
Malcolm Chen
e0e0f71e9b Adding nullability annotation.
For below APIs:
removeOnOpportunisticSubscriptionChangedListener
switchToSubscription

Bug: 126391202
Test: build
Change-Id: I791fd6307371ef9a1918b119f4a1b15623517157
2019-02-27 15:51:24 -08:00
Xiangyu/Malcolm Chen
6dabb47132 Merge "Add @Nullable on SubscriptionInfo#getGroupUuid" 2019-02-27 23:39:16 +00:00
Lorenzo Colitti
a02847ec0d Merge changes from topic "nat64"
* changes:
  Catch ServiceSpecificException instead of IllegalStateException.
  Manage NAT64 prefix discovery lifecycle in the framework.
  Track NAT64 in the framework and start clatd iff NAT64 detected
  Change Nat464Xlat lifecycle.
  Minor improvements to verifyTcpBufferSizeChange.
2019-02-27 23:37:42 +00:00
Kevin Rocard
be64d36ea3 Register policy with AudioManager
The policy was previously not registered. Resulting in a failure when
starting the recording.

Test: atest android.media.cts.AudioPlaybackCaptureTest#testCaptureMediaUsage
Bug: 111453086
Change-Id: Ib0bbdfefd644c2f8e389baafdc1fc3ad548dcc4c
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-02-27 15:36:44 -08:00
TreeHugger Robot
faf6bc77fd Merge "Fix deadlock in GeofenceManager" 2019-02-27 23:32:24 +00:00
Ryan Mitchell
2fe2347e1e Add ANDROID_LOG to supress android specific logs
AAPT2 uses AssetManager2 as the implmentation of its symbol table.
When generating the the R.java, AAPT2 adds information about styleables
in the comments. If the first symbol table checked by the delegate is an
AssetManager2 symbol table and it does not contain the styleable
attribute being searched for, a bogus error is printed and the resource
is found in a later symbol table.

Bug: 126596328
Test: m -j Settings && diffed generated java files
Change-Id: If86a9d62fd72317525dffa862be1267621f93afd
2019-02-27 15:08:53 -08:00
Nikita Ioffe
63ebfcba5d Merge "Fail staged session if apexd session is in ROLLBACK_IN_PROGRESS state" 2019-02-27 22:41:24 +00:00
TreeHugger Robot
6da4f3e928 Merge "Don't allow downgrade of apexes unless INSTALL_ALLOW_DOWNGRADE is set" 2019-02-27 22:41:03 +00:00
Kweku Adams
e8db3ab5a2 Adding UNKNOWN value to Job constraint change enum.
Proto best practices are to have the first value in an enum be similar
to UNKNOWN/UNSET/NONE.

Bug: 120941744
Bug: 120793892
Test: Android builds
Change-Id: I8a764565d14ad6dde93ebfcbd55fd37cf533b253
2019-02-27 14:30:34 -08:00
Harry Zhang
f5c792cae7 [automerger skipped] Merge "Added a filegroup for statsd config proto definition." am: 0d99ab3f18 am: 817f75df59
am: 48d03c3f00 -s ours
am skip reason: change_id I0e37a9b9a1f22a5dcebbf07ccc5cad98cf76024c with SHA1 fe16c8f2f9 is in history

Change-Id: Idd96b7a70b1c3d96e3b80d57e8853ac2029e1339
2019-02-27 14:26:48 -08:00
Nick Chalko
2654c8ed2b Turn on extcon event observing
selinux policy now includes sysfs_extcon
Submit after
https://android-review.googlesource.com/c/platform/system/sepolicy/+/907257
is merged

Bug: 124364409
Test: m services.core
Change-Id: I5401e36b5e752387cf7794dcca55da2270d46f66
2019-02-27 22:17:59 +00:00
Harry Zhang
48d03c3f00 Merge "Added a filegroup for statsd config proto definition." am: 0d99ab3f18
am: 817f75df59

Change-Id: Id20d4c3ba43a58ece5aff4424c5b039e44539f06
2019-02-27 14:17:33 -08:00
Gustav Sennton
5a9da78042 Merge "Move SSIN sys ui flags from Settings.Global to DeviceConfig." 2019-02-27 22:12:35 +00:00