444554 Commits

Author SHA1 Message Date
Anton Hansson
9a01e55cb6 Add module_lib and system-server artifacts to sdk dist
Makes these artifacts available for the update_prebuilts script.

Bug: 149293194
Test: m win_sdk dist && find out/dist -type f
Change-Id: Ia1064e50e987433e5e308527c6770ba2d3e8bde3
Merged-In: Ia1064e50e987433e5e308527c6770ba2d3e8bde3
(cherry picked from commit 7b0414beb77aaf67124c3ef7f2a55a898772bd1d)
2020-03-20 15:22:20 +00:00
Anton Hansson
bde7d4f2e4 Make system_server stubs consistent with other stubs
Include the module_api stubs in system_server one instead of
putting both of these jars on the classpath. Also rename it
to be in line with the other stubs.

Bug: 149293194
Test: m
Change-Id: I2a9318c8ae036edafac086687601fa73d9bf4678
Merged-In: I2a9318c8ae036edafac086687601fa73d9bf4678
(cherry picked from commit a49fb99d8cff85326bd9dd13e383c6cb6284dd3b)
2020-03-20 13:02:03 +00:00
Paul Hu
7f69e09d79 Merge "[TNU1.1] Update tethering notification strings" 2020-03-20 08:28:52 +00:00
Sarah Chin
3986bb5040 Merge "Update AccessNetworkConstants to uses values from HAL" 2020-03-20 04:04:12 +00:00
Treehugger Robot
b4a43d8786 Merge "Use HdmiProperties class for ro.hdmi.device_type" 2020-03-20 03:56:44 +00:00
Sarah Chin
fa0a47ed74 Merge "Add response and indication for CellInfo" 2020-03-20 03:30:15 +00:00
Sarah Chin
35554486b7 Update AccessNetworkConstants to uses values from HAL
Test: build
Bug: 150479290
Change-Id: I46034fce8f8f13b555a0cfb05cc5a9f076c7251a
Merged-In: I46034fce8f8f13b555a0cfb05cc5a9f076c7251a
2020-03-19 18:47:44 -07:00
Sarah Chin
c0a1448ac8 Add response and indication for CellInfo
cellInfoList_1_5
getCellInfoListResponse_1_5
networkScanResult_1_5

Test: atest RILTest
Bug: 151774189
Change-Id: I1ba01eb97f13f843fd27b65d4a2b1049e97ead71
Merged-In: I1ba01eb97f13f843fd27b65d4a2b1049e97ead71
2020-03-19 18:38:14 -07:00
Nick Chalko
0cbc3786f3 Use HdmiProperties class for ro.hdmi.device_type
Bug: 141581191
Test: m services.core
Change-Id: Iff969f5f698d1308842dc91ef55220eb002b1244
Merged-In: Iff969f5f698d1308842dc91ef55220eb002b1244
2020-03-20 00:53:40 +00:00
Treehugger Robot
dfeb2a2bfc Merge "Shell: Allow usage of wifi usability score APIs" 2020-03-19 23:52:55 +00:00
Roshan Pius
7b0a22dcad Shell: Allow usage of wifi usability score APIs
This permission is needed for wifi CTS tests.

Is the minimally scoped permission that needs to be added?
- Yes, this only allows the app to influnce wifi vs lte network
selection algorithm.

What options did you explore that did not need this permission?
- Without this permission, it would be impossible to test these API's:
WifiManager.setWifiConnectedNetworkScorer()
WifiManager.clearWifiConnectedNetworkScorer()
WifiManager.clearWifiConnectedNetworkScorer()
WifiManager.addOnWifiUsabilityStatsListener()

Bug: 150236894
Test: Device boots up.
Change-Id: Ic173e44ab818cdfecebde80715ddaec347019db6
Merged-In: Ic173e44ab818cdfecebde80715ddaec347019db6
2020-03-19 23:14:31 +00:00
Kumar Anand
6257fbb4c9 [TNU1.1] Update tethering notification strings
Update string for no upstream and cellular roaming notification.

Bug: 145629001
Bug: 147818698
Test: atest TetheringTests
Change-Id: I7302cf351b0a9a42ad5a543f61ab084de189f282
2020-03-19 15:57:33 -07:00
Treehugger Robot
e8640349ed Merge "BluetoothHearingAid#getHiSyncId now consistently uses the term HiSyncId (removed all references to CustomerId) and added link to explain what the HiSyncId represents" 2020-03-19 20:01:07 +00:00
Philip P. Moltmann
9ed7e7f1b1 Merge "Pipe through attributeTag for one self-permission check" 2020-03-19 19:41:17 +00:00
Jack Yu
0a7c66bcd8 Merge "Hide API" 2020-03-19 19:00:58 +00:00
Rahul Sabnis
3c7e8444f5 BluetoothHearingAid#getHiSyncId now consistently uses the term HiSyncId
(removed all references to CustomerId) and added link to explain what
the HiSyncId represents

