Commit Graph

100591 Commits

Author SHA1 Message Date
Jack Yu
2120daf5cf Added expiration time and deprecation time support
Added link address deprecation time and expiration
time for SSC mode 3 support.

Bug: 135717900
Bug: 142949345
Test: LinkAddressTest

Change-Id: Ibc030d2a70ded66e00dd3bdae209609b9118de78
2020-01-23 14:53:43 -08:00
Automerger Merge Worker
b864dc150e Merge changes from topic "connectivity-diagnostics-system-server" am: 9cd249c11a am: 45e0caf5dc am: 1544e76f76
Change-Id: If70281f2989778896eb34ac65bcfe0215393ef60
2020-01-23 03:41:09 +00:00
Automerger Merge Worker
922b9d3856 Merge "Remove StringNetworkSpecifier" am: bdbc3e7e4e am: fa25f2f38c am: ec06afee8a
Change-Id: I60c9e49085701e05bddbed6a8735e6973e9f2986
2020-01-23 03:40:48 +00:00
Lorenzo Colitti
5aae73ad00 Merge "Always set NetworkInfo objects to available." 2020-01-23 03:29:58 +00:00
Yinglei Wang
51683fa8fa Merge "Set stateDescription during ProgressBar initialization" 2020-01-23 03:12:13 +00:00
Cody Kesting
45e0caf5dc Merge changes from topic "connectivity-diagnostics-system-server"
am: 9cd249c11a

Change-Id: I48a9f1f734b5e2dd4f7ed91c052cec5c8c62c076
2020-01-22 19:10:05 -08:00
Nathan Harold
fa25f2f38c Merge "Remove StringNetworkSpecifier"
am: bdbc3e7e4e

Change-Id: If2b9e1ef7341b517cb0090ba0ff882b1a6305ed4
2020-01-22 19:09:13 -08:00
TreeHugger Robot
2a8fae9828 Merge changes from topic "voiceinteraction-model-enrollment"
* changes:
  async enrollment support AlwaysOnHotwordDetector
  add KeyphraseModelManager
2020-01-23 02:46:50 +00:00
Hall Liu
36f8b83e45 Merge "Expose OPSTR_READ_DEVICE_IDENTIFIERS" 2020-01-23 01:56:42 +00:00
Cody Kesting
9cd249c11a Merge changes from topic "connectivity-diagnostics-system-server"
* changes:
  Add ConnectivityDiagnosticsManager to System Server.
  Make DataStallReport Parcelable.
  Make ConnectivityReport Parcelable.
2020-01-23 01:56:33 +00:00
TreeHugger Robot
5e06fa09f2 Merge "ConfirmationPrompt: Use default values for UIOptions" 2020-01-23 01:49:50 +00:00
Shu Chen
24c495fa51 Merge "Adds more flags for cursor control features." 2020-01-23 01:24:15 +00:00
Nathan Harold
bdbc3e7e4e Merge "Remove StringNetworkSpecifier" 2020-01-23 01:08:33 +00:00
Dianne Hackborn
6a79f29ce0 Merge "Initial impl issue #143085640: Per-process network access control" 2020-01-23 00:44:14 +00:00
Nicholas Ambur
f771e6c9f6 async enrollment support AlwaysOnHotwordDetector
Added ability for AlwaysOnHotwordDetector to support async enrollment
performed outside of support detected through KeyphraseEnrollmentInfo.

Bug: 147159435
Test: tested enrollment and availability is updated when enrolling
outside of KeyphraseEnrollmentInfo

Change-Id: Ia5d71e90c062ac100d4c6df760acf0d41920853e
2020-01-22 16:40:18 -08:00
Nicholas Ambur
ef84fc4843 add KeyphraseModelManager
Exposes a set of @SystemApi's allowing the active VoiceInteractionService
to enroll voice models.

Bug: 147159435
Test: manual tested enrollment and unenrollment via bundled
hotwordenrollment application and test app.

Change-Id: I94ef3550df236486401a0a6f9de9d874b9bf9b46
2020-01-22 16:40:13 -08:00
Lorenzo Colitti
0a39e0e71a Always set NetworkInfo objects to available.
For all networks, NetworkInfo.isAvailble has basically always
been true for all connected networks. The new NetworkAgent API
sets it to false, and this causes application breakage. Always
set it to true.

Bug: 148126438
Test: builds, boots, searching in maps works again
Change-Id: Ia9876b0ce7f02120bd05cab526346cad22cf62b3
2020-01-23 09:35:55 +09:00
Rob Carr
5c8b722dc5 Merge changes from topics "scvhpapi", "wwm-api-3"
* changes:
  Unhide SurfaceControlViewHost API
  SurfaceView: Add reparentSurfacePackage method
