Commit Graph

24155 Commits

Author SHA1 Message Date
Xiao Ma
d11f62d9ba Merge "add networking connectivity namespace." 2019-03-07 09:28:03 +00:00
Jaewan Kim
7f3675c54f Merge "MediaController2: Add @Nullable to getConnectedSessionToken()" 2019-03-07 07:47:25 +00:00
Xiao Ma
61089ea8b5 add networking connectivity namespace.
Bug: 112869080
Test: m -j passed
Change-Id: I617257a1d8f2f0f4336e526d7fab6f8d12143d3b
2019-03-07 14:51:52 +09:00
Remi NGUYEN VAN
f72125d46d Merge "Fix SocketUtils API" am: 3da7809ae4 am: f0ef74dc7a
am: 4adf7d6a17

Change-Id: Ib2de3e87ab61a2ff4918e9dfc3ae2b012e24b5c2
2019-03-06 20:31:50 -08:00
Remi NGUYEN VAN
4adf7d6a17 Merge "Fix SocketUtils API" am: 3da7809ae4
am: f0ef74dc7a

Change-Id: If460832503e71fccf41494e99ea78d1b85a50ef6
2019-03-06 20:22:36 -08:00
Remi NGUYEN VAN
f0ef74dc7a Merge "Fix SocketUtils API"
am: 3da7809ae4

Change-Id: I03e0eb60d71cba27e57f8ee7832269bbd75f5344
2019-03-06 20:13:28 -08:00
Remi NGUYEN VAN
3da7809ae4 Merge "Fix SocketUtils API" 2019-03-07 03:54:22 +00:00
Hai Shalom
405ecb9909 [WifiConfiguration] Add @NonNull annotations to BitSets
Following API review, add @NonNull annotations to allowed* BitSets in
WifiConfiguration class.

Bug: 126702434
Test: atest WifiConfigurationTest
Change-Id: I05550f4d4677702de7ec5e3f0c8393a516c0a5e6
2019-03-07 03:00:51 +00:00
Jimmy Chen
367763b99c Merge changes I105589aa,I3674fd5b,I215962fa,I5ca97e26,Ib47a1a6d
* changes:
  p2p: add valid string documentation for network name and passphrase
  p2p: rename the annotation to match the API names.
  p2p: add annotation for WifiP2pConfig.Builder public API
  p2p: add annotation for WifiP2pConfig.Builder public API
  p2p: add annotation for WifiP2pConfig.Builder public API
2019-03-07 02:45:12 +00:00
Josh Hou
1deae4e73b Merge "add NonNull annotation to API" am: fd2bb72030 am: 6131255e77
am: e658c48ea0

Change-Id: I723c22a0b7e76808cf60667ef7b2fcffac8ce71c
2019-03-06 17:55:41 -08:00
Josh Hou
e658c48ea0 Merge "add NonNull annotation to API" am: fd2bb72030
am: 6131255e77

Change-Id: Id8fab7bd594db237c8353e3784a348688c602a85
2019-03-06 17:42:29 -08:00
Josh Hou
6131255e77 Merge "add NonNull annotation to API"
am: fd2bb72030

Change-Id: Idf5a7df74815a9e339cf4313506f269ddbdce5d1
2019-03-06 17:32:50 -08:00
Hall Liu
60905c039b Merge "API tweaks" am: f3fbbeaa05 am: 4c3e0ccfa5
am: fe12d8de3f

Change-Id: I13342f7735adb24240c4ca34245f93e3d7579d78
2019-03-06 17:17:16 -08:00
Treehugger Robot
fd2bb72030 Merge "add NonNull annotation to API" 2019-03-07 01:07:34 +00:00
Julia Reynolds
a3e9952ee5 Merge "API changes for NAS" 2019-03-07 00:59:56 +00:00
Hall Liu
fe12d8de3f Merge "API tweaks" am: f3fbbeaa05
am: 4c3e0ccfa5

Change-Id: I03b0fdf8c90ccc0455087538565b51934c855c28
2019-03-06 16:50:02 -08:00
Hall Liu
4c3e0ccfa5 Merge "API tweaks"
am: f3fbbeaa05