Bug: 149238489
Test: Manual
Change-Id: I4ff2a8d46f3fc5d06a29829a69a27a0c15e466f8
2020-03-19 11:44:54 -07:00
Brad Ebinger
1dc6188494 Merge "Add back ImsUceManager status definitions" 2020-03-19 18:40:35 +00:00
Cody Kesting
70a08d9f7e Merge "Change NetworkCapabilties administrator UIDs to be stored as int[]." 2020-03-19 18:09:26 +00:00
Anna Trostanetski
b1b88f5c8f Merge "Introduce listUIChanges API for developer UI" 2020-03-19 17:34:45 +00:00
Jack Yu
63fcb9b978 Hide API
Hide API that is only used by telephony registry.

Test: Telephony sanity tests
Bug: 149850449
Merged-In: Ie4c46de336097fb7231291f15048329aea0b639c
Change-Id: Ie4c46de336097fb7231291f15048329aea0b639c
(cherry picked from commit f0df0ba2ba735b6c484d3e752c20650d3c222bf1)
2020-03-19 10:27:36 -07:00
Jack Yu
94189968e5 Merge "Added the high usage hidden APIs back" 2020-03-19 17:16:27 +00:00
Treehugger Robot
a3161c6627 Merge "Add MODIFY_DEFAULT_AUDIO_EFFECTS permission to shell" 2020-03-19 17:11:10 +00:00
Mark Chien
c686fa828b Merge "TetheringManager API clean up" 2020-03-19 16:09:21 +00:00
atrost
a5363153f3 Introduce listUIChanges API for developer UI
Filter out changes that are: logging only, older then enabled after P,
newer then enabled after Q.
Added missing @Test that broke builds.

Test: atest com.android.server.compat.PlatformCompatTest
Bug: 151299145
Change-Id: Ic4c12ceec3f4018a1f206b8498e8216466ecf960
Merged-In: Ic4c12ceec3f4018a1f206b8498e8216466ecf960
2020-03-19 15:57:46 +00:00
Treehugger Robot
e215c5d047 Merge "Move NetworkCallback to last parameter for new exposed requestNetwork" 2020-03-19 15:51:32 +00:00
Treehugger Robot
8281abfdb6 Merge "Release the interface request when Ethernet tethering is stopped." 2020-03-19 14:59:12 +00:00
Lorenzo Colitti
925c8bab17 Release the interface request when Ethernet tethering is stopped.
When the Ethernet interface becomes unavailable (e.g., because
the cable was unplugged or the interface was removed), or when
setEthernetTethering(false) is called, release the Ethernet
interface request.

This ensures that:
- The Ethernet interface immediately becomes available for use in
  client mode.
- If an interface later becomes available, tethering is not
  automatically started. This is consistent with what happens for
  other downstream types such as wifi and USB. Evey time one of
  those downstreams goes down, tethering is stopped and will not
  be restarted.

Test: manual
Bug: 148824036
Change-Id: Iaf85e800569f2e08c39f7ebb96f8aa34f6e53133
2020-03-19 22:35:28 +09:00
Anton Hansson
784474bbb6 Merge "Don't pass annotation srcs to metalava for modules" 2020-03-19 11:46:45 +00:00
markchien
32726e00e2 Move NetworkCallback to last parameter for new exposed requestNetwork
Bug: 151243698
Test: atest TetheringTests
Change-Id: I87ef1d451eefa6998b9793c4eacabae978376d24
Merged-In: I87ef1d451eefa6998b9793c4eacabae978376d24
2020-03-19 11:36:07 +00:00
markchien
743236096e TetheringManager API clean up
Per API review:
- @IntDef defined on the type integer parameter
- have getters on each parameter that is set in the
  TetheringRequest.Builder
- new added API should not be deprecated
Below APIs is moved from system-current to module-lib-current that only
plafrom code(e.g. ConnectivityManager and Settings) can use them.
TetheringRequest.
onTetherableInterfaceRegexpsChanged, TetheringInterfaceRegexps:
Only platform code can use them because interfaces by regular
expressions are a mechanism which is planning to be deprecated.

Also rename some constants for easier to understand.

Bug: 149858697
Bug: 151243337
Test: m doc-comment-check-docs
      atest TetheringTests
Change-Id: I45cb21d5bc919f6d32c42650326597d5173ea028
Merged-In: Idd041f0fbeca411ea23e49786a50dd7feb77ef45
2020-03-19 19:32:50 +08:00
Lorenzo Colitti
e30d9267ef Merge "Make Ethernet interfaces more testable." 2020-03-19 11:12:09 +00:00
Paul Hu
2435a6539d Merge "[TNU1.2] Add string for client number notification" 2020-03-19 10:20:27 +00:00
Paul Hu
f5302ac9b5 Merge "Add ConnectivityService owner" 2020-03-19 10:19:51 +00:00
Neil Fuller
325098922c Merge "Raise tz standards for uninitialized devices" 2020-03-19 09:33:35 +00:00
Junyu Lai
b3c511d028 Merge changes I7eaca623,Ic94da540,If330e853,Ie2d229be,Ic6b2f10f
* changes:
  [SM08] Add NetworkTemplate unit test for fetching mobile data usage
  [SM07] Make combine subtype configurable from Settings
  [SM05] Enable record mobile network stats by collapsed rat type
  [SM04] Support fetching data with NetworkTemplate with subType
  [SM02] Support record mobile network stats by collapsed rat type