2020-01-23 00:34:10 +00:00
Hall Liu
6b06a38e3a Expose OPSTR_READ_DEVICE_IDENTIFIERS
Expose the constant for use in Telephony.
Also replace a usage of a hidden UserHandle API with a systemapi
equivalent.

Bug: 146834818
Test: atest SmsApplicationTests
Change-Id: I569d921abf923c384d7e771e2fc28f54e0dbfdd1
2020-01-22 16:20:23 -08:00
Sam Lin
cc6db40d86 Merge "Add Vulkan dEQP level feature flag" 2020-01-23 00:18:54 +00:00
Remi NGUYEN VAN
a96f449ce2 Merge "Make TetheringManager to system API" 2020-01-23 00:11:49 +00:00
Janis Danisevskis
4ff0964128 ConfirmationPrompt: Use default values for UIOptions
ConfirmationPrompt passes magnified and inverted options to the keystore
service. While gathering the accessibility_display_inversion_enabled
setting, the implementation would throw an exception if this setting was
never set by the user. This causes the font scaling property to be
ignored. This patch uses default values in case the system setting is
not set.

Test: Run CTSVerifier Protected Confirmation test with increased font
      size.

Change-Id: I03a3ef56209c73ca7d2b2527a5f145f744148e38
2020-01-22 16:03:09 -08:00
yingleiw
20852a15ef Set stateDescription during ProgressBar initialization
onProgressRefresh() is only called when the progress changes. So we should set
stateDescription during initialization.

Test: tested with talkback test app. Without this change, the
stateDescription is not available when we focus on the seekbar. After
the change, the stateDescription is avaiable.

Change-Id: I56071ed28e6917c6bd14162884b10440c6955751
2020-01-22 15:27:57 -08:00
Santiago Etchebehere
0ec06391e2 Merge "[Zoom-out 1/N] Add API in WallpaperManager" 2020-01-22 22:35:43 +00:00
Alastair Donaldson
8af0b970cb Add Vulkan dEQP level feature flag
This change adds a feature flag that specifies the date associated
with the Vulkan dEQP tests that a device claims to pass.

Bug: 136573508

Change-Id: I0cec29fe5f69f228faaa2298b7f5b65bcf988dba
2020-01-22 22:19:55 +00:00
TreeHugger Robot
3d004d168c Merge "Rewrite R constants before creating Application" 2020-01-22 22:08:41 +00:00
TreeHugger Robot
c4035ef38d Merge "Show RemoteInput images in notification history." 2020-01-22 22:05:00 +00:00
Automerger Merge Worker
8030e4860e Merge "Add @RequiresPermission annotation to SystemApis in BluetoothPan, open up close method as a SystemApi, and BluetoothPan class now implements AutoCloseable and CloseGuard" am: 23deb3367f am: 264da33fe5 am: 4aa1811337
Change-Id: I720267221928468a4aa5579363ad4eb341f97389
2020-01-22 21:49:25 +00:00
Automerger Merge Worker
81d8b9cea0 Merge "Add error log to BluetoothAdapter.factoryReset() and make BluetoothAdapter.getUuids() marked with @Nullable" am: b4dbfff366 am: 5a607f2666 am: 8371addcb4
Change-Id: Ib5c91460b57d58fad612c6bab74009b9282485bd
2020-01-22 21:48:33 +00:00
Rahul Sabnis
264da33fe5 Merge "Add @RequiresPermission annotation to SystemApis in BluetoothPan, open up close method as a SystemApi, and BluetoothPan class now implements AutoCloseable and CloseGuard"
am: 23deb3367f

Change-Id: Iaab890dc9ebefabbcb7809fe2e83221f11d7d9f0
2020-01-22 13:21:55 -08:00
Kweku Adams
881254f4cb Merge "Creating new RESTRICTED bucket." 2020-01-22 21:21:09 +00:00
Rahul Sabnis
5a607f2666 Merge "Add error log to BluetoothAdapter.factoryReset() and make BluetoothAdapter.getUuids() marked with @Nullable"
am: b4dbfff366

Change-Id: If06bce0f62fee4121c0e4445178c13458cd4b7c6
2020-01-22 13:17:19 -08:00
Treehugger Robot
23deb3367f Merge "Add @RequiresPermission annotation to SystemApis in BluetoothPan, open up close method as a SystemApi, and BluetoothPan class now implements AutoCloseable and CloseGuard" 2020-01-22 21:09:47 +00:00
Treehugger Robot
b4dbfff366 Merge "Add error log to BluetoothAdapter.factoryReset() and make BluetoothAdapter.getUuids() marked with @Nullable" 2020-01-22 21:09:39 +00:00
Howard Yen
ba5a535640 Merge changes from topic "usb_gadget_reset"
* changes:
  Add svc usb resetUsbGadget method
  Support USB Gadget V1.1 HAL