Change-Id: I3d45d13a482125edd91ec86e5c297f9fdb976072
2019-03-06 16:33:02 -08:00
TreeHugger Robot
5f7df448ab Merge "RTT LCI API *UPDATE* (Client Side)" 2019-03-07 00:25:40 +00:00
Eino-Ville Talvala
e739064b74 Merge "Camera: Annotate the Key constructors with nullability." 2019-03-07 00:25:36 +00:00
Hall Liu
f3fbbeaa05 Merge "API tweaks" 2019-03-07 00:11:31 +00:00
Philip P. Moltmann
a3e79d624c Merge "Add annotations and finals to PermissionInfo" 2019-03-06 23:43:05 +00:00
Pengquan Meng
939c573b12 Merge "[API Feedback] Rename getChannelNumber to getNrarfcn" am: 8273d66ebc am: b7f5e3782c
am: 746e386b86

Change-Id: I918c68d7628a08784b9c20bfdf89365fd1250c6e
2019-03-06 15:31:46 -08:00
Brad Ebinger
23f61b5d1a Merge "Add Nullable/NonNull Annotations where appropriate." am: eb4d20673f
am: 17b85fea09

Change-Id: If76b57ed49a38486def933cd42722b40491487ca
2019-03-06 15:28:04 -08:00
Brad Ebinger
17b85fea09 Merge "Add Nullable/NonNull Annotations where appropriate."
am: eb4d20673f

Change-Id: Idc4e4d59c4773832111ff4383b1aa494d539f2d9
2019-03-06 15:04:11 -08:00
Mohammed Khider
3b989d0f31 Merge "Bluesky: Handle null correction objects gracefully." 2019-03-06 23:02:56 +00:00
Brad Ebinger
eb4d20673f Merge "Add Nullable/NonNull Annotations where appropriate." 2019-03-06 22:47:58 +00:00
Pengquan Meng
746e386b86 Merge "[API Feedback] Rename getChannelNumber to getNrarfcn" am: 8273d66ebc
am: b7f5e3782c

Change-Id: I0b25f3e10fe86ad46acf91cebc7edce50f0880cc
2019-03-06 14:47:22 -08:00
Roshan Pius
bacc394722 Merge "WifiAwareManager: Mark NetworkSpecifierBuilder class final" 2019-03-06 22:42:32 +00:00
Pengquan Meng
b7f5e3782c Merge "[API Feedback] Rename getChannelNumber to getNrarfcn"
am: 8273d66ebc

Change-Id: I5da974b3b914c2581e8b315016ee2c2ff53ad45d
2019-03-06 14:32:03 -08:00
Eino-Ville Talvala
79d4aac39b Camera: Annotate the Key constructors with nullability.
Test: Builds
Bug: 126699273
Change-Id: Ifd14a79ff6ffbb19ef1a45ac0da45efa2be748b1
2019-03-06 14:26:10 -08:00
Nathan Harold
9bb9f48cf9 Merge "Move Annotations for getCellSignalStrengths" am: 5ba92cf940 am: 7c59ddb0b8
am: c66121b3f4

Change-Id: I00a0c204862f71b118c0920339caee657bc52199
2019-03-06 14:24:57 -08:00
Nathan Harold
c66121b3f4 Merge "Move Annotations for getCellSignalStrengths" am: 5ba92cf940
am: 7c59ddb0b8

Change-Id: Ife18dafa8c9a910dfa4a80c76e3bc445b0c23e5f
2019-03-06 14:08:35 -08:00
Nathan Harold
7c59ddb0b8 Merge "Move Annotations for getCellSignalStrengths"
am: 5ba92cf940

Change-Id: I6b91cdd94c5367ec4f89b7959d746faae10df1ef
2019-03-06 13:54:50 -08:00
Pengquan Meng
8273d66ebc Merge "[API Feedback] Rename getChannelNumber to getNrarfcn" 2019-03-06 21:52:32 +00:00
TreeHugger Robot
3c37379061 Merge "Added LocusId support to Shortcut and Notification." 2019-03-06 21:49:46 +00:00
Matt Pape
d926ae08d6 Merge "Add DeviceConfig.Properties and return it from change listener." 2019-03-06 21:41:58 +00:00
Nathan Harold
5ba92cf940 Merge "Move Annotations for getCellSignalStrengths" 2019-03-06 21:41:18 +00:00
Roy Want
d34680d2d2 RTT LCI API *UPDATE* (Client Side)
Bug: 111439464
Test: All unit tests pass; end-to-end tests pass.
Change-Id: I026f0cdec93df8f54ad4f8f24df0258cceb87b6e
2019-03-06 13:18:16 -08:00
Philip P. Moltmann
a4844d1fb9 Add annotations and finals to PermissionInfo
... and deprecate constructors that should not be called anymore.