2020-03-19 09:10:57 +00:00
Mohammad Islam
a705b8063f Merge changes from topic "key-rota-cp"
* changes:
  Allow apex packages to be signed with key that has rollback capability
  Refactor commitApkSession into two separate methods
2020-03-19 09:08:53 +00:00
paulhu
b9a4a1664d Add ConnectivityService owner
Bug: N/A
Test: N/A
Change-Id: I5c9c1d260c4cbc33af61106977b53fa1638074da
2020-03-19 16:31:46 +08:00
Anton Hansson
397eb47191 Don't pass annotation srcs to metalava for modules
Doing so can make these annotation end up in API tracking files
for modules, which we don't want. Put them on the classpath instead.

Bug: 147768409
Test: m
Change-Id: Ibb044c099174ee8591e14b6e2c683a46c1a756ef
Merged-In: Ibb044c099174ee8591e14b6e2c683a46c1a756ef
2020-03-19 08:24:15 +00:00
paulhu
3fa8b68b62 [TNU1.2] Add string for client number notification
Add string for client number notification

Bug: 122085773
Test: atest TetheringTests
Change-Id: Icc4e59ce3b2d8d4c1c7883c2f9d040d3ce563f09
2020-03-19 15:48:23 +08:00
Zoey Chen
1859e648d6 Merge "[TelephonyMainline] @hide @SystemApi and revisit them in S. - CarrierColumns" 2020-03-19 06:21:35 +00:00
Jack Yu
28a33a26c2 Merge "Fixed the doc" 2020-03-19 05:24:31 +00:00
Lorenzo Colitti
c2083f4503 Merge "Document the arguments to SocketUtils.makePacketSocketAddress." 2020-03-19 05:16:39 +00:00
Jack Yu
7a5e98e131 Added the high usage hidden APIs back
Added the high usage hidden APIs back for Q or older
apps. Apps built on R SDK should use the new API
getNetworkCountryIso(int).

Test: Build
Bug: 150368215
Merged-In: I1ccfbe269f3d9b91b715c20bd2f200cfb20e2a8c
Change-Id: I1ccfbe269f3d9b91b715c20bd2f200cfb20e2a8c
(cherry picked from commit ff8275e6b91f940d2f3082380630edcde32b475f)
2020-03-18 21:51:21 -07:00
Jack Yu
96f8a65ee3 Merge "Added todo work" 2020-03-19 04:47:01 +00:00
Jack Yu
930570e656 Added todo work
Added todo work to deprecate the broadcasted flag, which is
essentially replaced by the displayed flag.

Test: None
Bug: 143229383
Merged-In: I3907d0d76166a768e57bfa420855e6a0563968a8
Change-Id: I3907d0d76166a768e57bfa420855e6a0563968a8
(cherry picked from commit c38a70a946a64dfdb5dfd643c1feec6d9f71a9a3)
2020-03-18 21:46:17 -07:00
Jack Yu
f86bf75928 Fixed the doc
Added extra information

Test: None
Bug: 150126754
Merged-In: Ice5032ba84a24dd5d9091f80303ccbbc3bd1ff20
Change-Id: Ice5032ba84a24dd5d9091f80303ccbbc3bd1ff20
(cherry picked from commit f23e44e84b278e1cf65a163324af4d3afa0ded30)
2020-03-18 21:34:32 -07:00
Jack Yu
1c9035f578 Merge "Updated owners" 2020-03-19 04:23:32 +00:00
Jack Yu
4fad7a9a6c Updated owners
Added the most talented engineers in the world to
the owners.

Test: None
Merged-In: I4c4e4495fd57d288014db536294856bdba3dc1ff
Change-Id: I4c4e4495fd57d288014db536294856bdba3dc1ff
(cherry picked from commit 402e4d500b8d1d6191eba1a635bf230f130d0cfd)
2020-03-18 21:22:49 -07:00
Lorenzo Colitti
4920ee68a0 Document the arguments to SocketUtils.makePacketSocketAddress.
Test: m
Bug: 149015112
Change-Id: I4e0fb6fc66ef488cfa8a57a2c2536c2a625a4512
2020-03-19 02:13:27 +00:00
junyulai
20bff921b2 [SM08] Add NetworkTemplate unit test for fetching mobile data usage
Test: atest NetworkTemplateTest
Bug: 129082217

Change-Id: I7eaca623adf93f9b8d53c2e5857ecae90ea572ab
Merged-In: I7eaca623adf93f9b8d53c2e5857ecae90ea572ab
(cherry picked from commit 4670baace6c8dafe3a30330596c333d6b2389e4d)
2020-03-19 10:10:07 +08:00