2020-01-22 20:56:44 +00:00
Robert Carr
87f5d2cb78 Unhide SurfaceControlViewHost API
Unhide the SurfaceControlViewHost API and the getHostToken/setChildSurfacePackage
API's required to use them.

Bug: 134365580
Bug: 140587144
Test: WindowlessWmTests
Change-Id: I0c5af2166f1d87947f54a492fd0b887c6253b9fe
2020-01-22 12:54:06 -08:00
TreeHugger Robot
bfbad6d3e0 Merge "Expose all TelephonyRegistryManager methods" 2020-01-22 20:41:09 +00:00
Aran Ink
2e3cc4169d Show RemoteInput images in notification history.
For cases where we can't show images, show "Image inserted" text instead. This will happen for work profile notifications, and for notifications that don't use MessagingStyle.

Test: Updated unit tests for NotificationRemoteInputManagerTest to use new RemoteInputHistoryItem structure, and to ensure support for URIs and mime types. Manual testing to ensure images appear in notification history for MessagingStyle notifications under the primary user, and that "Image inserted" appears for work-profile and non-messaging notifications.

Change-Id: I254b579aa710337039a7def6880f14a61bbd4d53
2020-01-22 15:22:19 -05:00
TreeHugger Robot
4b7531b05b Merge "Add TestApi to get UserHandle from URI." 2020-01-22 19:49:27 +00:00
Rahul Sabnis
dc125268fb Add @RequiresPermission annotation to SystemApis in BluetoothPan, open
up close method as a SystemApi, and BluetoothPan class now implements
AutoCloseable and CloseGuard

Bug: 146045934
Test: Manual
Change-Id: Iafb2157d67ae4f8e3d7d97cf4198f2978e391a8c
2020-01-22 11:30:59 -08:00
Danning Chen
5ff476a902 Merge "Add isConversation() API to NotificationRecord and a corresponding key in Adjustment" 2020-01-22 19:15:26 +00:00
Santiago Etchebehere
44a2831560 [Zoom-out 1/N] Add API in WallpaperManager
Add an API in WallpaperManager (client and server) and
WallpaperService to pass a wallpaper zoom value to the
wallpaper service and engine.

Bug: 146387434
Test: (added testDeliversZoomChanged)
Test: atest WallpaperServiceTest
Change-Id: Idd9ea2aefb845ad1d330cbdd6e088b926bcfece7
2020-01-22 10:51:04 -08:00
Santos Cordon
8f6ae9798e Merge "Add display configuration files." 2020-01-22 18:35:04 +00:00
Santos Cordon
4505e5e6e8 Add display configuration files.
Adds a static display configuration file for specifying static display
configurations as a sustainable API.

Bug: 131813802
Test: Verify brightness changes work as expected.  Verify changes going
through system to HAL conversion.
Exempt-From-Owner-Approval: I am new owner of lights, but OWNERS rights hasnt yet propogated.
Change-Id: I17922267f4695bc042d7c0687d4dcc10554e1b85
2020-01-22 18:34:39 +00:00
Mike Ma
cc7c338c48 Merge "Make ProtoOutputStream public"
am: 566f8f0195

Change-Id: Id322686c850a1aa273d31c60c86e4fe052390d21
2020-01-22 10:33:00 -08:00
Ying Xu
6fc642806f Merge "[Telephony Mainline] Telephony uses own user activity notification" 2020-01-22 18:30:06 +00:00
Amit Mahajan
77129e43f2 Merge changes from topics "npm-add-rm-listener-api", "rename-override-constants"
* changes:
  NetworkPolicyManager: Add @SystemApi for mainlne module
  Use Context.NETWORK_POLICY_SERVICE to get network policy service
  Add setSubscriptionPlans() and getSubscriptionPlans() @SystemApi
  Add setSubscriptionOverride() to system API
2020-01-22 18:26:49 +00:00
Perumaal Shanmugam
9f22c5356f Merge "Change provideContextImage() API to accept Bitmap" 2020-01-22 18:19:34 +00:00
Mike Ma
566f8f0195 Merge "Make ProtoOutputStream public" 2020-01-22 18:14:00 +00:00
Alex Kershaw
ba014acec8 Add TestApi to get UserHandle from URI.
I've added this to ContentProvider since it's where all of the existing
hidden logic where userinfo = userid lives.

Bug: 136249261
Test: atest CtsProviderTestCases:android.provider.cts.DocumentsContractTest
Change-Id: I3a815f2c8dd738140aec6937ce0d3b763bf49fba
2020-01-22 18:07:18 +00:00