Test: Looked at permissions (incl 3rd party) in UI
Fixes: 126701534
Change-Id: Ic5ceb522ca75d130001add47a1a3dcb2ea8f7e8f
2019-03-06 13:00:25 -08:00
Dmitry Dementyev
53c533baad Merge "Add @NonNull annotation to RecoveryController Builders" 2019-03-06 20:55:40 +00:00
Steven Moreland
26190d5536 Merge "NativeHandle.java: set Nullable/NonNull" am: 6792c595a2 am: b5e85d6bb6
am: 927dee8243

Change-Id: I1caab5b13688b9d76e8d6ba59c83e32a6218be7e
2019-03-06 12:47:15 -08:00
Steven Moreland
927dee8243 Merge "NativeHandle.java: set Nullable/NonNull" am: 6792c595a2
am: b5e85d6bb6

Change-Id: If8aa9d85330683954856e2f1f2755d251bd0bb36
2019-03-06 12:37:46 -08:00
Steven Moreland
b5e85d6bb6 Merge "NativeHandle.java: set Nullable/NonNull"
am: 6792c595a2

Change-Id: I09cdb1ce3cc64cb8ca42a13b307b93b5dab8e42c
2019-03-06 12:28:23 -08:00
Michal Karpinski
b5e5c90800 Merge "Rename BroadcastOptions.setAllowBackgroundActivityStarts() to setBackgroundActivityStartsAllowed()" 2019-03-06 20:23:45 +00:00
Steven Moreland
6792c595a2 Merge "NativeHandle.java: set Nullable/NonNull" 2019-03-06 20:02:57 +00:00
TreeHugger Robot
9a5663c787 Merge "Migrate to DeviceConfig in TextClassifier" 2019-03-06 19:51:53 +00:00
Hall Liu
ee609ff1c1 API tweaks
* Make the PhoneAccountSuggestion ctor public
* Change protection level of the bind-suggestion-service permission to
signature-only.

Fixes: 126442573
Fixes: 126442403
Test: CTS
Change-Id: Ic6d44989efd28420a5e9e7e9c365318538d140bb
2019-03-06 11:32:18 -08:00
Nathan Harold
bbe345fa97 Move Annotations for getCellSignalStrengths
As per API council script's feedback, the scripts
do not support having nullable annotations preceding
the return tupe. Moving the @NonNull annotations to a
script friendly location.

Bug: 126700393
Test: make update-api && make
      && make offline-sdk-docs (no functional change)
Change-Id: Ie063ffa2e311f4eb7d9e07cd5ee212af97d9d45d
2019-03-06 11:22:20 -08:00
Matt Pape
1013d298a2 Add DeviceConfig.Properties and return it from change listener.
Add a second method to the OnPropertyChangedListener which returns a
Properties object instead of a single flag. This object will hold only
one flag for now (Q) but easily supports multiple flags at a time when
we are ready to support atomic writes (R). This Properties object also
contains typed getters, so we don't force every single client to
dupliate the parsing and default value logic.

For now, the new method in the change listener has a default
implementation which calls the old method. This ensures that no one's
code is broken (because they aren't implementing the new method) and no
one's feature stops working (the old method is still being called).

This is part 1 of a 4 step migration from the single flag callback to
the new Properties callback.

Part 2 will update the OneTimeDeviceConfigListener in the gts/ repo to
override both the old and new callback methods.

Part 3 will update the DeviceConfig.OnPropertyChangedListener to provide
a default implementation for the old method instead of a default
implementation for the new method. At the same time, all implementations
of DeviceConfig.OnPropertyChangedListener in the core repo will be
updated to implement the new method instead of the old method.

Part 4 will update the OneTimeDeviceConfigListener in the gts/ repo to
override only the new callback method and delete the implementation of
the old callback method.

These 4 parts have to happen in order.

Bug: 126414261
Test: atest FrameworksCoreTests:DeviceConfigTest

Change-Id: If75bce326dcdbc38e22d95982e57ad466cbecdb6
2019-03-06 11:15:55 -08:00
Brad Ebinger
fe9b21d6ad Merge "Add Nullable/NonNull Annotations where appropriate." 2019-03-06 18:48:48 +00:00