Wifi needs to create these objects so it can include them
in the broadcasts.
Bug: 135998869
Test: FrameworksWifiTests
Change-Id: Ic50d9b5c65e8771708620badc3bc242a8ffbb5cc
setSSID was added to the API, so it makes sense to have getSSID be part
of the API as well.
Test: m
Bug: 139268426
Change-Id: I6fa9c513ce4fb8ce1e3530776ce8fd5b2e77055e
CaptivePortalData will be used to hold data advertised by the network
following RFC7710bis.
To fetch the CaptivePortalData, the API URL is added to LinkProperties,
to be provided by the NetworkAgent.
Because CaptivePortalData can be used to guess user location (especially
from the URLs provided by the portal), it is only exposed to
applications that have privileged permissions.
Test: atest FrameworksNetTests
Bug: 139269711
Change-Id: I341175b5fece8ee00e19898af5e8eabe66cefbf3
am skip reason: Change-Id I1d231ec2ddcff97c039bcbc815a39c1d3e26c410 with SHA-1 5b2e000f6d is in history
Change-Id: I02e5d9766706423e52f275bc8a3ecbdf674a8e44
am skip reason: Change-Id I621cfbe165996c67b201ca2dd2f95a5ab9af10ee with SHA-1 8dd13a8109 is in history
Change-Id: I695c6f3327cb1e2954c4b5d60315509fb61771af
am skip reason: Change-Id I79478ceff6bbcae879d1025098d177de0d15dbee with SHA-1 c58ecd5f33 is in history
Change-Id: I9f190f10f21094aadba865ce8e987f75e071aa05
am skip reason: Change-Id Ifdea19fa32089b5c7925f5010169b1dea3d2b304 with SHA-1 a8cc3cb4c5 is in history
Change-Id: I00a9d3dc6ab9a9b8d635ccd975460dbc8fc4d60d
am skip reason: Change-Id I4808fcc0047a926b23ed3d49d979bb7b0371dc69 with SHA-1 45d4f10c42 is in history
Change-Id: I3d295d63541ea01d0c5087021a8a214e09239be0
Change mtu->mtuV4 and add mtuV6 for DataProfile and DataCallResult
Add mtu to RouteInfo and update test
Test: atest FrameworksTelephonyTests
Bug: 146668814
Change-Id: I43c7e088e46e40f38d8114548e0fc4e39d7f91cb
ConnectivityDiagnosticsManager should be accessed through
Context#getService. In order for this to be possible, it needs to be
defined as a service inside SystemServiceRegistry.
Bug: 146444622
Test: compiles.
Test: CTS testing in aosp/1211164
Change-Id: I6fe29441ecc9967a04ceb394b3bbe54830bef079
am skip reason: Change-Id I1d4a928256951397cabde5c352a872fd48d85859 with SHA-1 04b18a9e7b is in history
Change-Id: I1dd6e0424bde1bac520e53b18f33ecbbec38698a
Currently, only support the three elements in the config that are
known to be used.
Bug: 138306002
Test: builds, boots
Test: atest FrameworksTelephonyTests
Change-Id: I1d231ec2ddcff97c039bcbc815a39c1d3e26c410
Merged-In: I1d231ec2ddcff97c039bcbc815a39c1d3e26c410
NetworkMisc is not really an appropriate name for a system API.
Bug: 138306002
Test: builds, boots, wifi works, telephony works
Test: atest FrameworksNetTests FrameworksWifiTests FrameworksTelephonyTests
Change-Id: I621cfbe165996c67b201ca2dd2f95a5ab9af10ee
Merged-In: I621cfbe165996c67b201ca2dd2f95a5ab9af10ee
Subclassing Handler is not appropriate for a system API because
it is an implementation detail and allows users of this class to
post messages to the handler in ways that allow inappropriate
access to internals that aren't part of the API contract.
Also fix some lint errors.
Test: builds
Bug: 138306002
Change-Id: I79478ceff6bbcae879d1025098d177de0d15dbee
Merged-In: I79478ceff6bbcae879d1025098d177de0d15dbee
Reupload of I2db9535b1d72edd46b968b1bae66b148aa815235 with a
bugfix.
Bug: 113554781
Test: ConnectivityServiceTests NetworkStackTests
Change-Id: I904d87c01d9422ba6233d22a189e8017dd298d37
am skip reason: Change-Id I5b1ec3136ae8a0a6928e0fb2cda3d5f5e2ca657f with SHA-1 93de608316 is in history
Change-Id: I1ebe348cb2060990d5bcf6f3f5599cd9a208287b
The API is useful for NetworkFactories to select requests based on
capabilities.
This mirrors NetworkCapabilities#satisfiedByNetworkCapabilities
Test: m
Bug: 138306002
Merged-In: I1d4a928256951397cabde5c352a872fd48d85859
Change-Id: I1d4a928256951397cabde5c352a872fd48d85859
(clean cherry-pick from internal branch)
This message is not being sent by any component anymore.
Test: built, flashed, WiFi and telephony working
Test: atest FrameworksNetTests
Bug: 138306002
Merged-In: I5b1ec3136ae8a0a6928e0fb2cda3d5f5e2ca657f
Change-Id: I5b1ec3136ae8a0a6928e0fb2cda3d5f5e2ca657f
(clean cherry-pick from internal branch)
am skip reason: Change-Id I74710b396fa3cec6fbae08d3dcab5bc90dc2e669 with SHA-1 b0a42f7284 is in history
Change-Id: Ia9d3bae2cb8554d85685f6bfd6412d676a347bc7